Skip to content

Commit

Permalink
Merge pull request #190 from jkalloor3/pam-verify
Browse files Browse the repository at this point in the history
Small fix to make PAM work for different gate sets
  • Loading branch information
edyounis authored Oct 15, 2023
2 parents de93b98 + ad12356 commit 75f990e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bqskit/passes/mapping/embed.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ async def run(self, circuit: Circuit, data: PassData) -> None:

datas = []
for graph in graphs:
model = MachineModel(circuit.num_qudits, graph)
model = MachineModel(circuit.num_qudits, graph, data.gate_set, data.model.radixes)
target_data = copy.deepcopy(data)
target_data.model = model
datas.append(target_data)
Expand Down

0 comments on commit 75f990e

Please sign in to comment.