# Quantum capacity

In the theory of quantum communication, the quantum capacity is the highest rate at which quantum information can be communicated over many independent uses of a noisy quantum channel from a sender to a receiver. It is also equal to the highest rate at which entanglement can be generated over the channel, and forward classical communication cannot improve it. The quantum capacity theorem is important for the theory of quantum error correction, and more broadly for the theory of quantum computation. The theorem giving a lower bound on the quantum capacity of any channel is colloquially known as the LSD theorem, after the authors Lloyd, Shor, and Devetak who proved it with increasing standards of rigor.

## Hashing bound for Pauli channels

The LSD theorem states that the coherent information of a quantum channel is an achievable rate for reliable quantum communication. For a Pauli channel, the coherent information has a simple form and the proof that it is achievable is particularly simple as well. We prove the theorem for this special case by exploiting random stabilizer codes and correcting only the likely errors that the channel produces.
Theorem (hashing bound). There exists a stabilizer quantum error-correcting code that achieves the hashing limit $R=1-H\left(\mathbf {p} \right)$ for a Pauli channel of the following form:$\rho \mapsto p_{I}\rho +p_{X}X\rho X+p_{Y}Y\rho Y+p_{Z}Z\rho Z,$where $\mathbf {p} =\left(p_{I},p_{X},p_{Y},p_{Z}\right)$ and $H\left(\mathbf {p} \right)$ is the entropy of this probability vector.
Proof. Consider correcting only the typical errors. That is, consider defining the typical set of errors as follows:$T_{\delta }^{\mathbf {p} ^{n}}\equiv \left\{a^{n}:\left\vert -{\frac {1}{n}}\log _{2}\left(\Pr \left\{E_{a^{n}}\right\}\right)-H\left(\mathbf {p} \right)\right\vert \leq \delta \right\},$where $a^{n}$ is some sequence consisting of the letters $\left\{I,X,Y,Z\right\}$ and $\Pr \left\{E_{a^{n}}\right\}$ is the probability that an IID Pauli channel issues some tensor-product error $E_{a^{n}}\equiv E_{a_{1}}\otimes \cdots \otimes E_{a_{n}}$. This typical set consists of the likely errors in the sense that$\sum _{a^{n}\in T_{\delta }^{\mathbf {p} ^{n}}}\Pr \left\{E_{a^{n}}\right\}\geq 1-\epsilon ,$for all $\epsilon >0$ and sufficiently large $n$. The error-correcting conditions for a stabilizer code ${\mathcal {S}}$ in this case are that $\{E_{a^{n}}:a^{n}\in T_{\delta }^{\mathbf {p} ^{n}}\}$ is a correctable set of errors if
$E_{a^{n}}^{\dagger }E_{b^{n}}\notin N\left({\mathcal {S}}\right)\backslash {\mathcal {S}},$for all error pairs $E_{a^{n}}$ and $E_{b^{n}}$ such that $a^{n},b^{n}\in T_{\delta }^{\mathbf {p} ^{n}}$ where $N({\mathcal {S}})$ is the normalizer of ${\mathcal {S}}$. Also, we consider the expectation of the error probability under a random choice of a stabilizer code.
Proceed as follows:${\begin{aligned}\mathbb {E} _{\mathcal {S}}\left\{p_{e}\right\}&=\mathbb {E} _{\mathcal {S}}\left\{\sum _{a^{n}}\Pr \left\{E_{a^{n}}\right\}{\mathcal {I}}\left(E_{a^{n}}{\text{ is uncorrectable under }}{\mathcal {S}}\right)\right\}\\&\leq \mathbb {E} _{\mathcal {S}}\left\{\sum _{a^{n}\in T_{\delta }^{\mathbf {p} ^{n}}}\Pr \left\{E_{a^{n}}\right\}{\mathcal {I}}\left(E_{a^{n}}{\text{ is uncorrectable under }}{\mathcal {S}}\right)\right\}+\epsilon \\&=\sum _{a^{n}\in T_{\delta }^{\mathbf {p} ^{n}}}\Pr \left\{E_{a^{n}}\right\}\mathbb {E} _{\mathcal {S}}\left\{{\mathcal {I}}\left(E_{a^{n}}{\text{ is uncorrectable under }}{\mathcal {S}}\right)\right\}+\epsilon \\&=\sum _{a^{n}\in T_{\delta }^{\mathbf {p} ^{n}}}\Pr \left\{E_{a^{n}}\right\}\Pr _{\mathcal {S}}\left\{E_{a^{n}}{\text{ is uncorrectable under }}{\mathcal {S}}\right\}+\epsilon .\end{aligned}}$The first equality follows by definition—${\mathcal {I}}$ is an indicator function equal to one if $E_{a^{n}}$ is uncorrectable under ${\mathcal {S}}$ and equal to zero otherwise. The first inequality follows, since we correct only the typical errors because the atypical error set has negligible probability mass. The second equality follows by exchanging the expectation and the sum. The third equality follows because the expectation of an indicator function is the probability that the event it selects occurs.
Continuing, we have:$=\sum _{a^{n}\in T_{\delta }^{\mathbf {p} ^{n}}}\Pr \left\{E_{a^{n}}\right\}\Pr _{\mathcal {S}}\left\{\exists E_{b^{n}}:b^{n}\in T_{\delta }^{\mathbf {p} ^{n}},\ b^{n}\neq a^{n},\ E_{a^{n}}^{\dagger }E_{b^{n}}\in N\left({\mathcal {S}}\right)\backslash {\mathcal {S}}\right\}$
    $\leq \sum _{a^{n}\in T_{\delta }^{A^{n}}}\Pr \left\{E_{a^{n}}\right\}\Pr _{\mathcal {S}}\left\{\exists E_{b^{n}}:b^{n}\in T_{\delta }^{\mathbf {p} ^{n}},\ b^{n}\neq a^{n},\ E_{a^{n}}^{\dagger }E_{b^{n}}\in N\left({\mathcal {S}}\right)\right\}$
    $=\sum _{a^{n}\in T_{\delta }^{\mathbf {p} ^{n}}}\Pr \left\{E_{a^{n}}\right\}\Pr _{\mathcal {S}}\left\{\bigcup \limits _{b^{n}\in T_{\delta }^{\mathbf {p} ^{n}},\ b^{n}\neq a^{n}}E_{a^{n}}^{\dagger }E_{b^{n}}\in N\left({\mathcal {S}}\right)\right\}$
    $\leq \sum _{a^{n},b^{n}\in T_{\delta }^{\mathbf {p} ^{n}},\ b^{n}\neq a^{n}}\Pr \left\{E_{a^{n}}\right\}\Pr _{\mathcal {S}}\left\{E_{a^{n}}^{\dagger }E_{b^{n}}\in N\left({\mathcal {S}}\right)\right\}$
    $\leq \sum _{a^{n},b^{n}\in T_{\delta }^{\mathbf {p} ^{n}},\ b^{n}\neq a^{n}}\Pr \left\{E_{a^{n}}\right\}2^{-\left(n-k\right)}$
    $\leq 2^{2n\left[H\left(\mathbf {p} \right)+\delta \right]}2^{-n\left[H\left(\mathbf {p} \right)+\delta \right]}2^{-\left(n-k\right)}$
    $=2^{-n\left[1-H\left(\mathbf {p} \right)-k/n-3\delta \right]}.$
