Skip to main content
KetQat

Appearance

Topic · intermediate

Quantum Cryptography

Key distribution whose security rests on quantum mechanics rather than computational hardness, BB84 and E91, the composable security definition and the key-rate formulas with their assumptions, device-independent QKD, and the impossibility of unconditionally secure bit commitment.

ExpositionMachine-checkedUpdated 2026-12-01 · last verified 2026-12-01

AI-assisted text, machine-checked, not yet reviewed by a person. Citations resolve and an automated pass compared the statements with the cited sources. That is not peer review; check the sources for anything you depend on.

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

Mathematical Definitions

DefinitionComposable security of quantum key distributionEstablished definition

A run of the protocol either aborts or outputs keys KAK_A for Alice and KBK_B for Bob, each a string of ℓ\ell bits. Let ppassp_{\mathrm{pass}} be the probability of not aborting and ρKAE∣pass\rho_{K_A E \mid \mathrm{pass}} the joint state of Alice's key and the eavesdropper's system conditioned on not aborting. The protocol is

  • εcor\varepsilon_{\mathrm{cor}}-correct if Pr⁡[KA≠KB and pass]≤εcor\Pr[K_A \ne K_B \text{ and pass}] \le \varepsilon_{\mathrm{cor}};
  • εsec\varepsilon_{\mathrm{sec}}-secret if ppass⋅12∥ρKAE∣pass−I2ℓ⊗ρE∣pass∥1≤εsecp_{\mathrm{pass}} \cdot \tfrac12 \big\Vert \rho_{K_A E \mid \mathrm{pass}} - \tfrac{I}{2^\ell} \otimes \rho_{E \mid \mathrm{pass}} \big\Vert_1 \le \varepsilon_{\mathrm{sec}};

and it is ε\varepsilon-secure with ε=εcor+εsec\varepsilon = \varepsilon_{\mathrm{cor}} + \varepsilon_{\mathrm{sec}}, 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 EE) with advantage more than ε\varepsilon. 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 EE until the key has been used. Portmann and Renner review the framework.

Holds when
  • The eavesdropper's knowledge is described by a quantum system EE together with the public transcript, which is included in EE.

Theorems

Key rates

EquationDevetak–Winter key ratePeer-reviewed result
r  ≥  S(X ∣ E)−H(X ∣ B)  =  I(X:B)−I(X:E)r \;\ge\; S(X \,|\, E) - H(X \,|\, B) \;=\; I(X{:}B) - I(X{:}E)

Proved by Devetak and Winter. Reading the two terms: Bob needs about H(X∣B)H(X|B) bits per copy of error-correction information from Alice, all of which is public, and privacy amplification can then extract S(X∣E)S(X|E) bits per copy that are secret from Eve. The two forms agree because S(X∣E)−H(X∣B)=[H(X)−I(X:E)]−[H(X)−I(X:B)]S(X|E) - H(X|B) = [H(X) - I(X{:}E)] - [H(X) - I(X{:}B)].

Use in QKD. Security proofs bound S(X∣E)S(X|E) from the observed statistics, minimised over all states compatible with them, and insert the error-correction cost actually incurred in place of H(X∣B)H(X|B). 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 QQ the rate becomes 1−2h(Q)1 - 2h(Q), the Shor–Preskill rate.

Holds when
  • Many independent and identical copies of a classical-classical-quantum state ρXBE\rho_{XBE}: Alice holds the classical XX, Bob a classical BB (or a quantum system), Eve a quantum EE. 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.
EquationShor–Preskill key rate for BB84Peer-reviewed result
rBB84  =  1−h(ebit)−h(eph)  =  1−2h(Q)(ebit=eph=Q)r_{\mathrm{BB84}} \;=\; 1 - h(e_{\mathrm{bit}}) - h(e_{\mathrm{ph}}) \;=\; 1 - 2h(Q)\quad (e_{\mathrm{bit}} = e_{\mathrm{ph}} = Q)

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 hh 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 eph=Qe_{\mathrm{ph}} = Q in the symmetric case.

