OctoInform Beta

the paper · §III. Cyclic stabilizer codes under global control · §III, (E1)

Cyclic stabilizer code [[21, 1, 7]]: codespace, logicals, and weight-7 logical: Stabilizer dimension 2020, codespace dimension 22, transversal logical Pauli operators, and a logical operator of weight 77

Codespace and logical operators of the 21-qubit cyclic code.

Hover over a blue or green term in the text, or a node in the graph, to find it in the other. Select it to read its declaration both in Lean and in words.

The setting

A cyclic stabilizer code on nn qubits is generated from a single nn-qubit base Pauli string by taking all of its cyclic shifts around the nn 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 2121 qubits, one determines the dimension of its stabilizer space over 𝔽2\mathbb{F}_2, the complex dimension of the joint +1+1 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 II, XX, YY, or ZZ.✦ The Pauli matrices σx\sigma_x, σy\sigma_y, and σz\sigma_z are the 2×22 \times 2 complex matrices in (1), σx=(0110),σy=(0−ii0),σz=(100−1),\sigma_x = \begin{pmatrix} 0 & 1 \\ 1 & 0 \end{pmatrix}, \quad \sigma_y = \begin{pmatrix} 0 & -i \\ i & 0 \end{pmatrix}, \quad \sigma_z = \begin{pmatrix} 1 & 0 \\ 0 & -1 \end{pmatrix},(1) where ii is the imaginary unit. The single-qubit Pauli matrix M(P)M(P) assigns to each P∈{I,X,Y,Z}P \in \{I, X, Y, Z\} a 2×22 \times 2 complex matrix, sending II to the identity matrix I2I_2, XX to σx\sigma_x, YY to σy\sigma_y, and ZZ to σz\sigma_z.✦ Each PP also has a Pauli XX-bit x(P)∈𝔽2x(P) \in \mathbb{F}_2, equal to 11 on XX and YY and 00 on II and ZZ✦, and a Pauli ZZ-bit z(P)∈𝔽2z(P) \in \mathbb{F}_2, equal to 11 on ZZ and YY and 00 on II and XX.✦

For a natural number nn, an nn-qubit Pauli string ss assigns a single-qubit Pauli operator si∈{I,X,Y,Z}s_i \in \{I, X, Y, Z\} to each qubit site i∈{0,…,n−1}i \in \{0, \dots, n - 1\}.✦ Its Pauli string matrix M(s)M(s) is the complex matrix on (ℂ2)⊗n(\mathbb{C}^2)^{\otimes n}, indexed by computational basis bitstrings x,y∈{0,1}nx, y \in \{0, 1\}^n, whose entries are given by (2), M(s)x,y=∏i=0n−1M(si)xi,yi.M(s)_{x,y} = \prod_{i=0}^{n-1} M(s_i)_{x_i, y_i}.(2)✦ Two nn-qubit Pauli strings ss and tt commute if the number of sites i∈{0,…,n−1}i \in \{0, \dots, n - 1\} satisfying si≠Is_i \neq I, ti≠It_i \neq I, and si≠tis_i \neq t_i is even.✦ The weight wt⁡(s)\operatorname{wt}(s) of an nn-qubit Pauli string ss counts its non-identity sites, as in (3): wt⁡(s)=|{i∈{0,…,n−1}:si≠I}|.\operatorname{wt}(s) = |\{i \in \{0, \dots, n - 1\} : s_i \neq I\}|.(3)✦

The space of binary symplectic vectors on nn qubits is the 𝔽2\mathbb{F}_2-vector space 𝔽2n×𝔽2n\mathbb{F}_2^n \times \mathbb{F}_2^n of pairs (x∣z)(x \mid z) of functions from {0,…,n−1}\{0, \dots, n - 1\} to 𝔽2\mathbb{F}_2.✦ The symplectic representation ϕ\phi sends an nn-qubit Pauli string ss to the binary symplectic vector in (4): ϕ(s)=((x(si))i=0n−1∣(z(si))i=0n−1)∈𝔽2n×𝔽2n.\phi(s) = \bigl((x(s_i))_{i=0}^{n-1} \mid (z(s_i))_{i=0}^{n-1}\bigr) \in \mathbb{F}_2^n \times \mathbb{F}_2^n.(4)✦ For a sequence s=(sj)j∈ℕs = (s_j)_{j \in \mathbb{N}} of nn-qubit Pauli strings and a natural number mm, the stabilizer codespace 𝒞(s,m)\mathcal{C}(s, m) of the first mm strings is the complex subspace of (ℂ2)⊗n(\mathbb{C}^2)^{\otimes n} defined in (5): 𝒞(s,m)={ψ∈(ℂ2)⊗n:M(sj)ψ=ψ for all j<m}.\mathcal{C}(s, m) = \{\psi \in (\mathbb{C}^2)^{\otimes n} : M(s_j)\psi = \psi \text{ for all } j < m\}.(5)✦

