From e0cbc1f4b078fadb7ac0191a8914d250e7551faf Mon Sep 17 00:00:00 2001 From: Philipp Seitz Date: Mon, 18 Dec 2023 15:47:02 +0000 Subject: [PATCH] Update pauli.py documentation (#11427) I assume the index is supposed to be `2` --- qiskit/quantum_info/operators/symplectic/pauli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qiskit/quantum_info/operators/symplectic/pauli.py b/qiskit/quantum_info/operators/symplectic/pauli.py index c5b93ceaf4e7..4fa35411007f 100644 --- a/qiskit/quantum_info/operators/symplectic/pauli.py +++ b/qiskit/quantum_info/operators/symplectic/pauli.py @@ -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