diff --git a/src/qiskit_qec/operators/pauli.py b/src/qiskit_qec/operators/pauli.py index e1e8de87..e0a01889 100644 --- a/src/qiskit_qec/operators/pauli.py +++ b/src/qiskit_qec/operators/pauli.py @@ -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]