QuantumAtlas

Research Explained · Theory

Simple Proof of Security of the BB84 Quantum Key Distribution Protocol

Peter W. Shor and John Preskill

AT&T Labs Research; California Institute of Technology · 2000 · Difficulty ★★★★☆

Reference

Shor, P. W., & Preskill, J. (2000). Simple proof of security of the BB84 quantum key distribution protocol. Physical Review Letters, 85, 441-444. arXiv:quant-ph/0003004.

Preprint: arXiv:quant-ph/0003004

This page is an independent explanation. For exact wording, figures, and data, read the original paper.

The short version

Shor and Preskill give a short, clear proof that the BB84 protocol is secure against any attack allowed by quantum mechanics, as long as the error rate is below about 11 percent. The proof links BB84 to quantum error correction and entanglement purification.

Key findings

  • BB84 can be viewed as a protocol in which Alice and Bob share entangled pairs and use a CSS error-correcting code to remove noise and any eavesdropper's information.
  • The security of the entanglement-based version implies the security of the prepare-and-measure BB84 protocol, since an eavesdropper has no way of telling which is used.
  • The protocol produces a secret key at a positive rate whenever the bit and phase error rates are both below about 11 percent.
  • The proof covers general attacks, including those that use quantum memories and collective measurements.

Background: why this paper was written

BB84, introduced in 1984, had been the subject of many security analyses, but the proofs against general attacks were complicated. Mayers gave the first general proof in 1996, with a long and intricate argument. Lo and Chau in 1999 gave a proof via entanglement purification that used a quantum computer for the protocol. Practical systems cannot do that, so a proof for the actual BB84 was desired.

Shor and Preskill, who had worked together on quantum error correction and thresholds, noticed that the CSS codes developed by Calderbank, Shor, and Steane could be used to simplify the argument. The result was a four-page letter that has been widely taught.

What the researchers did

The proof proceeds in steps. First, the authors consider a protocol in which Alice prepares many entangled pairs, sends half of each to Bob, and the two measure after a sampling of the error rate, so that the security can be analyzed by methods of entanglement distillation. If the pairs, after correction of errors by a quantum code, are in a nearly pure maximally entangled state, then the measurement outcomes of Alice and Bob are perfectly correlated and independent of anything the eavesdropper holds.

Second, they use CSS codes, which correct bit flips and phase flips separately, to correct the errors. The key observation is that the encoding and decoding by a CSS code can be done by measuring operators that are either products of X or products of Z, so the quantum protocol is equivalent to a classical protocol in which Alice and Bob apply classical error correction to the bits, for the bit flips, and privacy amplification, for the phase flips, to their measured results. The quantum computer in the purification is not needed.

Third, they argue that the entanglement-based protocol is equivalent to BB84, since the entangled pair that Alice measures can be replaced by her preparing a random state, and the statistics seen by Bob and by the eavesdropper are the same. The result is that BB84, with classical error correction and privacy amplification, is secure against general attacks if the bit and phase error rates, estimated by sampling, are below a threshold. The threshold is where the rate of key generation, one minus twice the binary entropy function of the error rate, reaches zero, which occurs at about 11.0 percent.

Results

The theorem proves the unconditional security of BB84 against all attacks permitted by quantum mechanics, with an explicit key rate and error threshold.

The proof is short and conceptual, and other proofs by Renner, Koashi, and others have extended it to finite keys and to realistic devices.

It also showed a deep connection between quantum cryptography and quantum error correction, which has been used in the design of protocols and in the theory of quantum information.

Key facts and numbers

ItemDetail
Year and venue2000, Physical Review Letters
Error thresholdAbout 11 percent for bit and phase errors
Key rate1 minus 2 times the binary entropy of the error rate
MethodReduction to CSS-code entanglement purification
Earlier proofsMayers (1996) and Lo and Chau (1999)

Limitations and caveats

The proof assumes ideal devices, single-photon sources, and detectors with the properties of the theoretical model. Real devices deviate, and attacks on implementations exploit the deviations, which required later proofs for decoy-state and other practical protocols.

The proof is asymptotic, for an infinite number of signals, and the finite-size effects reduce the achievable key rate for realistic runs.

The threshold of 11 percent applies to the model with independent bit and phase errors of equal rate, and the rate for real systems depends on the actual error pattern.

Why it matters

The proof gave quantum key distribution a firm theoretical foundation, and it is the template for security proofs of practical implementations, including those with decoy states, which are used in commercial systems and national networks.

What happened next

The proof is a standard part of courses and textbooks on quantum information, and it is the basis for the security analyses of the decoy-state BB84 protocol and of the measurement-device-independent protocol. Renner's 2005 thesis extended the security proof to a general framework for finite keys.

It also exemplifies the interplay of fields that became typical of quantum information theory, as ideas from coding theory, entanglement theory, and cryptography combine in a single argument.

How to read the original paper

The letter is short, and the logic is easy to follow with a little knowledge of error correction. Renner's thesis and the review by Scarani and coauthors give extensions to finite keys and imperfect devices.

The quantum key distribution and no-cloning theorem pages on this site provide background.

Original abstract (paraphrased)

The paper proves the security of the BB84 protocol against the most general attacks, by reducing it to an entanglement purification protocol based on CSS codes, and then to a protocol that can be analyzed in terms of the error correction of quantum states. It shows that a secret key can be generated at a positive rate if the error rate is below about 11 percent, and gives the rate as one minus twice the binary entropy of the error rate.

Frequently asked questions

What does the proof show?

That the BB84 key distribution protocol is secure against any attack allowed by quantum mechanics when the error rate is below about 11 percent, in the ideal model.

How does error correction enter?

The proof views the key generation as correcting the errors of shared entangled pairs with a CSS code, so that the leftover state is independent of the eavesdropper.

Does it prove that real QKD systems are secure?

Only for devices that match the model. Real systems need security proofs that include their imperfections, such as decoy-state analyses.

Keep exploring

Explanations on this page summarize published work for education (last reviewed September 30, 2026). Numbers are taken from the cited paper or from widely reported follow-up work, and later results may have updated or challenged them. Check the reference above before citing.

← Back to all research papers