Cyclic stabilizer codes

On nn-qubit Pauli strings, the cyclic shift operator cyc\operatorname{cyc} advances each site index by one modulo nn: for n≥1n \ge 1 and each i∈{0,…,n−1}i \in \{0, \dots, n - 1\}, it is defined by (6), (cyc⁡(s))i=s(i−1)mod⁡n,(\operatorname{cyc}(s))_i = s_{(i - 1) \bmod n},(6)✦ and for n=0n = 0 it is the identity on the unique empty string. Given an nn-qubit base Pauli string g0g_0 and j∈ℕj \in \mathbb{N}, the jj-th cyclic stabilizer generator is the jj-fold iterate gj=cyc⁡j(g0)g_j = \operatorname{cyc}^j(g_0), forming a sequence g=(gj)j∈ℕg = (g_j)_{j \in \mathbb{N}}.✦ The cyclic stabilizer space 𝒮(g0)\mathcal{S}(g_0) is the 𝔽2\mathbb{F}_2-linear subspace of 𝔽2n×𝔽2n\mathbb{F}_2^n \times \mathbb{F}_2^n spanned by the symplectic representations of the first nn generators, as in (7): 𝒮(g0)=span⁡𝔽2{ϕ(gj):0≤j<n}.\mathcal{S}(g_0) = \operatorname{span}_{\mathbb{F}_2} \{\phi(g_j) : 0 \le j < n\}.(7)✦

An nn-qubit Pauli string ss is a logical Pauli operator for g0g_0, written s∈ℒ(g0)s \in \mathcal{L}(g_0), if ss commutes with gjg_j for every j∈{0,…,n−1}j \in \{0, \dots, n - 1\} and ϕ(s)∉𝒮(g0)\phi(s) \notin \mathcal{S}(g_0).✦ For any single-qubit Pauli operator P∈{I,X,Y,Z}P \in \{I, X, Y, Z\}, the constant Pauli string P⊗nP^{\otimes n} assigns PP to every site i∈{0,…,n−1}i \in \{0, \dots, n - 1\}.✦

For n=21n = 21, the 2121-qubit base generator g0g_0 is the Pauli string defined on sites i∈{0,…,20}i \in \{0, \dots, 20\} by (8), (g0)i={Zif i∈{0,9},Xif i∈{3,4,5,6},Iotherwise,(g_0)_i = \begin{cases} Z & \text{if } i \in \{0, 9\}, \\ X & \text{if } i \in \{3, 4, 5, 6\}, \\ I & \text{otherwise}, \end{cases}(8)✦ and the 2121-qubit code distance parameter is d21=7d_{21} = 7.✦

The claim

Theorem. Let g0g_0 be the 2121-qubit base generator in (8), with cyclic stabilizer generators g=(gj)j∈ℕg = (g_j)_{j \in \mathbb{N}} and distance parameter d21=7d_{21} = 7. Then the cyclic stabilizer space 𝒮(g0)\mathcal{S}(g_0) satisfies dim⁡𝔽2𝒮(g0)=20,\dim_{\mathbb{F}_2} \mathcal{S}(g_0) = 20,(9)✦ the stabilizer codespace of the first 2020 generators satisfies dim⁡ℂ𝒞(g,20)=2,\dim_{\mathbb{C}} \mathcal{C}(g, 20) = 2,(10)✦ the constant Pauli strings belong to the set of logical Pauli operators, X⊗21,Y⊗21,Z⊗21∈ℒ(g0),X^{\otimes 21},\, Y^{\otimes 21},\, Z^{\otimes 21} \in \mathcal{L}(g_0),(11)✦ and there exists a logical Pauli operator s∈ℒ(g0)s \in \mathcal{L}(g_0) satisfying wt⁡(s)=d21.\operatorname{wt}(s) = d_{21}.(12)✦

In the paper, the result reads: the cyclic code generated by g0g_0 has code parameters [[21,1,7]][[21, 1, 7]]. Together with (9), (10), and (11), the existence of a logical Pauli operator of weight d21=7d_{21} = 7 in (12) gives the upper bound d≤7d \le 7 on the code distance.

What is checked

In the Lean library, the statements (9), (10), (11), and (12) are stated over nn-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 2121-qubit base generator g0g_0, and the distance parameter d21=7d_{21} = 7.