Lean, informalized

Nielsen & Chuang · Chapter 10, Quantum error-correction · p. 458

Proposition 10.4 - For Pauli strings with independent check rows, a Pauli string that flips one and fixes the rest

Flipping one sign among independent 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 Exercise

Take ll Pauli operators g1,…,glg_1, \dots, g_l on nn qubits, each a tensor product of single qubit Paulis II, XX, YY and ZZ, one on each qubit, and suppose that the rows of their check matrix, the binary matrix with one row for each gjg_j, are linearly independent over ℤ2\mathbb{Z}_2. Fix one of them, gig_i. Then there is a Pauli operator pp on the same qubits whose conjugation turns gig_i into −gi-g_i and leaves every other gjg_j as it is.✦

On three qubits, take g1=Z⊗Z⊗Ig_1 = Z \otimes Z \otimes I and g2=I⊗Z⊗Zg_2 = I \otimes Z \otimes Z.

Pauli Strings

The Pauli matrices are the four complex 2×22 \times 2 matrices σ0=I\sigma_0 = I, σ1=X\sigma_1 = X, σ2=Y\sigma_2 = Y and σ3=Z\sigma_3 = Z, with rows and columns labelled by 00 and 11, where II is the identity and X=(0110),Y=(0−ii0),Z=(100−1).X = \begin{pmatrix} 0 & 1 \\ 1 & 0 \end{pmatrix}, \qquad Y = \begin{pmatrix} 0 & -i \\ i & 0 \end{pmatrix}, \qquad Z = \begin{pmatrix} 1 & 0 \\ 0 & -1 \end{pmatrix}.(1)✦

A Pauli string on nn qubits is an operator σa1⊗⋯⊗σan\sigma_{a_1} \otimes \cdots \otimes \sigma_{a_n} on the nn qubits, the tensor product of one Pauli matrix σak\sigma_{a_k} for each qubit kk, with ak∈{0,1,2,3}a_k \in \{0, 1, 2, 3\}.✦ With rows and columns labelled by strings of bits, its matrix has the entries ⟨b1⋯bn|σa1⊗⋯⊗σan|b1′⋯bn′⟩=∏k=1n(σak)bkbk′.\langle b_1 \cdots b_n |\, \sigma_{a_1} \otimes \cdots \otimes \sigma_{a_n} \,| b_1' \cdots b_n' \rangle = \prod_{k=1}^{n} (\sigma_{a_k})_{b_k b_k'} .(2)✦

Check Rows

The XX bit xax_a of a Pauli matrix σa\sigma_a is 11 for XX and YY and 00 for II and ZZ✦; its ZZ bit zaz_a is 11 for YY and ZZ and 00 for II and XX.✦ The check bits of a Pauli matrix σa\sigma_a are the pair (xa,za)(x_a, z_a) of its XX bit and its ZZ bit, read in ℤ2\mathbb{Z}_2.✦

The check row r(g)r(g) of a Pauli string g=σa1⊗⋯⊗σang = \sigma_{a_1} \otimes \cdots \otimes \sigma_{a_n} is the row of 2n2n bits in ℤ2\mathbb{Z}_2 that lists the XX bits of its factors, qubit by qubit, and then their ZZ bits: r(g)=(xa1,…,xan|za1,…,zan).r(g) = \left( x_{a_1}, \dots, x_{a_n} \,\middle|\, z_{a_1}, \dots, z_{a_n} \right).(3) The check matrix of g1,…,glg_1, \dots, g_l has the rows r(g1),…,r(gl)r(g_1), \dots, r(g_l).

The Claim

Theorem 1. Let g1,…,glg_1, \dots, g_l be Pauli strings on nn qubits whose check rows r(g1),…,r(gl)r(g_1), \dots, r(g_l) are linearly independent over ℤ2\mathbb{Z}_2, and let ii be one of the indices 1,…,l1, \dots, l. Then there is a Pauli string pp on the same nn qubits with pgip†=−giandpgjp†=gjfor every j≠i.p \, g_i \, p^\dagger = -g_i \qquad \text{and} \qquad p \, g_j \, p^\dagger = g_j \quad \text{for every } j \neq i .(4)✦

What Is Checked

The claim is stated over Pauli strings on nn qubits, the tensor products (2) of the Pauli matrices (1), and over the check rows (3) of those strings, built from the check bits of their factors. What the library proves about these constructions is the existence of the Pauli string pp in (4).