The Exercise
A stabilizer code on qubits whose stabilizer has independent commuting generators encodes logical qubits. A product of Pauli matrices on the qubits is recorded, up to phase, by its row in , with when acts on qubit with or , and when it acts with or . The rows of the generators make up the check matrix of the code.
The symplectic matrix is the matrix over made of blocks, zero on the diagonal and the identity off it, (1)✦ so that it exchanges the two halves of a row. The twisted inner product of rows and is the element of (2)✦ Two Pauli products and commute when and anticommute when it is .
The exercise starts from a check matrix in standard form, made of blocks given below, and from encoded operators and for the logical qubits, read off those blocks. It asks for four properties of the : each commutes with every generator, so it maps the code space to itself✦; they commute with one another✦; anticommutes with and commutes with for ✦; and the generators together with are independent.✦
The columns of each half of the check matrix are the qubits, which fall into three groups, the first , the next and the last : (3)✦ For blocks , and , the vector on assembled from them is (4)✦
Standard form data of sizes , , is a choice of six matrices over , (5)✦
Write for the th unit vector and for row of a matrix ; the bar in a row separates the half from the half, each assembled from three blocks as in (4). The pivot generator of , for , has the row (6)✦ and the middle generator , for , has the row (7)✦ The generators of , with , are the pivot generators followed by the middle ones; their rows form the check matrix in standard form, (8)✦
The Encoded Operators
The encoded operator of , for , has the row (9)✦ where , row of the transpose, is column of . The encoded operator of , for , has the row (10)✦
The Claim
Theorem 1. Let be standard form data of sizes , , , with generators and encoded operators and . Then for all , , in and , (11)✦ (12)✦ (13)✦ with the entries of the identity matrix over , and the rows of and of are linearly independent over : for coefficients and in , (14)✦
What Is Checked
The claim is stated over the rows that standard form data determine: the generator rows of the check matrix (8) and the rows (10) and (9) of the encoded operators, paired by the twisted inner product (2). The library proves (11), (12), (13) and (14) for every choice of the six blocks (5).