Numbers. Q=2%Q = 2\%: h(0.02)=0.141h(0.02) = 0.141 and r=0.717r = 0.717 per sifted bit. Q=5%Q = 5\%: r=0.427r = 0.427. The rate vanishes where h(Q)=1/2h(Q) = 1/2, at Q≈11.0%Q \approx 11.0\%. Two-way post-processing tolerates higher error rates (Gottesman and Lo).

Holds when
  • 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.
EquationDevice-independent key rate from the CHSH valuePeer-reviewed result
r  ≥  1−h(Q)−h ⁣(1+(S/2)2−12)r \;\ge\; 1 - h(Q) - h\!\left(\frac{1 + \sqrt{(S/2)^2 - 1}}{2}\right)

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 SS 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 S=22S = 2\sqrt2 it vanishes; at S=2S = 2 it equals one and no key is possible.

Numbers. S=2.7S = 2.7, Q=2%Q = 2\%: 1.8225−1=0.907\sqrt{1.8225 - 1} = 0.907, h(0.953)=0.272h(0.953) = 0.272, and r≥1−0.141−0.272=0.587r \ge 1 - 0.141 - 0.272 = 0.587. At S=2.5S = 2.5 with the same QQ, r≥0.315r \ge 0.315. The rate is very sensitive to SS, 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.).

Holds when
  • 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; 2<S≤222 < S \le 2\sqrt2.

Privacy amplification

TheoremLeftover hashing lemma against quantum side informationEstablished result

Let Z=f(X)Z = f(X) and let ρZEF\rho_{ZEF} be the joint state of the key, the adversary's system and the seed register. Then

12 ∥ρZEF−IZ2ℓ⊗ρEF∥1  ≤  12 2−12(Hmin⁡(X∣E)ρ−ℓ),\frac12\, \Big\Vert \rho_{ZEF} - \frac{I_Z}{2^\ell} \otimes \rho_{EF} \Big\Vert_1 \;\le\; \frac12\, 2^{-\frac12\left(H_{\min}(X|E)_\rho - \ell\right)} ,

with Hmin⁡(X∣E)H_{\min}(X|E) the conditional min-entropy. So a key of length ℓ=Hmin⁡(X∣E)−2log⁡2(1/δ)\ell = H_{\min}(X|E) - 2\log_2(1/\delta) is within trace distance δ/2\delta/2 of a perfect key (uniform and independent of EE and of the seed).

This form is due to Renner. Replacing Hmin⁡H_{\min} by the smooth min-entropy Hmin⁡εH_{\min}^{\varepsilon} costs an additive term proportional to ε\varepsilon 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 n S(X∣E)n\,S(X|E) secret bits can be extracted from nn i.i.d. copies.

Holds when
  • A classical-quantum state ρXE=∑x∣x⟩⟨x∣⊗ρEx\rho_{XE} = \sum_x \ketbra{x}{x} \otimes \rho_E^x with XX finite and EE finite-dimensional.
  • A two-universal family F\mathcal{F} of functions ff from the alphabet of XX to {0,1}ℓ\{0,1\}^\ell: for x≠x′x \ne x^\prime, Pr⁡f[f(x)=f(x′)]≤2−ℓ\Pr_f[f(x) = f(x^\prime)] \le 2^{-\ell} when ff is uniform on F\mathcal{F}.
  • The seed ff is chosen uniformly and independently of XX and EE, and may be made public.
Proof · Proof of the leftover hashing lemma against quantum side information

Write ρXE=∑x∣x⟩⟨x∣⊗ρx\rho_{XE} = \sum_x \ketbra{x}{x} \otimes \rho_x, where the ρx≥0\rho_x \ge 0 include the probabilities, ∑xTr⁡ρx=1\sum_x \tr\rho_x = 1, and ρE=∑xρx\rho_E = \sum_x \rho_x. For a fixed ff let ρZEf=∑x∣f(x)⟩⟨f(x)∣⊗ρx\rho^f_{ZE} = \sum_x \ketbra{f(x)}{f(x)} \otimes \rho_x and Δf=ρZEf−2−ℓIZ⊗ρE\Delta_f = \rho^f_{ZE} - 2^{-\ell} I_Z \otimes \rho_E. Because the seed is uniform and classical, the left-hand side of the lemma equals Ef 12∥Δf∥1\mathbb{E}_f\, \tfrac12 \norm{\Delta_f}_1.

