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.
This is the standard argument of Gottesman; see also
Theorem 10.8 of Nielsen and Chuang.