Skip to content

Commit

Permalink
Fix typo in sparse_pauli_op.py (#11882)
Browse files Browse the repository at this point in the history
indicies -> indices
  • Loading branch information
eltociear committed Feb 26, 2024
1 parent cc5873d commit 900e910
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1133,7 +1133,7 @@ def apply_layout(
)
n_qubits = num_qubits
if layout is not None and any(x >= n_qubits for x in layout):
raise QiskitError("Provided layout contains indicies outside the number of qubits.")
raise QiskitError("Provided layout contains indices outside the number of qubits.")
if layout is None:
layout = list(range(self.num_qubits))
new_op = type(self)("I" * n_qubits)
Expand Down

0 comments on commit 900e910

Please sign in to comment.