Past exam of the mathematics course of the University of Cambridge 2008 iii Paper 60 4 Solution Created 2026-10-03 Updated 2026-10-14
The -qubit Pauli group isA stabilizer group is an abelian subgroup of excluding . Its associated stabilizer code is the common positive eigenspaceThe exclusion of is necessary for a nonzero code, since no nonzero vector has eigenvalue under .
Every is a signed Hermitian tensor product of Pauli matrices. An imaginary-phase Pauli element would have , contradicting closure of and exclusion of ; hence and . If , it cannot be a nontrivial scalar Pauli element, and at least one of its local factors is or . Each of these has trace zero. Using gives .
The spectral theorem for Hermitian operators and show that all eigenvalues are or . If their multiplicities are and , thenThus the balanced spectrum of a nonidentity stabilizer isThis concerns a nonidentity stabilizer acting on the entire physical space; on the code every stabilizer acts with eigenvalue .
Because all elements commute and square to , is a vector space over under multiplication. Its independent stabilizer generators satisfy that no nonempty product is ; all products are distinct. The stabilizer-projector formula isTo verify it, group multiplication gives , Hermiticity gives , and for every . Conversely every code vector is fixed by this average, so its range is exactly . All nonidentity stabilizers have trace zero by the preceding proof. ThereforeFor a code of dimension , the number of independent generators is consequently . One can list additional redundant generators, but an independent generating set has exactly this size.
For a correctable Pauli error , define the syndrome bit to be zero when commutes with and one when it anticommutes. On an encoded state,Measure the commuting stabilizer generators; their eigenvalues reveal the error syndrome without revealing logical amplitudes. In a nondegenerate quantum code, the distinct specified correctable errors have orthogonal images of the code and distinct syndromes. A syndrome therefore identifies the error representative, and applying the inverse Pauli operator restores the encoded state.
If an actual error operator is a coherent linear combination of the specified errors, its state is a sum of these orthogonal syndrome components. Syndrome measurement selects one component, followed by the same inverse operation. The linearity of coherent quantum error correction ensures the logical state is recovered in every outcome. The same procedure handles noise Kraus operators in that error span; it does not require a probabilistic Pauli-noise assumption.
A Pauli error commuting with every stabilizer has the all-zero syndrome and preserves the code space. If it is a stabilizer up to global phase, this silent action is harmless. If it lies in the centralizer of a stabilizer group but is not a stabilizer up to phase, it acts as a nontrivial logical operator, and syndrome measurements cannot detect it. More generally, a non-scalar component of an error is an undetectable logical action. This distinguishes harmful undetected errors from scalar actions that satisfy quantum error detection algebraically.
The three-qubit bit-flip repetition code has basis and generatorsA single phase flip commutes with both and has zero syndrome, butIt is a nontrivial logical phase operation. In particular, is not scalar, so the error set violates the Knill--Laflamme condition and cannot be corrected. Thus the code corrects single bit flips but not single phase flips; its distance against arbitrary quantum errors is one.
Past exam of the mathematics course of the University of Cambridge 2009 iii Paper 50 1 a Solution Created 2026-10-03 Updated 2026-10-14
Let be the orthogonal projection onto the code, and let be the specified error operators, including their linear span. The necessary and sufficient Knill--Laflamme condition iswhere the scalar matrix is independent of the encoded state. In an orthonormal basis of the code this meansThere must be one recovery quantum channel which corrects every allowed error channel, rather than a different recovery chosen using the unknown logical input.
The scalar condition means that any information carried away by the errors depends on their labels but not on the encoded amplitudes. To see how recovery works, diagonalize the positive semidefinite matrix and take corresponding linear combinations of the errors. Then . For each positive , the map is an linear isometry into an error-image subspace, and these subspaces are mutually orthogonal. Measuring their label and reversing the associated linear isometry recovers the logical state without measuring its amplitudes. Zero eigenvalues correspond to errors that annihilate the code. This also explains why the condition corrects arbitrary coherent combinations of the listed errors.
Past exam of the mathematics course of the University of Cambridge 2009 iii Paper 50 1 b Solution Created 2026-10-03 Updated 2026-10-14
Let be the known set of affected qubits, with . Expand arbitrary operators on in tensor products of . These Pauli operators span the complete error space on .
By the distance of a quantum error-correcting code, every Pauli operator of weight below has scalar compression . For two errors on the same known set , their product is also supported entirely on . Its weight is therefore at most , rather than twice . Expansion in the Pauli basis consequently givesThe Knill--Laflamme condition applies to the full operator space on , so it gives a recovery for any error channel acting on that subsystem. Every set of at most known error locations is correctable. This is quantum erasure correction; the ability to use the locations is what improves the guarantee over unknown-location errors.
Past exam of the mathematics course of the University of Cambridge 2009 iii Paper 50 1 c Solution Created 2026-10-03 Updated 2026-10-14
Use base-two logarithms, so Von Neumann entropy is measured in bits. Take an orthonormal basis of the code and purify its maximally mixed logical state asOnly a -dimensional reference support is needed; it can be embedded in the larger reference Hilbert space in the hint. Its reduced density matrix is maximally mixed on that support, so .
For any correctable erased subsystem , the Knill--Laflamme condition gives for every operator . Taking its matrix elements in the logical basis shows that for , and that the diagonal reductions are all the same state . ThusIn particular, the reference is decoupled from every set of at most erased qubits.
For an information-carrying code , first justify that two disjoint sets of size fit. If , partition all the physical qubits into sets each of size at most . Both are correctable. Additivity of Von Neumann entropy for a product state, and equality of complementary entropies for the pure state on , giveAdding yields , contradicting . Hence .
Now choose disjoint of size , and let contain the remaining qubits. The state on is pure. Product-state entropy additivity, equality of complementary entropies, and Subadditivity of Von Neumann entropy giveandAdding and cancelling proves . Finally use the maximum entropy of a quantum state bound . Therefore the quantum Singleton bound isThis proof uses quantum erasure correction, not nondegeneracy, so it applies to degenerate codes as well. A code encoding no logical information requires a separate distance convention; the argument above concerns the usual coding problem.
Past exam of the mathematics course of the University of Cambridge 2009 iii Paper 50 1 d Solution Created 2026-10-03 Updated 2026-10-14
Interpret as the largest guaranteed radius for correcting all unknown-location Pauli operators of weight at most together. Products of two such errors have weight at most , so the Knill--Laflamme condition holds when . Conversely, let be a minimum-weight Pauli operator with nonscalar compression . If , split its support into two sets of size at most and write , up to an irrelevant phase. These two admissible errors violate the Knill--Laflamme condition. Thus the correctable Pauli error radius isIn particular, requires the additional assumption that is odd. Distance is not uniquely determined by alone. Nor does the weight of a particular correctable error characterize this radius: particular higher-weight errors can also be correctable.
For a concrete even-distance example, the stabilizer code generated by and has parameters . Every single-qubit nonidentity Pauli operator anticommutes with a generator, so it has zero compression. But commutes with both generators and acts nonscalarly on the code: it is unitary there and its code trace is zero. Hence the distance is two and its guaranteed radius is zero. This shows why an unconditional odd-distance formula would be incorrect.
Ignoring overall phases, an error of weight has choices of support and three choices, , at each affected qubit. The identity is the weight-zero term, soFor a nondegenerate quantum code, distinct correctable Pauli errors have orthogonal error-image subspaces. Each has dimension , since a Pauli operator is unitary. All subspaces lie in the physical Hilbert space of dimension . Counting dimensions proves the quantum Hamming boundDegeneracy would allow distinct errors to share an error-image subspace, so this particular counting argument would then fail.
Past exam of the mathematics course of the University of Cambridge 2023 iii Paper 342 2 a Solution 2026-09-28
The commuting termsare independent stabilizer generators. Since , every ground state has . The resulting two-dimensional stabilizer subspace isthe phase-flip repetition code. A convenient pair of logical Pauli operators isIndeed, they commute with every stabilizer, anticommute with each other, and are not stabilizers.
For phase-flip errors and , the operator entering the Knill--Laflamme condition is and has weight at most . Every nonempty proper product of anticommutes with some unless it is the full logical operator . The Knill--Laflamme conditions therefore hold whenever , and fail once two allowed errors can differ by . Thus
Past exam of the mathematics course of the University of Cambridge 2025 iii Paper 342 2 a Solution Created 2026-09-24 Updated 2026-09-25
A recovery operation must reverse every coherent superposition of the errors without learning or disturbing the encoded state. Thus the corrupted subspaces associated with distinguishable syndromes must be orthogonal, while errors with the same syndrome must have identical action on the logical information. For any code states , this meanswith coefficients independent of the encoded states. In projector form these are exactly the Knill--Laflamme conditionsDiagonalizing the positive matrix chooses error combinations with mutually orthogonal syndrome spaces, which can be measured and reversed without revealing logical amplitudes.
Past exam of the mathematics course of the University of Cambridge 2025 iii Paper 342 2 d Solution Created 2026-09-24 Updated 2026-09-25
For Pauli errors, “suitably local” means that every pairwise product has support too small to carry a logical string:A sufficient geometric statement is ; in particular, each error having weight below suffices. Such a product is either a stabilizer or creates an excitation detected by at least one stabilizer. It is never a nontrivial logical operator, so the ground-space projector of the surface code obeys the Knill--Laflamme condition for the entire set.
Past exam of the mathematics course of the University of Cambridge 2026 iii Paper 342 2 a Solution Created 2026-09-24 Updated 2026-09-25
The Knill--Laflamme condition for code projector and errors isFor Pauli errors of weight at most , the product has weight at most . If , such a product cannot be a nontrivial logical Pauli, because every such operator has weight at least the distance of a stabilizer code . It is therefore either a stabilizer, acting as a scalar on the code, or it anticommutes with some stabilizer and maps the code to an orthogonal syndrome space. These are exactly the two possibilities required by the displayed condition, so every error on at most qubits is correctable.
Past exam of the mathematics course of the University of Cambridge 2026 iii Paper 342 2 b Solution Created 2026-09-24 Updated 2026-09-25
The six displayed generators of the Steane code are independent and commuting, so the common positive eigenspace has dimensionit encodes one logical qubit. The binary columns of the underlying Hamming parity-check matrix are all nonzero and distinct. Hence no weight-one or weight-two Pauli lies in the stabilizer normalizer outside the stabilizer. On the other hand,is logical, and multiplying it by gives the weight-three representativeThe analogous statement holds for , so
Now include both and in the proposed error set. Their product iswhich is non-scalar on the code and violates the Knill--Laflamme condition. Since multiplying by a logical operator does not change commutation with stabilizers, and have the same error syndrome. A decoder cannot know which occurred and may apply a correction that leaves a logical error.
Pauli error criterion for a stabilizer code 2026-10-14
Let exclude , let be its Pauli centralizer, and let . A set of Pauli errors is jointly correctable exactly when every product belongs to or lies outside . Outside the centralizer its code compression is zero by anticommutation; in it acts as a scalar. A centralizing operator outside has zero trace on the code but is unitary there, so cannot be scalar. This gives precisely the Knill--Laflamme condition. Scalar phases must be retained when formulating the group criterion.
Quantum erasure correction 2026-10-14
Errors on a known subset of qubits are correctable by a distance- code whenever . Every product of errors supported on that subset still has support in the same subset, so its compression is scalar. The Knill--Laflamme condition therefore supplies one recovery for every channel on that subset. Equivalently, erasing the subset leaks no logical information to it: if a reference is maximally entangled with the encoded logical system, its joint density operator with the erased subsystem is a product state.
Quantum error-correcting code 2026-10-14
A quantum error-correcting code is a subspace encoding a logical Hilbert space, together with a specified family of noise operators that a common recovery quantum channel reverses on every encoded state. A K-dimensional code carries logical qubits. For a code projector , correctability is characterized by the Knill--Laflamme condition; code distance is defined by the smallest undetectable operator weight, not merely by the number of generators.
Three-qubit bit-flip syndrome table 2026-10-14
Measure the commuting stabilizer generators and in that order. Use error syndrome bit for eigenvalue and bit for eigenvalue . For the Pauli X gate on physical qubit , every row holds for arbitrary normalized . This ordered parity-check convention follows [ref]
https://www.preskill.caltech.edu/ph229/notes/chap7.pdf. Preskill, §7.1
:| Error | State before recovery | eigenvalues | Error syndrome | Recovery |
|---|---|---|---|---|
Each pair of computational basis words within a row has the same two parities. Consequently the projective measurement reveals the row without distinguishing its two amplitudes. For example, becomes under . Both checks give with probability one, and applying restores both coefficients exactly, including the relative phase .
One implementation uses two quantum ancillas initialized to . Two controlled-NOT gates from data qubits 1 and 2 to the first quantum ancilla write their parity; two more from data qubits 2 and 3 to the second quantum ancilla write the other parity. Measuring only the quantum ancillas in the computational basis gives . Measuring the individual data qubits instead would reveal the encoded computational basis value and destroy the unknown quantum superposition. The existing coherent syndrome extraction for the three-qubit repetition code uses the alternative ordered checks , so its bit labels differ from this table.
The recovery also handles coherent errors. Put . Their images of the code are mutually orthogonal, giving , the Knill--Laflamme condition for this family. For any linear combination , its component in sector is . Measuring that error syndrome has probability on the normalized erroneous state, and recovery returns . More generally one recovery quantum channel corrects every noise quantum channel whose Kraus operators belong to this span. The assumption concerns the whole jointly correctable family; it does not extend to the span of arbitrary single-site Pauli errors. [ref]
https://www.preskill.caltech.edu/ph229/notes/chap7.pdf. Preskill, §7.2: correction of an error span
.A fully computed coherent example is the unitary operator . At it givesThe error syndromes and occur with probabilities and , independently of . Doing nothing for and applying for restores the same logical qubit in both branches; the scalar in the second branch is an irrelevant global phase. This is an example of linearity of coherent quantum error correction, rather than an assumption that the original error was a classical random bit flip.
