Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

14.3 Logical Recovery from Orthogonal Syndromes

Once environmental errors kick an encoded logical state into distinct error channels, how does recovery strip away the error matrix and restore intact?

Geometrically, the mechanism relies on mutually orthogonal syndrome subspaces (Figure 14, Panel II). Let (syndrome indices), (physical dimension), and (logical code dimension) be finite index types with [DecidableEq s] and [DecidableEq d] ( requires no explicit DecidableEq instance). In OrthogonalSyndromeDecoding, a family of embedding matrices satisfies OrthogonalSyndromes S if

Each isometrically embeds the -dimensional logical space into the -th syndrome subspace (), while distinct syndrome subspaces are strictly orthogonal ( for ).

An error moves the state, whole, into another room. Below, the eight basis states fall into four rooms () according to the readings of the two checks. The middle qubit flips and both lights go on; the two cyan bars of move unchanged into room , onto and , and the other three rooms stay empty.

For any syndrome coefficient matrix and any logical matrix , the syndrome encoding map is

and the syndrome decoding map is

The next proposition proves that decoding any syndrome-encoded state collapses all cross-syndrome terms and returns .

Proposition 14.7 (Exact Logical Recovery from Orthogonal Syndrome Subspaces)LEAN ✓

Let be finite index types (with [DecidableEq s] and [DecidableEq d]), and let satisfy OrthogonalSyndromes S. Then for every complex matrix and every complex matrix ,

Proof

Substituting the double sum of into and expanding by linearity gives

By OrthogonalSyndromes S, and . For each fixed , every term with or vanishes, leaving only the term . Summing over yields . The full proof is checked by the Lean kernel.

noise matrix σ I I ½ X₁ X₁ ¼ X₂ X₂ ⅛ X₃ X₃ ⅛ cross-room terms: cut by decoding decode Tr σ = ½ + ¼ + ⅛ + ⅛ = 1 output = 1 · ρ = ρ

After decoding, only the diagonal of survives. At the top is the noise matrix : the four cyan diagonal cells take the values from step four of Example 14.20, and the other twelve, the magenta cross-room coherences, are all struck out. The diagonal adds up to , and decoding outputs (Proposition 14.7). With non-zero coherences, a numerical check on the three-qubit code returns the same .

Two important domain boundaries apply to Proposition 14.7:

  1. No positivity, unit-trace, or diagonality assumption on or : The identity holds for arbitrary complex matrices and . In particular, off-diagonal coherent error superpositions () between distinct syndrome subspaces are automatically annihilated by and , and when , exact unscaled recovery follows as a special case.

Four branches each come back and add up to the state. Take (step 4 of Example 14.20) and : four branches, no error and a flip of the first, second or third qubit, each cyan bar as wide as its weight and each branch in its own room. Decoding pulls every branch back into the code space, where they line up side by side into one whole bar that fills the dashed outline exactly: , which is Proposition 14.7.

  1. Algebraic decoding on the syndrome support versus a globally trace-preserving channel: is an algebraic recovery formula on the direct sum . Whenever so that , one cannot unconditionally claim that alone defines a trace-preserving (CPTP) channel on the entire physical space ; a full physical channel requires completing the Kraus operators on the orthogonal complement .

Orthogonal syndromes are the clearest coordinate form: they assume the coefficient matrix is diagonal in advance. The frozen source also gives a finite rectangular construction without that assumption. Its input errors are matrices, while the recovery operators are matrices, so the result crosses the physical/logical dimension boundary explicitly.

Theorem 14.8 (Finite Rectangular Kraus Scalar Products Give an Actual Recovery)LEAN ✓

Let be finite index types, each with finite-type and decidable-equality instances. Let , choose a logical index , and let satisfy

Then there are a finite and a recovery Kraus family such that

and, for every complex logical matrix ,

The explicit term witnesses a nonempty logical interface; the theorem does not use the vacuous zero-dimensional case. The rectangular sizes are part of the statement: noise sends logical matrices into , and returns them to .

Proof

The proof follows the existing spectral construction recorded in the source Blueprint. The chosen turns into a Gram matrix, giving positive semidefiniteness; an Hermitian spectral decomposition then unitarily rotates the errors into orthogonal branches weighted by eigenvalues. Strictly positive branches are normalized by , while zero-eigenvalue branches are removed through an actual finite subtype, so no division by zero is hidden. For the remaining orthogonal syndrome family, the source completeKraus adds complementary reset rows on the orthogonal complement of the syndrome support. That completion extends adjoint decoding from the correctable support to a normalized recovery on the whole physical input. Finally the finite index is reindexed as Fin r, yielding the identity for every complex matrix . The full proof is checked by the Lean kernel.

This sufficiency result extends Proposition 14.7 in three ways: may begin with off-diagonal coherences and is diagonalized by the spectral rotation; zero spectral weights are removed explicitly rather than assuming every error branch has positive probability; and the recovery family is completed on the unused physical complement, so its normalization covers the whole physical input. It remains a statement about a finite Kraus family. It does not assert a finite Kraus representation for every bundled channel, and it supplies no recovery-time or noise-robustness bound.

Ordinary encoding notation (paper derivation, not a new Lean specialization check). Let the physical and logical dimensions and be finite positive integers, and let the error index set be finite. Let satisfy , let the physical error family have satisfying , and put . If the logical Knill–Laflamme condition is

the two premises transport exactly to the rectangular theorem:

Choose any logical index as the nonempty witness. The theorem then gives a finite and a recovery family with and , such that, for every complex matrix ,

The parenthesized term is the physical output; after the sandwich, is the logical output. The two boundaries must not be conflated into an identity on the physical space.