Step 1: choose σE\sigma_E. Let H=Hmin⁡(X∣E)ρH = H_{\min}(X|E)_\rho and let σE\sigma_E be a density operator attaining it, so ρXE≤2−H IX⊗σE\rho_{XE} \le 2^{-H}\, I_X \otimes \sigma_E. This implies that every ρx\rho_x, and hence ρE\rho_E and every Δf\Delta_f, is supported in the support of σE\sigma_E; restrict all operators to that subspace, on which σE\sigma_E is invertible.

Step 2: from the trace norm to a 2-norm. Put σ=IZ⊗σE\sigma = I_Z \otimes \sigma_E, so Tr⁡σ=2ℓ\tr\sigma = 2^\ell, and for an operator AA write A~=σ−1/4Aσ−1/4\tilde A = \sigma^{-1/4} A \sigma^{-1/4}. Hölder's inequality with exponents (4,2,4)(4, 2, 4) gives

∥Δf∥1=∥σ1/4Δ~f σ1/4∥1≤∥σ1/4∥4 ∥Δ~f∥2 ∥σ1/4∥4=2ℓ  ∥Δ~f∥2.\norm{\Delta_f}_1 = \norm{\sigma^{1/4} \tilde\Delta_f\, \sigma^{1/4}}_1 \le \norm{\sigma^{1/4}}_4\, \norm{\tilde\Delta_f}_2\, \norm{\sigma^{1/4}}_4 = \sqrt{2^\ell}\; \norm{\tilde\Delta_f}_2 .

Step 3: average over ff. With ρ~x=σE−1/4ρxσE−1/4\tilde\rho_x = \sigma_E^{-1/4}\rho_x\sigma_E^{-1/4} and ρ~E=∑xρ~x\tilde\rho_E = \sum_x \tilde\rho_x,

∥Δ~f∥22=∑x,x′: f(x)=f(x′)Tr⁡[ρ~xρ~x′]  −  2⋅2−ℓ Tr⁡[ρ~E2]  +  2−ℓ Tr⁡[ρ~E2],\norm{\tilde\Delta_f}_2^2 = \sum_{x, x^\prime:\, f(x) = f(x^\prime)} \tr[\tilde\rho_x \tilde\rho_{x^\prime}] \;-\; 2 \cdot 2^{-\ell}\, \tr[\tilde\rho_E^2] \;+\; 2^{-\ell}\, \tr[\tilde\rho_E^2] ,

