The Exercise
The Steane code encodes one qubit in seven. Its codewords are the states of the seven qubits left unchanged by six commuting Pauli operators, the generators of the code. Suppose a codeword suffers an error on at most one qubit: an , a or a on one of the seven, or nothing at all, which makes 22 possible errors. Measuring the six generators then gives six outcomes that depend on the error alone, and written as bits they form the error syndrome. The exercise is to say which recovery operation each syndrome calls for, and to show that it undoes the error behind it.
Pauli Strings
In the library every operator of the exercise is a Pauli string on the seven qubits. A Pauli string on qubits assigns to each qubit one of the four Paulis , and stands for the operator up to an overall phase. We write for the string with on qubit and elsewhere, and likewise and ; a product such as carries on both qubits, and alone is the string with on every qubit.
The bit and the bit of a single qubit Pauli are the two bits of its binary symplectic representation, which mark an factor and a factor in : (1) The symplectic pairing of two single qubit Paulis and is the number .✦ The symplectic form of two Pauli strings and on qubits is the sum of the pairings of their factors, (2)✦ and its parity is when and commute and when they anticommute.
The product of two single qubit Paulis and is the Pauli proportional to the operator : (3)✦ The product of two Pauli strings on qubits is taken qubit by qubit, , and is the operator product up to phase.✦
Syndrome and Recovery
The standard form generators of the Steane code are six Pauli strings on the seven qubits, three of type and three of type: (4)✦ The syndrome of a Pauli string on the seven qubits is the string of six bits whose bit is the parity of the symplectic form of with : (5)✦
The 22 errors are the Pauli strings on the seven qubits with at most one factor other than , in the order (6)✦ The recovery for a string of six bits is the Pauli string on the seven qubits read off the list (6): (7)✦
The Claim
Theorem 1. Let be any of the 22 errors of (6). The recovery for its syndrome is itself, (8)✦ and the recovery applied after the error leaves the identity on every qubit, (9)✦
What Is Checked
The claim is stated over the generators (4), the syndrome (5) they assign to a Pauli string through the symplectic form (2), the list of errors (6), the recovery table (7) and the product of Pauli strings.
By (8), no two of the 22 errors share a syndrome.