Past exam of the mathematics course of the University of Cambridge 2002 iii Paper 33 2 Solution Created 2026-10-03 Updated 2026-10-14
For an -qubit quantum code with projector , the quantum code distance isHere the weight counts nonidentity tensor factors. Thus every error supported on fewer than qubits is detectable, by the Pauli expansion of a quantum error. A scalar action on the code, including a nonidentity stabilizer, is harmless and does not reduce this distance. For a stabilizer code, the equivalent definition minimizes weight among Pauli operators which commute with every stabilizer generator but act nontrivially on the logical information. The Knill--Laflamme condition then guarantees correction of all errors of weight at most , since each pairwise product has weight at most .
Suppose the code encodes logical qubits and is nondegenerate for all errors through weight . There aredistinct Pauli errors modulo phase: choose the affected positions and choose or at each. Each error is unitary, so its image of the code has dimension . Nondegeneracy makes these images mutually orthogonal, equivalently the combined vectors are orthonormal. They all lie in the physical Hilbert space of dimension . Counting dimensions proves the quantum Hamming boundThis dimension argument requires nondegeneracy. For a degenerate code, different errors can share an image, as in the Shor code, and this counting proof cannot be applied unchanged.
For a binary classical code of words, the Hamming bound is : disjoint Hamming balls around the words must fit into all binary strings. The quantum factor is needed because at each erroneous qubit there are three linearly independent nonidentity Pauli operators, not just a classical bit flip. A phase flip is invisible to a computational-basis classical record but changes a quantum superposition. A error combines bit and phase effects, and the identity with spans every one-qubit operator. Quantum correction must protect amplitudes and coherences, and consequently count whole orthogonal logical subspaces rather than just classical words.
For parameters , , andThus a nondegenerate such code saturates the bound: the sixteen two-dimensional error images exhaust the physical space. It is a perfect quantum error-correcting code for single-qubit errors. It also has the smallest possible length for nondegenerate single-error protection of one logical qubit: for , the required inequality fails.
Here is an explicit realization and its five-qubit stabilizer syndrome table. Write tensor products without multiplication symbols and useEach pair has an even number of anticommuting single-site factors, so the four stabilizer generators commute. Their binary Pauli labels are independent: no nonempty product has identity label. For example, the -support at site three fixes the exponent of in such a product to zero, site five then fixes that of , site one fixes that of , and site two fixes that of . Thus their group has sixteen elements and excludes . The common eigenspace has projector and dimension , since all nonidentity Pauli strings have zero trace.
Record a syndrome bit as one when an error anticommutes with the corresponding generator, in order . Direct local commutation givesThese are all fifteen nonzero four-bit error syndromes; the identity has . Distinct errors in this list have a product with nonzero syndrome, so it anticommutes with some . Inserting on both sides gives . The diagonal product is the identity. Hence the Knill--Laflamme condition is exactly , proving nondegenerate correction. Measure the four commuting checks, apply the unique indicated Pauli error again, and every logical state is recovered. The Pauli expansion of a quantum error extends this recovery to an arbitrary one-qubit noise channel, not just the fifteen discrete errors.
The table also proves that every Pauli operator of weight one or two has nonzero syndrome: a weight-two operator is the product of distinct single-site errors, whose syndromes differ. Therefore the distance is at least three. The operators and commute with all four generators and anticommute with each other. They are nontrivial logical Pauli operators. Multiplication of by gives , a weight-three operator with the same logical action; it cannot be scalar on the code because it anticommutes with the invertible logical operator . This proves exactly.
The code consequently detects every two-qubit error and corrects two known-location erasures by the quantum erasure correction criterion, but it cannot correct all two-qubit errors of unknown location. A nontrivial weight-three logical operator can be split into a weight-one and a weight-two error, whose pairwise product violates the correction condition. It also saturates the quantum Singleton bound, since . These properties distinguish single-error perfectness from unrestricted protection against larger errors.
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.
Perfect quantum error-correcting code 2026-10-14
A nondegenerate quantum code is perfect at correction radius if its distinct correctable Pauli error images exhaust the physical Hilbert space. Each image has dimension , and their orthogonal direct sum is the whole -dimensional space precisely when the quantum Hamming bound is an equality. This perfectness concerns unknown-location errors of weight at most ; it does not imply correction of every higher-weight error.