Skip to main content
KetQat

Appearance

Theorem · intermediate

Knill–Laflamme error-correction conditions

A code corrects a set of errors exactly when every product of two error operators acts on the code space as a multiple of the identity, with the multiples forming a Hermitian matrix.

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 with projector PP and let E\mathcal{E} be a noise map with operation elements {Ea}\{E_a\}. A recovery channel R\mathcal{R} correcting E\mathcal{E} on CC exists if and only if

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,

for some complex numbers cabc_{ab}. The matrix c=(cab)c = (c_{ab}) is then Hermitian and positive semidefinite.

Equivalently, for an orthonormal basis {∣i⟩}\{\ket{i}\} of CC: ⟨i∣Ea†Eb∣j⟩=cab δij\bra{i} E_a\dagg E_b \ket{j} = c_{ab}\, \delta_{ij}, with cabc_{ab} independent of ii and jj.

The same recovery then corrects every map whose operation elements are linear combinations of the EaE_a. This was established independently by Knill and Laflamme and by Bennett, DiVincenzo, Smolin and Wootters; a textbook statement is Theorem 10.1 of Nielsen and Chuang.

Holds when

  • Finite-dimensional Hilbert space H\mathcal{H} and code space C⊆HC \subseteq \mathcal{H} with projector PP.
  • Exact recovery is required; approximate recovery obeys a different, weaker condition.

Proof

Proof of the Knill–Laflamme conditionsMachine-checked

The matrix cc is Hermitian and positive semidefinite. Taking the adjoint of PEa†EbP=cabPP E_a\dagg E_b P = c_{ab} P gives cab∗=cbac_{ab}^* = c_{ba}. For any vector vv, with F=∑avaEaF = \sum_a v_a E_a, we get ∑abva∗cabvb P=PF†FP≥0\sum_{ab} v_a^* c_{ab} v_b\, P = P F\dagg F P \ge 0.

Sufficiency. Diagonalise c=u d u†c = u\, d\, u\dagg with uu unitary and d=diag⁡(dk)d = \operatorname{diag}(d_k), dk≥0d_k \ge 0. Define Fk=∑auakEaF_k = \sum_a u_{ak} E_a. The FkF_k are operation elements of the same map E\mathcal{E}, and

PFk†FlP=∑abuak∗ cab ubl P=dk δkl P.P F_k\dagg F_l P = \sum_{ab} u_{ak}^*\, c_{ab}\, u_{bl}\, P = d_k\, \delta_{kl}\, P .

If dk=0d_k = 0 then FkP=0F_k P = 0. If dk>0d_k > 0, the polar decomposition gives a unitary UkU_k with FkP=dk UkPF_k P = \sqrt{d_k}\, U_k P. Put Pk=UkPUk†P_k = U_k P U_k\dagg. For k≠lk \ne l,

PkPl=1dkdl  Uk(PFk†FlP)Ul†=0,P_k P_l = \frac{1}{\sqrt{d_k d_l}}\; U_k \left( P F_k\dagg F_l P \right) U_l\dagg = 0 ,

so the PkP_k are mutually orthogonal projectors: distinct errors FkF_k move the code space to orthogonal subspaces. Define

R(σ)=∑k: dk>0Uk†Pk σ PkUk  +  Π σ Π,Π=I−∑k: dk>0Pk.\mathcal{R}(\sigma) = \sum_{k:\, d_k > 0} U_k\dagg P_k\, \sigma\, P_k U_k \;+\; \Pi\, \sigma\, \Pi , \qquad \Pi = I - \sum_{k:\, d_k>0} P_k .

It is trace preserving because ∑kPkUkUk†Pk+Π2=I\sum_k P_k U_k U_k\dagg P_k + \Pi^2 = I. For a state with ρ=PρP\rho = P \rho P, using PUk†=PFk†/dkP U_k\dagg = P F_k\dagg / \sqrt{d_k},

Uk†PkFlP=PUk†FlP=PFk†FlPdk=dk δkl P,U_k\dagg P_k F_l P = P U_k\dagg F_l P = \frac{P F_k\dagg F_l P}{\sqrt{d_k}} = \sqrt{d_k}\, \delta_{kl}\, P ,

and ΠFlP=FlP−PlFlP=0\Pi F_l P = F_l P - P_l F_l P = 0 because PlFlP=dl UlP=FlPP_l F_l P = \sqrt{d_l}\, U_l P = F_l P. Therefore

R(E(ρ))=∑k,lUk†PkFl ρ Fl†PkUk=(∑kdk)ρ=(Tr⁡c) ρ,\mathcal{R}(\mathcal{E}(\rho)) = \sum_{k,l} U_k\dagg P_k F_l\, \rho\, F_l\dagg P_k U_k = \Big(\sum_k d_k\Big) \rho = (\tr c)\, \rho ,

and Tr⁡c=1\tr c = 1 when E\mathcal{E} is trace preserving on CC. A map with operation elements ∑amjaEa\sum_a m_{ja} E_a satisfies the same condition with cc replaced by m∗c mTm^* c\, m^{T} and has the same subspaces PkP_k, so R\mathcal{R} corrects it too.

Necessity. Suppose R\mathcal{R} with operation elements {Rj}\{R_j\} satisfies R(E(PρP))=λ PρP\mathcal{R}(\mathcal{E}(P \rho P)) = \lambda\, P \rho P for all ρ\rho. The left side is a completely positive map with operation elements {RjEaP}\{R_j E_a P\} and the right side one with the single element λP\sqrt{\lambda} P. Two operator-sum representations of the same map are related by an isometry, so RjEaP=γjaPR_j E_a P = \gamma_{ja} P for some complex numbers γja\gamma_{ja}. Then

PEa†Rj†RjEbP=γja∗γjb P,P E_a\dagg R_j\dagg R_j E_b P = \gamma_{ja}^* \gamma_{jb}\, P ,

and summing over jj with ∑jRj†Rj=I\sum_j R_j\dagg R_j = I gives PEa†EbP=cabPP E_a\dagg E_b P = c_{ab} P with cab=∑jγja∗γjbc_{ab} = \sum_j \gamma_{ja}^* \gamma_{jb}.

This follows the argument of Knill and Laflamme in the form given in section 10.3 of 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. Emanuel Knill, Raymond Laflamme (1997). Theory of quantum error-correcting codes. Physical Review A 55, 900-911. doi:10.1103/PhysRevA.55.900
  2. Charles H. Bennett, David P. DiVincenzo, John A. Smolin, William K. Wootters (1996). Mixed-state entanglement and quantum error correction. Physical Review A 54, 3824-3851. doi:10.1103/PhysRevA.54.3824
  3. 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 · 2026-12-01 · Independent automated verification pass (AI, not the drafting session)

    Condition P E_a^dag E_b P = c_ab P, Hermiticity/positivity of c, the basis form and linearity of correctable sets re-derived; compared with Knill-Laflamme, arXiv quant-ph/9604034, Thm 3.2 (Eqs. 19-20), and with Bennett-DiVincenzo-Smolin-Wootters, arXiv quant-ph/9604024, Eqs. (89)-(90) (independent derivation); knill-laflamme-1997 and bennett-1996-mixed-state metadata compared with Crossref; the Nielsen-Chuang theorem number (10.1) was not checked against the book, which is not openly readable.

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 f2a8d962a3226072. Source file knowledge/records/theorem/knill-laflamme-conditions.md in the content repository (readable there once it is public).