How statement and proof provenance work
The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.
- Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
- AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
- AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.
These labels describe origin, not correctness: citations and verification chips remain separate evidence.
Knill–Laflamme Recovery and Subsystem Codes
1 · Prerequisites
- Algebraic Closure, Embeddings, and Separability
- Algebraic Extensions, Extension Degree, and Finite Fields
- Binary Operations, Monoids, Groups and Subgroups
- Channels, Kraus, Choi, and Stinespring Representations
- Classical and Quantum Error-Correcting Codes
- Complex Norms and Realification
- Composition Series, the Jordan–Hölder Theorem and Solvable Groups
- Congruences, the Integers Modulo n and the Chinese Remainder Theorem
- Construction of the Natural Numbers
- Construction of the Real Numbers via Cauchy Sequences
- Construction of the Real Numbers via Dedekind Cuts
- Continuity, IVT, EVT, and Uniform Continuity
- Cosets, Index and Lagrange's Theorem
- Countability and Uncountability
- Cyclic Groups and Direct Products
- Determinants of Matrices over a Commutative Ring
- Diagonalisation and the Minimal Polynomial
- Divisibility, Euclidean Domains, Principal Ideal Domains and Unique Factorisation
- Divisibility, Greatest Common Divisors and Bézout's Identity
- Dual Spaces, Bilinear and Quadratic Forms, and Sylvester's Law of Inertia
- Eigenvalues, Eigenvectors and the Characteristic Polynomial
- Finite Counting, Factorials and Binomial Coefficients
- Foundations of the Real Numbers for Analysis
- Free Modules, Exact Sequences, Projective and Injective Modules
- Group Actions, Orbits, Stabilisers and Cayley's Theorem
- Group Homomorphisms and the Isomorphism Theorems
- Hilbert Space Geometry and Riesz Representation
- Ideals, Quotient Rings and the Isomorphism Theorems for Rings
- Inner Product Spaces, Gram-Schmidt, Projections and Adjoints
- Limits of Real Functions
- Linear Independence, Bases and Dimension
- Linear Transformations, Rank-Nullity and Quotient Spaces
- Matrices, the Matrix of a Linear Map, and Change of Basis
- Measurements, POVMs, and Instruments
- Metric Spaces
- Modules, Submodules, Quotient Modules and the Isomorphism Theorems
- Monotone Sequences, Bolzano-Weierstrass, and Cauchy Completeness
- Normal Subgroups and Quotient Groups
- Order, Zorn's Lemma, and the Axiom of Choice
- Polynomial Rings, the Division Algorithm and Roots
- Primes, Euclid's Lemma and the Fundamental Theorem of Arithmetic
- Registers, Tensor Products, and Partial Trace
- Relations, Functions, and Quotients
- Rings, Subrings, Integral Domains and Fields
- Rⁿ as a Normed Space; Vector-Valued Functions
- Roots, Rational Powers, and Classical Inequalities
- Sequences and Limits
- Simple Field Extensions and the Construction of the Complex Numbers
- Splitting Fields
- Suprema and Infima
- Sylow's Theorems, p-Groups and Nilpotent Groups
- Symmetric Groups, Cycle Decomposition and the Sign Homomorphism
- Tensor Products of Modules
- The Determinant of a Linear Operator, Cofactors and Cramer's Rule
- The Fundamental Theorem of Algebra
- The Fundamental Theorem of Finite Abelian Groups
- The Galois Correspondence
- The Spectral Theorem, Positive Operators and Singular Value Decomposition
- The ZFC Axioms and the Basic Set Constructions
- Topology of ℝ
- Triangularisation, Generalised Eigenspaces and Jordan Canonical Form
- Vector Spaces, Linear Subspaces, Span and Direct Sums
2 · Summary
This page proves the finite-dimensional Knill–Laflamme recovery criterion, constructs a trace-preserving syndrome recovery, and extends the criterion to a protected logical factor with a gauge subsystem. The proofs fix the library’s linear-first inner-product convention and preserve the tensor-factor order of the code isometry. A distance corollary distinguishes unknown errors, whose supports may form a union, from known erasure supports. The companion page checks the matrix conventions and recovery maps in small finite-dimensional examples.
3 · Logical flowchart
4 · Definitions, theorems and proofs
Agreement on pure states implies complete agreement
Statement
Let be finite-dimensional complex inner-product spaces, with the library convention that the inner product is linear in its first argument. For , put , (rank one when ). Write . If complex-linear maps agree on for every unit , then on and on , under the canonical matrix-unit identification.
Facts & Assumptions
Given: Finite-dimensional complex inner-product spaces , and complex-linear maps satisfying the stated rank-one equalities.
Real and complex inner product spaces, with the inner product linear in the first argument: the inner product is linear in the first argument and conjugate-linear in the second.
Every finite-dimensional real or complex inner product space has an orthonormal basis: and have orthonormal bases, including the empty basis in dimension zero.
The elementary tensors of two bases form the product basis of the tensor product: elementary tensors of basis vectors form a basis of the tensor product.
Linear map between vector spaces over the same field: a complex-linear map preserves sums and complex scalar multiples.
Proof
Put . By [F4], is complex-linear. For every nonzero , , and , so linearity gives for every .
With denoting the map , the linear-first convention gives and If and , then and . Hence for all .
Choose an orthonormal basis of using [F2]. Every has the expansion , so these matrix units form a basis of . Step 2.1 makes zero on that basis, hence on all of ; thus .
Choose an orthonormal basis of . By [F3], is a basis of and the operators form a basis of . Each equals , on which is zero by step 2.1. Therefore the two amplified maps agree on the entire operator space.
Product operator matrix units form a basis
Statement
Let be finite-dimensional complex inner-product spaces with fixed ordered orthonormal bases and ; either index set may be empty. Put . For each and , define Then the family is a basis of . If either factor is zero-dimensional, this is the empty basis of the zero endomorphism space.
Facts & Assumptions
Given: The finite-dimensional spaces and their ordered orthonormal bases in the Statement.
Real and complex inner product spaces, with the inner product linear in the first argument: the complex inner product is linear in its first argument, so is linear for fixed .
The product basis is orthonormal and tensor dimensions multiply: the elementary product tensors form an orthonormal basis of , including the empty and zero-dimensional cases.
Linear map between vector spaces over the same field: a linear map is determined by its values on a spanning set.
A finite list is an ordered basis if and only if every equals for exactly one ; those scalars are the coordinates of in that ordered basis: each vector has a unique finite coordinate expansion in an ordered basis.
Proof
By [F1], each is linear. Applying it to a product basis vector gives when and otherwise, by [F2]. Thus these operators have the individual matrix-unit columns of the product basis.
If either basis is empty, [F2] makes ; its endomorphism space is the zero vector space, whose empty family is a basis, as asserted. Otherwise, for any and each input basis vector , write using [F2, F4]. The finite sum has the same value as on every basis vector by step 1.1, hence equals by [F3]. If a linear combination of the is zero, applying it to each input basis vector shows each coefficient is zero by [F2]. Therefore this family spans and is linearly independent.
Partial trace over the first tensor factor
Definition
Let be finite-dimensional complex inner-product spaces, and fix the factor order . For ordered orthonormal bases and , define where under the linear-first convention. Equivalently, this is the partial trace over the second factor after swapping the two wires. The partial-trace characterization and wire-permutation unitarity in The partial trace is characterized by the trace pairing and is basis-independent and Finite wire permutations are unitary basis permutations show that the map is independent of the chosen orthonormal bases. In particular, the same definition applies when , with that residual factor order left unchanged. For an operator on , use the canonical associator of the ordered tensor-register construction to view it on before taking this partial trace.
The Knill–Laflamme coefficient matrix is positive
Statement
Let be finite-dimensional complex inner-product spaces, an isometric encoding of nonzero logical space, and . For a finite family of linear error operators , suppose scalars satisfy for all . Then the matrix is Hermitian positive semidefinite.
Facts & Assumptions
Given: The finite-dimensional encoding and error family in the Statement, and the displayed Knill–Laflamme scalar-compression identities.
Real and complex inner product spaces, with the inner product linear in the first argument: the complex inner product is linear in its first argument and conjugate-linear in its second.
The adjoint is characterised by and Every linear map between finite-dimensional inner product spaces has a unique adjoint: finite-dimensional maps have unique adjoints satisfying .
Proof
By [F2], , and . Multiplying by and therefore gives . Choose a unit vector , possible because . The adjoint identity [F4] yields .
For any , the first-argument linearity and conjugate symmetry in [F3] give Also , so is Hermitian. The nonnegative quadratic form is exactly positive semidefiniteness.
A unitary error-basis change gives orthogonal error ranges
Statement
Let be an isometry with and . Let be a finite family satisfying , and let be the resulting positive matrix. There is a unitary matrix such that for one has for every , and with . If , then ; if , then is an isometry and the ranges of the are pairwise orthogonal.
Facts & Assumptions
Given: The finite-dimensional isometry and error family in the Statement.
An isometric quantum encoding gives an orthogonal code projector: and , so and .
The Knill–Laflamme coefficient matrix is positive: the scalar matrix in is Hermitian positive semidefinite.
Complex spectral theorem: a normal endomorphism of a finite-dimensional complex inner product space has an orthonormal eigenbasis, and conversely: a Hermitian endomorphism of a finite-dimensional complex inner-product space has an orthonormal eigenbasis.
Square roots exist: a unique with ; the positives are : each nonnegative real number has a unique nonnegative square root.
Adjoints satisfy , , , and : and for compatible finite-dimensional maps.
Real and complex inner product spaces, with the inner product linear in the first argument: the inner product is linear in its first argument and defines the norm by .
Proof
By [F3], is Hermitian positive semidefinite. Apply [F4] to obtain a unitary with . For each eigenvector , positivity gives , and [F5] supplies .
Expand the transformed operator sum. Unitarity and [F6] give Thus mixing preserves the represented map, including every zero-on-code error.
Compress the transformed products by . The scalar-compression identities and [F2] give .
If , then for every , , so . If , then [F5] and step 2.1 give for positive eigenvalues. Hence each is isometric, and for its range is orthogonal to the range of .
Exact recovery of an encoded quantum code
Definition
Let be nonzero finite-dimensional complex inner-product spaces. An encoding isometry has code projector ; An isometric quantum encoding gives an orthogonal code projector gives , so is trace-preserving. Let be a channel. The code is exactly correctable for if there is a decoded recovery channel for which
as linear maps, where . Equivalently, the physical recovery satisfies for every positive semidefinite trace-one logical operator .
It suffices to check equality on the rank-one projectors from Agreement on pure states implies complete agreement for unit vectors : by that lemma, agreement on those projectors implies agreement on every operator and after tensoring with the identity on any finite reference system.
For any chosen finite Kraus representation , trace preservation gives by Trace preservation is Kraus normalization.
Kraus operators in an identity-channel representation are scalar
Statement
Let be a nonzero finite-dimensional complex inner-product space with the library convention linear in the first argument. Let be a finite family whose Kraus map is the identity channel, so for every . Then for each there is a scalar such that .
Facts & Assumptions
Given: The finite Kraus family and identity-map equality in the Statement.
Real and complex inner product spaces, with the inner product linear in the first argument fixes linearity in the first argument and conjugate-linearity in the second.
Finite Kraus representation: the displayed finite operator sum represents the map on every endomorphism.
Finite-dimensional quantum channel: a channel is completely positive and trace-preserving on the full endomorphism space.
Every finite-dimensional real or complex inner product space has an orthonormal basis: has a finite orthonormal basis.
For a subspace of a finite-dimensional inner product space, : a finite-dimensional inner-product space is the orthogonal direct sum of a subspace and its orthogonal complement.
Every linear map between finite-dimensional inner product spaces has a unique adjoint: each finite linear operator has an adjoint satisfying the defining pairing identity.
Proof
For a unit vector , define . The adjoint identity [F6] rewrites , so the assumed channel identity gives . If , then and . Thus , so each inner product vanishes. For a fixed , write with using [F5]. The vanishing inner product with gives , so and .
If , each linear endomorphism is scalar, so the conclusion holds. If , choose an orthonormal basis by [F4]. Step 1.1 gives . For , applying step 1.1 to shows , hence . Thus is independent of for each .
In either dimension case, each acts by one scalar on a basis of , and therefore on all of .
Orthogonal error restrictions determine syndrome projections
Statement
Let be finite-dimensional complex inner-product spaces, and let be finitely many isometries with pairwise orthogonal ranges. Then are pairwise orthogonal projections, their sum is an orthogonal projection satisfying , and is the orthogonal projection onto the residual complement. The empty family is allowed, with and .
Facts & Assumptions
Given: Finite-dimensional complex inner-product spaces and a finite family of isometries with pairwise orthogonal ranges.
An endomorphism is an orthogonal projection exactly when it is idempotent and self-adjoint: a self-adjoint idempotent on a finite-dimensional inner-product space is an orthogonal projection.
The orthogonal projection is the -component in : an orthogonal projection selects the component in its range along the orthogonal complement.
Adjoints satisfy , , , and : and for compatible finite-dimensional maps.
Non-negative and positive operators: means is self-adjoint and for every .
Real and complex inner product spaces, with the inner product linear in the first argument: and the inner product is positive definite.
An isometric quantum encoding gives an orthogonal code projector: every finite-dimensional linear isometry satisfies .
The adjoint is characterised by and Every linear map between finite-dimensional inner product spaces has a unique adjoint: adjoints exist and satisfy .
Proof
By [F7, F8], each has an adjoint and . For each , [F4] gives , and by [F7]. The image of is contained in , while for every ; hence its image equals . By [F2], is the orthogonal projection onto that range.
If , orthogonality of the ranges gives for all by [F8]. Taking shows by [F6]. Hence . Thus and ; [F2] makes an orthogonal projection. The same calculation gives , so [F2] makes an orthogonal projection.
Each fixes its own range and kills the other ranges, so is exactly the orthogonal sum of the . Since is an orthogonal projection, its range is , the orthogonal complement of the range of by [F3]. For every , and , so [F5] gives . For the empty family the sums give directly.
Preserving the logical marginal forces a gauge-only channel
Statement
Let be nonzero finite-dimensional complex inner-product spaces in the fixed order . Let be a channel with a finite Kraus family . If for every positive semidefinite trace-one operator on , then there are operators such that for every and . Consequently for the channel , and the same marginal identity holds after tensoring with the identity on any finite reference space. Conversely, any finite family with defines a channel with this marginal-preserving property.
Also let be an isometric encoding and let be a channel. For every unit , the gauge-reset map where , is a channel into the encoded subspace .
Facts & Assumptions
Given: The finite-dimensional spaces and channel in the first part of the Statement; and, for its final assertion, the isometry and decoded channel there specified.
Partial trace over the first tensor factor: in the order , the matrix entries are , and the same formula applies with .
Real and complex inner product spaces, with the inner product linear in the first argument and The adjoint is characterised by : the pairing is linear in its first argument and .
Every finite-dimensional real or complex inner product space has an orthonormal basis: finite-dimensional inner-product spaces have orthonormal bases. For a subspace of a finite-dimensional inner product space, : a vector can be extended to an orthonormal basis by adjoining an orthonormal basis of its orthogonal complement.
Finite Kraus representation and Finite-dimensional quantum channel: a finite Kraus family represents its channel on the full operator space, and a channel is completely positive and trace-preserving.
Trace preservation is Kraus normalization: a finite Kraus family is trace-preserving exactly when its adjoint-square sum is the identity.
An isometric quantum encoding gives an orthogonal code projector: for an isometric encoding.
Tensor products of finitely many linear maps and Tensor maps preserve composition, identities, and adjoints: tensor maps act on elementary tensors and .
The product basis is orthonormal and tensor dimensions multiply: elementary product tensors form a basis and span the finite tensor product.
A finite Kraus sum is completely positive: every finite Kraus sum is completely positive.
Kraus and Choi characterizations of complete positivity: every finite-dimensional completely positive map has a finite Kraus representation.
Product operator matrix units form a basis: for finite-dimensional factors with ordered bases, tensor products of operator matrix units form a basis of the endomorphisms of their product space. Finite iterated tensor products represent multilinear maps independently of parenthesization supplies the canonical reassociation for the ordered three-factor register.
Proof
Fix unit vectors and , and write . Extend to an orthonormal basis of with , using [F3]. For each , expand . Apply the marginal hypothesis to the rank-one density operator . By [F4] the output is . In each diagonal entry , the partial-trace formula [F1] sums the squared coordinates of over an orthonormal basis of , so that entry is . The required marginal is , whose th diagonal entry is zero for every . Since each squared norm is nonnegative, for all and . Hence for some .
Fix a unit . If unit vectors are linearly independent, then ; normalize their sum and apply step 1.1 to and . Linearity of gives . Extend to a basis and apply its two corresponding coordinate functionals to the second tensor factor; this gives . If for a unit scalar , linearity and give the same equality directly. Thus is independent of the unit vector .
Fix a unit . For unit , step 1.1 shows lies in . Scaling gives the same for every . Define by ; it is unique because is injective. The linearity of makes linear. By step 2.1, for all simple tensors. Since simple tensors span by [F8], .
Trace preservation [F5] and step 3.1 give , using the tensor-adjoint rule [F7]. Apply both sides to for arbitrary and a fixed unit . Injectivity of yields .
Define . Its finite Kraus form makes it completely positive by [F9], and the normalization from step 4.1 makes it trace-preserving by [F5]. Thus it is a channel. On a simple operator tensor , step 3.1 gives . By [F11], tensor products of operator matrix units form a basis of the full operator space, so linearity gives .
For a finite reference space , choose orthonormal bases of by [F3]; [F8] gives the product basis of . Use the canonical reassociation in [F11] and the operator matrix-unit basis there to write any operator on as , with . Write . By the first-factor partial-trace formula [F1], the coefficient of after applying and tracing out is . Therefore the output marginal is . The calculation applies to every operator, hence to every density operator and every finite reference.
For the gauge-reset assertion, choose an orthonormal basis of and define by . Its adjoint is , so ; simple tensors span, hence . On the product basis, the matrix entries of are exactly the first-factor contraction entries in [F1], hence . Let be . It is an isometry by [F6]. Choose finite Kraus operators for using [F10]. Since , the gauge-reset map equals , so it has Kraus operators , and . Thus the map is completely positive by [F9] and trace-preserving by [F5], so it is a channel. Its range is contained in by construction.
An explicit syndrome recovery corrects a Knill–Laflamme error family
Statement
Let be an isometry with and . Let be a finite Kraus representation of a channel from to . If for all , then there is a finite Kraus recovery channel satisfying . It is obtained by diagonalizing , decoding each nonzero orthogonal error range, and sending the orthogonal complement to a fixed logical state. For this recovery and every , the off-diagonal error action is .
Facts & Assumptions
Given: The finite-dimensional code isometry, the finite Kraus channel, and the displayed scalar-compression condition.
Quantum code as an isometric encoding and its code projector: is an isometric encoding and .
Finite-dimensional quantum channel and Finite Kraus representation: channels are completely positive and trace-preserving, and a finite Kraus family represents the map on the full operator space.
Trace preservation is Kraus normalization: a finite Kraus representation is trace-preserving exactly when its adjoint-square sum is the identity.
A finite Kraus sum is completely positive: every finite Kraus sum is completely positive.
A unitary error-basis change gives orthogonal error ranges: after unitary error mixing, each nonzero restriction is with ; zero-eigenvalue restrictions vanish.
Orthogonal error restrictions determine syndrome projections: the ranges of the have orthogonal projections and is the projection onto their orthogonal complement.
Every finite-dimensional real or complex inner product space has an orthonormal basis: every finite-dimensional inner-product space has an orthonormal basis, including its finite-dimensional subspaces.
The adjoint is characterised by , Every linear map between finite-dimensional inner product spaces has a unique adjoint, and Adjoints satisfy , , , and : adjoints exist uniquely in finite dimension, , and .
Agreement on pure states implies complete agreement: if two complex-linear maps agree on all rank-one projectors, they agree on the whole operator space and after tensoring with the identity on any finite reference.
Proof
Apply [F6] to diagonalize the coefficient matrix and replace the Kraus operators by the unitarily mixed family . The operator-sum map remains , the positive eigenvalues are , and for , while when .
For each , define . Choose a unit vector and an orthonormal basis of using [F8]; for each basis vector define . These are finite Kraus operators.
Trace preservation [F4] and from [F2] give . Using step 1.1, the left side is . Since is nonzero, .
By [F9], . From and the adjoint definition, ; hence . Summing over the orthonormal basis of gives . Therefore by [F7]. The finite Kraus map is completely positive by [F5] and trace-preserving by [F4], so it is a recovery channel.
For positive , ; if then . Also because . Hence for every , by step 2.1.
The equality in step 3.1 is equality of linear maps on all operators. Tensoring that equality with the identity on any finite reference gives the same equality there by [F10].
The same recovery Kraus actions in step 3.1 show for every ; zero-eigenvalue terms vanish because . Since , unitarity gives . Therefore , using .
Exact recovery implies the Knill–Laflamme condition
Statement
Let be a finite Kraus representation of a channel from to , and let be an isometry with and . If the code is exactly correctable in the sense of Exact recovery of an encoded quantum code, then there are scalars such that for all .
Facts & Assumptions
Given: The finite-dimensional encoding, Kraus channel, and an exact decoded recovery channel .
Exact recovery of an encoded quantum code: exactness means is the identity channel on .
Finite-dimensional quantum channel and Finite Kraus representation specify the CPTP channel and finite operator-sum conventions.
Kraus and Choi characterizations of complete positivity: every finite-dimensional completely positive map has a finite Kraus representation.
Trace preservation is Kraus normalization: a trace-preserving finite Kraus map satisfies .
Kraus operators in an identity-channel representation are scalar: every operator in a finite Kraus representation of the identity channel is a scalar multiple of the identity.
The adjoint is characterised by and Adjoints satisfy , , , and : adjoints satisfy the pairing identity and reverse compatible compositions.
Proof
By [A3], choose a finite Kraus representation . Composing its Kraus operators with the errors and the encoding gives the Kraus family for . By exactness [A1], this family represents the identity channel.
Apply [F1] to the finite Kraus family in step 1.1. For each there is a scalar with .
Trace preservation of gives by [A4]. Therefore, for every ,
Put . Since , by step 3.1. This is the Knill–Laflamme condition for every pair of errors.
Distance corrects unlocated errors and known erasures
Statement
Let be an isometric encoding into an ordered register of finite factors, as in Quantum code as an isometric encoding and its code projector, with code projector and quantum distance as in Detectable operators and distance of a finite-register quantum code. Let be a channel on with a finite Kraus family, and let be an integer. Support and weight have the factor-order convention of Support and weight of an operator on a finite register. If every Kraus error has weight at most and , then the code is exactly correctable. If a fixed, known erased set supports every Kraus error and , then the code is exactly correctable. The first claim permits different unknown supports; the second uses the one known support.
Facts & Assumptions
Given: The finite code isometry and channel in the Statement, together with the stated support hypotheses.
Support and weight of an operator on a finite register: is supported in when the declared factor permutation makes it , and is the minimum support size.
Finite registers and their ordered computational bases, Ordered tensor registers, their inner product, and wire permutations, Tensor products of finitely many linear maps, The adjoint is characterised by , Adjoints satisfy , , , and , Tensor maps preserve composition, identities, and adjoints, and Finite wire permutations are unitary basis permutations: the register factors have the declared order; tensor maps act factorwise, preserve composition and adjoints, and wire permutations are bijective isometries of the ordered product spaces.
Detectable operators and distance of a finite-register quantum code and Every operator below the quantum code distance is detectable: an operator of weight strictly below compresses to a scalar multiple of .
Finite Kraus representation and Finite-dimensional quantum channel: the finite Kraus family represents a CPTP map.
An explicit syndrome recovery corrects a Knill–Laflamme error family: if all products compress to scalar multiples of the code projector, a finite trace-preserving recovery corrects the channel.
Proof
Fix Kraus errors and choose supports with , as allowed by [F1]. Put . Since , extend each local operator by identity on the additional factors of and use the wire permutations in [F2] to put both operators in the same factor order . On every product basis vector in that order, each conjugated error acts on its own or coordinates and leaves every other coordinate fixed. The tensor-map definition in [F2] therefore gives forms and . The adjoint and composition identities in [F2] give in that order. Thus is supported in and has weight at most .
By [F3], each product in step 1.1 is detectable, so there are scalars with . Applying [F5] gives one recovery for the entire Kraus family.
If the known affected set is a fixed , every acts as the identity outside , and so does every product by [F1,F2]. Its weight is at most . Applying [F3] and then [F5] gives exact recovery. This uses the one known support rather than a union of two unknown supports.
Exact correction of a protected subsystem
Definition
Let be nonzero finite-dimensional complex inner-product spaces with the fixed factor order . Let be an isometric encoding and set . The factors and are the gauge and protected logical subsystems. Let be a channel.
For any finite-dimensional residual space , use the first-factor partial trace of Partial trace over the first tensor factor on . In particular, for a reference , take and leave that factor order unchanged.
A decoded recovery is a channel . The subsystem is exactly correctable for under when some decoded recovery satisfies, for every finite-dimensional reference and every positive semidefinite trace-one operator on ,
where . The recovery may change the gauge state. The one-operator Kraus map is completely positive by A finite Kraus sum is completely positive and trace-preserving by and Trace preservation is Kraus normalization. Thus is a channel by Finite-dimensional channels compose and tensor, and it has a finite Kraus representation by Kraus and Choi characterizations of complete positivity. Explicitly, if and represent and , then represents . Taking a one-dimensional reference in the displayed recovery condition gives precisely the marginal hypothesis of Preserving the logical marginal forces a gauge-only channel. By that lemma and its converse with arbitrary finite references, this is equivalently a corrected decoded channel of the form for a channel on the gauge factor. For a unit vector , resetting the decoded gauge and re-encoding uses , where ; the same supplier proves this is a channel. If , the marginal condition is ordinary exact recovery of the code subspace in the sense of Exact recovery of an encoded quantum code.
A degenerate code with a non-diagonal Knill–Laflamme matrix
Example
Take , , with standard basis columns and , and define and . Put and . On the first factor use and . Define a channel with Kraus operators
The code stores the logical qubit in the second factor. The errors and have the same restriction to the code, while moves the code to the orthogonal first-factor subspace.
Facts & Assumptions
Given: The finite-dimensional encoding and the three explicitly displayed error operators in the Example.
Quantum code as an isometric encoding and its code projector supplies the isometric encoding and code-projector convention.
Finite-dimensional quantum channel, Finite Kraus representation, and Trace preservation is Kraus normalization specify finite Kraus channels and their trace-preserving normalization.
An explicit syndrome recovery corrects a Knill–Laflamme error family: the displayed recovery construction corrects every finite family satisfying the scalar-compression condition.
A finite Kraus sum is completely positive: a finite Kraus sum is completely positive.
Trace preservation is Kraus normalization: the adjoint-square sum of a trace-preserving Kraus family is the identity.
Verification
Each of , , and is unitary. Hence , so the displayed Kraus map is trace-preserving; it is completely positive because it is a finite Kraus sum.
With , direct compression gives Since , this is equivalently for every . In particular, is non-diagonal and has rank .
The orthonormal eigenvectors , , and have eigenvalues , respectively. The corresponding mixed Kraus operators are , , and . The columns form a unitary matrix, so expanding the Kraus sum gives for every operator .
By the definition of , one has , , and . The restrictions are isometries with orthogonal ranges, so the positive-eigenvalue error basis has exactly two syndromes; the zero eigenvalue error annihilates the code.
Define recovery Kraus operators and . Their adjoint products are and , so and the recovery is trace-preserving.
For the mixed errors, and ; all other products vanish. Thus for every the corrected channel returns . The unitary Kraus change preserves the original channel, so this recovery corrects the displayed three-error channel, including its degeneracy; this is the recovery construction in [F3].
The Knill–Laflamme criterion for a protected subsystem
Statement
Let be an isometric encoding between nonzero finite-dimensional complex inner-product spaces, let , and let be a finite Kraus representation of a channel from to . The protected subsystem is exactly correctable under , in the sense of Exact correction of a protected subsystem, if and only if there are operators such that
Equivalently, For any chosen orthonormal basis of , put and , where means under the library's linear-first convention. The same criterion is equivalent to the existence of scalars such that These are equalities of physical-space operators using the embedded gauge matrix units .
Facts & Assumptions
Given: The finite-dimensional encoding , the finite Kraus channel , and the exact-correctability definition in Exact correction of a protected subsystem.
Exact correction of a protected subsystem: a decoded channel witnesses exact correction when the recovered logical marginal equals the input logical marginal for every density operator, including every finite reference.
Finite-dimensional quantum channel, Finite Kraus representation, Trace preservation is Kraus normalization, A finite Kraus sum is completely positive, and Kraus and Choi characterizations of complete positivity: channels are completely positive and trace-preserving, finite Kraus sums are completely positive, trace preservation is Kraus normalization, and finite-dimensional completely positive maps have finite Kraus representations.
Preserving the logical marginal forces a gauge-only channel: a channel preserving the logical marginal has Kraus operators , and the marginal identity holds with every finite reference; it also verifies the gauge-reset channel.
An explicit syndrome recovery corrects a Knill–Laflamme error family: for its constructed ordinary recovery, if is defined by , then for every operator .
Exact recovery implies the Knill–Laflamme condition: exact recovery of an ordinary code implies the scalar-compression condition; An explicit syndrome recovery corrects a Knill–Laflamme error family proves its sufficiency.
Exact correction of a protected subsystem and Exact recovery of an encoded quantum code: when the gauge factor is one-dimensional, the marginal recovery definition is ordinary encoded recovery.
Every finite-dimensional real or complex inner product space has an orthonormal basis: every finite-dimensional inner-product space has an orthonormal basis.
Real and complex inner product spaces, with the inner product linear in the first argument, The adjoint is characterised by , Every linear map between finite-dimensional inner product spaces has a unique adjoint, and Adjoints satisfy , , , and : the pairing is linear in its first argument, finite-dimensional adjoints exist, and .
Agreement on pure states implies complete agreement: equality of complex-linear maps on all operators gives equality after tensoring with the identity on any finite reference.
Finite registers and their ordered computational bases, Ordered tensor registers, their inner product, and wire permutations, Tensor products of finitely many linear maps, Tensor maps preserve composition, identities, and adjoints, and The product basis is orthonormal and tensor dimensions multiply: the gauge/logical factor order is fixed, the maps are isometries, and simple tensors span.
Product operator matrix units form a basis: tensor products of operator matrix units form a basis of the endomorphisms of a finite-dimensional ordered product space.
Proof
For necessity, let be an exact decoded recovery. By [F3], choose a finite Kraus family for . The corrected map has Kraus operators . It is completely positive by [F3], and by [F2] and [F3]. Thus is a channel. By exactness [F1], it preserves the marginal; [F4] gives for some .
For sufficiency, assume . Let and choose an orthonormal basis by [F7]. Define by , and put and . By trace preservation [F3] and from [F2], Thus is a finite Kraus representation of a channel .
Trace preservation of and gives and by [F3]. Hence Set . This proves the operator-valued condition.
For all , the assumed condition gives Apply [F5] to with the identity encoding of . It supplies a channel and a finite Kraus family for which for every .
Fix an orthonormal gauge basis using [F7]. The matrix entry of in row , column is by [F8]. Therefore This proves the matrix-unit statement in the necessary direction.
Trace preservation and imply so : applying the equality to each for fixed unit gives , and tensoring with nonzero is injective. Define the decoded recovery for a fixed unit . For a gauge matrix unit , the encoded channel output is ; applying and scaling the cross-term formula in step 2.2 from to gives logical output Here the scaling is , so the factor cancels the denominator in step 2.2. The input logical marginal of that matrix unit is also . By linearity and the product matrix-unit basis in [F12], the decoded map with output gauge reset preserves the logical marginal on every operator; [F9] extends the equality to every finite reference.
Since , the operator-valued condition gives . Conversely, multiplying this compressed equality by and and using recovers the operator-valued condition.
The Kraus operators of are . Since is unit, ; hence is a channel by [F3]. Step 3.2 proves it preserves the logical marginal on every operator, and [F9] extends that identity to every finite reference. The physical reset-and-encode map is a channel by [F4], so the protected subsystem is exactly correctable.
For a fixed orthonormal gauge basis, if the operator-valued condition holds, then , which gives the embedded matrix-unit condition after multiplying by and . Conversely, sum the embedded matrix-unit identities over . Since and , the resulting operator is . This establishes equivalence for the fixed basis; because the operator-valued condition is basis-independent, it holds for every orthonormal gauge basis.
If , every is a scalar, so the criterion becomes . Under the unitary identification , the first-factor trace leaves the logical operator unchanged, so the subsystem recovery definition [F11] is ordinary exact recovery. The necessity and sufficiency directions are [F6].
5 · Examples, counterexamples and false statements
None yet.