Lean, informalized

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

Problem 10.2 - Two binary codes, one inside the other, at a rate set by the binary entropy

Nested classical codes that give good quantum codes.

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

A quantum code on nn qubits can be built from two classical codes, one inside the other, by the construction of Calderbank, Shor and Steane (CSS). Problem 10.2 is the bound of Gilbert and Varshamov for these codes: when 4t≤n4t \le n, there is a CSS code on nn qubits that corrects arbitrary errors on up to tt qubits and encodes kk qubits, for every natural number kk with k+4≤n[1−2H(2t/n)],k + 4 \le n\,\bigl[1 - 2H(2t/n)\bigr],(1) where HH is the binary entropy, H(p)=−plog⁡2p−(1−p)log⁡2(1−p).H(p) = -p\log_2 p - (1-p)\log_2 (1-p).(2)

The library states the existence of the pair of classical codes from which such a quantum code is built.

Classical Linear Codes

A linear code CC of length nn over a field KK is a subspace of KnK^n; its elements are its codewords. A binary linear code CC is a linear code over the field ℤ2={0,1}\mathbb{Z}_2 = \{0,1\} of integers modulo 2; its dimension dim⁡C\dim C is its dimension as a vector space over ℤ2\mathbb{Z}_2.

The weight wt(x)\mathrm{wt}(x) of a word x∈Knx \in K^n is the number of its nonzero entries. The minimum distance d(C)d(C) of a linear code CC is the least weight of a nonzero codeword, d(C)=min⁡{wt(c):c∈C,c≠0},d(C) = \min\,\{\mathrm{wt}(c) : c \in C,\ c \neq 0\},(3)✦ and is infinite for the zero code, the linear code {0}\{0\} with no nonzero codeword. A linear code CC corrects tt errors if its minimum distance satisfies d(C)≥2t+1.d(C) \ge 2t + 1.(4)✦

The dual code C⟂C^\perp of a linear code CC of length nn over KK is the set of words orthogonal to every codeword, C⟂={x∈Kn:∑i=1nxici=0 for every c∈C}.C^\perp = \Bigl\{x \in K^n : \sum_{i=1}^{n} x_i c_i = 0 \text{ for every } c \in C\Bigr\}.(5)✦

The Claim

Theorem 1. Let nn, kk and tt be natural numbers with 4t≤n4t \le n that satisfy (1). Then there are binary linear codes C1C_1 and C2C_2 of length nn with C2⊆C1,dim⁡C2+k≤dim⁡C1,C_2 \subseteq C_1, \qquad \dim C_2 + k \le \dim C_1,(6)✦ such that C1C_1 and the dual code C2⟂C_2^\perp both correct tt errors.

The CSS code built from such a pair corrects the two basic single-qubit errors, a bit flip and a phase flip: C1C_1 corrects the bit flips and C2⟂C_2^\perp the phase flips, and the code encodes dim⁡C1−dim⁡C2\dim C_1 - \dim C_2 qubits, so this is the exercise.

What Is Checked

The claim is stated over binary linear codes of length nn and their dimensions, the dual code (5), the minimum distance (3) and the condition (4) for correcting tt errors, with the binary entropy (2) in the bound on kk.

The dual of a linear code is again a linear code of the same length over the same field, a subspace of KnK^n.