The first equality follows from the error-correcting conditions for a quantum stabilizer code, where $N\left({\mathcal {S}}\right)$ is the normalizer of ${\mathcal {S}}$. The first inequality follows by ignoring any potential degeneracy in the code—we consider an error uncorrectable if it lies in the normalizer $N\left({\mathcal {S}}\right)$ and the probability can only be larger because $N\left({\mathcal {S}}\right)\backslash {\mathcal {S}}\in N\left({\mathcal {S}}\right)$. The second equality follows by realizing that the probabilities for the existence criterion and the union of events are equivalent. The second inequality follows by applying the union bound. The third inequality follows from the fact that the probability for a fixed operator $E_{a^{n}}^{\dagger }E_{b^{n}}$ not equal to the identity commuting with the stabilizer operators of a random stabilizer can be upper bounded as follows: $\Pr _{\mathcal {S}}\left\{E_{a^{n}}^{\dagger }E_{b^{n}}\in N\left({\mathcal {S}}\right)\right\}={\frac {2^{n+k}-1}{2^{2n}-1}}\leq 2^{-\left(n-k\right)}.$ The reasoning here is that the random choice of a stabilizer code is equivalent to fixing operators $Z_{1}$, ..., $Z_{n-k}$ and performing a uniformly random Clifford unitary. The probability that a fixed operator commutes with ${\overline {Z}}_{1}$, ..., ${\overline {Z}}_{n-k}$ is then just the number of non-identity operators in the normalizer ($2^{n+k}-1$) divided by the total number of non-identity operators ($2^{2n}-1$). After applying the above bound, we then exploit the following typicality bounds: $\forall a^{n}\in T_{\delta }^{\mathbf {p} ^{n}}:\Pr \left\{E_{a^{n}}\right\}\leq 2^{-n\left[H\left(\mathbf {p} \right)+\delta \right]},$$\left\vert T_{\delta }^{\mathbf {p} ^{n}}\right\vert \leq 2^{n\left[H\left(\mathbf {p} \right)+\delta \right]}.$ We conclude that as long as the rate $k/n=1-H\left(\mathbf {p} \right)-4\delta$, the expectation of the error probability becomes arbitrarily small, so that there exists at least one choice of a stabilizer code with the same bound on the error probability.