Quantum Hamming Bound
How many physical qubits does a code need in order to correct errors? The quantum Hamming bound gives a counting lower bound by demanding that every correctable error have its own orthogonal "room" inside the -dimensional Hilbert space — exactly the picture of distinct syndrome subspaces from the QEC conditions.
Counting correctable errors
Take a non-degenerate code that corrects all errors of weight up to . On a single qubit there are non-trivial Pauli errors (). A weight- error chooses of the qubits and assigns one of Paulis to each, so the number of weight- Pauli errors is . Summing over all weights up to , the total number of distinct errors (including the identity, ) is
The packing argument
For a non-degenerate code, every one of these errors maps the codespace to a distinct, mutually orthogonal subspace — that is what "non-degenerate" means. Each such subspace has dimension (the dimension of the codespace). They must all fit, disjointly, inside the full -dimensional space:
This is the quantum Hamming bound. It is necessary for any non-degenerate code; degenerate codes can in principle pack more loosely and evade it (more on that in a later lesson).
A perfect code
A code that meets the bound with equality is called perfect — its syndrome subspaces tile the entire Hilbert space with no wasted dimension. The five-qubit code corrects error:
Equality holds, so is the smallest possible single-error-correcting code — there is literally no room to spare. Contrast the Steane code, for which : it is correct but not perfect, leaving slack.
Try it
For the five-qubit code (, , correcting error), compute the left-hand side of the quantum Hamming bound, , from first principles and return it. It should equal , showing the code is perfect.
Sign in on the full site to ask questions and join the discussion.