The Exercise
Two classical binary linear codes of length give a quantum code on qubits, the code of Calderbank, Shor and Steane (CSS), written and built from the cosets of in . A binary linear code of length is a subspace of , the strings of bits added modulo 2, and its dual code consists of the strings with modulo 2 for every .✦
The exercise asks first for the stabilizer: is the stabilizer code whose stabilizer is generated by the operators applying the Pauli matrix (bit flip) to the qubits where a codeword of has a 1 and those applying the Pauli matrix (phase flip) to the qubits where a codeword of has a 1. It then asks to show that, when and both correct errors on up to bits, the quantum code corrects arbitrary errors on up to qubits.✦
In the second part, the errors are the tensor products of the Pauli matrices , , , on the individual qubits, with a phase, that act other than as the identity on at most qubits.
Qubits and the Pauli Group
A quantum system is a physical object whose state space is a finite dimensional complex Hilbert space.✦ A pure state of a system is a unit vector in the state space of ✦, and a unitary of is an operator on that space with .✦ The register of qubits is the system whose state space has the computational basis as an orthonormal basis, one vector for each bit string .✦
The Pauli matrices are the four complex matrices and (1)✦ Given indices in , one for each qubit, the Pauli string is the operator on qubits whose matrix element between the basis states and is the product over the qubits.✦ The support of a Pauli string is the set of qubits with .✦
The Pauli group on qubits consists of the elements given by a phase power and a Pauli string.✦ The matrix of , a complex matrix with rows and columns labelled by bit strings, is the string multiplied by the phase , one of the four fourth roots of unity: (2)✦ The weight of an element of is the number of qubits in the support of its Pauli string, whatever its phase.✦
The CSS Code
For a bit string , the element of has phase and the Pauli string with on each qubit where and on the others✦; for a bit string , the element has phase and the Pauli string with where .✦ On the register, and are the bit flip and phase flip strings, the unitaries with (3) for every bit string .
The CSS stabilizer of binary linear codes and of length is the subgroup of generated by the elements with and with .✦ For a finite subgroup of , the stabilizer sum is the sum of the matrices of its elements✦, and the code projector is their average over the group, (4)✦ the projector onto the code space of the stabilizer code with stabilizer .
The check operators of and are the generators of the CSS stabilizer, taken as operators on the register’s state space. The stabilized subspace of and is the subspace of the register’s state space made of the vectors that every check operator leaves fixed, (5)✦
Given a binary linear code and a bit string , the coset state is the pure state of the register with equal amplitudes on the basis states , one for each codeword of : (6)✦ The CSS code space is the subspace of the register spanned by the coset states with .✦
The Claim
Theorem 1. Let and be binary linear codes of length with . Then the subspace fixed by the check operators is the CSS code space: (7)✦
The second part concerns recovery. A recovery on the qubits is a quantum operation, a map taking every operator on the register to with finitely many operation elements . A recovery corrects a set of errors on a projector when, after any error of the set, it restores every state in the range of up to normalization.
Theorem 2. Let and be binary linear codes of length with , and suppose that and each correct errors on up to bits. Then there is a recovery with operation elements such that (8)✦ where is the code projector of the CSS stabilizer.
What Is Checked
The claim (7) is stated over the register of qubits and its computational basis, the check operators (3), the stabilized subspace (5) and the span of the coset states (6). The claim (8) is stated over the Pauli group , with the matrices and the weights of its elements, and over the CSS stabilizer and its code projector (4).
The library proves that each coset state has unit norm, and that the bit flip strings and the phase flip strings are unitaries of the register.