Skip to main content
KetQat

Appearance

Theorem · intermediate

A code of distance d corrects d − 1 erasures

A quantum code of distance d corrects every error supported on a known set of at most d − 1 systems, twice as many as the errors at unknown positions it can correct. For a stabilizer code a known set is correctable exactly when it supports no non-trivial logical operator.

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 CC be a quantum code of distance dd on nn systems, with projector PP.

  1. For every set AA of at most d−1d - 1 systems there is a recovery channel RA\mathcal{R}_A such that RA∘N=id\mathcal{R}_A \circ \mathcal{N} = \mathrm{id} on CC for every channel N\mathcal{N} that acts as the identity outside AA. In particular CC corrects the erasure of any d−1d - 1 systems.
  2. If CC is a stabilizer code with stabilizer group S\mathcal{S}, a set AA of any size has this property if and only if no element of N(S)∖SN(\mathcal{S}) \setminus \mathcal{S}, up to phase, is supported on AA.

By comparison, errors at unknown positions are correctable when they affect at most ⌊(d−1)/2⌋\lfloor (d-1)/2 \rfloor systems. Knowing the positions doubles the number of tolerated errors; this is the observation of Grassl, Beth and Pellizzari.

Holds when

  • A quantum code C⊆(Cq)⊗nC \subseteq (\C^q)^{\otimes n} of distance dd, and exact recovery.
  • The set of affected systems is known to the recovery operation; the error on that set is arbitrary.

Proof

Proof that a code of distance d corrects d − 1 erasuresMachine-checked

Part 1. Let ∣A∣≤d−1\abs{A} \le d - 1 and let {Ea}\{E_a\} be a basis of the operators that act as the identity outside AA. For any a,ba, b the product Ea†EbE_a\dagg E_b also acts as the identity outside AA, so it acts non-trivially on fewer than dd systems. By the definition of the distance, every such operator EE satisfies PEP=cEPP E P = c_E P for a scalar cEc_E. Hence

P Ea†Eb P=cab Pfor all a,b,P\, E_a\dagg E_b\, P = c_{ab}\, P \qquad \text{for all } a, b,

which is the Knill–Laflamme condition for the set {Ea}\{E_a\}. The theorem provides a recovery channel RA\mathcal{R}_A that corrects every map whose operation elements are linear combinations of the EaE_a, and every channel acting only on AA is of that form. The recovery depends on AA, which is why the positions must be known.

If the positions are unknown, one recovery must serve all sets AA of size tt at once. The relevant products Ea†EbE_a\dagg E_b then have one factor supported on a set AA and the other on a set A′A', hence support of size up to 2t2t, and the same argument needs 2t≤d−12t \le d - 1.

Part 2. Let CC be a stabilizer code and take for {Ea}\{E_a\} the Pauli operators supported on AA; the products Ea†EbE_a\dagg E_b are again, up to phase, the Pauli operators supported on AA. For a Pauli operator EE there are three cases. If E∈SE \in \mathcal{S} up to phase then PEP∝PP E P \propto P. If EE anticommutes with some element of S\mathcal{S} then PEP=0P E P = 0. If E∈N(S)∖SE \in N(\mathcal{S}) \setminus \mathcal{S} then EE maps CC to itself and acts on it as a non-trivial logical Pauli operator, so PEP=EPP E P = E P is not a multiple of PP.

If no element of N(S)∖SN(\mathcal{S}) \setminus \mathcal{S} is supported on AA, only the first two cases occur, the Knill–Laflamme condition holds, and Part 1's argument gives the recovery. Conversely, if such an element LL is supported on AA, the two errors II and LL, both supported on AA, give PI†LP=LP∝̸PP I\dagg L P = L P \not\propto P, so the condition fails and no recovery exists. Since a non-trivial logical operator has weight at least dd, the criterion is automatically met when ∣A∣≤d−1\abs{A} \le d - 1, in agreement with Part 1. ■\qquad\blacksquare

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. M. Grassl, Th. Beth, T. Pellizzari (1997). Codes for the quantum erasure channel. Physical Review A 56, 33-38. doi:10.1103/PhysRevA.56.33arXiv:quant-ph/9610042
  2. Emanuel Knill, Raymond Laflamme (1997). Theory of quantum error-correcting codes. Physical Review A 55, 900-911. doi:10.1103/PhysRevA.55.900
  3. Daniel Gottesman (1997). Stabilizer Codes and Quantum Error Correction. PhD thesis, California Institute of Technology. arXiv:quant-ph/9705052

Contributors

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

Review history

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

    Part 1 re-derived from the Knill-Laflamme conditions: for errors supported on a known set A with |A| <= d-1, every product E_a^dagger E_b is supported on A, has weight < d and is therefore detectable, so P E_a^dagger E_b P = c_ab P and a recovery R_A exists. Part 2 re-derived for stabilizer codes (Paulis supported on A span the error algebra; correctable iff no element of N(S)\S is supported on A). Comparison statement checked against Grassl-Beth-Pellizzari arXiv quant-ph/9610042 (a code correcting t errors corrects 2t erasures; nu erasures and t errors when nu + 2t < d; four qubits suffice for one erasure).

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 375e5331321da1cd. Source file knowledge/records/theorem/erasure-correction-up-to-distance.md in the content repository (readable there once it is public).