The Exercise
A quantum code on qubits can be built from two classical codes, one inside the other, by the construction of Calderbank, Shor and Steane (CSS). Problem 10.2 is the bound of Gilbert and Varshamov for these codes: when , there is a CSS code on qubits that corrects arbitrary errors on up to qubits and encodes qubits, for every natural number with (1) where is the binary entropy, (2)
The library states the existence of the pair of classical codes from which such a quantum code is built.
Classical Linear Codes
A linear code of length over a field is a subspace of ; its elements are its codewords. A binary linear code is a linear code over the field of integers modulo 2; its dimension is its dimension as a vector space over .
The weight of a word is the number of its nonzero entries. The minimum distance of a linear code is the least weight of a nonzero codeword, (3)✦ and is infinite for the zero code, the linear code with no nonzero codeword. A linear code corrects errors if its minimum distance satisfies (4)✦
The dual code of a linear code of length over is the set of words orthogonal to every codeword, (5)✦
The Claim
Theorem 1. Let , and be natural numbers with that satisfy (1). Then there are binary linear codes and of length with (6)✦ such that and the dual code both correct errors.
The CSS code built from such a pair corrects the two basic single-qubit errors, a bit flip and a phase flip: corrects the bit flips and the phase flips, and the code encodes qubits, so this is the exercise.
What Is Checked
The claim is stated over binary linear codes of length and their dimensions, the dual code (5), the minimum distance (3) and the condition (4) for correcting errors, with the binary entropy (2) in the bound on .
The dual of a linear code is again a linear code of the same length over the same field, a subspace of .