Overview
Quantum key distribution (QKD) lets two parties who share an authenticated classical channel establish a secret key whose security does not depend on any assumption about the eavesdropper's computing power. The first protocol, BB84 (Bennett and Brassard), sends single qubits in randomly chosen conjugate bases; the entanglement-based protocol of Ekert certifies security by a Bell test. Security against all attacks allowed by quantum mechanics was proved in the late 1990s (Mayers; Lo and Chau; Shor and Preskill), and the modern standard is the composable, finite-key framework of Renner.
Every security statement holds under a list of assumptions: an authenticated classical channel, devices that behave as modelled (or, in device-independent QKD, sealed laboratories and free choice of inputs), and a specified class of attacks and block length. Many practical breaks of QKD systems exploited a gap between the model and the device, not a flaw in the mathematics.
Quantum mechanics does not make every cryptographic task unconditionally secure. Bit commitment is the standard counterexample: no quantum protocol is both concealing and binding against unbounded adversaries.
Intuition
An eavesdropper who wants to learn a qubit prepared in one of two conjugate bases has to measure it, and measuring in the wrong basis randomises it. The legitimate parties notice the resulting errors. Errors can also come from ordinary noise, and Alice and Bob cannot tell which is which, so they assume the worst: every error is attributed to Eve. The error rate then bounds how much Eve can know, and privacy amplification removes that much information by hashing. What remains is the key rate.
In E91, the argument is different: correlations that violate a Bell inequality cannot have been fixed in advance, so no third party can hold a copy of them. This argument needs no description of the devices at all, which is what device-independent QKD exploits.
Prerequisites
- Bell nonlocality and the CHSH inequality.
- Hypothesis testing and one-shot theory: smooth min-entropy and the leftover hashing lemma.
- Distinguishability measures: trace distance, fidelity, Uhlmann's theorem.
Mathematical Definitions
A run of the protocol either aborts or outputs keys for Alice and for Bob, each a string of bits. Let be the probability of not aborting and the joint state of Alice's key and the eavesdropper's system conditioned on not aborting. The protocol is
- -correct if ;
- -secret if ;
and it is -secure with , for every strategy of the eavesdropper. This criterion is due to Renner and is used in the finite-key analysis of Tomamichel, Lim, Gisin and Renner.
Meaning. By the operational meaning of the trace distance, no procedure, even one that later uses the key in another protocol, can tell the real key from an ideal one (identical, uniform and independent of ) with advantage more than . This makes the criterion composable: errors of successive uses simply add. Criteria based on the eavesdropper's mutual information with the key do not have this property, because a quantum adversary may delay measuring until the key has been used. Portmann and Renner review the framework.
- The eavesdropper's knowledge is described by a quantum system together with the public transcript, which is included in .
Theorems
Key rates
Proved by Devetak and Winter. Reading the two terms: Bob needs about bits per copy of error-correction information from Alice, all of which is public, and privacy amplification can then extract bits per copy that are secret from Eve. The two forms agree because .
Use in QKD. Security proofs bound from the observed statistics, minimised over all states compatible with them, and insert the error-correction cost actually incurred in place of . The bound extends from collective to general (coherent) attacks by de Finetti-type arguments (Renner) and, at finite size, is replaced by a smooth min-entropy. For BB84 with bit and phase error rates both equal to the rate becomes , the Shor–Preskill rate.
- Many independent and identical copies of a classical-classical-quantum state : Alice holds the classical , Bob a classical (or a quantum system), Eve a quantum . In QKD this is the collective-attack setting.
- One-way classical communication from Alice to Bob, over an authenticated public channel; asymptotic limit of many copies.
Origin. Lo and Chau proved security of an entanglement-distillation protocol that requires a quantum computer. Shor and Preskill showed that when the distillation uses CSS codes, correcting bit flips with one classical code and phase flips with another, the phase-error correction never has to be carried out, because phase errors do not change key bits that are measured in the computational basis; Alice can therefore measure before sending. The protocol collapses to BB84 with classical error correction (the bit-flip code) and privacy amplification (the coset structure of the phase-flip code). One pays for correcting bit errors, the other for removing what phase errors reveal to Eve. In BB84 the phase-error rate of the key is estimated by the bit-error rate observed in the conjugate basis, so in the symmetric case.
Numbers. : and per sifted bit. : . The rate vanishes where , at . Two-way post-processing tolerates higher error rates (Gottesman and Lo).
- Ideal single-qubit source and detectors (no multi-photon pulses, no detector mismatch), symmetric use of the two bases.
- Asymptotic limit of infinitely many rounds; one-way classical post-processing; error correction at the Shannon limit.
- Security against arbitrary (coherent) attacks.
Derived by Acín et al. and in detail by Pironio et al.: the third term is a tight upper bound on Eve's Holevo information about the raw key bit as a function of alone (in their protocol the key bit is Bob's outcome and the one-way post-processing runs from Bob to Alice), and it is inserted into the Devetak–Winter rate. At it vanishes; at it equals one and no key is possible.
Numbers. , : , , and . At with the same , . The rate is very sensitive to , which is why device-independent QKD demands high-fidelity entanglement and high detection efficiency. Security against general attacks with finite statistics follows from entropy accumulation (Arnon-Friedman et al.).
- The devices are black boxes with binary inputs and outputs; no assumption on their internal workings or dimension, but no information leaks out of the laboratories and the inputs are chosen freely.
- Collective attacks (i.i.d. rounds), asymptotic limit, one-way post-processing; .
Privacy amplification
Let and let be the joint state of the key, the adversary's system and the seed register. Then
with the conditional min-entropy. So a key of length is within trace distance of a perfect key (uniform and independent of and of the seed).
This form is due to Renner. Replacing by the smooth min-entropy costs an additive term proportional to on the right-hand side; Tomamichel, Schaffner, Smith and Renner give a smoothed statement and extend it to families that are only almost two-universal. Together with the asymptotic equipartition property, it shows that about secret bits can be extracted from i.i.d. copies.
- A classical-quantum state with finite and finite-dimensional.
- A two-universal family of functions from the alphabet of to : for , when is uniform on .
- The seed is chosen uniformly and independently of and , and may be made public.
Proof · Proof of the leftover hashing lemma against quantum side information
Write , where the include the probabilities, , and . For a fixed let and . Because the seed is uniform and classical, the left-hand side of the lemma equals .
Step 1: choose . Let and let be a density operator attaining it, so . This implies that every , and hence and every , is supported in the support of ; restrict all operators to that subspace, on which is invertible.
Step 2: from the trace norm to a 2-norm. Put , so , and for an operator write . Hölder's inequality with exponents gives
Step 3: average over . With and ,
using and . Two-universality bounds the average of the first sum by its diagonal plus times all off-diagonal terms, and for positive operators, so
Hence .
Step 4: identify the min-entropy. . From we get , and since this gives . Summing, .
Conclusion. By Step 2 and Jensen's inequality for the square root,
The structure (2-norm with a weight chosen from the min-entropy, then two-universality) follows Renner; the smoothed version replaces by a nearby operator and adds the distance to the bound.
What cannot be done
Let be Bob's state after an honest commitment to , and suppose the protocol is -concealing: . Then Alice has a cheating strategy: she commits honestly to , and at opening time she either opens honestly or applies a unitary to her own systems and opens , and Bob's check accepts the opening of with probability at least . In particular a perfectly concealing protocol () is not binding at all.
Concealing and binding therefore cannot both hold with small errors. The result was obtained independently by Mayers and by Lo and Chau; the explicit form follows from their argument with the Fuchs–van de Graaf inequality.
- Both parties have unbounded quantum computational power and memory; no assumption on computational hardness, storage limits or relativistic timing.
- Bob is honest; the check at the opening phase accepts an honest opening with certainty.
- Standard reduction: all measurements and random choices are purified, so that after the commit phase the joint state is pure, , with everything Alice holds and everything Bob holds. Mayers shows this is no loss of generality.
Proof · Proof of the impossibility of quantum bit commitment
Scope. The proof works in the purified model stated in the theorem's assumptions. That every protocol can be put in this form (Alice and Bob keep all randomness and measurement results coherently, and classical messages are copies kept by both) is shown by Mayers and is not repeated here. is the fidelity in the squared convention.
Step 1: enlarge Alice's system. Appending an ancilla in a fixed state to changes nothing Bob can see, so assume .
Step 2: the cheating unitary. is a purification of on . By Uhlmann's theorem, with as the purifying system, there is a purification of on the same space with . Both and purify on the same space, so by the uniqueness of purifications there is a unitary with . Alice can apply without Bob's involvement, because it acts only on her systems.
Step 3: Bob's acceptance probability. At opening, Alice sends Bob whatever the protocol requires and Bob measures the joint system with a two-outcome POVM ("accept", "reject"). Since an honest opening of is accepted with certainty, , and with this forces . Hence : indeed for any vector with , , using that and is Hermitian, so the cross terms vanish. For the cheating state,
Step 4: from concealment to fidelity. By the Fuchs–van de Graaf inequalities, . If then , exactly, and the cheat is never detected.
The same unitary freedom underlies the dilemma in general: any decrease of Bob's ability to learn early (smaller ) is matched by an increase in Alice's ability to change late.
Worked Examples
Intercept-resend against BB84
If Eve intercepts a fraction of the qubits and measures each in a random basis, the sifted error rate is . Intercepting everything gives , far above the at which the Shor–Preskill rate vanishes, so the run aborts. Intercepting gives , at which the guaranteed rate is still per sifted bit: the security proof already accounts for this and every other attack causing that error rate.
Comparing BB84 and device-independent rates
At , BB84 with trusted devices guarantees secret bits per sifted bit asymptotically. A device-independent protocol with the same error rate and an observed CHSH value guarantees at least against collective attacks, and only at . The price of not trusting the devices is the need for near-maximal Bell violation.
Key length at finite size
A run that produces sifted bits cannot output secret bits. The key length is bounded by a smooth min-entropy, which by the asymptotic equipartition property falls short of the asymptotic value by a term of order , and the security parameter enters through terms in privacy amplification: with , the leftover hashing lemma alone removes bits. A tight treatment for BB84 is given by Tomamichel, Lim, Gisin and Renner.
Algorithms and Implementations
Protocol (Bennett and Brassard).
- Preparation. For each round, Alice picks a bit and a basis uniformly at random and sends (basis ) or (basis ) encoding .
- Measurement. Bob picks a basis at random and measures, obtaining .
- Sifting. Over the public channel they announce bases and keep rounds with , about half of them. In the absence of noise and eavesdropping, in every kept round.
- Parameter estimation. They reveal a random sample of kept rounds and compute the quantum bit error rate , the fraction with . If is too high, they abort.
- Error correction. Alice sends syndrome information so that Bob can correct his string to hers, leaking about bits per bit in the ideal case.
- Privacy amplification. Both apply a randomly chosen two-universal hash, shortening the string to a length that the security proof certifies as secret (see the leftover hashing lemma).
The 1984 paper describes steps 1 to 4, with the public comparison of a random subset of bits as the eavesdropping test; error correction and privacy amplification by hashing were added in later work.
Why eavesdropping is detected: the intercept-resend attack. Suppose Eve measures every qubit in a random basis and resends what she found. In a sifted round she chooses the wrong basis with probability ; she then sends, for example, for a -basis bit, and Bob's measurement is wrong with probability . So she causes while learning the sifted bit only half of the time. More generally, any measurement that gains information about states from two conjugate bases disturbs them; this is the information–disturbance trade-off behind the no-cloning theorem.
Security. Security against arbitrary attacks was proved by Mayers and, by reduction to entanglement distillation with CSS codes, by Shor and Preskill; for one-way post-processing the asymptotic key rate is (see the Shor–Preskill rate). Bennett, Brassard and Mermin observed that BB84 is equivalent to an entanglement-based protocol in which a source distributes Bell pairs, which is the starting point of these proofs. Finite-key, composable proofs follow Renner. Practical implementations use attenuated laser pulses with decoy states; see Scarani et al..
- Ideal single-qubit source and measurement devices that behave as modelled; an authenticated but public classical channel.
- The eavesdropper may do anything allowed by quantum mechanics to the quantum channel.
Protocol (Ekert). A source emits pairs in a maximally entangled state. Alice measures each of her particles along one of three directions in a plane, Bob along one of three directions, chosen at random and independently. After all measurements they announce the directions.
- Rounds in which the two directions coincide give perfectly correlated outcomes (perfectly anticorrelated for Ekert's singlet state) and form the raw key.
- The other rounds are used to evaluate the CHSH expression. For the ideal state and suitably chosen directions it reaches , the Tsirelson bound. An eavesdropper who had fixed the outcomes in advance, or who holds a classical copy of them, would produce a local hidden-variable model and hence a value at most .
Relation to BB84. Bennett, Brassard and Mermin showed that an entanglement-based scheme with only the two BB84 bases is equivalent to BB84 and needs no Bell test for security when the devices are trusted: the error rate in two conjugate bases already bounds Eve's information. Ekert's use of a Bell test becomes essential when the devices themselves are not trusted, which is the setting of device-independent QKD (Acín et al.); see the device-independent key rate.
- A source of entangled pairs, which may be controlled by the eavesdropper, and measurement devices that perform the intended measurements.
- An authenticated public classical channel.
Device-independent QKD
In device-independent QKD the devices are black boxes; security follows from the observed Bell violation alone, provided no information leaks out of the laboratories and the measurement choices are random and independent of the devices. Security against collective attacks was shown by Acín et al. and Pironio et al.; security against general attacks by Vazirani and Vidick, and with practical finite-size rates by entropy accumulation (Arnon-Friedman et al.).
Practical sources: decoy states
Real transmitters emit weak laser pulses that sometimes contain more than one photon, which allows photon-number-splitting attacks. Decoy-state protocols send pulses of several intensities and use the observed yields to bound the single-photon contribution (Hwang; Lo, Ma and Chen). Twin-field QKD has two parties send phase-coherent weak pulses to an untrusted middle station; its key rate scales as in the channel transmissivity rather than , so it can exceed the repeaterless bound without quantum memories (Lucamarini, Yuan, Dynes and Shields).
Limitations and Common Pitfalls
- Asymptotic rates are not security claims. The formulas above assume infinitely many rounds and often collective attacks. A security claim needs a composable , a block length and a reduction to general attacks.
- Devices are not their models. Detector-blinding attacks took control of commercial systems (Lydersen et al.). Device-independent protocols, and the measurement-device-independent protocols reviewed by Xu et al., close parts of this gap.
- Authentication is required. QKD expands a short pre-shared secret used to authenticate the classical channel; without it a man-in-the-middle wins trivially.
- Mutual information is the wrong criterion. Bounding Eve's accessible information about the key is not composable against quantum adversaries; use the trace-distance criterion.
- Distance limits. Without repeaters, rates fall exponentially with fibre length; see quantum networks.
- Not every primitive is possible. Unconditionally secure bit commitment is impossible; secure protocols for it rely on extra assumptions such as bounded quantum storage or relativistic constraints.
State of the Art
As of 2026-11, by publication date of the cited work:
- 2022: device-independent QKD was demonstrated between two trapped-ion qubits linked by optical fibre, with finite-statistics security (Nadlinger et al.), and between two single trapped rubidium atoms 400 m apart, with a positive key rate under asymptotic security estimates (Zhang et al.); a photonic experiment towards device-independent QKD was reported by Liu et al..
- 2023: twin-field QKD over 1000 km of fibre (Liu et al.).
- 2026 (preprint, not peer reviewed): for the measured six-state source, a proof is reported that no classical postprocessing, even with unrestricted two-way public communication, yields a positive asymptotic key rate once the quantum bit-error rate reaches , the value below which a positive rate was already known to be achievable; the underlying two-qubit state is still entangled up to an error rate of (Sun, Bhatti and Elkouss, Theorem 1).
- Reviews of practical security: Scarani et al., Xu et al.; of the security framework: Portmann and Renner.