OctoInform Beta

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

Cyclic stabilizer code [[5, 1, 3]]: The cyclic code generated by ZXXZIZXXZI has stabilizer rank 44, codespace dimension 22, distance 33, and global logical operators X⊗5X^{\otimes 5}, Y⊗5Y^{\otimes 5}, Z⊗5Z^{\otimes 5}

Parameters and logical operators of the five-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

In quantum error correction, a stabilizer code on nn qubits protects logical quantum information inside the simultaneous +1+1 eigenspace of a commuting family of Pauli operators. Cyclic stabilizer codes take all stabilizer generators to be cyclic shifts of a single base Pauli string around a ring of nn qubits, so the code structure is translation-invariant. On n=5n = 5 qubits, the cyclic shifts of the five-qubit Pauli string ZXXZIZXXZI generate the five-qubit [[5,1,3]][[5, 1, 3]] stabilizer code. The four properties characterizing this code are the 𝔽2\mathbb{F}_2-dimension of its stabilizer space, the complex dimension of its codespace, the transversality of its logical Pauli operators, and its exact code distance.

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 σ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) The single-qubit Pauli matrix M(P)M(P) associated with a single-qubit Pauli operator PP sends II to the 2×22 \times 2 identity matrix I2I_2, XX to σx\sigma_x, YY to σy\sigma_y, and ZZ to σz\sigma_z.✦ Each single-qubit Pauli operator PP also carries a Pauli XX-bit xP∈𝔽2x_P \in \mathbb{F}_2, equal to 11 on XX and YY and 00 on II and ZZ✦, and a Pauli ZZ-bit zP∈𝔽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 modulo phase is a tuple s=(s0,…,sn−1)s = (s_0, \dots, s_{n-1}) assigning a single-qubit Pauli operator sis_i to each qubit site i∈{0,…,n−1}i \in \{0, \dots, n-1\}.✦ Its Pauli string matrix M(s)M(s) is the 2n×2n2^n \times 2^n complex matrix on (ℂ2)⊗n(\mathbb{C}^2)^{\otimes n}, indexed by computational basis bitstrings a,b∈{0,1}na, b \in \{0, 1\}^n, with entries M(s)a,b=∏i=0n−1M(si)ai,bi.M(s)_{a, b} = \prod_{i=0}^{n-1} M(s_i)_{a_i, b_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 is the number of sites i∈{0,…,n−1}i \in \{0, \dots, n-1\} at which si≠Is_i \neq I: wt⁡(s)=|{i∈{0,…,n−1}:si≠I}|.\operatorname{wt}(s) = \bigl|\{i \in \{0, \dots, n-1\} : s_i \neq I\}\bigr|.(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) with x,z∈𝔽2nx, z \in \mathbb{F}_2^n.✦ The symplectic representation of an nn-qubit Pauli string ss is the vector φ(s)=(x∣z)∈𝔽2n×𝔽2n\varphi(s) = (x \mid z) \in \mathbb{F}_2^n \times \mathbb{F}_2^n whose components at each site i∈{0,…,n−1}i \in \{0, \dots, n-1\} are xi=xsix_i = x_{s_i} and zi=zsiz_i = z_{s_i}.✦

Given 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 in ss is the complex subspace of (ℂ2)⊗n(\mathbb{C}^2)^{\otimes n} defined by 𝒞(s,m)={ψ∈(ℂ2)⊗n:M(sj)ψ=ψ for all 0≤j<m}.\mathcal{C}(s, m) = \bigl\{\psi \in (\mathbb{C}^2)^{\otimes n} : M(s_j)\psi = \psi \text{ for all } 0 \le j < m\bigr\}.(4)✦

Cyclic stabilizer codes

The cyclic shift operator τ\tau maps an nn-qubit Pauli string ss to the nn-qubit Pauli string τ(s)\tau(s) defined at each site i∈{0,…,n−1}i \in \{0, \dots, n-1\} by τ(s)i=s(i−1)mod⁡n\tau(s)_i = s_{(i - 1) \bmod n}, shifting every single-qubit operator one site to the right around ℤ/nℤ\mathbb{Z}/n\mathbb{Z}.✦ Given a base generator gg on nn qubits, the jj-th cyclic stabilizer generator for j∈ℕj \in \mathbb{N} is τj(g)\tau^j(g), obtained by applying τ\tau jj times to gg, and γ(g)=(τj(g))j∈ℕ\gamma(g) = (\tau^j(g))_{j \in \mathbb{N}} denotes the resulting sequence.✦ The cyclic stabilizer space 𝒮(g)\mathcal{S}(g) is the 𝔽2\mathbb{F}_2-linear subspace of 𝔽2n×𝔽2n\mathbb{F}_2^n \times \mathbb{F}_2^n spanned by the symplectic vectors of the first nn cyclic shifts: 𝒮(g)=span⁡𝔽2{φ(τj(g)):0≤j<n}.\mathcal{S}(g) = \operatorname{span}_{\mathbb{F}_2} \bigl\{\varphi(\tau^j(g)) : 0 \le j < n\bigr\}.(5)✦

An nn-qubit Pauli string ss is a logical Pauli operator for the cyclic code generated by gg if ss commutes with τj(g)\tau^j(g) for every j∈{0,…,n−1}j \in \{0, \dots, n-1\} and φ(s)∉𝒮(g)\varphi(s) \notin \mathcal{S}(g).✦ Denote the set of all logical Pauli operators for gg by ℒ(g)\mathcal{L}(g). The cyclic code generated by gg has code distance d∈ℕd \in \mathbb{N} if there exists s∈ℒ(g)s \in \mathcal{L}(g) with wt⁡(s)=d\operatorname{wt}(s) = d and every s∈ℒ(g)s \in \mathcal{L}(g) satisfies d≤wt⁡(s)d \le \operatorname{wt}(s), equivalently min⁡s∈ℒ(g)wt⁡(s)=d\min_{s \in \mathcal{L}(g)} \operatorname{wt}(s) = d.✦

For any single-qubit Pauli operator PP, the constant Pauli string P⊗nP^{\otimes n} is the nn-qubit Pauli string assigning PP to every site i∈{0,…,n−1}i \in \{0, \dots, n-1\}.✦ For n=5n = 5, define the five-qubit base generator g0=(Z,X,X,Z,I),g_0 = (Z, X, X, Z, I),(6)✦ written ZXXZIZXXZI, and the five-qubit code distance d5=3d_5 = 3✦.

The claim

Theorem. For the five-qubit cyclic stabilizer code generated by g0=ZXXZIg_0 = ZXXZI, the cyclic stabilizer space 𝒮(g0)\mathcal{S}(g_0) has 𝔽2\mathbb{F}_2-dimension 44: dim⁡𝔽2𝒮(g0)=4.\dim_{\mathbb{F}_2} \mathcal{S}(g_0) = 4.(7)✦ The stabilizer codespace of the first four cyclic generators in γ(g0)\gamma(g_0) has complex dimension 22: dim⁡ℂ𝒞(γ(g0),4)=2.\dim_{\mathbb{C}} \mathcal{C}(\gamma(g_0), 4) = 2.(8)✦ The constant five-qubit Pauli strings X⊗5X^{\otimes 5}, Y⊗5Y^{\otimes 5}, and Z⊗5Z^{\otimes 5} are logical Pauli operators: X⊗5,Y⊗5,Z⊗5∈ℒ(g0).X^{\otimes 5}, Y^{\otimes 5}, Z^{\otimes 5} \in \mathcal{L}(g_0).(9)✦ The code has exact code distance d5=3d_5 = 3: mins∈ℒ(g0)wt⁡(s)=d5=3.\min_{s \in \mathcal{L}(g_0)} \operatorname{wt}(s) = d_5 = 3.(10)✦

What is checked

In the Lean library, the theorem is stated for the five-qubit cyclic stabilizer code generated by g0=ZXXZIg_0 = ZXXZI under cyclic shifts of Pauli strings, with the cyclic stabilizer space 𝒮(g0)\mathcal{S}(g_0) formed inside 𝔽25×𝔽25\mathbb{F}_2^5 \times \mathbb{F}_2^5, the stabilizer codespace 𝒞(γ(g0),4)\mathcal{C}(\gamma(g_0), 4) defined as the simultaneous +1+1 eigenspace of the first four Pauli string matrices on (ℂ2)⊗5(\mathbb{C}^2)^{\otimes 5}, the constant strings X⊗5X^{\otimes 5}, Y⊗5Y^{\otimes 5}, and Z⊗5Z^{\otimes 5} checked for commutation with all five cyclic generators and non-membership in 𝒮(g0)\mathcal{S}(g_0), and the code distance d5=3d_5 = 3 characterized as the minimum Pauli weight over ℒ(g0)\mathcal{L}(g_0).