Stabilizer formalism is a mathematical framework for representing and efficiently simulating certain quantum states (stabilizer states) using only Pauli operations. A stabilizer state is uniquely defined as the eigenstate with eigenvalue $+1$ of a set of commuting Pauli operators (stabilizers). This restriction enables polynomial-time simulation of Clifford circuits and provides the foundation for quantum error correction.
A stabilizer state $|\psi\rangle$ is a state fixed by a group of commuting Pauli operators:
$$S_i |\psi\rangle = |\psi\rangle$$
for each stabilizer $S_i$ in a set $\{S_1, S_2, \ldots, S_n\}$. The stabilizer group $\mathcal{S}$ is the group generated by these stabilizers. For an $n$-qubit state, a minimal stabilizer set has $n$ independent generators.
Example: The Bell state $|\Phi^+\rangle = \frac{1}{\sqrt{2}}(|00\rangle + |11\rangle)$ is stabilized by $XX$ and $ZZ$:
$$XX |\Phi^+\rangle = |\Phi^+\rangle, \quad ZZ |\Phi^+\rangle = |\Phi^+\rangle$$
Clifford gates (H, S, CNOT, etc.) map Pauli operators to Pauli operators via conjugation: $C P C^\dagger$ is Pauli for any Clifford $C$ and Pauli $P$. This property means Clifford gates preserve the stabilizer structure—applying a Clifford to a stabilizer state yields another stabilizer state with transformed stabilizers.
A stabilizer circuit (Clifford-only circuit) can be simulated in polynomial time using tableau representation, making it efficient for circuits with hundreds or thousands of qubits.
Stabilizer states are represented efficiently using a binary matrix (tableau) encoding the Pauli generators. Each stabilizer is a Pauli on $n$ qubits, representable as $2n$ bits:
$$S_i = \pm i^{a_i} X^{x_{i,1}} Z^{z_{i,1}} X^{x_{i,2}} Z^{z_{i,2}} \cdots$$
where $x_{i,j}, z_{i,j} \in \{0, 1\}$ indicate whether Pauli X or Z acts on qubit $j$. The tableau is a $(n+1) \times (2n+1)$ matrix with one extra row for tracking the overall phase.
Operations on stabilizer states become linear algebra operations on the tableau:
Measuring a qubit in the computational basis:
This requires no exponential state vector. Pauli basis measurements work similarly with basis rotation.
This is the basis of the Gottesman-Knill theorem: Clifford circuits can be simulated classically in polynomial time.
Quantum error-correcting codes (surface codes, toric codes, CSS codes) use stabilizer codes to detect and correct errors:
This allows quantum computations to remain in the code space throughout the circuit.
Stabilizer formalism works because: