How many bits survive the noise?

From Shannon’s capacity formula to quantum channels

Every message you send crosses a noisy medium, yet it almost always arrives intact. This article explains why, and how far the idea goes. We derive Shannon’s formula for the capacity of a noisy channel from first principles, and then rebuild the same argument, step by step, for channels governed by quantum mechanics, where entanglement changes the story.

Peixue Wu, Department of Mathematics and Institute for Quantum and Information Sciences, Syracuse University.

Part I: a classical channel, Shannon 1948

\[ C=\max_{p(x)}\, I(X;Y) \]

Part II: a quantum channel

\[ C(\N)=\lim_{k\to\infty}\frac{1}{k}\,\chi\big(\N^{\otimes k}\big) \]

The two formulas we will derive. Shannon’s formula needs only a single use of the channel. Whether the quantum formula can also be reduced to a single use was a famous open question, answered in 2009 by Matthew Hastings: not always.

Contents
  1. Part I. Classical channels
  2. 1. Why this question matters
  3. 2. Shannon’s model: many uses of one channel
  4. 3. Measuring information
  5. 4. Long sequences are predictable
  6. 5. Random codes work
  7. 6. Nothing works better
  8. Part II. Quantum channels
  9. 7. Quantum mechanics in four rules
  10. 8. Sending bits with quantum states
  11. 9. Holevo’s bound
  12. 10. Typical subspaces
  13. 11. The HSW theorem
  14. 12. Entangled codewords
  15. 13. Does entanglement help?
  16. Afterword
  17. Summary table
  18. Exercises
  19. Further reading

Part I. Classical channels

Shannon’s theory in full: the model, the right way to measure information, and both halves of the proof of his capacity formula.

1.Why this question matters

Information transmission is so routine that we rarely notice it. A text message crosses a cellular network, a video streams over Wi‑Fi, a phone camera reads a QR code on a crumpled poster, a hard drive returns a file written years ago, and the Voyager probes, launched in 1977 and now beyond the planets, still send data to Earth with a radio transmitter of about 20 watts.

In every one of these examples the medium is noisy. Radio signals fade and interfere, discs get scratched, stray radiation flips bits in memory chips. Yet the messages arrive essentially perfectly. The reason is error-correcting codes: the sender adds carefully structured redundancy, and the receiver uses it to undo the damage. QR codes use Reed–Solomon codes, which is why a QR code still scans when part of it is torn off. 5G phones use LDPC and polar codes. Voyager uses a combination of Reed–Solomon and convolutional codes.

All of this goes back to a single paper: Claude Shannon’s A Mathematical Theory of Communication, published in 1948. Before Shannon, engineers believed that fighting noise had a steep price: to make errors rarer, you had to send more slowly, and perfect reliability meant sending at rate zero. Shannon showed that this intuition is wrong. Every noisy channel has a number \(C\), its capacity, with a remarkable property:

  • at any rate below \(C\), messages can be sent with an error probability as small as we like;
  • at any rate above \(C\), they cannot.

The trick is to use the channel many times and spread every message across all the uses. Shannon also gave an explicit formula for \(C\). Deriving that formula, carefully and completely, is the goal of Part I.

Part II asks the same question one level deeper. Information is always carried by physical systems: voltages, radio waves, photons in an optical fibre. At the smallest scales these systems obey quantum mechanics. A single photon can be prepared in many different quantum states, and the receiver must perform a quantum measurement to read it. Even more strangely, the sender can prepare her photons entangled with one another across many uses of the channel, which has no classical analogue. So what is the capacity of a quantum channel for ordinary bits? We will answer this by imitating Shannon’s argument line by line, and see exactly where the quantum world forces a new idea.

How to read this article

Part I needs only basic probability (random variables, expectation, independence). Part II also uses linear algebra over the complex numbers: vectors, matrices, eigenvalues and the trace. Every new notion is defined when it first appears. Throughout, \(\log\) means \(\log_2\), so information is measured in bits, and we write \(x^n=(x_1,\dots,x_n)\) for a sequence of length \(n\).

2.Shannon’s model: many uses of one channel

A channel is a conditional probability

Shannon’s first move was to strip a communication system down to its mathematical skeleton. The sender, traditionally called Alice, feeds a symbol \(x\) into the channel; the receiver, Bob, sees a symbol \(y\). Noise means that \(y\) is random, with a distribution that depends on \(x\).

Definition 1 (discrete memoryless channel)

A channel consists of a finite input alphabet \(\Xc\), a finite output alphabet \(\Yc\), and transition probabilities \(p(y\mid x)\ge 0\) with \(\sum_{y} p(y\mid x)=1\) for each \(x\in\Xc\). Used \(n\) times, the channel acts independently on each use:

\begin{equation}\label{eq:memoryless} p(y^n\mid x^n)=\prod_{i=1}^{n} p(y_i\mid x_i). \end{equation}

Equation \eqref{eq:memoryless} is the precise meaning of parallel use. The \(n\) uses may be \(n\) time slots on one wire, or \(n\) wires (or frequencies) used at once; mathematically it is the same thing: \(n\) independent copies of one channel. The channel has no memory, so the noise on one use does not depend on what happened on the others.

Example 1 (binary symmetric channel)

Inputs and outputs are bits, \(\Xc=\Yc=\{0,1\}\). Each bit arrives correctly with probability \(1-p\) and is flipped with probability \(p\):

\[ p(y\mid x)=\begin{cases}1-p, & y=x,\\ p, & y\neq x.\end{cases} \]
0 1 0 1 1 − p 1 − p p p input x output y
Figure 1. The binary symmetric channel with flip probability \(p\).

Another useful example is the binary erasure channel: each bit either arrives intact (probability \(1-\varepsilon\)) or is replaced by a question mark (probability \(\varepsilon\)), so Bob knows which bits he lost.

Codes, rates and capacity

To send one of \(M\) messages, Alice and Bob agree in advance on a code.

Definition 2 (code, rate, error)

An \((M,n)\) code consists of an encoder that assigns to each message \(w\in\{1,\dots,M\}\) a codeword \(x^n(w)\in\Xc^n\), and a decoder \(g:\Yc^n\to\{1,\dots,M\}\). Its rate is

\begin{equation}\label{eq:rate} R=\frac{\log M}{n}\quad\text{bits per channel use.} \end{equation}

The error probability of message \(w\) is \(\lambda_w=\Pr\big[g(Y^n)\neq w \,\big|\, x^n(w)\text{ was sent}\big]\). We write \(\lambda_{\max}=\max_w \lambda_w\) for the maximal error and \(\bar P_e=\frac1M\sum_w\lambda_w\) for the average error.

message w encoder xn p(y | x) used n times yn decoder ŵ Alice Bob
Figure 2. Shannon’s model. Alice encodes a message into \(n\) channel inputs; Bob sees \(n\) noisy outputs and guesses the message.

Definition 3 (achievable rate, capacity)

A rate \(R\) is achievable if there are \((\lceil 2^{nR}\rceil,n)\) codes whose maximal error \(\lambda_{\max}\) tends to \(0\) as \(n\to\infty\). The capacity \(C\) is the supremum of all achievable rates.

Why use the channel many times?

The simplest way to fight noise is repetition: send each bit three times and let Bob take a majority vote. On the binary symmetric channel with \(p=0.1\) this lowers the error from \(0.1\) to \(3p^2(1-p)+p^3=0.028\), but the rate drops to \(1/3\). Repeating five times gives error \(0.0086\) at rate \(1/5\); seven times, \(0.0027\) at rate \(1/7\). With repetition, the error goes to zero only if the rate does too.

Shannon’s theorem says that for this channel every rate below \(1-h(0.1)\approx 0.531\) bits per use can be achieved with error tending to zero, where \(h\) is the binary entropy function of Section 3. The idea is not to protect each bit separately but to treat a long block of \(n\) uses as a whole. The individual flips are unpredictable, but their total is not: by the law of large numbers, about \(np\) of the \(n\) bits flip. Codewords chosen so that no plausible pattern of about \(np\) flips can turn one into another are safe. Counting how many such codewords fit is the heart of the matter, and to count we need the right measure of information.

3.Measuring information

Entropy

An outcome of probability \(p(x)\) carries \(\log\frac{1}{p(x)}\) bits of “surprise”: a certain outcome carries none, and a one-in-a-million outcome carries about 20 bits. Entropy is the average surprise.

Definition 4 (entropy)

The entropy of a random variable \(X\) with distribution \(p\) on a finite set \(\Xc\) is

\begin{equation}\label{eq:entropy} H(X)=-\sum_{x\in\Xc} p(x)\log p(x), \end{equation}

with the convention \(0\log 0=0\). For a coin with heads probability \(p\) this is the binary entropy \(h(p)=-p\log p-(1-p)\log(1-p)\).

Plot of the binary entropy h(p): zero at p equal to 0 and 1, one bit at p equal to one half, about half a bit at p equal to 0.11.
Figure 3. The binary entropy \(h(p)\). A fair coin is the most uncertain (1 bit); a coin with heads probability 0.11 carries about half a bit; a coin that always lands heads carries none.

As a rule of thumb, \(H(X)\) is the number of bits per symbol needed to describe a long sequence of independent copies of \(X\). Section 4 makes this precise.

Relative entropy and Gibbs’ inequality

Almost every inequality in information theory comes from one elementary fact.

Lemma 1 (Gibbs’ inequality)

For probability distributions \(p,q\) on \(\Xc\), the relative entropy

\[ D(p\,\|\,q)=\sum_{x} p(x)\log\frac{p(x)}{q(x)} \]

is nonnegative, and it is zero only if \(p=q\).

Use \(\ln t\le t-1\), with equality only at \(t=1\). Summing over \(x\) with \(p(x)>0\),

\[ -D(p\,\|\,q)\,\ln 2=\sum_{x:\,p(x)>0}p(x)\ln\frac{q(x)}{p(x)}\le\sum_{x:\,p(x)>0}p(x)\Big(\frac{q(x)}{p(x)}-1\Big)=\sum_{x:\,p(x)>0}q(x)-1\le 0. \]

Equality forces \(q(x)=p(x)\) for all \(x\). ∎

Taking \(q\) uniform gives \(D(p\,\|\,q)=\log|\Xc|-H(X)\ge 0\), so

\begin{equation}\label{eq:maxent} 0\le H(X)\le\log|\Xc|, \end{equation}

with the maximum reached exactly by the uniform distribution.

Joint entropy, conditional entropy and the chain rule

For a pair \((X,Y)\) with joint distribution \(p(x,y)\), the joint entropy \(H(X,Y)\) is the entropy of the pair. The conditional entropy is the uncertainty left in \(Y\) once \(X\) is known, averaged over \(X\):

\[ H(Y\mid X)=\sum_x p(x)\,H(Y\mid X=x)=-\sum_{x,y}p(x,y)\log p(y\mid x). \]

Lemma 2 (chain rule)

\(H(X,Y)=H(X)+H(Y\mid X)\). More generally, \(H(Y_1,\dots,Y_n)=\sum_{i=1}^n H(Y_i\mid Y_1,\dots,Y_{i-1})\).

Take the expectation of \(\log p(x,y)=\log p(x)+\log p(y\mid x)\). The general form follows by induction. ∎

Mutual information

Definition 5 (mutual information)

\begin{equation}\label{eq:mi} I(X;Y)=H(Y)-H(Y\mid X). \end{equation}

In words: the uncertainty of the output minus the uncertainty that the noise adds. It is what the output tells us about the input.

Lemma 3 (properties of mutual information)

\(I(X;Y)=H(X)+H(Y)-H(X,Y)=D\big(p_{XY}\,\|\,p_Xp_Y\big)\ge 0\). In particular \(I\) is symmetric in \(X\) and \(Y\), and conditioning cannot increase entropy: \(H(Y\mid X)\le H(Y)\).

The first identity is the chain rule. For the second, \(\sum_{x,y}p(x,y)\log\frac{p(x,y)}{p(x)p(y)}=-H(X,Y)+H(X)+H(Y)\). Nonnegativity is Gibbs’ inequality. ∎

Combining the chain rule with \(H(Y_i\mid Y_1,\dots,Y_{i-1})\le H(Y_i)\) gives subadditivity, which we will need in the converse:

\begin{equation}\label{eq:subadd} H(Y_1,\dots,Y_n)\le\sum_{i=1}^n H(Y_i). \end{equation}

Example 2 (mutual information of the binary symmetric channel)

Let \(X\) be \(1\) with probability \(q\). Given \(X\), the output is a coin with bias \(p\), so \(H(Y\mid X)=h(p)\). The output is \(1\) with probability \(q(1-p)+(1-q)p\), so

\[ I(X;Y)=h\big(q(1-p)+(1-q)p\big)-h(p)\le 1-h(p), \]

with equality when \(q=\tfrac12\), because then the output is a fair coin.

Two tools for the converse

The conditional mutual information \(I(X;Y\mid Z)=H(X\mid Z)-H(X\mid Y,Z)\) is an average of mutual informations, one for each value of \(Z\), so it is nonnegative. Expanding into entropies shows the chain rule \(I(X,Z;Y)=I(Z;Y)+I(X;Y\mid Z)\).

Random variables form a Markov chain \(W\to X\to Y\) if \(p(w,x,y)=p(w)\,p(x\mid w)\,p(y\mid x)\): \(Y\) depends on \(W\) only through \(X\). Then \(I(W;Y\mid X)=0\).

Lemma 4 (data processing inequality)

If \(W\to X\to Y\) is a Markov chain, then \(I(W;Y)\le I(X;Y)\). Processing cannot create information.

Expand \(I(W,X;Y)\) with the chain rule in two ways: it equals \(I(X;Y)+I(W;Y\mid X)=I(X;Y)\), and also \(I(W;Y)+I(X;Y\mid W)\ge I(W;Y)\). ∎

Lemma 5 (Fano’s inequality)

Let \(W\) be uniform on \(\{1,\dots,M\}\), let \(\hat W=g(Y^n)\) be any guess of \(W\) from \(Y^n\), and let \(P_e=\Pr[\hat W\neq W]\). Then

\begin{equation}\label{eq:fano} H(W\mid Y^n)\le 1+P_e\log M. \end{equation}

Let \(E\) be the indicator of an error. Since \(E\) is determined by \(W\) and \(Y^n\), the chain rule gives \(H(E,W\mid Y^n)=H(W\mid Y^n)\). Expanding the other way,

\[ H(E,W\mid Y^n)=H(E\mid Y^n)+H(W\mid E,Y^n)\le 1+(1-P_e)\cdot 0+P_e\log(M-1). \]

Here \(H(E\mid Y^n)\le H(E)\le 1\) because \(E\) is a bit; if there is no error then \(W=g(Y^n)\) is known; and if there is an error, \(W\) is one of the other \(M-1\) messages. ∎

Fano’s inequality says that if Bob rarely errs, then the output leaves little uncertainty about the message, so the output must carry almost all of its \(\log M\) bits.

4.Long sequences are predictable

The law of large numbers

Lemma 6 (weak law of large numbers)

Let \(Z_1,Z_2,\dots\) be independent and identically distributed with mean \(\mu\) and variance \(s^2\), and let \(\bar Z_n=\frac1n\sum_{i=1}^n Z_i\). Then for every \(\delta>0\),

\[ \Pr\big[|\bar Z_n-\mu|\ge\delta\big]\le\frac{s^2}{n\delta^2}\xrightarrow[n\to\infty]{}0. \]

\(\bar Z_n\) has mean \(\mu\) and variance \(s^2/n\); apply Chebyshev’s inequality. ∎

Typical sequences

Draw \(X_1,\dots,X_n\) independently from \(p\). Apply the law of large numbers to \(Z_i=-\log p(X_i)\), whose mean is exactly \(H(X)\):

\begin{equation}\label{eq:aep} -\frac1n\log p(X^n)=\frac1n\sum_{i=1}^n\big(-\log p(X_i)\big)\;\longrightarrow\;H(X)\quad\text{in probability.} \end{equation}

So a long random sequence almost always has probability close to \(2^{-nH(X)}\). This is called the asymptotic equipartition property, and it motivates the following definition.

Definition 6 (typical set)

For \(\varepsilon>0\), the typical set \(T_\varepsilon^{(n)}\) consists of all sequences \(x^n\) with \(\big|-\frac1n\log p(x^n)-H(X)\big|\le\varepsilon\).

