Skip to content

Commit

Permalink
Merge pull request #27 from zapatacomputing/zqs-add-S-dagger-to-qiskit-3
Browse files Browse the repository at this point in the history
feat(_circuit_conversions): add S and T dagger
  • Loading branch information
Athena Caesura authored Dec 2, 2022
2 parents 8cab6e9 + 4d300da commit 513d740
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ def _orquestra_expr_from_qiskit(expr):
_builtin_gates.ZZ: qiskit.circuit.library.RZZGate,
_builtin_gates.U3: qiskit.circuit.library.U3Gate,
_builtin_gates.Delay: qiskit.circuit.Delay,
_builtin_gates.S.dagger: qiskit.extensions.SdgGate,
_builtin_gates.T.dagger: qiskit.extensions.TdgGate,
}


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@
(_builtin_gates.CZ, qiskit.extensions.CZGate()),
(_builtin_gates.SWAP, qiskit.extensions.SwapGate()),
(_builtin_gates.ISWAP, qiskit.extensions.iSwapGate()),
(_builtin_gates.S.dagger, qiskit.extensions.SdgGate()),
(_builtin_gates.T.dagger, qiskit.extensions.TdgGate()),
]

EQUIVALENT_PARAMETRIC_GATES = [
Expand Down

0 comments on commit 513d740

Please sign in to comment.