using Tr⁡[ρ~ZEf (IZ⊗ρ~E)]=∑xTr⁡[ρ~xρ~E]=Tr⁡ρ~E2\tr[\tilde\rho^f_{ZE}\,(I_Z \otimes \tilde\rho_E)] = \sum_x \tr[\tilde\rho_x\tilde\rho_E] = \tr\tilde\rho_E^2 and Tr⁡[(IZ⊗ρ~E)2]=2ℓTr⁡ρ~E2\tr[(I_Z \otimes \tilde\rho_E)^2] = 2^\ell \tr\tilde\rho_E^2. Two-universality bounds the average of the first sum by its diagonal plus 2−ℓ2^{-\ell} times all off-diagonal terms, and Tr⁡[ρ~xρ~x′]≥0\tr[\tilde\rho_x\tilde\rho_{x'}] \ge 0 for positive operators, so

Ef∑f(x)=f(x′)Tr⁡[ρ~xρ~x′]≤∑xTr⁡ρ~x2+2−ℓ∑x,x′Tr⁡[ρ~xρ~x′]=∑xTr⁡ρ~x2+2−ℓTr⁡ρ~E2.\mathbb{E}_f \sum_{f(x) = f(x^\prime)} \tr[\tilde\rho_x \tilde\rho_{x^\prime}] \le \sum_x \tr\tilde\rho_x^2 + 2^{-\ell} \sum_{x, x^\prime} \tr[\tilde\rho_x \tilde\rho_{x^\prime}] = \sum_x \tr\tilde\rho_x^2 + 2^{-\ell}\tr\tilde\rho_E^2 .

Hence Ef∥Δ~f∥22≤∑xTr⁡ρ~x2\mathbb{E}_f \norm{\tilde\Delta_f}_2^2 \le \sum_x \tr\tilde\rho_x^2.

Step 4: identify the min-entropy. ∑xTr⁡ρ~x2=∑xTr⁡[ρx σE−1/2ρxσE−1/2]\sum_x \tr\tilde\rho_x^2 = \sum_x \tr\big[\rho_x\, \sigma_E^{-1/2}\rho_x\sigma_E^{-1/2}\big]. From ρx≤2−HσE\rho_x \le 2^{-H}\sigma_E we get σE−1/2ρxσE−1/2≤2−HI\sigma_E^{-1/2}\rho_x\sigma_E^{-1/2} \le 2^{-H} I, and since ρx≥0\rho_x \ge 0 this gives Tr⁡[ρx σE−1/2ρxσE−1/2]≤2−HTr⁡ρx\tr[\rho_x\, \sigma_E^{-1/2}\rho_x\sigma_E^{-1/2}] \le 2^{-H}\tr\rho_x. Summing, Ef∥Δ~f∥22≤2−H\mathbb{E}_f \norm{\tilde\Delta_f}_2^2 \le 2^{-H}.

Conclusion. By Step 2 and Jensen's inequality for the square root,

Ef 12∥Δf∥1≤122ℓ  Ef∥Δ~f∥2≤122ℓ Ef∥Δ~f∥22≤12 2−12(H−ℓ).□\mathbb{E}_f\, \tfrac12\norm{\Delta_f}_1 \le \tfrac12 \sqrt{2^\ell}\; \mathbb{E}_f \norm{\tilde\Delta_f}_2 \le \tfrac12 \sqrt{2^\ell\, \mathbb{E}_f \norm{\tilde\Delta_f}_2^2} \le \tfrac12\, 2^{-\frac12(H - \ell)} . \qquad \square

The structure (2-norm with a weight chosen from the min-entropy, then two-universality) follows Renner; the smoothed version replaces ρXE\rho_{XE} by a nearby operator and adds the distance to the bound.

What cannot be done

TheoremImpossibility of unconditionally secure quantum bit commitmentEstablished result

Let ρb=Tr⁡A∣ψb⟩⟨ψb∣\rho_b = \tr_A \ketbra{\psi_b}{\psi_b} be Bob's state after an honest commitment to b∈{0,1}b \in \{0, 1\}, and suppose the protocol is ε\varepsilon-concealing: T(ρ0,ρ1)=12∥ρ0−ρ1∥1≤εT(\rho_0, \rho_1) = \tfrac12\norm{\rho_0 - \rho_1}_1 \le \varepsilon. Then Alice has a cheating strategy: she commits honestly to 00, and at opening time she either opens 00 honestly or applies a unitary UAU_A to her own systems and opens 11, and Bob's check accepts the opening of 11 with probability at least (1−ε)2(1 - \varepsilon)^2. In particular a perfectly concealing protocol (ε=0\varepsilon = 0) 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 (1−ε)2(1-\varepsilon)^2 form follows from their argument with the Fuchs–van de Graaf inequality.

Holds when
  • 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, ∣ψb⟩AB\ket{\psi_b}_{AB}, with AA everything Alice holds and BB 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. FF is the fidelity in the squared convention.

Step 1: enlarge Alice's system. Appending an ancilla in a fixed state to AA changes nothing Bob can see, so assume dim⁡HA≥dim⁡HB\dim \mathcal{H}_A \ge \dim \mathcal{H}_B.

Step 2: the cheating unitary. ∣ψ1⟩\ket{\psi_1} is a purification of ρ1\rho_1 on HB⊗HA\mathcal{H}_B \otimes \mathcal{H}_A. By Uhlmann's theorem, with AA as the purifying system, there is a purification ∣ϕ⟩\ket{\phi} of ρ0\rho_0 on the same space with ∣⟨ϕ∣ψ1⟩∣2=F(ρ0,ρ1)\abs{\braket{\phi}{\psi_1}}^2 = F(\rho_0, \rho_1). Both ∣ϕ⟩\ket{\phi} and ∣ψ0⟩\ket{\psi_0} purify ρ0\rho_0 on the same space, so by the uniqueness of purifications there is a unitary UAU_A with (IB⊗UA)∣ψ0⟩=∣ϕ⟩(I_B \otimes U_A)\ket{\psi_0} = \ket{\phi}. Alice can apply UAU_A 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 {P,I−P}\{P, I - P\} ("accept", "reject"). Since an honest opening of 11 is accepted with certainty, ⟨ψ1∣P∣ψ1⟩=1\bra{\psi_1}P\ket{\psi_1} = 1, and with 0≤P≤I0 \le P \le I this forces P∣ψ1⟩=∣ψ1⟩P\ket{\psi_1} = \ket{\psi_1}. Hence P≥∣ψ1⟩⟨ψ1∣P \ge \ketbra{\psi_1}{\psi_1}: indeed for any vector v=c∣ψ1⟩+wv = c\ket{\psi_1} + w with w⊥∣ψ1⟩w \perp \ket{\psi_1}, ⟨v∣P∣v⟩=∣c∣2+⟨w∣P∣w⟩≥∣c∣2\bra{v}P\ket{v} = \abs{c}^2 + \bra{w}P\ket{w} \ge \abs{c}^2, using that P∣ψ1⟩=∣ψ1⟩P\ket{\psi_1} = \ket{\psi_1} and PP is Hermitian, so the cross terms vanish. For the cheating state,

Pr⁡[accept]=⟨ϕ∣P∣ϕ⟩≥∣⟨ψ1∣ϕ⟩∣2=F(ρ0,ρ1).\Pr[\text{accept}] = \bra{\phi}P\ket{\phi} \ge \abs{\braket{\psi_1}{\phi}}^2 = F(\rho_0, \rho_1) .

Step 4: from concealment to fidelity. By the Fuchs–van de Graaf inequalities, F(ρ0,ρ1)≥(1−T(ρ0,ρ1))2≥(1−ε)2F(\rho_0, \rho_1) \ge (1 - T(\rho_0, \rho_1))^2 \ge (1 - \varepsilon)^2. If ε=0\varepsilon = 0 then ρ0=ρ1\rho_0 = \rho_1, ∣ϕ⟩=∣ψ1⟩\ket\phi = \ket{\psi_1} exactly, and the cheat is never detected. □\square

The same unitary freedom underlies the dilemma in general: any decrease of Bob's ability to learn bb early (smaller TT) is matched by an increase in Alice's ability to change bb late.

Worked Examples

Intercept-resend against BB84

If Eve intercepts a fraction ff of the qubits and measures each in a random basis, the sifted error rate is Q=f/4Q = f/4. Intercepting everything gives Q=25%Q = 25\%, far above the 11%11\% at which the Shor–Preskill rate vanishes, so the run aborts. Intercepting f=20%f = 20\% gives Q=5%Q = 5\%, at which the guaranteed rate is still 1−2h(0.05)=0.4271 - 2h(0.05) = 0.427 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 Q=2%Q = 2\%, BB84 with trusted devices guarantees 0.7170.717 secret bits per sifted bit asymptotically. A device-independent protocol with the same error rate and an observed CHSH value S=2.7S = 2.7 guarantees at least 0.5870.587 against collective attacks, and only 0.3150.315 at S=2.5S = 2.5. The price of not trusting the devices is the need for near-maximal Bell violation.

Key length at finite size

A run that produces nn sifted bits cannot output n(1−2h(Q))n(1 - 2h(Q)) 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 n\sqrt n, and the security parameter ε\varepsilon enters through log⁡2(1/ε)\log_2(1/\varepsilon) terms in privacy amplification: with εsec=10−10\varepsilon_{\mathrm{sec}} = 10^{-10}, the leftover hashing lemma alone removes 2log⁡2(1010)≈662\log_2(10^{10}) \approx 66 bits. A tight treatment for BB84 is given by Tomamichel, Lim, Gisin and Renner.

Algorithms and Implementations

AlgorithmBB84 quantum key distribution protocolEstablished result

Protocol (Bennett and Brassard).

  1. Preparation. For each round, Alice picks a bit xx and a basis a∈{Z,X}a \in \{Z, X\} uniformly at random and sends ∣0⟩,∣1⟩\ket{0}, \ket{1} (basis ZZ) or ∣+⟩,∣−⟩\ket{+}, \ket{-} (basis XX) encoding xx.
  2. Measurement. Bob picks a basis b∈{Z,X}b \in \{Z, X\} at random and measures, obtaining yy.
  3. Sifting. Over the public channel they announce bases and keep rounds with a=ba = b, about half of them. In the absence of noise and eavesdropping, y=xy = x in every kept round.
  4. Parameter estimation. They reveal a random sample of kept rounds and compute the quantum bit error rate QQ, the fraction with x≠yx \ne y. If QQ is too high, they abort.
  5. Error correction. Alice sends syndrome information so that Bob can correct his string to hers, leaking about h(Q)h(Q) bits per bit in the ideal case.
  6. 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 1/21/2; she then sends, for example, ∣+⟩\ket{+} for a ZZ-basis bit, and Bob's ZZ measurement is wrong with probability 1/21/2. So she causes Q=1/2×1/2=25%Q = 1/2 \times 1/2 = 25\% 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 1−2h(Q)1 - 2h(Q) (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..

Holds when
  • 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.
AlgorithmE91 entanglement-based key distributionEstablished result

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 222\sqrt2, 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 22.

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.

Holds when
  • 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 η\sqrt\eta in the channel transmissivity rather than η\eta, 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 ε\varepsilon, 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 (5−5)/10≈27.64%(5-\sqrt{5})/10 \approx 27.64\%, 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 1/31/3 (Sun, Bhatti and Elkouss, Theorem 1).
  • Reviews of practical security: Scarani et al., Xu et al.; of the security framework: Portmann and Renner.

Open in the knowledge graph

Contributions about this record

Nobody has published a contribution about it yet.

Publish a result, reproduction or commentPropose a correction to this page

References

  1. Charles H. Bennett, Gilles Brassard (1984). Quantum cryptography: Public key distribution and coin tossing. Theoretical Computer Science 560, 7-11 (2014 reprint). doi:10.1016/j.tcs.2014.05.025
  2. Artur K. Ekert (1991). Quantum cryptography based on Bell’s theorem. Physical Review Letters 67, 661-663. doi:10.1103/physrevlett.67.661
  3. Charles H. Bennett, Gilles Brassard, N. David Mermin (1992). Quantum cryptography without Bell’s theorem. Physical Review Letters 68, 557-559. doi:10.1103/physrevlett.68.557
  4. Dominic Mayers (2001). Unconditional security in quantum cryptography. Journal of the ACM 48, 351-406. doi:10.1145/382780.382781
  5. Hoi-Kwong Lo, H. F. Chau (1999). Unconditional Security of Quantum Key Distribution over Arbitrarily Long Distances. Science 283, 2050-2056. doi:10.1126/science.283.5410.2050
  6. Peter W. Shor, John Preskill (2000). Simple Proof of Security of the BB84 Quantum Key Distribution Protocol. Physical Review Letters 85, 441-444. doi:10.1103/physrevlett.85.441arXiv:quant-ph/0003004
  7. Igor Devetak, Andreas Winter (2005). Distillation of secret key and entanglement from quantum states. Proceedings of the Royal Society A: Mathematical, Physical and Engineering Sciences 461, 207-235. doi:10.1098/rspa.2004.1372
  8. Renato Renner (2008). Security of quantum key distribution. International Journal of Quantum Information 6, 1-127. doi:10.1142/s0219749908003256
  9. Marco Tomamichel, Charles Ci Wen Lim, Nicolas Gisin, Renato Renner (2012). Tight finite-key analysis for quantum cryptography. Nature Communications 3, 634. doi:10.1038/ncomms1631
  10. Christopher Portmann, Renato Renner (2022). Security in quantum cryptography. Reviews of Modern Physics 94, 025008. doi:10.1103/revmodphys.94.025008
  11. Valerio Scarani, Helle Bechmann-Pasquinucci, Nicolas J. Cerf, … Momtchil Peev (2009). The security of practical quantum key distribution. Reviews of Modern Physics 81, 1301-1350. doi:10.1103/revmodphys.81.1301
  12. Feihu Xu, Xiongfeng Ma, Qiang Zhang, … Jian-Wei Pan (2020). Secure quantum key distribution with realistic devices. Reviews of Modern Physics 92, 025002. doi:10.1103/revmodphys.92.025002
  13. Antonio Acín, Nicolas Brunner, Nicolas Gisin, … Valerio Scarani (2007). Device-Independent Security of Quantum Cryptography against Collective Attacks. Physical Review Letters 98, 230501. doi:10.1103/physrevlett.98.230501arXiv:quant-ph/0702152
  14. Stefano Pironio, Antonio Acín, Nicolas Brunner, … Valerio Scarani (2009). Device-independent quantum key distribution secure against collective attacks. New Journal of Physics 11, 045021. doi:10.1088/1367-2630/11/4/045021
  15. Umesh Vazirani, Thomas Vidick (2014). Fully Device-Independent Quantum Key Distribution. Physical Review Letters 113, 140501. doi:10.1103/physrevlett.113.140501
  16. Rotem Arnon-Friedman, Frédéric Dupuis, Omar Fawzi, … Thomas Vidick (2018). Practical device-independent quantum cryptography via entropy accumulation. Nature Communications 9, 459. doi:10.1038/s41467-017-02307-4
  17. Won-Young Hwang (2003). Quantum Key Distribution with High Loss: Toward Global Secure Communication. Physical Review Letters 91, 057901. doi:10.1103/physrevlett.91.057901
  18. Hoi-Kwong Lo, Xiongfeng Ma, Kai Chen (2005). Decoy State Quantum Key Distribution. Physical Review Letters 94, 230504. doi:10.1103/physrevlett.94.230504
  19. M. Lucamarini, Z. L. Yuan, J. F. Dynes, A. J. Shields (2018). Overcoming the rate–distance limit of quantum key distribution without quantum repeaters. Nature 557, 400-403. doi:10.1038/s41586-018-0066-6
  20. Yang Liu, Wei-Jun Zhang, Cong Jiang, … Jian-Wei Pan (2023). Experimental Twin-Field Quantum Key Distribution over 1000 km Fiber Distance. Physical Review Letters 130, 210801. doi:10.1103/physrevlett.130.210801
  21. D. P. Nadlinger, P. Drmota, B. C. Nichol, … J.-D. Bancal (2022). Experimental quantum key distribution certified by Bell's theorem. Nature 607, 682-686. doi:10.1038/s41586-022-04941-5
  22. Wei Zhang, Tim van Leent, Kai Redeker, … Harald Weinfurter (2022). A device-independent quantum key distribution system for distant users. Nature 607, 687-691. doi:10.1038/s41586-022-04891-y
  23. Wen-Zhao Liu, Yu-Zhe Zhang, Yi-Zheng Zhen, … Jian-Wei Pan (2022). Toward a Photonic Demonstration of Device-Independent Quantum Key Distribution. Physical Review Letters 129, 050502. doi:10.1103/physrevlett.129.050502
  24. Lars Lydersen, Carlos Wiechers, Christoffer Wittmann, … Vadim Makarov (2010). Hacking commercial quantum cryptography systems by tailored bright illumination. Nature Photonics 4, 686-689. doi:10.1038/nphoton.2010.214
  25. Dominic Mayers (1997). Unconditionally Secure Quantum Bit Commitment is Impossible. Physical Review Letters 78, 3414-3417. doi:10.1103/physrevlett.78.3414
  26. Hoi-Kwong Lo, H. F. Chau (1997). Is Quantum Bit Commitment Really Possible?. Physical Review Letters 78, 3410-3413. doi:10.1103/physrevlett.78.3410
  27. Stefano Pirandola, Riccardo Laurenza, Carlo Ottaviani, Leonardo Banchi (2017). Fundamental limits of repeaterless quantum communications. Nature Communications 8, 15043. doi:10.1038/ncomms15043
  28. Shin Sun, Daniel Bhatti, David Elkouss (2026). Existence of bound secrecy in six-state quantum key distribution. arXiv:2611.37185
  29. D. Gottesman, Hoi-Kwong Lo (2003). Proof of security of quantum key distribution with two-way classical communications. IEEE Transactions on Information Theory 49, 457-475. doi:10.1109/tit.2002.807289arXiv:quant-ph/0105121
  30. Marco Tomamichel, Christian Schaffner, Adam Smith, Renato Renner (2011). Leftover hashing against quantum side information. IEEE Transactions on Information Theory 57, 5524-5535. doi:10.1109/TIT.2011.2158473arXiv:1002.2436
  31. Marco Tomamichel (2016). Quantum Information Processing with Finite Resources. SpringerBriefs in Mathematical Physics, Springer. doi:10.1007/978-3-319-21891-5arXiv:1504.00233

Contributors

  • KetQat maintainers · @ketqatConceptualization; Supervision (CRediT roles)
  • Claude (AI drafting assistant)Writing, original draft (CRediT roles)

Review history

  1. Automated source check · Pass · 2026-12-01 · Independent automated verification pass (AI, not the drafting session)

    Topic's own text checked (embedded records carry their own review states): intercept-resend Q = f/4 and the 5%/0.427 example, the BB84 vs DIQKD comparison (0.717, 0.587, 0.315) and the 2 log2(10^10) = 66.4-bit leftover-hashing cost recomputed; history and assumptions consistent with the sources opened for the embedded records (BB84 reprint arXiv 2003.06557, Shor-Preskill quant-ph/0003004, TLGR 1103.4130, Acin et al. quant-ph/0702152, Portmann-Renner 2102.00021); twin-field sqrt(eta) scaling compared with Lucamarini et al. arXiv 1811.06826 abstract; DIQKD experiments compared with the Nadlinger et al. (arXiv 2109.14600: trapped ions linked by fibre, finite-statistics analysis) and Zhang et al. (arXiv 2110.00575: two Rb atoms 400 m apart, asymptotic security estimates) abstracts; Crossref titles/venues of Xu 2020, Vazirani-Vidick 2014, Hwang 2003, Lo-Ma-Chen 2005, Liu 2022 (photonic DIQKD), Liu 2023 (TF-QKD over 1000 km), Lydersen 2010 (bright-illumination hacking) checked against the statements attributed to them.

  2. Automated source check · Pass · 2026-12-01 · Independent automated verification pass (AI, not the drafting session)

    Follow-up check of the added 2026 bullet on Sun, Bhatti and Elkouss only: compared with the full text of arXiv:2611.37185v1 (abstract, introduction, source and protocol model, Theorem 1 with q in [q*, 1/2] and arbitrary interactive classical postprocessing, Conclusion on entanglement for q* <= q < 1/3); q* = (5 - sqrt5)/10 = 0.2764 recomputed; achievability below q* is attributed to earlier work in the paper, as the bullet says; reference entry title, authors, year, id and preprint status agree with the arXiv listing.

Revision history

  1. 2026-12-01Content release 2.1.0: 35 more topics, an independent source check of every record, intake hardening (#17)80537b7e
  2. 2026-11-30KetQat Commons: free learning paths, knowledge records, research problems, literature intake (#14)571c9b10

Current revision 6b80f2bf4274902e. Source file knowledge/records/topic/quantum-cryptography.md in the content repository (readable there once it is public).