Theorem 1 (properties of typical sequences)

  1. \(\Pr\big[X^n\in T_\varepsilon^{(n)}\big]\ge 1-\varepsilon\) for all large \(n\).
  2. Every \(x^n\in T_\varepsilon^{(n)}\) has \(2^{-n(H(X)+\varepsilon)}\le p(x^n)\le 2^{-n(H(X)-\varepsilon)}\).
  3. \(\big|T_\varepsilon^{(n)}\big|\le 2^{n(H(X)+\varepsilon)}\).
  4. \(\big|T_\varepsilon^{(n)}\big|\ge (1-\varepsilon)\,2^{n(H(X)-\varepsilon)}\) for all large \(n\).

(a) is \eqref{eq:aep}, and (b) is the definition. For (c), \(1\ge\sum_{x^n\in T}p(x^n)\ge|T|\,2^{-n(H+\varepsilon)}\). For (d), \(1-\varepsilon\le\sum_{x^n\in T}p(x^n)\le|T|\,2^{-n(H-\varepsilon)}\). ∎

Out of the \(|\Xc|^n\) possible sequences, only about \(2^{nH(X)}\) matter, and they are all roughly equally likely. For a coin with heads probability \(p\), the typical sequences are those with about \(np\) heads, and indeed there are \(\binom{n}{np}\approx 2^{n\,h(p)}\) of them, by Stirling’s formula.

Histograms of the fraction of heads in n coin flips with heads probability 0.25, for n equal to 10, 100 and 1000. The probability of being within 0.05 of 0.25 grows from 0.53 to 0.80 to above 0.99.
Figure 4. The law of large numbers at work, computed exactly for a coin with heads probability \(0.25\). The probability that the fraction of heads lies within \(0.05\) of \(0.25\) is \(0.53\) for \(n=10\), \(0.80\) for \(n=100\), and above \(0.99\) for \(n=1000\).

A first payoff: compression

Theorem 1 already explains what entropy means. To store a long sequence from the source, list the at most \(2^{n(H+\varepsilon)}\) typical sequences and record only the position of ours in the list: \(n(H+\varepsilon)\) bits. Atypical sequences are rare, so they can be handled crudely. Hence about \(H(X)\) bits per symbol suffice, and one can show that fewer do not. This is Shannon’s source coding theorem.

Jointly typical pairs

Now send independent random inputs \(X_1,\dots,X_n\sim p(x)\) through the channel. By \eqref{eq:memoryless}, the pairs \((X_i,Y_i)\) are independent with joint distribution \(p(x,y)=p(x)\,p(y\mid x)\).

Definition 7 (jointly typical set)

\(A_\varepsilon^{(n)}\) is the set of pairs \((x^n,y^n)\) such that \(x^n\) is typical for \(p(x)\), \(y^n\) is typical for \(p(y)\), and the pair is typical for \(p(x,y)\); that is,

\[ \Big|-\tfrac1n\log p(x^n)-H(X)\Big|\le\varepsilon,\quad \Big|-\tfrac1n\log p(y^n)-H(Y)\Big|\le\varepsilon,\quad \Big|-\tfrac1n\log p(x^n,y^n)-H(X,Y)\Big|\le\varepsilon. \]

Theorem 2 (joint typicality)

  1. \(\Pr\big[(X^n,Y^n)\in A_\varepsilon^{(n)}\big]\to 1\) as \(n\to\infty\).
  2. \(\big|A_\varepsilon^{(n)}\big|\le 2^{n(H(X,Y)+\varepsilon)}\).
  3. If \(\tilde X^n\) and \(\tilde Y^n\) are independent, with the same distributions as \(X^n\) and \(Y^n\), then \[ \Pr\big[(\tilde X^n,\tilde Y^n)\in A_\varepsilon^{(n)}\big]\le 2^{-n(I(X;Y)-3\varepsilon)}. \]

(a) Each of the three conditions holds with probability tending to one by the law of large numbers; use a union bound. (b) is proved like Theorem 1(c). For (c), use (b) and the bounds on \(p(x^n)\) and \(p(y^n)\) that hold on \(A_\varepsilon^{(n)}\):

\[ \sum_{(x^n,y^n)\in A_\varepsilon^{(n)}}p(x^n)\,p(y^n)\le 2^{n(H(X,Y)+\varepsilon)}\,2^{-n(H(X)-\varepsilon)}\,2^{-n(H(Y)-\varepsilon)}=2^{-n(I(X;Y)-3\varepsilon)}, \]

using \(H(X)+H(Y)-H(X,Y)=I(X;Y)\). ∎

Part (c) is the key estimate. A pair produced by the channel is jointly typical, but a pair produced independently almost never is: the chance is about \(2^{-nI(X;Y)}\).

The picture: counting noise balls

Fix a typical codeword \(x^n\). The outputs that are jointly typical with it form its noise ball; it contains about \(2^{nH(Y\mid X)}\) sequences, since about \(2^{nH(X,Y)}\) typical pairs are spread over about \(2^{nH(X)}\) typical inputs. All typical outputs together number about \(2^{nH(Y)}\). If the noise balls of different codewords do not overlap, Bob can tell the codewords apart, and at most

\begin{equation}\label{eq:count} \frac{2^{nH(Y)}}{2^{nH(Y\mid X)}}=2^{nI(X;Y)} \end{equation}

balls fit. So about \(nI(X;Y)\) bits can be sent in \(n\) uses. The next two sections turn this picture into a theorem.

A large disk representing the typical outputs, packed with 33 small disks representing the noise balls of 33 codewords.
Figure 5. The large disk stands for the \(2^{nH(Y)}\) typical outputs; each small disk is the noise ball of one codeword, of size \(2^{nH(Y\mid X)}\).

5.Shannon’s theorem, part one: random codes work

Theorem 3 (Shannon’s channel coding theorem, 1948)

The capacity of a discrete memoryless channel is

\begin{equation}\label{eq:shannon} C=\max_{p(x)}\,I(X;Y), \end{equation}

where \(X\) has distribution \(p(x)\) and \(Y\) is the corresponding output.

The proof has two halves. In this section we show that every rate \(R<I(X;Y)\) is achievable, for any input distribution \(p(x)\); maximizing over \(p(x)\) then shows that every rate below the right-hand side of \eqref{eq:shannon} is achievable. Section 6 shows that no higher rate is.

Shannon’s idea was striking: instead of constructing a good code, choose one at random and show that it works on average. If the average error over all random codebooks is small, then at least one codebook has small error.

The proof

Fix \(p(x)\) and a rate \(R<I(X;Y)\), and choose \(\varepsilon>0\) so small that \(R<I(X;Y)-3\varepsilon\). Let \(M=2^{nR}\).

  1. Random codebook. Generate \(M\) codewords \(X^n(1),\dots,X^n(M)\), every letter of every codeword drawn independently from \(p(x)\). Alice and Bob both learn the codebook.
  2. Encoding. To send message \(w\), Alice transmits \(X^n(w)\).
  3. Decoding. Bob receives \(Y^n\). If exactly one codeword \(X^n(\hat w)\) is jointly typical with \(Y^n\), he outputs \(\hat w\); otherwise he declares an error.
  4. Error analysis. Average the error probability over the random codebook. By symmetry, this average is the same for every message, so assume \(w=1\) was sent. Let \(F_v\) be the event that \((X^n(v),Y^n)\) is jointly typical. Bob errs only if the right codeword fails, \(F_1^{c}\), or a wrong one passes, \(F_v\) for some \(v\ne 1\). By the union bound, \[ \Pr[\text{error}]\le\Pr\big[F_1^{c}\big]+\sum_{v=2}^{M}\Pr[F_v]. \] The pair \((X^n(1),Y^n)\) is an input–output pair of the channel, so \(\Pr[F_1^{c}]\le\varepsilon\) for large \(n\) by Theorem 2(a). For \(v\neq 1\), the codeword \(X^n(v)\) was drawn independently of \(X^n(1)\) and of the noise, hence independently of \(Y^n\). By Theorem 2(c), \(\Pr[F_v]\le 2^{-n(I(X;Y)-3\varepsilon)}\). Therefore \begin{equation}\label{eq:union} \Pr[\text{error}]\le\varepsilon+2^{nR}\cdot2^{-n(I(X;Y)-3\varepsilon)}=\varepsilon+2^{-n(I(X;Y)-3\varepsilon-R)}, \end{equation} which is at most \(2\varepsilon\) for large \(n\), because the exponent is negative.
  5. From random to fixed. The average error over messages, averaged over codebooks, is at most \(2\varepsilon\). So some fixed codebook \(\mathcal C^\ast\) has average error \(\bar P_e(\mathcal C^\ast)\le 2\varepsilon\).
  6. From average to maximal error. At most half of the messages of \(\mathcal C^\ast\) can have \(\lambda_w>4\varepsilon\), otherwise the average would exceed \(2\varepsilon\). Throw that half away. The remaining \(M/2\) codewords have maximal error at most \(4\varepsilon\), and the rate drops only to \(R-\frac1n\). ∎
