The Exercise
A stabilizer code on qubits with generators has a check matrix with one row for each generator, made of an part and a part of columns each. Multiplying one generator by another adds the second row to the first modulo and leaves the code unchanged; renumbering the qubits permutes the columns of both parts alike. With these two moves, Gaussian elimination brings the check matrix to standard form, (1) where the upper block has rows, the rank of the part, the lower block the other , and the column blocks of each part have widths , and .
The exercise asks for the standard forms of the five qubit code and of Shor’s nine qubit code. The library writes down a standard form for each, the Shor one after a renumbering of the qubits, and states the blocks of its check matrix and that the code is unchanged.
Check Rows
The check bits of a single qubit Pauli , one of , , and , are the pair in of its bit , which is when is or and otherwise, and its bit , which is when is or and otherwise.✦
The check row of a string of single qubit Paulis, acting on qubit , is the row of bits whose part and part hold the check bits of : (2)✦
The Five Qubit Code
The five qubit code is the stabilizer code on five qubits with the four generators of Figure 10.12, (3)✦ The standard form of the five qubit code has the generators (4)✦ on the same five qubits in the same order.
The Shor Code
Write for on qubits and and the identity on the rest, and likewise for products of . Shor’s code is the stabilizer code on nine qubits with the eight generators (5)✦
Its standard form needs the qubits renumbered: positions to hold the qubits in turn, and is the position of qubit , so that and .✦ In the new numbering the standard form has the generators (6)✦ the th letter acting at position . Put back in the original numbering, becomes the string with (7)✦
The Claim
Theorem 1. Let be the generators (3) of the five qubit code and those of its standard form (4). Then the check rows of the two lists span the same subspace of , (8)✦ and on the first four qubits the parts of form the identity: (9)✦
Theorem 2. Let be the generators (5) of Shor’s code, those of its standard form (6) in the new numbering of the qubits, and the same strings in the original numbering (7). Then and have no part, (10)✦ and at the first two positions their parts form the identity, (11)✦ The other six have no part, (12)✦ and at positions to their parts form the identity, (13)✦ The check rows of span the same subspace of as those of : (14)✦
What Is Checked
The claims are stated over the check rows (2) of fixed strings of Paulis, so each block is an equality between bits of , and the sameness of two codes is the equality of the spaces their check rows span.