Skip to content

Commit

Permalink
pauli debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Grace committed Sep 19, 2023
1 parent 8b85ff7 commit 120cd82
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/qiskit_qec/operators/pauli.py
Original file line number Diff line number Diff line change
Expand Up @@ -516,8 +516,6 @@ def to_instruction(self):
syntax=pauli_rep.PRODUCT_SYNTAX,
qubit_order="right-to-left",
)
if isinstance(phase_exp, np.ndarray):
phase_exp = phase_exp[0]

if len(pauli) == 1:
gate = {"I": IGate(), "X": XGate(), "Y": YGate(), "Z": ZGate()}[pauli]
Expand Down

0 comments on commit 120cd82

Please sign in to comment.