Plot of the error bound 2 to the minus n times I minus R, against block length n, for I equal to 0.5 and rates 0.30, 0.40 and 0.45, all decaying to zero; for rate 0.55 the bound exceeds 1 and is useless.
Figure 6. The bound \(2^{-n(I-R)}\) from \eqref{eq:union}, for \(I=0.5\) bit per use. For every rate below \(I\) it vanishes as the block length \(n\) grows, more slowly as \(R\) approaches \(I\). Above \(I\) the count gives nothing.

For the binary symmetric channel, Example 2 shows that the best input distribution is uniform, so \(C=1-h(p)\). With \(p=0.11\), half of the bits get through, while at \(p=\tfrac12\) the output is independent of the input and nothing does.

Plot of the capacity 1 minus h(p) of the binary symmetric channel: 1 at p equal to 0 and 1, zero at p equal to one half, about 0.5 at p equal to 0.11.
Figure 7. Capacity of the binary symmetric channel, \(C=1-h(p)\).

Random codes in practice

A random codebook is useless in practice: it has \(2^{nR}\) entries and decoding it means checking every one. Shannon’s proof showed that good codes exist and set the target. It took almost fifty years to find practical codes that come close: turbo codes (1993), the rediscovery of Gallager’s LDPC codes (1990s), and Arıkan’s polar codes (2009), which provably reach capacity.

6.Shannon’s theorem, part two: nothing works better

Now take any code with \(M=2^{nR}\) messages and average error \(P_e\), and let the message \(W\) be uniform. We follow the information about \(W\) along the chain

\[ W\;\longrightarrow\;X^n\;\longrightarrow\;Y^n\;\longrightarrow\;\hat W. \]

We need one more lemma, and it is the step to keep an eye on.

Lemma 7 (the memoryless split)

For a memoryless channel and any joint distribution of the inputs \(X_1,\dots,X_n\), even a highly correlated one,

\begin{equation}\label{eq:split} I(X^n;Y^n)\le\sum_{i=1}^n I(X_i;Y_i). \end{equation}

Write \(I(X^n;Y^n)=H(Y^n)-H(Y^n\mid X^n)\). Given the inputs \(x^n\), equation \eqref{eq:memoryless} says the outputs are independent, with distributions \(p(\cdot\mid x_i)\), so \(H(Y^n\mid X^n=x^n)=\sum_i H(Y_i\mid X_i=x_i)\). Averaging over \(x^n\),

\[ H(Y^n\mid X^n)=\sum_{i=1}^n H(Y_i\mid X_i). \]

For the other term, subadditivity \eqref{eq:subadd} gives \(H(Y^n)\le\sum_i H(Y_i)\). Subtracting, \(I(X^n;Y^n)\le\sum_i\big(H(Y_i)-H(Y_i\mid X_i)\big)=\sum_i I(X_i;Y_i)\). ∎

The proof of the converse

Combine the three tools:

\begin{equation}\label{eq:converse} \begin{aligned} nR=H(W)&=I(W;Y^n)+H(W\mid Y^n)\\ &\le I(W;Y^n)+1+P_e\,nR &&\text{(Fano)}\\ &\le I(X^n;Y^n)+1+P_e\,nR &&\text{(data processing)}\\ &\le \sum_{i=1}^n I(X_i;Y_i)+1+P_e\,nR &&\text{(memoryless split)}\\ &\le nC+1+P_e\,nR, \end{aligned} \end{equation}

where \(C=\max_{p(x)}I(X;Y)\) and the last step bounds each term separately. Dividing by \(n\),

\[ R\,(1-P_e)\le C+\frac1n. \]

If the error tends to zero as \(n\to\infty\), then \(R\le C\). Together with Section 5, this proves Theorem 3. ∎

One use is enough

Look again at Lemma 7. Alice may correlate her inputs across the \(n\) uses in any way she likes, and it never helps: the best mutual information over \(n\) uses is exactly \(n\) times the best over one use. That is why Shannon’s formula involves a single use of the channel; it is a single-letter formula, and computing it is a small optimization problem.

The proof of Lemma 7 used two facts about classical probability: given the inputs, the outputs of a memoryless channel are independent, and the uncertainty of a whole is at most the sum of the uncertainties of its parts. In Part II we will reach the same point of the argument, and these are precisely the facts that quantum mechanics changes.

Part II. Quantum channels

The same question for channels that obey quantum mechanics. We follow Shannon’s plan step by step: model, measure of information, typicality, random codes, converse.

7.Quantum mechanics in four rules

For our purposes, finite-dimensional quantum mechanics is a short list of rules about vectors and matrices. Write \(\C^d\) for the space of column vectors with \(d\) complex entries. A vector is written \(\ket{\psi}\) (a “ket”), its conjugate transpose \(\bra{\psi}\) (a “bra”), so that \(\braket{\phi}{\psi}\) is an inner product and \(\ketbra{\psi}{\psi}\) is a \(d\times d\) matrix. The standard basis is \(\ket{0},\ket{1},\dots,\ket{d-1}\).

Rule 1: states are density matrices

A pure state is a unit vector \(\ket\psi\in\C^d\). For a qubit (\(d=2\)),

\[ \ket\psi=\alpha\ket0+\beta\ket1,\qquad|\alpha|^2+|\beta|^2=1. \]

If the system is prepared in state \(\ket{\psi_i}\) with probability \(p_i\), it is described by the density matrix

\begin{equation}\label{eq:rho} \rho=\sum_i p_i\ketbra{\psi_i}{\psi_i},\qquad \rho\ge 0,\quad\tr\rho=1. \end{equation}

Conversely, every positive semidefinite matrix with trace one is a state. A state is pure exactly when \(\rho\) has rank one. Probability distributions are a special case: they are the diagonal density matrices.

Cross-section of the Bloch ball, with the basis states 0 and 1 at the poles and plus and minus on the equator; a pure state is a point on the boundary.
Figure 8. A slice of the Bloch ball. Pure qubit states lie on the surface, mixed states inside.

Every qubit state can be written as \(\rho=\tfrac12\big(I+r_x\PX+r_y\PY+r_z\PZ\big)\) with a real vector \(r\) of length \(|r|\le 1\), where \(\PX,\PY,\PZ\) are the Pauli matrices. So qubit states form a ball, the Bloch ball: pure states on its surface, mixed states inside, the completely mixed state \(I/2\) at its centre.

Rule 2: measurements are POVMs

A measurement with outcomes \(y\) is a collection of positive semidefinite matrices \(\{E_y\}\) with \(\sum_y E_y=I\) (a positive operator-valued measure, or POVM). Measuring a state \(\rho\) gives outcome \(y\) with probability

\begin{equation}\label{eq:born} p(y)=\tr\big(E_y\,\rho\big). \end{equation}

For example, \(E_0=\ketbra00\) and \(E_1=\ketbra11\) measure a qubit in the standard basis. Two states can be told apart perfectly only if they are orthogonal. The states \(\ket0\) and \(\ket+=\frac{1}{\sqrt2}(\ket0+\ket1)\) overlap, and the best possible guess between them (equally likely) is right with probability only \(\tfrac12\big(1+\tfrac1{\sqrt2}\big)\approx 0.854\). So even without any noise, overlapping states behave like a noisy channel.

Rule 3: composite systems use tensor products

Two systems of dimensions \(d_1\) and \(d_2\) together live in \(\C^{d_1}\otimes\C^{d_2}\cong\C^{d_1d_2}\), with basis vectors \(\ket{a}\otimes\ket{b}=\ket{ab}\). A product state \(\rho_A\otimes\rho_B\) describes two independent systems. Most states are not of this form: the Bell state

\[ \ket{\Phi^+}=\tfrac{1}{\sqrt2}\big(\ket{00}+\ket{11}\big) \]

