OctoInform Beta

the paper ยท ยงIII. Cyclic stabilizer codes under global control ยท ยงIII

Pauli strings and the binary symplectic representation: Bijection between nn-qubit Pauli strings and ๐”ฝ2nร—๐”ฝ2n\mathbb{F}_2^n \times \mathbb{F}_2^n identifying commutation with matrix commutation and vanishing symplectic form

Symplectic representation and commutation of Pauli strings.

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 stabilizer quantum error correction, an nn-qubit stabilizer code is defined by a commuting family of nn-qubit Pauli operators. Modulo overall phases, each such operator is a tensor product of single-qubit Pauli operators I,X,Y,ZI, X, Y, Z, and commutation between pairs of strings governs both the stabilizer group and the logical operators. Representing nn-qubit Pauli strings modulo phase as binary vectors over the two-element field ๐”ฝ2\mathbb{F}_2 translates operator commutation into the vanishing of a bilinear symplectic form on ๐”ฝ2nร—๐”ฝ2n\mathbb{F}_2^n \times \mathbb{F}_2^n.

Pauli strings

Let ii denote the imaginary unit, and index the rows and columns of 2ร—22 \times 2 complex matrices by {0,1}\{0, 1\}. The Pauli matrices ฯƒx,ฯƒy,ฯƒzโˆˆโ„‚2ร—2\sigma_x, \sigma_y, \sigma_z \in \mathbb{C}^{2 \times 2} are given by (1): ฯƒx=(0110),ฯƒy=(0โˆ’ii0),ฯƒz=(100โˆ’1).\begin{aligned} \sigma_x &= \begin{pmatrix} 0 & 1 \\ 1 & 0 \end{pmatrix}, \\ \sigma_y &= \begin{pmatrix} 0 & -i \\ i & 0 \end{pmatrix}, \\ \sigma_z &= \begin{pmatrix} 1 & 0 \\ 0 & -1 \end{pmatrix}. \end{aligned}(1) A single-qubit Pauli operator is an element of the four-element set {I,X,Y,Z}\{I, X, Y, Z\}.โœฆ With I2โˆˆโ„‚2ร—2I_2 \in \mathbb{C}^{2 \times 2} denoting the 2ร—22 \times 2 identity matrix, the single-qubit Pauli matrix map M1:{I,X,Y,Z}โ†’โ„‚2ร—2M_1 : \{I, X, Y, Z\} \to \mathbb{C}^{2 \times 2} is defined by (2): M1(I)=I2,M1(X)=ฯƒx,M1(Y)=ฯƒy,M1(Z)=ฯƒz.\begin{aligned} M_1(I) &= I_2, & M_1(X) &= \sigma_x, \\ M_1(Y) &= \sigma_y, & M_1(Z) &= \sigma_z. \end{aligned}(2)โœฆ

For a nonnegative integer nn, an nn-qubit Pauli string is a tuple s=(s0,โ€ฆ,snโˆ’1)s = (s_0, \dots, s_{n-1}) of single-qubit Pauli operators indexed by 0โ‰คk<n0 \le k < n.โœฆ The set of all nn-qubit Pauli strings is denoted ๐’ซn\mathcal{P}_n. The Pauli string matrix M(s)M(s) of sโˆˆ๐’ซns \in \mathcal{P}_n is the 2nร—2n2^n \times 2^n complex matrix indexed by binary strings a,bโˆˆ{0,1}na, b \in \{0, 1\}^n with entries given by (3): M(s)a,b=โˆk=0nโˆ’1M1(sk)ak,bk.M(s)_{a, b} = \prod_{k=0}^{n-1} M_1(s_k)_{a_k, b_k}.(3)โœฆ Two nn-qubit Pauli strings s,tโˆˆ๐’ซns, t \in \mathcal{P}_n commute if the number of positions kโˆˆ{0,โ€ฆ,nโˆ’1}k \in \{0, \dots, n-1\} at which skโ‰ Is_k \neq I, tkโ‰ It_k \neq I, and skโ‰ tks_k \neq t_k is even, as written in (4): |{kโˆˆ{0,โ€ฆ,nโˆ’1}:skโ‰ I,tkโ‰ I,skโ‰ tk}|โ‰ก0(mod⁡2).\begin{aligned} \bigl|\{k \in \{0, \dots, n-1\} : s_k \neq I,\; t_k \neq I,\; s_k \neq t_k\}\bigr| \\ \equiv 0 \pmod{2}. \end{aligned}(4)โœฆ

The binary symplectic representation

