Skip to content

Commit

Permalink
Merge branch 'devel' into kottmanj-patch-4
Browse files Browse the repository at this point in the history
  • Loading branch information
kottmanj authored Mar 18, 2024
2 parents 1908378 + a752e8c commit cc197fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tequila/circuit/qasm.py
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ def parse_command(command: str, custom_gates_map: Dict[str, QCircuit], qregister
control=get_qregister(args[0], qregisters),
target=get_qregister(args[1], qregisters))
if name in ("s", "t", "sdg", "tdg"):
g = gates.Phase(pi / (2 if name.startswith("s") else 4),
g = gates.Phase(angle=pi / (2 if name.startswith("s") else 4),
control=None,
target=get_qregister(args[0], qregisters))
if name.find("dg") != -1:
Expand Down

0 comments on commit cc197fb

Please sign in to comment.