is entangled, meaning it is not a product state (nor a mixture of product states). The state of part \(A\) alone is obtained by the partial trace, defined by \(\tr_B(K\otimes L)=K\,\tr L\) and linearity. For the Bell state, \(\tr_B\ketbra{\Phi^+}{\Phi^+}=I/2\): each half alone is completely random, while the pair is in a definite pure state. Note that \(n\) qubits live in a space of dimension \(2^n\).

Rule 4: channels are CPTP maps

A quantum channel \(\N\) is a linear map sending \(d_A\times d_A\) density matrices to \(d_B\times d_B\) density matrices, which stays valid when applied to one half of a larger system (“completely positive and trace preserving”). Every channel can be written in Kraus form,

\begin{equation}\label{eq:kraus} \N(\rho)=\sum_k A_k\,\rho\,A_k^\dagger,\qquad \sum_k A_k^\dagger A_k=I. \end{equation}

Examples: the depolarizing channel \(\rho\mapsto(1-p)\rho+p\,I/d\), which for a qubit shrinks the Bloch ball by the factor \(1-p\); and the random unitary channel \(\rho\mapsto\sum_i p_i\,U_i\rho U_i^\dagger\), which applies the unitary \(U_i\) with probability \(p_i\). Using the channel \(n\) times without memory means applying \(\N^{\otimes n}\), which acts on product states factor by factor, \(\N^{\otimes n}(\rho_1\otimes\cdots\otimes\rho_n)=\N(\rho_1)\otimes\cdots\otimes\N(\rho_n)\), and on all other states by linearity. A classical channel is the special case in which everything is diagonal.

The quantum measure of uncertainty

Definition 8 (von Neumann entropy)

If \(\rho\) has eigenvalues \(\lambda_1,\dots,\lambda_d\), its entropy is the Shannon entropy of the eigenvalues:

\begin{equation}\label{eq:vn} S(\rho)=-\tr\big(\rho\log\rho\big)=-\sum_{j}\lambda_j\log\lambda_j. \end{equation}

Its basic properties mirror the classical ones.

  • \(0\le S(\rho)\le\log d\), with \(S(\rho)=0\) exactly for pure states. For a qubit with Bloch vector \(r\), the eigenvalues are \(\frac{1\pm|r|}{2}\), so \(S(\rho)=h\big(\tfrac{1+|r|}{2}\big)\).
  • Additivity for products: \(S(\rho\otimes\sigma)=S(\rho)+S(\sigma)\), since the eigenvalues of \(\rho\otimes\sigma\) are the products of eigenvalues.
  • Subadditivity: for a state \(\rho_{AB}\) of two systems with parts \(\rho_A,\rho_B\), \(S(\rho_{AB})\le S(\rho_A)+S(\rho_B)\).
  • Block-diagonal states: if \(\omega=\sum_x p_x\ketbra{x}{x}\otimes\sigma_x\), then \(S(\omega)=H(p)+\sum_x p_x S(\sigma_x)\), since the eigenvalues of \(\omega\) are \(p_x\) times those of \(\sigma_x\).

Subadditivity comes from the quantum version of Gibbs’ inequality. The quantum relative entropy \(D(\rho\,\|\,\sigma)=\tr\rho\,(\log\rho-\log\sigma)\) is nonnegative (Klein’s inequality), and a short computation with \(\log(\rho_A\otimes\rho_B)=\log\rho_A\otimes I+I\otimes\log\rho_B\) shows \(D(\rho_{AB}\,\|\,\rho_A\otimes\rho_B)=S(\rho_A)+S(\rho_B)-S(\rho_{AB})\). Applied to a block-diagonal state, subadditivity gives concavity: \(S\big(\sum_x p_x\sigma_x\big)\ge\sum_x p_x S(\sigma_x)\).

One classical fact does fail. For the Bell state, \(S(\rho_{AB})=0\) while \(S(\rho_A)=S(\rho_B)=1\): the whole is less uncertain than its parts. Classically \(H(X,Y)\ge H(X)\) always. This single difference is the seed of everything surprising in Part II.

8.Sending bits with quantum states

The communication problem is the same as before, with quantum ingredients. Alice wants to send a message \(w\in\{1,\dots,M\}\) using \(n\) uses of a quantum channel \(\N\).

  • Encoding. Alice prepares a state \(\rho_w\) of all \(n\) input systems.
  • Transmission. Bob receives \(\N^{\otimes n}(\rho_w)\).
  • Decoding. Bob performs a measurement \(\{\Lambda_1,\dots,\Lambda_M\}\) on all \(n\) outputs together. The error probability of message \(w\) is \(\lambda_w=1-\tr\big(\Lambda_w\,\N^{\otimes n}(\rho_w)\big)\).

Rate, achievability and the capacity \(C(\N)\) are defined exactly as in Definitions 2 and 3. There is one genuinely new choice. Codewords can be of two kinds:

  • product codewords \(\rho_w=\rho_{w,1}\otimes\rho_{w,2}\otimes\cdots\otimes\rho_{w,n}\), where each channel use gets its own state, like a classical codeword;
  • entangled codewords, where \(\rho_w\) is an arbitrary state of the \(n\) inputs, possibly entangled across the channel uses.

In both cases Bob may use a collective measurement that acts on all outputs at once, which turns out to be essential.

Product codewords Entangled codewords joint measure- ment ŵ separate states n uses joint measure- ment ŵ one entangled state n uses
Figure 9. Two ways to use a quantum channel \(n\) times (three uses are drawn). Left: a product codeword \(\rho_{w,1}\otimes\rho_{w,2}\otimes\rho_{w,3}\). Right: an entangled codeword, a single state \(\rho_w\) of all the inputs. In both cases Bob measures all outputs jointly.

Imitating Shannon

To guess the formula, translate Shannon’s ingredients. An input distribution becomes an ensemble \(\{p_x,\rho_x\}\): Alice prepares the input state \(\rho_x\) with probability \(p_x\). The channel turns it into the output \(\sigma_x=\N(\rho_x)\), and the average output is \(\sigma=\sum_x p_x\sigma_x\). The uncertainty of the output, \(H(Y)\), becomes \(S(\sigma)\); the uncertainty added by the noise, \(H(Y\mid X)\), becomes \(\sum_x p_x S(\sigma_x)\). Their difference is the quantum analogue of mutual information.

Definition 9 (Holevo information)

The Holevo quantity of an ensemble of output states is

\begin{equation}\label{eq:chi} \chi\big(\{p_x,\sigma_x\}\big)=S\Big(\sum_x p_x\sigma_x\Big)-\sum_x p_x\,S(\sigma_x), \end{equation}

and the Holevo information of the channel is \(\chi(\N)=\max\chi\big(\{p_x,\N(\rho_x)\}\big)\), the maximum over all input ensembles.

When all the \(\sigma_x\) are diagonal in a common basis, \(\chi\) is exactly the classical mutual information of the induced classical channel. By concavity of \(S\), \(\chi\ge 0\), and \(\chi\le S(\sigma)\le\log d_B\). The next four sections show that \(\chi(\N)\) is the capacity with product codewords, by redoing Sections 4 to 6.

9.Holevo’s bound: the quantum data processing step

Bob’s measurement turns quantum states into classical outcomes. The first question is how much classical information one measurement can extract.

Theorem 4 (Holevo’s bound, 1973)

Let Alice choose \(x\) with probability \(p_x\) and send \(\sigma_x\), and let Bob measure with any POVM \(\{E_y\}\), obtaining outcome \(Y\). Then

\begin{equation}\label{eq:holevo-bound} I(X;Y)\le\chi\big(\{p_x,\sigma_x\}\big). \end{equation}

Store Alice’s choice in a classical register and form the block-diagonal state \(\omega_{XB}=\sum_x p_x\ketbra{x}{x}\otimes\sigma_x\). Its quantum mutual information is

\[ I(X;B)_\omega=S(\omega_X)+S(\omega_B)-S(\omega_{XB})=H(p)+S(\sigma)-\Big(H(p)+\sum_x p_xS(\sigma_x)\Big)=\chi, \]

