Proof of the error-correction condition for stabilizer codes
Evaluate P E P for Pauli E using the group-average form of the projector; a nontrivial logical operator anticommutes with another logical operator, which forbids P E P from being a multiple of P. Linearity extends the statement to arbitrary errors.
Established resultMachine-checkedUpdated 2026-12-01 · last verified 2026-12-01
AI-assisted text, machine-checked, not yet reviewed by a person. Citations resolve and an automated pass compared the statements with the cited sources. That is not peer review; check the sources for anything you depend on.
Let g1,…,gn−k be independent generators of S and
P=∏j21(I+gj) the
code projector.
Item 1.Case E∈/N(S). Then E anticommutes with some generator g.
Since gP=Pg=P,
PEP=PEgP=−PgEP=−PEP,
so PEP=0.
Case E∈N(S). Then E commutes with every generator, hence with P, so
PEP=EP. If E=λs with s∈S and ∣λ∣=1, then
EP=λP.
Case E∈N(S)∖⟨iI⟩S. In the binary representation the
vector e of E lies in S⊥s but not in S, where
S is the span of the generator vectors. Because the symplectic form is
nondegenerate, (S⊥s)⊥s=S, so there is a vector
q∈S⊥s with ⟨e,q⟩s=1. Let Q be a Pauli
operator with vector q. Then Q∈N(S), so Q commutes with P, and
QE=−EQ. Suppose PEP=cP. Then
cP=PEP=PQ†QEP=−PQ†EQP=−Q†(PEP)Q=−cQ†PQ=−cP,
so c=0 and EP=PEP=0. But E is unitary and P=0, so EP=0, a
contradiction. Hence PEP is not a multiple of P.
Item 2. By item 1 applied to E=Ea†Eb∈Pn, the condition
PEa†EbP=cabP holds for every pair exactly when no product
Ea†Eb lies in N(S)∖⟨iI⟩S. The
Knill–Laflamme theorem turns this into
correctability.
Item 3. Let d′ be the minimum weight in N(S)∖⟨iI⟩S; it
exists because k≥1 makes this set nonempty. A minimum-weight element E is an
operator on d′ qubits with PEP∝P by item 1, so the distance is at
most d′. Conversely, let F be any operator supported on a set A of fewer than
d′ qubits. The Pauli operators supported in A span all operators on A, so
F=∑αfαEα with each Eα a Pauli operator of weight
less than d′. No such Eα lies in N(S)∖⟨iI⟩S, so by
item 1 each PEαP is a multiple of P, and so is PFP. Hence the distance
is at least d′.
Item 4. Let wt(E)≤t and σ=σ(E). The fixed
correction Rσ has syndrome σ and weight at most wt(E)≤t,
by minimality. Then Rσ†E has zero syndrome, so it lies in N(S), and its
weight is at most 2t≤d−1<d, so by item 3 it lies in ⟨iI⟩S.
Measuring the generators on E∣ψ⟩ yields σ with certainty and leaves
the state unchanged (dimension theorem,
step 5), and Rσ†E∣ψ⟩=λ∣ψ⟩ with ∣λ∣=1.
Applying Rσ† (a Pauli operator, equal to Rσ up to phase) therefore
restores ∣ψ⟩ up to a global phase. Since the Pauli operators of weight at
most t form a correctable set by item 2, the Knill–Laflamme theorem extends
correctability to every noise map whose operation elements are linear combinations
of them.
Claude (AI drafting assistant)Writing, original draft (CRediT roles)
Review history
Automated source check · Pass · 2026-12-01 · Independent automated verification pass (AI, not the drafting session)
Items 1-4 re-derived line by line (anticommuting case gives PEP = 0; normalizer elements commute with P; the nondegeneracy argument (S^perp)^perp = S producing Q with QE = -EQ and the contradiction c = -c; distance as minimum weight via Pauli expansion of operators on fewer than d' qubits; syndrome decoding with R_sigma^dag E in <iI>S for weight at most 2t <= d-1). Compared with Gottesman, arXiv:quant-ph/9705052, Section 3.2, eqs. (3.6)-(3.8) and surrounding text (detectable errors S union (G - N(S)), correctability iff E_a^dag E_b in S union (G - N(S)), distance d iff N(S) - S has no element of weight below d). The number of Nielsen-Chuang Theorem 10.8 matches its citation in arXiv:2109.12735 (web-search summary); the book itself not opened.
Revision history
2026-12-01Content release 2.1.0: 35 more topics, an independent source check of every record, intake hardening (#17)80537b7e
2026-11-30KetQat Commons: free learning paths, knowledge records, research problems, literature intake (#14)571c9b10
Current revision 739773b97537741d. Source file knowledge/records/proof/stabilizer-code-distance.md in the content repository (readable there once it is public).