Skip to content

Commit

Permalink
use name field like single qubit gates
Browse files Browse the repository at this point in the history
  • Loading branch information
lazyoracle committed Dec 29, 2021
1 parent af38dae commit 7744aca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion c3/experiment.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def quick_setup(self, cfg) -> None:
qubit_1 = model.subsystems[props["qubit_1"]]
qubit_2 = model.subsystems[props["qubit_2"]]
instr = Instruction(
name=gate_name,
name=props["name"],
targets=[
model.names.index(props["qubit_1"]),
model.names.index(props["qubit_2"]),
Expand Down

0 comments on commit 7744aca

Please sign in to comment.