Skip to content

Commit

Permalink
Update pauli.py documentation (Qiskit#11427)
Browse files Browse the repository at this point in the history
I assume the index is supposed to be `2`
  • Loading branch information
Gistbatch authored Dec 18, 2023
1 parent 74661de commit e0cbc1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qiskit/quantum_info/operators/symplectic/pauli.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ class Pauli(BasePauli):
Pauli character, and qubit-:math:`(n-1)` to the left-most Pauli
character. For example ``'XYZ'`` represents
:math:`X\otimes Y \otimes Z` with ``'Z'`` on qubit-0,
``'Y'`` on qubit-1, and ``'X'`` on qubit-3.
``'Y'`` on qubit-1, and ``'X'`` on qubit-2.
The string representation can be converted to a ``Pauli`` using the
class initialization (``Pauli('-iXYZ')``). A ``Pauli`` object can be
Expand Down

0 comments on commit e0cbc1f

Please sign in to comment.