Pauli operators and Pauli algebra
The Pauli matrices form a basis for single-qubit operators and encode the algebra of qubit observables and rotations.
Also called Pauli matrices
On this page
Definition and conventions
The Pauli matrices are X=[[0,1],[1,0]], Y=[[0,-i],[i,0]], and Z=[[1,0],[0,-1]]. Along with I they span all 2 by 2 complex matrices. Each is Hermitian and unitary, squares to I, and has eigenvalues plus and minus one. Their products satisfy XY=iZ, YZ=iX, ZX=iY, with reversed order changing the sign.
For a density operator, the coefficients in rho=(I+xX+yY+zZ)/2 are real expectation values. For an arbitrary operator they may be complex.
Fully solved product
Compute XZ=[[0,-1],[1,0]]=-iY, while ZX=[[0,1],[-1,0]]=iY. Therefore [X,Z]=-2iY and {X,Z}=0. The sign is essential in rotation and contextuality calculations.
For A=2I+3X-Y, the matrix is [[2,3+i],[3-i,2]]. Its eigenvalues are 2 plus or minus sqrt(10), because the vector coefficient has length sqrt(3^2+(-1)^2). The identity component shifts both eigenvalues without changing the eigendirections.
Multi-qubit extension and limits
Tensor products of I,X,Y,Z form an orthogonal operator basis for n qubits under the Hilbert-Schmidt inner product. There are 4^n such strings. This basis size describes an operator expansion, not a promise of efficient measurement or storage. Many useful Hamiltonians contain only a sparse subset, but the sparsity is problem dependent.
Pauli operators are both gates and observables in the ideal model, yet measuring X and applying X are different physical actions. The same symbol should not obscure the distinction.
Binary labels encode commutation but must retain a phase convention
For n qubits, label a Hermitian Pauli string by two binary vectors x and z, with q0 as the leftmost factor. Define P(x,z) = i^(x·z)X^xZ^z, where X^x and Z^z denote tensor products and the dot product in the exponent is taken as an ordinary integer before evaluating the power of i. At a site with x_j = z_j = 1, the factor iXZ equals Y.
For another label (x′,z′), moving X and Z factors past each other gives P(x,z)P(x′,z′) = (−1)^(x·z′+z·x′)P(x′,z′)P(x,z). Only the parity of this exponent matters. A zero binary value means the strings commute; a value one means they anticommute. This test does not by itself report the complete ±1 or ±i phase of their product.
Take P = X⊗Y⊗Z, with x = (1,1,0) and z = (0,1,1), and Q = Z⊗X⊗Y, with x′ = (0,1,1) and z′ = (1,0,1). The binary pairing is odd, so the strings anticommute. Multiplying the three local products gives PQ = iY⊗Z⊗X and QP = −iY⊗Z⊗X. The product is anti-Hermitian, as it must be for two anticommuting Hermitian factors.
For R = Y⊗X⊗Z, two local sites anticommute and the third commutes. The total strings commute, and PR = Z⊗Z⊗I. Local noncommutation therefore does not imply global noncommutation. The parity of the number of sign changes controls the full tensor product.
Anticommuting terms can make a Hamiltonian exactly solvable
Consider H = 3X⊗I+4Z⊗Z in common energy units. The two Pauli strings square to identity and anticommute. Expanding H² gives 9I+16I+12[(X⊗I)(Z⊗Z)+(Z⊗Z)(X⊗I)] = 25I. Hence the possible energies are +5 and −5.
The trace is zero in dimension four, so each energy has multiplicity two. Their projectors are P_± = [I±H/5]/2. These expressions satisfy P_±² = P_± and P_+P_- = 0 directly, without a four-by-four eigenvector calculation. They also give exp(-iHt/ℏ) = cos(5t/ℏ)I−i sin(5t/ℏ)H/5.
On |00⟩, the X⊗I expectation is zero and the Z⊗Z expectation is one. The mean energy is four, and the second moment is twenty-five, giving variance nine. The positive-energy probability is [1+4/5]/2 = 0.9, while the negative-energy probability is 0.1. Checking 0.9·5+0.1·(−5) recovers the mean and makes the outcome interpretation explicit.
For a sum Σ_j a_jP_j of pairwise anticommuting Hermitian Pauli strings, the same cancellation gives H² = (Σ_j a_j²)I. Pairwise anticommutation is the needed assumption. If some terms commute, their cross products survive, and the square-root-of-squares energy formula generally fails.
An anticommuting pair bounds simultaneous expectation values
Let P and Q be Hermitian unitaries with PQ = −QP, and let p = tr(ρP), q = tr(ρQ). The operator A = pP+qQ satisfies A² = (p²+q²)I and has norm √(p²+q²). But its expectation is tr(ρA) = p²+q², which cannot exceed its operator norm in a normalized state. Therefore p²+q² ≤ one, including the zero case. The invalid Pauli coefficient list with p = q = one violates this inequality immediately. The same proof extends to a pairwise anticommuting family: the sum of squared expectations is at most one. This constraint follows from operator algebra rather than independent coefficient bounds. It can be useful when only selected Pauli expectations are known, although satisfying it for selected families still does not replace full positivity of an arbitrary multiqubit reconstruction. Commuting Pauli strings obey a different joint structure and can each have expectation one in a common eigenstate.
Pauli coefficients describe an operator but do not guarantee positivity
The n-qubit Pauli strings form an orthogonal operator basis with tr(PQ) = 2ⁿδ_PQ. Any Hermitian trace-one operator has an expansion ρ = 2⁻ⁿΣ_P r_PP with real r_P = tr(Pρ) and r_I = one. Multiplying the expansion and taking the trace gives tr(ρ²) = 2⁻ⁿΣ_P r_P².
For a valid state, every coefficient associated with a nonidentity Pauli string lies between minus one and one. The purity also lies between 2⁻ⁿ and one. In more than one qubit, these simple necessary restrictions are not sufficient to make an arbitrary coefficient list a state.
For example, ρ_bad = [I⊗I+X⊗I+Z⊗I]/4 has trace one and purity 3/4. Its individual nonidentity coefficients are both one, apparently within their permitted ranges. Nevertheless its eigenvalues are (1+√2)/4 and (1−√2)/4, each repeated twice. The latter is negative. The coefficients demand simultaneously incompatible sharp expectations for X and Z on the first qubit.
This counterexample is already visible by tracing out the second qubit: the resulting Bloch vector is (1,0,1), with length √2. A reconstruction that checks coefficient ranges or purity alone can therefore admit a nonpositive operator. Positivity couples the Pauli coordinates through additional constraints.
The binary labels and local sign changes for P, Q, and R depend on the convention that q0 is the leftmost tensor factor. A compact Pauli encoding does not establish physical validity. The reduced Bloch vector in the example is invalid despite otherwise meaningful algebraic coefficients and a degenerate energy spectrum.
Sources
Verification scope
The Theory of Quantum Information, Chapter 1: Mathematical preliminaries
John Watrous · · Textbook material · cs.uwaterloo.caCitation identity checked ·
Background reference; this record does not claim a full independent peer review of the encyclopedia. Original exposition and newly constructed calculations are not copied from the source.
The Theory of Quantum Information: Chapter 1, Mathematical preliminaries
John Watrous · · Manuscript · Author manuscript · cs.uwaterloo.caSelected text checked ·
Chapter introduction, finite-dimensional linear-algebra definitions and Caratheodory theorem were inspected. The author explicitly describes the chapter as review material, not a primary source for all mathematical results.
Selected passages and metadata were checked; this does not certify every sentence in the encyclopedia, constitute comprehensive literature review, or establish external peer review. Original worked examples are separately recomputed.
Verification scope
Citation identity checked ·
Background reference; this record does not claim a full independent peer review of the encyclopedia. Original exposition and newly constructed calculations are not copied from the source.
Verification scope
Selected text checked ·
ArXiv version and thesis metadata inspected; full-text section 3.4, binary X/Z labels and equation (3.23) commuting-pair condition inspected.
A later PDF typesetting year 2024 is not used as the thesis date. Binary commutation labels omit global product phases; the encyclopedia fixes its own explicit Hermitian phase convention and verifies example products independently. No fault-tolerance performance claim is sourced to this selected scope.