The Exercise
A stabilizer code encodes one qubit in qubits, and a second code encodes one qubit in . In their concatenation a qubit is first encoded by into qubits, and each of these is then encoded by into a block of , so that the logical qubit is carried by qubits in blocks. The exercise is to show that the concatenated code again encodes one qubit.✦
The library states this for any two such codes, each given with its generators and a pair of logical operators.
Pauli Strings
The Pauli matrices are the four complex matrices (1)✦ The bit of a Pauli matrix is for and and for and ✦; its bit is for and and for and .✦ The two bits form the binary representation of , and up to a phase . With phases dropped, the product of two Pauli matrices is again one of the four: each squares to , and the product of two different ones among , , is the third.✦
A Pauli string on qubits is the operator on the qubits given by a choice of one Pauli matrix for each qubit , with no phase in front. Two Pauli strings are multiplied qubit by qubit, with phases dropped as above.✦
Stabilizer Codes
The subspace stabilized by a family of Pauli strings on qubits is the subspace of the state space of the qubits formed by the vectors that every leaves invariant, the intersection of their eigenspaces: (2)✦
An stabilizer code on qubits is a family of Pauli strings on the qubits, its generators, together with two Pauli strings and , its logical operators, such that (3)✦ for all and , and such that the generators are independent: the rows of their check matrix, which hold the and bits of the factors of each generator, are linearly independent modulo .
The Concatenated Code
Let be an code with generators and logical operators and , and let be an code with generators . The encoded version of a Pauli matrix under is the Pauli string on qubits (4)✦ with the phase dropped, so that and is the product of and .
The qubit of the concatenated code is the th qubit of block , for and ; the qubits are numbered block by block, the qubit of block receiving the number , so that they run from to . The generators of the concatenated code of and are labelled by the index set (5) For and the generator places on block , and for , with , the generators are (6) With the qubits numbered as above, each with , that is or , is a Pauli string on qubits.
An enumeration of the index set is a bijection (7)✦ and numbered by one, the generators of the concatenated code are (8)✦
The Claim
Theorem 1. Let be an stabilizer code and an stabilizer code, and let be the generators (8) of their concatenation. Then the subspace of the qubits stabilized by has dimension two: (9)✦
What Is Checked
The claim is stated over the stabilized subspace (2) of the generators of (8), which are built from two stabilizer codes through the encoded Paulis (4) and the enumeration (7). About these constructions the library proves the count of generators in (5).