Skip to main content
KetQat

Appearance

Proof · intermediate

Proof of the dimension of a stabilizer code

Write the projector onto each syndrome space as an average over the stabilizer group with signs; every non-identity element of the group is traceless, so each projector has trace 2^k.

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.

Put r=n−kr = n - k.

Step 1: the generators are commuting Hermitian involutions. Each gjg_j lies in SS, which does not contain −I-I. An element of Pn\mathcal{P}_n with phase ±i\pm i squares to −I-I, so gj=±P1⊗⋯⊗Png_j = \pm P_1 \otimes \cdots \otimes P_n, which is Hermitian with gj2=Ig_j^2 = I. Hence Πj±=12(I±gj)\Pi_j^{\pm} = \tfrac12 (I \pm g_j) are the projectors onto the ±1\pm 1 eigenspaces of gjg_j, and since the gjg_j commute these projectors commute.

Step 2: the syndrome projectors. The projector onto VσV_\sigma is

Πσ=∏j=1rI+(−1)σjgj2=12r∑x∈F2r(−1)σ⋅x g1x1g2x2⋯grxr.\Pi_\sigma = \prod_{j=1}^{r} \frac{I + (-1)^{\sigma_j} g_j}{2} = \frac{1}{2^{r}} \sum_{x \in \F_2^{r}} (-1)^{\sigma \cdot x}\, g_1^{x_1} g_2^{x_2} \cdots g_r^{x_r} .

For σ≠σ′\sigma \ne \sigma' some factor appears as Πj+\Pi_j^{+} in one product and Πj−\Pi_j^{-} in the other, and Πj+Πj−=0\Pi_j^{+} \Pi_j^{-} = 0, so ΠσΠσ′=0\Pi_\sigma \Pi_{\sigma'} = 0. Summing over σ\sigma, each factor contributes Πj++Πj−=I\Pi_j^{+} + \Pi_j^{-} = I, so ∑σΠσ=I\sum_\sigma \Pi_\sigma = I. This gives the orthogonal direct sum.

Step 3: non-identity products are traceless. Let x≠0x \ne 0 and s=g1x1⋯grxrs = g_1^{x_1} \cdots g_r^{x_r}. Its binary vector is ∑jxjvj\sum_j x_j v_j, where vjv_j is the vector of gjg_j, and this is nonzero because the vjv_j are linearly independent. So s=±P1⊗⋯⊗Pns = \pm P_1 \otimes \cdots \otimes P_n with at least one Pm≠IP_m \ne I, and Tr⁡s=±∏mTr⁡Pm=0\tr s = \pm \prod_m \tr P_m = 0 because Tr⁡X=Tr⁡Y=Tr⁡Z=0\tr X = \tr Y = \tr Z = 0. For x=0x = 0 the product is II, with trace 2n2^n.

Step 4: count. Taking the trace of the expansion in Step 2,

dim⁡Vσ=Tr⁡Πσ=12r 2n=2 n−r=2k.\dim V_\sigma = \tr \Pi_\sigma = \frac{1}{2^{r}}\, 2^{n} = 2^{\,n-r} = 2^{k} .

Step 5: Pauli errors permute the syndrome spaces. If E∈PnE \in \mathcal{P}_n has syndrome σ(E)\sigma(E), then gjE=(−1)σj(E)Egjg_j E = (-1)^{\sigma_j(E)} E g_j, so for ∣ψ⟩∈V0\ket{\psi} \in V_0 we get gjE∣ψ⟩=(−1)σj(E)E∣ψ⟩g_j E \ket{\psi} = (-1)^{\sigma_j(E)} E \ket{\psi}. Thus the unitary EE maps V0V_0 into Vσ(E)V_{\sigma(E)}, and since both have dimension 2k2^k it maps it onto. Every syndrome occurs: by linear independence the map v↦(⟨v,vj⟩s)jv \mapsto (\langle v, v_j \rangle_s)_j from F22n\F_2^{2n} to F2r\F_2^{r} is surjective, so for every σ\sigma there is a Pauli operator with syndrome σ\sigma. This last fact is not needed for the dimension count but confirms that no VσV_\sigma is special.

The dimension 2k2^k is stated in Section 3.2 of Gottesman; the trace computation above is a standard way to prove it. Compare the proof of Proposition 10.5 in Nielsen and Chuang.

Open in the knowledge graph

Contributions about this record

Nobody has published a contribution about it yet.

Publish a result, reproduction or commentPropose a correction to this page

References

  1. Daniel Gottesman (1997). Stabilizer Codes and Quantum Error Correction. PhD thesis, California Institute of Technology. arXiv:quant-ph/9705052
  2. Michael A. Nielsen, Isaac L. Chuang (2010). Quantum Computation and Quantum Information (10th Anniversary Edition). Cambridge University Press. doi:10.1017/CBO9780511976667

Contributors

  • KetQat maintainers · @ketqatConceptualization; Supervision (CRediT roles)
  • Claude (AI drafting assistant)Writing, original draft (CRediT roles)

Review history

  1. Automated source check · Pass with notes · 2026-12-01 · Independent automated verification pass (AI, not the drafting session)

    Steps 1-5 re-derived (generators are +-Pauli Hermitian involutions when -I is not in S; product expansion of the syndrome projectors; orthogonality and completeness; nonzero binary vector implies traceless; tr Pi_sigma = 2^(n-r); Pauli errors map V_0 onto V_sigma(E); surjectivity of the syndrome map from nondegeneracy of the symplectic form). The 2^k statement compared with Gottesman, arXiv:quant-ph/9705052, Section 3.2 (p. 18); the number of Nielsen-Chuang Proposition 10.5 compared with its citation as Lemma 5.3 in arXiv:2308.11538.

    The record called the trace computation 'the argument of Gottesman' and described Nielsen-Chuang's proof method. Gottesman's thesis states the dimension 2^k without this computation, and the book's proof could not be opened. Reworded: Gottesman states the result; the trace computation is a standard proof; compare Nielsen-Chuang Proposition 10.5 (method description removed).

Revision history

  1. 2026-12-01Content release 2.1.0: 35 more topics, an independent source check of every record, intake hardening (#17)80537b7e
  2. 2026-11-30KetQat Commons: free learning paths, knowledge records, research problems, literature intake (#14)571c9b10

Current revision ff5a9d5c7ae5798f. Source file knowledge/records/proof/stabilizer-code-dimension.md in the content repository (readable there once it is public).