Lean, informalized

Nielsen & Chuang · Chapter 12, Quantum information theory · p. 553

Exercise 12.9 - The capacity of the erasure channel, and how it compares with the binary symmetric channel's

The erasure channel against the binary symmetric channel.

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 sender puts one bit x∈{0,1}x \in \{0,1\} into a noisy line, and a receiver reads what comes out. In the binary symmetric channel the bit arrives flipped with probability pp and intact otherwise, and the receiver cannot tell a flipped bit from an intact one. In the erasure channel the bit is lost with probability pp and arrives intact otherwise; a lost bit arrives as a blank symbol ee, so the receiver knows which bits are missing and learns nothing about their values. The exercise asks for the capacity of the erasure channel and how it compares with that of the binary symmetric channel at the same pp.

The library answers with the capacity of the erasure channel in closed form and two inequalities between the capacities of the two channels.

Two Channels

A channel qq with finite input and output alphabets is given by its transition probabilities q(y|x)q(y|x), the probability that the input xx leaves the channel as the output yy.

The binary symmetric channel BpB_p with flip probability pp has input and output alphabet {0,1}\{0,1\} and transition probabilities Bp(y|x)={1−p,y=x,p,y≠x.B_p(y|x) = \begin{cases} 1-p, & y = x,\\ p, & y \neq x. \end{cases}(1)✦

The erasure channel EpE_p with erasure probability pp has input alphabet {0,1}\{0,1\}, output alphabet {0,1,e}\{0,1,e\} and transition probabilities Ep(y|x)={p,y=e,1−p,y=x,0,y∈{0,1},y≠x.E_p(y|x) = \begin{cases} p, & y = e,\\ 1-p, & y = x,\\ 0, & y \in \{0,1\},\ y \neq x. \end{cases}(2)✦

Capacity

The Shannon entropy H(P)H(P) of a distribution PP on a finite set, measured in nats, is H(P)=−∑iP(i)log⁡P(i),H(P) = -\sum_i P(i) \log P(i),(3)✦ with the natural logarithm and 0log⁡0=00 \log 0 = 0.

The marginals PXP_X and PYP_Y of a joint distribution PP of XX and YY on finite sets are the distributions of XX alone and of YY alone: PX(x)=∑yP(x,y),PY(y)=∑xP(x,y).P_X(x) = \sum_y P(x,y), \qquad P_Y(y) = \sum_x P(x,y).(4)

The mutual information H(X:Y)H(X:Y) of a joint distribution PP of XX and YY is the number built from the entropy (3) of PP and of its marginals (4), H(X:Y)=H(PX)+H(PY)−H(P).H(X:Y) = H(P_X) + H(P_Y) - H(P).(5)✦

The joint distribution PXYP_{XY} of a channel qq with input distribution λ\lambda is the distribution of input and output when the inputs are drawn from λ\lambda: PXY(x,y)=λ(x)q(y|x).P_{XY}(x,y) = \lambda(x)\, q(y|x).(6)✦

The mutual information Hλ(X:Y)H_\lambda(X:Y) of a channel qq at the input distribution λ\lambda is the mutual information (5) of its joint distribution (6).✦

The capacity C(q)C(q) of a channel qq is the supremum of this quantity over all probability distributions λ\lambda on its inputs: C(q)=supλHλ(X:Y).C(q) = \sup_{\lambda} H_\lambda(X:Y).(7)✦

The Claim

Theorem 1. For an erasure probability pp with 0≤p≤10 \le p \le 1, the capacity of the erasure channel is C(Ep)=(1−p)log⁡2.C(E_p) = (1-p) \log 2.(8)✦ For 0<p≤120 < p \le \tfrac12, C(Bp)<C(Ep).C(B_p) < C(E_p).(9)✦ At p=1p = 1 the order is reversed: C(E1)<C(B1).C(E_1) < C(B_1).(10)✦

In bits, the capacity (8) is 1−p1-p per use of the channel.

What Is Checked

The three statements are stated over the capacity (7) of the binary symmetric channel (1) and of the erasure channel (2).

About these two channels the library proves the closed form (8) and the two comparisons (9) and (10).