- Mathematics
Pauli Decomposition
The expansion of any operator on n qubits as a linear combination of tensor products of Pauli matrices, providing a universal basis for expressing Hamiltonians and observables.
Pauli decomposition is the expression of any matrix as a linear combination of -qubit Pauli strings (tensor products of the single-qubit Pauli matrices ). Since the Pauli strings form a complete orthogonal basis for the space of matrices, any operator on qubits can be uniquely decomposed in this form. This decomposition is fundamental to how quantum computers evaluate Hamiltonians and other observables.
Mathematical formulation
Any operator on qubits can be written as:
where the sum runs over all Pauli strings and the coefficients are:
This follows from the orthogonality of Pauli strings under the trace inner product: .
For a Hermitian operator , all coefficients are real numbers.
Example: two-qubit Hamiltonian
Consider the Heisenberg interaction Hamiltonian:
This is already in Pauli-decomposed form with five nonzero terms. The Pauli strings are , , , , and , with coefficients , , , , and .
For a general matrix on 2 qubits, the decomposition would involve all Pauli strings: , , , , , , , , , , , , , , , .
Role in quantum computing
Measuring expectation values: To compute on a quantum computer, decompose into Pauli strings and measure each one separately:
Each Pauli string can be measured by applying appropriate single-qubit rotations to diagonalize it, then measuring in the computational basis. Commuting Pauli strings can be measured simultaneously, reducing the number of distinct circuits needed.
Hamiltonian simulation: Trotterization simulates by decomposing into Pauli terms and approximating the evolution as a product of easier-to-implement Pauli rotations:
Each can be implemented as a circuit using CNOT gates and single-qubit rotations.
Quantum chemistry: Molecular Hamiltonians, after the Jordan-Wigner or Bravyi-Kitaev transformation from fermionic to qubit operators, are expressed as sums of Pauli strings. A typical molecular Hamiltonian for 20 qubits may have thousands to millions of Pauli terms, and reducing this count through grouping and truncation is an active research area.
Computational considerations
The number of Pauli terms grows as in the worst case, but physical Hamiltonians are typically sparse in the Pauli basis. The measurement cost of estimating scales with the number of distinct measurement bases needed, which can be reduced by grouping commuting terms. Advanced techniques like classical shadow tomography can estimate many Pauli expectation values from a fixed number of random measurements.
Why it matters for learners
Pauli decomposition is the interface between physical problems (expressed as Hamiltonians) and quantum hardware (which measures Pauli observables). Understanding this decomposition is essential for working with VQE, Hamiltonian simulation, and quantum chemistry applications. It also clarifies why the number and structure of Pauli terms in a Hamiltonian directly determines the cost of evaluating it on a quantum computer.