The Exercise
Shor’s code stores one qubit in nine, grouped into three blocks of three. Up to normalization, each block is in one of the two states and , and a phase flip, the Pauli operator acting on any one qubit of a block, takes one to the other. A phase flip is found by comparing the signs of the blocks, and two comparisons suffice: the operator , with acting on each of the first six qubits, compares blocks one and two✦, and compares blocks two and three.✦
The exercise is to show that these two observables measure the phase flip syndrome, the pair of values that tells which block, if any, has suffered a phase flip.
Nine Qubits in Three Blocks
A quantum system is a physical system described by its state space, a finite dimensional complex Hilbert space.✦ The composite system of two systems and is the system whose state space is the tensor product of their state spaces.✦ The qubit is the two level system with state space .✦ A block is the three qubit register ✦, and Shor’s nine qubit register is .✦
A pure state of is a vector of unit norm in the state space of .✦ For pure states of and of , the product is the pure state of whose vector is the tensor product of the two vectors.✦ The basis states and of the qubit are the standard basis vectors of ✦, and for three bits the basis state of a block is .✦ Given a nonzero vector in the state space of , its normalized state is the pure state .✦
For a bit , the block cat vector is in the state space of ✦, and the block cat state is its normalized state, (1)✦ Three bits give the product of three cat blocks, the pure state of the nine qubit register (2)✦ in which block carries the sign .
The Syndrome Observables
An observable on is a self adjoint operator on the state space of , .✦ The identity observable on is the identity operator on its state space.✦ For observables on and on , the product observable on has as its operator the tensor product of the two operators; it measures on the first factor and on the second.✦
The Pauli matrices are (3) and for a real vector in three dimensions the matrix is the operator of the Pauli observable on the qubit. The observable is the Pauli observable for the unit vector , the direction of the first axis.✦
The block observable on applies to each of the three qubits.✦ The two syndrome observables on the nine qubit register are the product observables built from the block observable on and the identity observable on : (4)✦ (5)✦
A pure state of is an eigenstate of an observable on with eigenvalue , a real number, when .✦
The Claim
Theorem 1. For any three bits , the product state of (2) is an eigenstate of both syndrome observables: (6)✦ (7)✦
What Is Checked
The claim is stated over the product states (2) of three block cat states on the nine qubit register, and over the syndrome observables (4) and (5).
The library proves that the block cat vector is nonzero✦, so that its normalized state is defined, and that a product of pure states has unit norm, the norm of a product vector being the product of the norms. On the side of the observables, the matrix is Hermitian and a tensor product of self adjoint operators is self adjoint, so and both syndrome operators are observables.