using the entropy of block-diagonal states, and, as computed in Section 7, \(I(X;B)_\omega=D(\omega_{XB}\,\|\,\omega_X\otimes\omega_B)\). The measurement is itself a channel, \(\mathcal M(\tau)=\sum_y\tr(E_y\tau)\ketbra{y}{y}\). Applying it to \(B\) turns \(\omega_{XB}\) into the classical joint distribution \(p_x\,p(y\mid x)\) of \((X,Y)\), and turns \(\omega_X\otimes\omega_B\) into the product of the marginals. The relative entropy between them is \(I(X;Y)\). Finally we use a deep theorem: quantum relative entropy cannot increase under a channel, \(D(\mathcal M(\rho)\,\|\,\mathcal M(\tau))\le D(\rho\,\|\,\tau)\) (Lindblad 1975, Uhlmann 1977, building on the strong subadditivity theorem of Lieb and Ruskai, 1973). Hence \(I(X;Y)\le I(X;B)_\omega=\chi\). ∎

Holevo’s bound is the quantum version of the data processing inequality, and it has a striking consequence. Since \(\chi\le S(\sigma)\le\log d\), a qubit can carry at most one bit, even though it has a continuum of possible states.

Example 3 (two overlapping states)

Let Alice send \(\ket0\) or \(\ket+\) with probability \(\tfrac12\) each, over a noiseless qubit. The average state \(\sigma=\tfrac12\big(\ketbra00+\ketbra{+}{+}\big)\) has eigenvalues \(\tfrac12\big(1\pm\tfrac{1}{\sqrt2}\big)\approx 0.854,\,0.146\), and the two states are pure, so

\[ \chi=S(\sigma)=h(0.854)\approx 0.601\ \text{bit}. \]

The best single measurement, however, gives only about \(1-h(0.146)\approx 0.399\) bit. Holevo’s bound is not reached by measuring one system at a time. We will see that it is reached by long codewords and collective measurements.

10.Typical subspaces: the quantum law of large numbers

Classically, \(n\) independent copies of a source concentrate on about \(2^{nH}\) typical sequences. The quantum analogue is a statement about \(\sigma^{\otimes n}\), the state of \(n\) independent copies of \(\sigma\).

The typical subspace

Diagonalize \(\sigma=\sum_j\lambda_j\ketbra{e_j}{e_j}\). Then

\[ \sigma^{\otimes n}=\sum_{j_1,\dots,j_n}\lambda_{j_1}\cdots\lambda_{j_n}\;\ketbra{e_{j_1}\cdots e_{j_n}}{e_{j_1}\cdots e_{j_n}}. \]

The eigenvalues \(\lambda_{j_1}\cdots\lambda_{j_n}\) are exactly the probabilities of an independent sequence \(j^n\) drawn from the distribution \(\lambda\). So Section 4 applies to the eigenvalues. Let \(\Pi\) be the projector onto the span of the eigenvectors \(\ket{e_{j_1}\cdots e_{j_n}}\) whose label sequence \(j^n\) is typical for \(\lambda\): the typical subspace. Since the entropy of \(\lambda\) is \(S(\sigma)\), Theorem 1 translates directly.

Theorem 5 (typical subspace)

For every \(\varepsilon,\delta>0\) and all large \(n\):

  1. \(\tr\big(\Pi\,\sigma^{\otimes n}\big)\ge 1-\varepsilon\): almost all of the state lies in the typical subspace;
  2. \(\tr\Pi\le 2^{n(S(\sigma)+\delta)}\): the typical subspace has dimension at most about \(2^{nS(\sigma)}\);
  3. \(\Pi\,\sigma^{\otimes n}\,\Pi\le 2^{-n(S(\sigma)-\delta)}\,\Pi\): on the typical subspace, every eigenvalue is at most about \(2^{-nS(\sigma)}\).

Here \(A\le B\) means that \(B-A\) is positive semidefinite. As in the aside of Section 4, part (b) gives Schumacher compression: \(n\) copies of \(\sigma\) can be stored in about \(nS(\sigma)\) qubits.

Noise subspaces of codewords

Now fix an ensemble \(\{p_x,\sigma_x\}\) of output states and a product codeword with letters \(x^n=(x_1,\dots,x_n)\). Its output is \(\sigma_{x^n}=\sigma_{x_1}\otimes\cdots\otimes\sigma_{x_n}\). Call \(x^n\) letter-typical if each letter \(x\) appears \(n_x\) times with \(|n_x/n-p_x|\le\delta\); a random codeword is letter-typical with probability tending to one, by the law of large numbers. Group the positions by letter: \(\sigma_{x^n}\) is, up to reordering, \(\bigotimes_x\sigma_x^{\otimes n_x}\). Let \(\Pi_{x^n}\) be the tensor product of the typical projectors of the blocks \(\sigma_x^{\otimes n_x}\), and set \(\Pi_{x^n}=0\) when \(x^n\) is not letter-typical. Writing \(\bar S=\sum_x p_xS(\sigma_x)\), Theorem 5 applied block by block gives the following.

