Lean, informalized

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

Exercise 10.23 - A binary linear code of large dimension with minimum distance at least 2t+12t + 1

Error-correcting binary linear codes exist up to an entropy bound.

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 message of kk bits is sent through a noisy classical channel as a string of nn bits, and the channel flips some of the bits on the way. Sender and receiver agree beforehand on 2k2^k strings of nn bits, the codewords, one for each message and spaced so far apart that after any tt flips the receiver can still tell which codeword was sent.

The exercise asks for a guarantee on how many bits such a code can carry, for linear codes, those in which the bitwise sum modulo 22 of two codewords is again a codeword: when 4t≤n4t \le n, a linear code of length nn that corrects tt errors exists for every kk up to a bound set by the binary entropy of the fraction 2t/n2t/n.

Linear Codes

A linear code CC over a field KK, with positions indexed by a set ι\iota, is a subspace of the space KιK^{\iota} of words carrying a letter of KK at each position; its elements are its codewords. A binary linear code CC of length nn is a linear code over the field ℤ2\mathbb{Z}_2 with nn positions, a subspace of ℤ2n\mathbb{Z}_2^n, and its dimension dim⁡C\dim C over ℤ2\mathbb{Z}_2 is the number of bits it carries.

The Hamming weight wt(c)\mathrm{wt}(c) of a word cc is the number of its nonzero entries. The minimum distance d(C)d(C) of a linear code CC is the least Hamming weight of a nonzero codeword of CC, d(C)=min⁡{wt(c):c∈C,c≠0},d(C) = \min \{\, \mathrm{wt}(c) : c \in C,\ c \neq 0 \,\},(1)✦ and the zero code, which has no nonzero codeword, has infinite minimum distance.

A linear code CC corrects tt errors when its minimum distance is at least 2t+12t + 1, d(C)≥2t+1.d(C) \ge 2t + 1.(2)✦

The Claim

The bound is written with 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) of a probability pp, in bits. The claim is the Gilbert-Varshamov bound.

Theorem 1. Let nn, kk and tt be natural numbers with 4t≤n4t \le n and k≤n(1−H(2tn)).k \le n \left( 1 - H\!\left( \frac{2t}{n} \right) \right).(3)✦ Then there is a binary linear code CC of length nn with dim⁡C≥k\dim C \ge k that corrects tt errors.✦

What Is Checked

The claim is stated over the binary linear codes of length nn, with their dimension, and over the condition (2) of correcting tt errors, built on the minimum distance (1).

What the library proves about these constructions is Theorem 1.