Stabilizer simulation
Efficient classical tracking of states and operations within the stabilizer formalism.
Also called Gottesman-Knill simulation, tableau simulation
On this page
Definition and significance
A stabilizer state is specified by commuting Pauli operators whose common +1 eigenspace identifies the state. Clifford gates map Pauli operators to Pauli operators under conjugation, so their effect can be tracked by updating a compact generator description. This avoids storing every amplitude for an important class of circuits.
The result is conceptually important because these circuits can contain substantial entanglement while remaining efficiently classically simulable under standard assumptions. Entanglement alone is therefore not a sufficient explanation of quantum computational advantage.
Mechanism and mathematical treatment
An n-qubit pure stabilizer state has n independent commuting generators with no inconsistent -I constraint. A Clifford U maps each generator g_j to U g_j U dagger. For example, H exchanges X and Z, S maps X to Y, and CNOT propagates selected X and Z factors between its wires.
Pauli measurement either returns a value fixed by the stabilizer or updates generators according to the measured outcome. Classical feed-forward can be incorporated. The exact efficiency statement depends on the allowed inputs, gates and measurements; arbitrary nonstabilizer resources change the problem.
Fully worked reference example
The state |00> is stabilized by Z0 and Z1. Applying H to qubit 0 transforms these generators to X0 and Z1. Applying CX from 0 to 1 maps them to X0 X1 and Z0 Z1. The unique joint +1 state is (|00>+|11>)/sqrt(2).
From the generators, <XX>=<ZZ>=1 follows immediately. Multiplying them gives (XX)(ZZ)=-YY, so <YY>=-1. No four-component statevector was needed. Extending a GHZ preparation to many qubits gives one global X product and local ZZ checks, still a compact description despite multipartite entanglement.
Limitations and common misconceptions
Adding T gates or arbitrary states generally leaves the stabilizer class. Approximate methods based on stabilizer decompositions then depend on a measure of nonstabilizer complexity. “Clifford circuits are easy” must not be expanded into “all error-corrected computations are easy,” since universal fault-tolerant computation supplies non-Clifford resources.
Scientific relationships
Pauli-preserving circuits can be represented without a dense amplitude vector.
Conjugation preserves the Pauli form of stabilizer generators.
Ideal cluster states are stabilizer states that admit compact simulation; arbitrary subsequent non-Clifford measurements need additional treatment.
Historical source context
Aaronson and Gottesman published an improved simulation method in 2004; the arXiv record was revised through 18 June 2008. The paper improves an existing stabilizer-simulation theorem rather than inventing the entire formalism.
Measuring a middle qubit in a GHZ stabilizer state
The three-qubit GHZ state has independent stabilizer generators XXX, ZZI and IZZ. Measure X on q1, represented by IXI. It commutes with XXX and anticommutes with both ZZI and IZZ. Choose ZZI as a pivot. Multiply IZZ by the old pivot to obtain ZIZ, which commutes with IXI. Replace the pivot by m IXI, where m is the measured eigenvalue plus or minus one. Keep XXX unchanged.
The postmeasurement generators are XXX, m IXI and ZIZ. Multiplying the first two gives m XIX. Thus q1 is in its measured X eigenstate, while q0 and q2 have ZZ eigenvalue +1 and XX eigenvalue m. For m=+1 they form |Phi+>; for m=-1 they form |Phi->. Each outcome has probability one-half because the measured Pauli anticommutes with a stabilizer generator.
This calculation shows how a local measurement can leave entanglement between the unmeasured endpoints. The result depends on retaining the outcome sign. If the sign is forgotten, the endpoint state is an equal mixture of the two Bell states, which equals the classical mixture of 00 and 11. The compact generator update and the density-matrix interpretation describe the same loss of accessible phase information.
A complete Pauli-measurement update rule
For a pure stabilizer state, if the measured Pauli anticommutes with at least one generator, its outcomes are equally likely. Select one anticommuting generator as pivot. Multiply every other anticommuting generator by that pivot, making those generators commute with the measured Pauli. Then replace the pivot by the signed measured Pauli. The new independent commuting generator set describes the conditional state.
If the measured Pauli commutes with every generator of a pure stabilizer state, it belongs to the maximal stabilizer group up to a sign. Its outcome is deterministic and can be found by expressing it as a product of generators, including their phases. This requires more than testing pairwise commutation: the sign of the product determines whether the outcome is +1 or -1.
For example, Bell generators XX and ZZ multiply to -YY. A YY measurement therefore returns -1 with certainty. Dropping the product phase would reverse that outcome. Binary tableau implementations track both symplectic labels and phase data for this reason. The phase convention must be consistent across generator multiplication, gate conjugation and measurement updates.
The mixed-state exception to a familiar shortcut
Consider the two-qubit mixed state rho=(I+ZZ)/4, supported equally on |00> and |11>. It has one stabilizer constraint, ZZ, rather than two independent constraints specifying a pure state. Z0 commutes with ZZ, but measuring Z0 is random because both eigenvalues occur in the supported subspace. Thus commuting with all listed generators does not imply a deterministic measurement for an underconstrained mixed stabilizer state.
The distinction is visible in rank. With r independent commuting stabilizer constraints on n qubits, the uniform stabilized-subspace state has rank 2^(n-r). A pure state requires r=n. For the example, n=2,r=1 gives rank two. Adding the measured signed Z0 constraint after a particular outcome reduces the rank to one and specifies either |00> or |11>.
A simulator handling mixed stabilizer states must distinguish a Pauli that lies in the stabilizer group from one that merely commutes with it. The latter can split the remaining subspace into two equal sectors. A pure-state-only measurement shortcut can therefore be wrong when reused for mixtures, discarded measurements or partially specified initial states.
Resources and an independent reference
A tableau stores binary X and Z labels for each generator and a phase representation. For n generators on n qubits, the raw binary label count is proportional to n squared. Clifford updates manipulate columns or rows without expanding a 2^n-entry statevector. Different tableau algorithms trade storage, elimination work and measurement-update cost, so a specific implementation's runtime should not be inferred from the representation size alone.
The GHZ example can be independently checked by applying the projectors (I plus or minus IXI)/2 to the eight-component statevector, normalizing each branch and tracing out q1. That small dense calculation confirms the two Bell outcomes and their probabilities. The dense method is a reference here; the stabilizer method scales to much larger instances while the relevant operations remain within its supported class.
Adding an arbitrary non-Clifford rotation changes the representation problem. One may branch into a stabilizer decomposition or use a different simulator, but a single stabilizer tableau generally no longer represents the state. The cost then depends on the added resource and approximation method, not merely on the original Clifford gate count.
Sources
Verification scope
Selected source text checked ·
Simulation statements require specified stabilizer inputs, operations and measurement access.