The Exercise
The three qubit phase flip code stores one qubit in the two states and of three qubits. The errors here are not phase flips but projections: projects qubit onto , projects it onto , and both leave the other two qubits alone. The exercise is to show that the code protects against the error set , in the sense of the quantum error correction conditions: for the projector onto the code and the errors , the operators are multiples of .
A Quantum System
A quantum system is a physical object whose state space is a finite dimensional complex Hilbert space.✦ The composite system of two quantum systems and is the quantum system whose state space is the tensor product of the state spaces of and .✦ A pure state of a quantum system is a vector of unit norm, , in the state space of .✦
The qubit is the quantum system whose state space is .✦ For a bit , the basis state of the qubit is the pure state whose vector is the standard basis vector of ; these are the computational basis states and .✦ The states and of the qubit are the pure states with the vectors (1) the eigenvectors of the Pauli operator with eigenvalues and .
The Phase Flip Code
Three qubits form the composite system with state space . On each qubit the code uses the pair of states , in that order.✦ For signs , each or , the product state is a state of the three qubits.
The codeword of the phase flip code, for a bit , takes the th state of the pair on every qubit: (2)✦ The code projector is the sum of the projectors onto the two codewords, (3)✦
The Errors
The projector of the qubit onto its basis state is the operator on that sends a vector to (4)✦ and the projector onto sends it to (5)✦
The error set is a family of seven operators on the three qubits: the identity, and for each qubit the projectors and that act on qubit as and and as the identity on the other two, (6)✦
The Claim
An operator on the state space of a quantum system and a family of operators on the same space, indexed by a set , satisfy the quantum error correction conditions when some Hermitian complex matrix with rows and columns indexed by gives for all and .✦
Theorem 1. Let be the projector (3) onto the three qubit phase flip code, and let be the errors (6). Then there is a Hermitian complex matrix with (7)✦
What Is Checked
The claim is stated over the composite system of three qubits, the code projector (3) built from the codewords (2), and the seven errors (6) built from the projectors (4) and (5) of a single qubit.
About these constructions the library proves that the vectors (1) and the standard basis vectors , have unit norm, so that , , and are pure states of the qubit.