Binary-Tableau Stabilizer Simulation
Stabilizer simulation represents a quantum state by commuting Pauli constraints instead of amplitudes. For Clifford gates and Pauli measurements this representation supports polynomial classical algorithms, even for highly entangled states. It does not provide a generic efficient simulator for arbitrary non-Clifford circuits.
Helpful background. Stabilizer formalism supplies the state definition; statevector simulation provides a small-register reference.
Binary symplectic representation
Section titled “Binary symplectic representation”Represent a Pauli string by binary vectors and a phase. A convenient algebraic convention is
Then multiplication gives
with binary vector sums and phase modulo four. The cross term comes from moving through . Two strings commute exactly when modulo two.
For Hermitian stabilizer generators one can instead store a sign bit and a Hermitian Pauli convention, but the update rules must match it. Dropping phase information changes the state even if all commutators remain correct.
Gate updates by conjugation
Section titled “Gate updates by conjugation”Hadamard exchanges and and sends to . The phase gate sends to , to , and fixes . Controlled- maps
Update each generator using these conjugation rules and the chosen phase convention. Deriving a table from actual one- and two-qubit matrices is safer than mixing binary formulas from different conventions.
For the explicit convention above, these give executable updates using the old bits:
All unspecified components remain unchanged; is reduced modulo four. In this convention CNOT leaves unchanged. The familiar additional sign update in a Hermitian-Pauli tableau belongs to a different encoding and must not be added here. For example has : Hadamard changes to three, giving , while gives , namely . Exhaustively compare all 16 two-qubit Pauli strings under CNOT with dense conjugation before testing larger circuits.
An -qubit pure stabilizer state has independent commuting generators and cannot contain . Store bits plus phases. Destabilizer rows can accelerate measurements, as in the Aaronson–Gottesman tableau.
Pauli measurements
Section titled “Pauli measurements”If measured Pauli anticommutes with at least one stabilizer generator, the outcomes are equiprobable. Choose one anticommuting generator as pivot, multiply it into the other anticommuting rows to make them commute with , and replace the pivot by the sampled signed .
If commutes with all generators of a pure stabilizer state, its outcome is deterministic. Determine whether or belongs to the generated group, including phases. Commutation alone does not determine the sign.
The qualification “pure” is essential: fewer than independent generators describe a code subspace or a mixed stabilizer state. A Pauli commuting with those generators may be a logical observable with an undetermined outcome. For instance, the sole two-qubit generator permits both Bell phases; it does not determine . Supply the encoded state or an explicit mixed-state representation before sampling it.
These rules preserve a valid generating set and give both outcomes and postmeasurement states without amplitudes.
Bell-state benchmark
Section titled “Bell-state benchmark”Start from stabilizers of . Hadamard on 0 gives ; controlled- gives . Measuring is random, and measuring afterward gives the same outcome. Measuring directly is deterministically .
The state instead has generator . This phase-sensitive pair tests errors invisible to computational-basis histograms.
Limits and tests
Section titled “Limits and tests”Compare random small Clifford circuits and measurements with statevectors, including conditional branches. Check generator independence, pairwise commutation, and absence of after every update.
Pauli noise can be sampled within stabilizer simulation; arbitrary amplitude damping or a gate generally leaves the stabilizer class. Approximate decompositions introduce additional computational cost and error. High entanglement alone is not a criterion for classical hardness: Bell pairs and many graph states have compact stabilizer descriptions.
Exercise
Section titled “Exercise”Why does a gate on defeat a single stabilizer tableau?
Solution
rotates into , which is not a Pauli string. The resulting state is not the unique eigenstate of a nontrivial single-qubit Pauli, so the Pauli-generator representation is no longer closed.
References
Section titled “References”- Aaronson, S., and Gottesman, D., “Improved simulation of stabilizer circuits,” Physical Review A 70, 052328 (2004), arXiv:quant-ph/0406196.
- Gottesman, D., “The Heisenberg representation of quantum computers,” in Group22, 32–43 (1999), arXiv:quant-ph/9807006.