Theorem 6 (conditionally typical subspaces)

  1. If \(X^n\) is a random codeword with letters drawn independently from \(p\), then \(\E\,\tr\big(\Pi_{X^n}\sigma_{X^n}\big)\ge 1-\varepsilon\) for all large \(n\).
  2. For every \(x^n\), \(\tr\Pi_{x^n}\le 2^{n(\bar S+\delta')}\), where \(\delta'\to 0\) as \(\delta\to 0\).

(a) For letter-typical \(x^n\), each block length \(n_x\) is large, so each block keeps all but a small fraction of its weight, and the trace of a tensor product is the product of the traces. Atypical codewords have small probability. (b) The dimension of a tensor product is the product of dimensions: \(\prod_x 2^{n_x(S(\sigma_x)+\delta)}\), and \(\sum_x n_xS(\sigma_x)\le n\big(\bar S+\delta\,|\Xc|\log d\big)\) for letter-typical \(x^n\). ∎

This is the quantum version of the noise-ball picture. Each codeword’s output lives, up to a small error, in a noise subspace of dimension about \(2^{n\bar S}\), inside the typical subspace of dimension about \(2^{nS(\sigma)}\). Nearly orthogonal subspaces can be told apart by a measurement, and the counting of \eqref{eq:count} becomes

\begin{equation}\label{eq:qcount} \frac{2^{nS(\sigma)}}{2^{n\bar S}}=2^{n\,\chi}. \end{equation}

11.The HSW theorem: capacity with product codewords

Theorem 7 (Holevo 1998; Schumacher and Westmoreland 1997)

The largest rate achievable with product codewords, and any decoding measurement, is the Holevo information

\begin{equation}\label{eq:hsw} \chi(\N)=\max_{\{p_x,\rho_x\}}\Big[S\Big(\sum_x p_x\N(\rho_x)\Big)-\sum_x p_x\,S\big(\N(\rho_x)\big)\Big]. \end{equation}

Achievability

We copy Section 5. Fix an ensemble with outputs \(\sigma_x=\N(\rho_x)\), average output \(\sigma\), Holevo quantity \(\chi\), and a rate \(R<\chi\). Draw \(M=2^{nR}\) random codewords \(X^n(1),\dots,X^n(M)\) with independent letters from \(p\); codeword \(w\) is the product state \(\rho_{X^n(w)}\), and its output is \(\sigma_{X^n(w)}\). The only new ingredient is Bob’s decoder. Classically he checked which noise ball contains \(y^n\); now he measures which noise subspace the output lies in. Define the positive operators

\[ P_w=\Pi\,\Pi_{X^n(w)}\,\Pi,\qquad 0\le P_w\le I, \]

which test for “typical, and inside the noise subspace of codeword \(w\)”, and turn them into a measurement with the square-root measurement

\begin{equation}\label{eq:prettygood} \Lambda_w=\Big(\sum_{v}P_v\Big)^{-1/2}P_w\Big(\sum_{v}P_v\Big)^{-1/2}, \end{equation}

where the inverse square root is taken on the support of \(\sum_v P_v\), and an extra outcome \(\Lambda_0=I-\sum_w\Lambda_w\) means “error”. Two lemmas from matrix analysis take the place of the union bound.

Lemma 8 (Hayashi and Nagaoka, 2003)

If \(0\le S\le I\) and \(T\ge 0\), then \(I-(S+T)^{-1/2}S\,(S+T)^{-1/2}\le 2(I-S)+4T\).

Lemma 9 (gentle measurement; Winter, 1999)

If \(\rho\) is a state and \(\Pi\) a projector with \(\tr(\Pi\rho)\ge 1-\varepsilon\), then \(\|\rho-\Pi\rho\Pi\|_1\le 2\sqrt\varepsilon\), where \(\|\cdot\|_1\) is the sum of the absolute values of the eigenvalues. A test that almost surely passes barely disturbs the state.

Apply Lemma 8 with \(S=P_w\) and \(T=\sum_{v\neq w}P_v\), and take the trace against the output \(\sigma_{X^n(w)}\):

\begin{equation}\label{eq:hn-error} \lambda_w\le 2\,\tr\big[(I-P_w)\,\sigma_{X^n(w)}\big]+4\sum_{v\neq w}\tr\big[P_v\,\sigma_{X^n(w)}\big]. \end{equation}

This is the exact analogue of the two error events of Section 5: the right codeword failing its test, and a wrong codeword passing. Now average over the random codebook.

  • The right codeword passes. Since \(\tr(P_w\sigma_{X^n(w)})=\tr(\Pi_{X^n(w)}\,\Pi\sigma_{X^n(w)}\Pi)\), it differs from \(\tr(\Pi_{X^n(w)}\sigma_{X^n(w)})\) by at most \(\|\Pi\sigma_{X^n(w)}\Pi-\sigma_{X^n(w)}\|_1\). Theorem 6(a) bounds the main term. For the correction, the average of the codeword states is \(\E\,\sigma_{X^n}=\sigma^{\otimes n}\), so \(\E\,\tr(\Pi\,\sigma_{X^n})=\tr(\Pi\sigma^{\otimes n})\ge 1-\varepsilon\) by Theorem 5(a), and Lemma 9 with the concavity of the square root bounds the average correction by \(2\sqrt\varepsilon\). So the first term of \eqref{eq:hn-error} averages to at most \(2(\varepsilon+2\sqrt\varepsilon)\).
  • A wrong codeword passes. For \(v\neq w\) the codewords are independent, so we may average \(\sigma_{X^n(w)}\) first, which gives \(\sigma^{\otimes n}\). Then Theorem 5(c) and Theorem 6(b) give \[ \E\,\tr\big[P_v\,\sigma_{X^n(w)}\big]=\E\,\tr\big[\Pi_{X^n(v)}\,\Pi\,\sigma^{\otimes n}\,\Pi\big]\le 2^{-n(S(\sigma)-\delta)}\;\E\,\tr\Pi_{X^n(v)}\le 2^{-n(\chi-\delta-\delta')}. \]

Adding up, the error averaged over the random codebook is at most

\begin{equation}\label{eq:q-union} 2\big(\varepsilon+2\sqrt\varepsilon\big)+4\cdot 2^{nR}\cdot 2^{-n(\chi-\delta-\delta')}, \end{equation}

which is small for large \(n\) as soon as \(R<\chi-\delta-\delta'\): the same competition between \(2^{nR}\) codewords and a chance of about \(2^{-n\chi}\) as in \eqref{eq:union}. Steps 5 and 6 of Section 5 then give a fixed codebook with small maximal error. Maximizing over ensembles proves that every rate below \(\chi(\N)\) is achievable. ∎

The measurement \eqref{eq:prettygood} acts on all \(n\) outputs at once. This is not a technicality: in Example 3 such collective measurements raise the rate from \(0.399\) to \(0.601\) bit per use.

Converse for product codewords

Take a code with product codewords \(\rho_w=\rho_{w,1}\otimes\cdots\otimes\rho_{w,n}\), uniform messages and error \(P_e\). Fano’s inequality is unchanged and Holevo’s bound replaces data processing. Write \(\sigma_{w,i}=\N(\rho_{w,i})\) and \(\bar\sigma_i=\frac1M\sum_w\sigma_{w,i}\) for the average output at position \(i\). Then the average of all \(M\) outputs has the \(\bar\sigma_i\) as its parts, and

\[ \begin{aligned} nR&\le 1+P_e\,nR+\chi\Big(\Big\{\tfrac1M,\ \textstyle\bigotimes_i\sigma_{w,i}\Big\}\Big) &&\text{(Fano and Holevo)}\\ &= 1+P_e\,nR+S\Big(\tfrac1M\textstyle\sum_w\bigotimes_i\sigma_{w,i}\Big)-\tfrac1M\textstyle\sum_w\sum_i S(\sigma_{w,i}) &&\text{(additivity for products)}\\ &\le 1+P_e\,nR+\textstyle\sum_i\Big[S(\bar\sigma_i)-\tfrac1M\sum_wS(\sigma_{w,i})\Big] &&\text{(subadditivity)}\\ &\le 1+P_e\,nR+n\,\chi(\N). \end{aligned} \]

This is the quantum memoryless split. It works because product codewords have product outputs, whose entropy splits exactly. Dividing by \(n\) and letting \(P_e\to 0\) gives \(R\le\chi(\N)\). ∎

12.Entangled codewords and the full capacity

What if Alice entangles her inputs across channel uses? Look at the converse we just proved. Its last two lines used the entropy of a codeword’s output splitting into a sum over channel uses. For an entangled codeword \(\rho_w\), the output \(\N^{\otimes n}(\rho_w)\) is no longer a product, and nothing forces its entropy to be a sum of single-use entropies. Section 7 showed that a whole can be less uncertain than the sum of its parts, and smaller output entropy means smaller noise subspaces. The quantum memoryless split can fail.

What survives is the following. Holevo’s bound applied to all \(n\) uses at once gives \(nR\le 1+P_e\,nR+\chi(\N^{\otimes n})\), where \(\chi(\N^{\otimes n})\) allows arbitrary, entangled ensembles. In the other direction, Alice can treat \(k\) uses as a single channel \(\N^{\otimes k}\), entangle freely inside each block, and use product codewords across blocks; by Theorem 7 this achieves the rate \(\chi(\N^{\otimes k})/k\).

Theorem 8 (classical capacity of a quantum channel)

\begin{equation}\label{eq:regularized} C(\N)=\lim_{k\to\infty}\frac{1}{k}\,\chi\big(\N^{\otimes k}\big)=\sup_{k\ge 1}\frac1k\,\chi\big(\N^{\otimes k}\big)\ \ge\ \chi(\N). \end{equation}

The two paragraphs above give \(\sup_k\chi(\N^{\otimes k})/k\le C(\N)\le\limsup_n\chi(\N^{\otimes n})/n\). The sequence \(a_k=\chi(\N^{\otimes k})\) is superadditive, \(a_{j+k}\ge a_j+a_k\): use the product of an optimal ensemble for \(j\) uses and one for \(k\) uses, whose Holevo quantity is the sum. For a superadditive sequence with \(a_k\le k\log d_B\), Fekete’s lemma says that \(a_k/k\) converges to \(\sup_k a_k/k\). So all three quantities agree. ∎

Formula \eqref{eq:regularized} is correct but hard to use: it asks for an optimization over states of \(k\) systems, whose dimension grows like \(d^k\), in the limit \(k\to\infty\). It would collapse to Shannon-style simplicity if the Holevo information were additive:

\begin{equation}\label{eq:additivity} \chi\big(\N^{\otimes k}\big)=k\,\chi(\N)\ \text{ for all }k\qquad\Longleftrightarrow\qquad C(\N)=\chi(\N). \end{equation}

Additivity means that entanglement between channel uses never helps. It was proved for many important channels, including entanglement-breaking channels (Shor 2002), unital qubit channels (King 2002) and depolarizing channels (King 2003), and it was widely conjectured to hold for all channels. In 2004 Shor showed that this additivity conjecture is equivalent to the additivity of a simpler quantity, the minimum output entropy

\[ \Smin(\N)=\min_{\rho}S\big(\N(\rho)\big), \]

namely to the statement \(\Smin(\N\otimes\mathcal M)=\Smin(\N)+\Smin(\mathcal M)\) for all channels \(\N,\mathcal M\). The intuition is the noise-subspace picture: for channels with enough symmetry, \(\chi(\N)=\log d_B-\Smin(\N)\), so a smaller output entropy is exactly a larger capacity.

13.Does entanglement help? Hastings’ answer

Theorem 9 (Hastings, 2009)

There are channels \(\N\) for which \(\Smin(\N\otimes\Nb)<\Smin(\N)+\Smin(\Nb)\), where \(\Nb\) is the complex conjugate channel. Consequently, there are channels with \(C(\N)>\chi(\N)\): for them, entangled codewords carry strictly more information than any product codewords.

Hastings’ channels are random unitary channels, \(\N(\rho)=\frac1r\sum_{i=1}^{r}U_i\rho U_i^\dagger\), with \(r\) unitaries chosen at random in a very large dimension \(d\), and \(\Nb(\rho)=\frac1r\sum_i\bar U_i\rho\bar U_i^{\dagger}\) uses the complex conjugates. The mechanism is noise cancellation. Feed the maximally entangled state \(\ket\Phi=\frac{1}{\sqrt d}\sum_j\ket{jj}\) into \(\N\otimes\Nb\). It has the special property \((U\otimes\bar U)\ket\Phi=\ket\Phi\) for every unitary \(U\). So whenever the two uses happen to apply the same noise, \(U_i\) and \(\bar U_i\), the noise cancels and the state comes out untouched:

\[ (\N\otimes\Nb)(\Phi)=\frac{1}{r^2}\sum_{i,j}(U_i\otimes\bar U_j)\,\Phi\,(U_i\otimes\bar U_j)^\dagger\ \ge\ \frac{1}{r}\,\Phi. \]

So the output has an eigenvalue of at least \(1/r\), a spike, and its entropy is at most about \(2\log r-\frac{\log r}{r}\). The hard part of Hastings’ proof is the other direction: using concentration of measure, he showed that for random unitaries every product input has a nearly flat output spectrum, with entropy at least about \(\log r-\frac{c}{r}\) per use for a constant \(c\). Once \(\log r>2c\), the entangled input wins.

Two rows with the same two channel uses and the same output space. Product codewords: noise adds up, large output clouds, 7 codewords fit. Entangled codewords: matching noise cancels, smaller output clouds, 14 codewords fit.
Figure 10. Why entanglement can help, drawn in the noise-ball language of Figure 5. With the same channel and the same output space, entangled inputs come out less noisy, so their noise balls are smaller and more codewords fit. The counts are illustrative.

Hastings’ proof is probabilistic: it shows that random channels in huge dimensions violate additivity, without exhibiting a specific one. The effect is also small. Understanding it has driven a great deal of recent work, including explicit, deterministic families of channels for which entanglement helps (Lovitz and Wu, 2026; Cheng, Lovitz and Wu, 2026). Basic questions remain open. Does entanglement ever help for a qubit channel? What is the smallest dimension in which it can help? The answers are not known.

Summary: the same plan, new ingredients

Classical (Shannon)Quantum
Letterssymbols \(x\)states \(\rho_x\)
Channel\(p(y\mid x)\), used as \(p(y^n\mid x^n)=\prod_i p(y_i\mid x_i)\)\(\N\), used as \(\N^{\otimes n}\)
UncertaintyShannon entropy \(H\)von Neumann entropy \(S\)
Concentrationabout \(2^{nH}\) typical sequencestypical subspace of dimension about \(2^{nS}\)
Decodingfind the noise ball containing \(y^n\)collective square-root measurement
Data processing\(I(W;Y^n)\le I(X^n;Y^n)\)Holevo’s bound \(I(X;Y)\le\chi\)
Rate formula\(I(X;Y)=H(Y)-H(Y\mid X)\)\(\chi=S(\sigma)-\sum_xp_xS(\sigma_x)\)
Memoryless splitalways holds: \(C=\max I(X;Y)\)can fail: \(C(\N)\ge\chi(\N)\), sometimes strictly

Exercises

Exercise 1

Show that \(H(X)=\log|\Xc|\) only for the uniform distribution.

Hint

Use the equality case of Gibbs’ inequality with \(q\) uniform.

Exercise 2

Show that the binary erasure channel with erasure probability \(\varepsilon\) has capacity \(1-\varepsilon\).

Hint

If the output is a question mark, nothing is learned about \(X\); otherwise \(X\) is known. So \(H(X\mid Y)=\varepsilon H(X)\) and \(I(X;Y)=H(X)-H(X\mid Y)=(1-\varepsilon)H(X)\), maximized by the uniform input.

Exercise 3

Verify the repetition-code numbers of Section 2: on the binary symmetric channel with \(p=0.1\), majority voting over 3, 5 and 7 copies gives errors \(0.028\), \(0.0086\) and \(0.0027\).

Hint

With \(2t+1\) copies, Bob errs when at least \(t+1\) of them flip: \(\sum_{k\ge t+1}\binom{2t+1}{k}p^k(1-p)^{2t+1-k}\).

Exercise 4

Show that equality holds in Lemma 7 when the inputs \(X_1,\dots,X_n\) are independent.

Hint

With independent inputs and a memoryless channel, the pairs \((X_i,Y_i)\) are independent, so the outputs \(Y_i\) are independent and \(H(Y^n)=\sum_iH(Y_i)\).

Exercise 5

For the Bell state, compute \(\rho_A=\tr_B\ketbra{\Phi^+}{\Phi^+}\) and check that \(S(\rho_{AB})=0\) and \(S(\rho_A)=1\). Why can this never happen for classical random variables?

Hint

Expand \(\ketbra{\Phi^+}{\Phi^+}\) in the basis \(\ket{ab}\) and trace out the second qubit. Classically \(H(X,Y)=H(X)+H(Y\mid X)\ge H(X)\).

Exercise 6

For the qubit depolarizing channel \(\rho\mapsto(1-p)\rho+p\,I/2\), show that the ensemble \(\{\tfrac12:\ket0,\ \tfrac12:\ket1\}\) has Holevo quantity \(1-h(p/2)\). (King proved in 2003 that this is \(\chi\) of the channel, and that it is additive.)

Hint

Each output has eigenvalues \(1-\tfrac p2\) and \(\tfrac p2\); the average output is \(I/2\).

Exercise 7

In Example 3, show that measuring in the orthonormal basis placed symmetrically around the two states gives error probability \(\tfrac12\big(1-\tfrac{1}{\sqrt2}\big)\approx 0.146\), and mutual information \(1-h(0.146)\approx 0.399\) bit.

Hint

By symmetry the induced classical channel is a binary symmetric channel; use Example 2.

Exercise 8

Show that \(\chi(\N\otimes\mathcal M)\ge\chi(\N)+\chi(\mathcal M)\).

Hint

Use the product ensemble \(\{p_xq_y,\ \rho_x\otimes\tau_y\}\) of two optimal ensembles, and additivity of \(S\) on product states.

Further reading

  • C. E. Shannon, “A mathematical theory of communication,” Bell System Technical Journal 27, 379–423 and 623–656 (1948). Still a pleasure to read.
  • T. M. Cover and J. A. Thomas, Elements of Information Theory, 2nd ed., Wiley (2006). The standard textbook; Chapters 2, 3 and 7 cover Part I.
  • D. J. C. MacKay, Information Theory, Inference, and Learning Algorithms, Cambridge University Press (2003). Free online; strong on intuition and practical codes.
  • M. A. Nielsen and I. L. Chuang, Quantum Computation and Quantum Information, Cambridge University Press (2010). Chapters 2, 8, 11 and 12 cover Part II.
  • M. M. Wilde, Quantum Information Theory, 2nd ed., Cambridge University Press (2017); free version at arXiv:1106.1445. Complete proofs of everything in Part II.
  • A. S. Holevo, Problems of Information Transmission 9, 177 (1973); IEEE Trans. Inf. Theory 44, 269 (1998). B. Schumacher and M. D. Westmoreland, Phys. Rev. A 56, 131 (1997).
  • M. Hayashi and H. Nagaoka, IEEE Trans. Inf. Theory 49, 1753 (2003). A. Winter, IEEE Trans. Inf. Theory 45, 2481 (1999).
  • P. W. Shor, “Equivalence of additivity questions in quantum information theory,” Commun. Math. Phys. 246, 453 (2004).
  • M. B. Hastings, “Superadditivity of communication capacity using entangled inputs,” Nature Physics 5, 255 (2009).
  • G. Aubrun and S. J. Szarek, Alice and Bob Meet Banach, American Mathematical Society (2017). The geometry and probability behind Hastings’ theorem.
  • B. Lovitz and P. Wu, arXiv:2608.25961 (2026); H.-C. Cheng, B. Lovitz and P. Wu, arXiv:2609.26743 (2026). Explicit channels for which entanglement helps.