The Pauli XX-bit bX:{I,X,Y,Z}โ†’๐”ฝ2b_X : \{I, X, Y, Z\} \to \mathbb{F}_2 and Pauli ZZ-bit bZ:{I,X,Y,Z}โ†’๐”ฝ2b_Z : \{I, X, Y, Z\} \to \mathbb{F}_2 are the maps defined by (5): (bX(I),bZ(I))=(0,0),(bX(X),bZ(X))=(1,0),(bX(Y),bZ(Y))=(1,1),(bX(Z),bZ(Z))=(0,1).\begin{aligned} \bigl(b_X(I), b_Z(I)\bigr) &= (0, 0), \\ \bigl(b_X(X), b_Z(X)\bigr) &= (1, 0), \\ \bigl(b_X(Y), b_Z(Y)\bigr) &= (1, 1), \\ \bigl(b_X(Z), b_Z(Z)\bigr) &= (0, 1). \end{aligned}(5) For a nonnegative integer nn, the space of binary symplectic vectors is ๐”ฝ2nร—๐”ฝ2n\mathbb{F}_2^n \times \mathbb{F}_2^n, whose elements are written (xโˆฃz)(x \mid z) with x,zโˆˆ๐”ฝ2nx, z \in \mathbb{F}_2^n.โœฆ The symplectic representation ฮฆ:๐’ซnโ†’๐”ฝ2nร—๐”ฝ2n\Phi : \mathcal{P}_n \to \mathbb{F}_2^n \times \mathbb{F}_2^n assigns to each sโˆˆ๐’ซns \in \mathcal{P}_n the binary symplectic vector given by (6) for 0โ‰คk<n0 \le k < n: ฮฆ(s)=(x(s)โˆฃz(s)),x(s)k=bX(sk),z(s)k=bZ(sk).\begin{aligned} \Phi(s) &= \bigl(x(s) \mid z(s)\bigr), \\ x(s)_k &= b_X(s_k), \\ z(s)_k &= b_Z(s_k). \end{aligned}(6)โœฆ The symplectic form ฯ‰:(๐”ฝ2nร—๐”ฝ2n)ร—(๐”ฝ2nร—๐”ฝ2n)โ†’๐”ฝ2\omega : (\mathbb{F}_2^n \times \mathbb{F}_2^n) \times (\mathbb{F}_2^n \times \mathbb{F}_2^n) \to \mathbb{F}_2 is defined for u=(xโˆฃz)u = (x \mid z) and v=(xโ€ฒโˆฃzโ€ฒ)v = (x' \mid z') in ๐”ฝ2nร—๐”ฝ2n\mathbb{F}_2^n \times \mathbb{F}_2^n by (7): ฯ‰(u,v)=โˆ‘k=0nโˆ’1(xkzkโ€ฒ+zkxkโ€ฒ)โˆˆ๐”ฝ2.\omega(u, v) = \sum_{k=0}^{n-1} (x_k z'_k + z_k x'_k) \in \mathbb{F}_2.(7)โœฆ

The claim

Theorem. Let nn be a nonnegative integer. The symplectic representation ฮฆ\Phi is a bijection, ฮฆ:๐’ซnโ†’โˆผ๐”ฝ2nร—๐”ฝ2n.\Phi : \mathcal{P}_n \overset{\sim}{\to} \mathbb{F}_2^n \times \mathbb{F}_2^n.(8)โœฆ For any two nn-qubit Pauli strings s,tโˆˆ๐’ซns, t \in \mathcal{P}_n, the condition that ss and tt commute is equivalent to commutation of their matrices, s and t commuteโ‡”M(s)M(t)=M(t)M(s),s \text{ and } t \text{ commute} \iff M(s) M(t) = M(t) M(s),(9)โœฆ and to the vanishing of the symplectic form on their images under ฮฆ\Phi, s and t commuteโ‡”ฯ‰(ฮฆ(s),ฮฆ(t))=0.s \text{ and } t \text{ commute} \iff \omega\bigl(\Phi(s), \Phi(t)\bigr) = 0.(10)โœฆ

What is checked

In the Lean library, the theorem states the bijection (8) and the commutation equivalences (9) and (10) for every nonnegative integer nn over the single-qubit Pauli operators {I,X,Y,Z}\{I, X, Y, Z\}, their 2ร—22 \times 2 complex matrices ฯƒx,ฯƒy,ฯƒz\sigma_x, \sigma_y, \sigma_z and I2I_2, the set ๐’ซn\mathcal{P}_n of nn-qubit Pauli strings with their 2nร—2n2^n \times 2^n matrices M(s)M(s) and parity-based commutation relation, and the binary symplectic space ๐”ฝ2nร—๐”ฝ2n\mathbb{F}_2^n \times \mathbb{F}_2^n equipped with the symplectic representation ฮฆ\Phi and symplectic form ฯ‰\omega.