Stabilizer Identities
Conventions
Section titled “Conventions”The -qubit Pauli group is
A stabilizer constraint uses a Hermitian signed Pauli :
The sign is physical bookkeeping. The operators and select opposite eigenspaces.
Binary vectors are written in the order
All binary sums and products on this page are evaluated modulo . Pauli phase or sign must be stored separately.
At a glance
Section titled “At a glance”| Object | Formula or test |
|---|---|
| Hermitian Pauli representative | |
| Symplectic product | |
| Commutation | |
| Check-matrix constraint | |
| Group order | for independent generators |
| Code projector | |
| Code dimension | |
| Encoded qubits | |
| Syndrome | |
| Logical Pauli classes | |
| Stabilizer-code distance | |
| Clifford condition |
Binary Pauli representation
Section titled “Binary Pauli representation”For binary strings , define
A convenient Hermitian representative is
On one qubit, the support dictionary is
| Pauli factor | |
|---|---|
The vector records support and commutation, but not the complete signed operator. For example, and have the same binary vector.
Symplectic commutation test
Section titled “Symplectic commutation test”For
define
Then
Thus
and
With row vectors, introduce
The same test is
Equivalently, two Pauli strings commute when the number of qubits on which they have different nonidentity factors is even.
Stabilizer group and check matrix
Section titled “Stabilizer group and check matrix”A qubit stabilizer group is an abelian subgroup of with
Suppose
has independent commuting Hermitian generators. Independence means
for . Consequently,
Place the binary generator rows in
Pairwise commutation is equivalent to
or
Count the binary rank of , not the number of rows in a redundant generator list.
For a CSS code with separate -type and -type check matrices, the cross-commutation condition reduces to
Projector and code dimension
Section titled “Projector and code dimension”The projector onto the common eigenspace is
Only the identity Pauli has nonzero trace. Since
the code-space dimension is
An stabilizer code therefore has
independent generators. The cases are:
| Rank | Stabilized space |
|---|---|
| one-dimensional stabilizer state, | |
| code subspace encoding qubits | |
| impossible for independent commuting qubit Paulis |
For a stabilizer state,
For an code, the same Pauli sum is the maximally mixed encoded state:
Pauli expectation values
Section titled “Pauli expectation values”For a stabilizer state and a Hermitian Pauli ,
The zero case follows because some stabilizer generator anticommutes with . For a code state, every still has expectation , but a Pauli commuting with all checks may be a logical observable whose expectation depends on the encoded state.
This gives a fast diagnostic: stabilizer membership predicts deterministic Pauli outcomes; anticommutation with a check predicts zero expectation.
Syndromes
Section titled “Syndromes”Let an error Pauli have binary vector
Define syndrome bit by
In matrix form,
After acts on an ideal code state, check has measured eigenvalue
The syndrome map is linear:
Two Pauli errors and have the same syndrome exactly when
up to phase. Equal syndrome does not imply equal logical action.
Logical Paulis and distance
Section titled “Logical Paulis and distance”Within the Pauli group, define
Paulis fall into three operational classes:
| Relation to | Effect on the code |
|---|---|
| Anticommutes with some | leaves the code space and produces a nonzero syndrome |
| Belongs to up to phase | acts trivially on code states |
| Belongs to | preserves the code but acts as a nontrivial logical Pauli |
Logical Pauli equivalence classes form
Multiplying a representative by a stabilizer does not change its encoded action:
The stabilizer-code distance is
with global phase ignored. A low-weight stabilizer does not lower because it acts trivially.
For a Pauli error set , exact correction is possible precisely when
for every , up to phase. Their relative product may either be detectable or be a stabilizer, but it must not be an undetected logical Pauli.
Clifford conjugation
Section titled “Clifford conjugation”A unitary is Clifford when
If is stabilized by , then
is stabilized by
Useful one- and two-qubit propagation rules are:
| Gate | Conjugation rules |
|---|---|
| , , | |
| , , | |
| , , while and stay fixed | |
| , , while both operators stay fixed |
Signs must be propagated. Tracking only the binary support can produce the wrong eigenspace.
Ignoring phase, a Clifford acts by a binary matrix :
Preservation of Pauli commutation requires
The symplectic matrix is not the complete Clifford description; phase data are also required.
Pauli measurement update
Section titled “Pauli measurement update”Let be a Hermitian Pauli with outcome .
- If , the outcome is deterministically .
- If , the outcome is deterministically .
- If commutes with every stabilizer but , it acts as a logical Pauli and measuring it generally reveals logical information.
- If anticommutes with a stabilizer generator, ideal outcomes are equiprobable.
For the fourth case, choose one anticommuting generator . Multiply every other anticommuting generator by , then replace with
The resulting commuting generators stabilize the postmeasurement state. Generator replacement describes the ideal state update; ancilla faults and repeated noisy syndrome extraction require a circuit-level analysis.
Canonical examples
Section titled “Canonical examples”Single-qubit states
Section titled “Single-qubit states”The computational and Hadamard-basis states have stabilizers
The signs distinguish orthogonal states with the same Pauli support.
Bell state
Section titled “Bell state”The Bell state
is uniquely stabilized by
The projector identity gives
The minus sign appears because
GHZ state
Section titled “GHZ state”For
one independent generating set is
There are independent generators, so the stabilized space is one-dimensional.
Graph state
Section titled “Graph state”For a simple graph , the graph-state generators are
The commute and are independent. They define a unique stabilizer state. Local graph-state transformations and entanglement structure belong to the canonical graph-state page.
Compact audit
Section titled “Compact audit”For a proposed stabilizer description, check:
- qubit and syndrome-bit ordering;
- generator signs;
- pairwise symplectic products;
- binary rank rather than row count;
- exclusion of ;
- dimension ;
- logical representatives modulo ;
- phase updates under Clifford gates;
- whether a zero-syndrome operator is a stabilizer or a logical Pauli;
- whether an implementation claim includes a physical fault model.
Common mistakes
Section titled “Common mistakes”- Dropping Pauli phases and then treating the remaining set as a group.
- Treating and as the same stabilizer constraint.
- Allowing noncommuting generators or including .
- Counting redundant rows as independent checks.
- Confusing a stabilizer state, with , with a stabilizer code.
- Calling every zero-syndrome Pauli harmless.
- Assuming same-syndrome errors have the same logical action.
- Forgetting that does not store Clifford phase data.
- Calling every physical Clifford a fault-tolerant logical gate.
- Applying binary qubit formulas unchanged to qudits, subsystem codes, or bosonic codes.
Exercises
Section titled “Exercises”1. Rank and code dimension
Section titled “1. Rank and code dimension”Five qubits have four listed commuting generators, but one generator is the product of the other three. What is the stabilized-space dimension?
Solution
The binary rank is , not . Therefore,
The code encodes
logical qubits.
2. Symplectic test
Section titled “2. Symplectic test”Determine whether
commute.
Solution
The binary vectors are
Their symplectic product is
They commute. Directly, the strings anticommute on qubits and , so the two minus signs cancel.
3. Bell-projector sign
Section titled “3. Bell-projector sign”Starting from
derive the Pauli expansion of .
Solution
The stabilizer group has four elements:
Because on each qubit,
Therefore,
4. Syndrome versus logical action
Section titled “4. Syndrome versus logical action”Suppose two Pauli errors and have the same syndrome. What further test decides whether one recovery can correct both?
Solution
Equal syndrome implies
up to phase. If
the errors differ by a stabilizer and have the same logical action. One recovery can correct both.
If instead
the relative product is a nontrivial logical Pauli. The same syndrome-conditioned recovery cannot correct both without leaving a logical error for one case.
5. Clifford propagation
Section titled “5. Clifford propagation”Start from , stabilized by
Propagate the generators through followed by .
Solution
Hadamard maps to :
CNOT maps control to and target to :
The final state is .
Canonical links
Section titled “Canonical links”- Stabilizer Formalism
- Why Quantum Error Correction Is Possible
- Stabilizer Simulation
- Stabilizer States Preview
- Graph States
- GHZ States
- Quantum Gates
- Pauli Matrix Table
References
Section titled “References”- D. Gottesman, Stabilizer Codes and Quantum Error Correction, Ph.D. thesis, California Institute of Technology (1997), doi:10.7907/rzr7-dt72.
- D. Gottesman, “The Heisenberg representation of quantum computers”, in Group22: Proceedings of the XXII International Colloquium on Group Theoretical Methods in Physics (1999), arXiv:quant-ph/9807006.
- S. Aaronson and D. Gottesman, “Improved simulation of stabilizer circuits”, Physical Review A 70, 052328 (2004), doi:10.1103/PhysRevA.70.052328.
- M. A. Nielsen and I. L. Chuang, Quantum Computation and Quantum Information, 10th anniversary ed., Cambridge University Press (2010), Chapter 10.
- J. Watrous, The Theory of Quantum Information, Cambridge University Press (2018), Sections 3.2 and 7.5.