The setting
A cyclic stabilizer code on qubits is generated from a single -qubit base Pauli string by taking all of its cyclic shifts around the qubit sites as stabilizer generators. Such codes arise in globally controlled quantum error correction, where uniform single-qubit and entangling operations protect every physical qubit under a single code without auxiliary qubits. To characterize a cyclic code on qubits, one determines the dimension of its stabilizer space over , the complex dimension of the joint eigenspace of its generators, whether the transversal Pauli operators act as logical operators, and the weight of a logical operator.
Pauli strings
A single-qubit Pauli operator modulo phase is one of the four symbols , , , or .✦ The Pauli matrices , , and are the complex matrices in (1), (1) where is the imaginary unit. The single-qubit Pauli matrix assigns to each a complex matrix, sending to the identity matrix , to , to , and to .✦ Each also has a Pauli -bit , equal to on and and on and ✦, and a Pauli -bit , equal to on and and on and .✦
For a natural number , an -qubit Pauli string assigns a single-qubit Pauli operator to each qubit site .✦ Its Pauli string matrix is the complex matrix on , indexed by computational basis bitstrings , whose entries are given by (2), (2)✦ Two -qubit Pauli strings and commute if the number of sites satisfying , , and is even.✦ The weight of an -qubit Pauli string counts its non-identity sites, as in (3): (3)✦
The space of binary symplectic vectors on qubits is the -vector space of pairs of functions from to .✦ The symplectic representation sends an -qubit Pauli string to the binary symplectic vector in (4): (4)✦ For a sequence of -qubit Pauli strings and a natural number , the stabilizer codespace of the first strings is the complex subspace of defined in (5): (5)✦
Cyclic stabilizer codes
On -qubit Pauli strings, the cyclic shift operator advances each site index by one modulo : for and each , it is defined by (6), (6)✦ and for it is the identity on the unique empty string. Given an -qubit base Pauli string and , the -th cyclic stabilizer generator is the -fold iterate , forming a sequence .✦ The cyclic stabilizer space is the -linear subspace of spanned by the symplectic representations of the first generators, as in (7): (7)✦
An -qubit Pauli string is a logical Pauli operator for , written , if commutes with for every and .✦ For any single-qubit Pauli operator , the constant Pauli string assigns to every site .✦
For , the -qubit base generator is the Pauli string defined on sites by (8), (8)✦ and the -qubit code distance parameter is .✦
The claim
Theorem. Let be the -qubit base generator in (8), with cyclic stabilizer generators and distance parameter . Then the cyclic stabilizer space satisfies (9)✦ the stabilizer codespace of the first generators satisfies (10)✦ the constant Pauli strings belong to the set of logical Pauli operators, (11)✦ and there exists a logical Pauli operator satisfying (12)✦
In the paper, the result reads: the cyclic code generated by has code parameters . Together with (9), (10), and (11), the existence of a logical Pauli operator of weight in (12) gives the upper bound on the code distance.
What is checked
In the Lean library, the statements (9), (10), (11), and (12) are stated over -qubit Pauli strings, their matrix and binary symplectic representations, Pauli string commutation and weight, the stabilizer codespace of a sequence of Pauli strings, the cyclic shift operator, the cyclic stabilizer generators and stabilizer space, logical Pauli operators, constant Pauli strings, the -qubit base generator , and the distance parameter .