Skip to content

Entanglement-based QKD

In BB84, Alice prepares qubits and sends them to Bob. In 1991 Artur Ekert proposed a different starting point: give Alice and Bob one qubit each from an entangled pair. The key then comes from the correlations of the pair, and the test for eavesdropping becomes a test of whether the pair is really entangled.

This lesson assumes you know entanglement and density matrices.

A source produces pairs in the Bell state

∣Φ+⟩=12(∣00⟩+∣11⟩)\ket{\Phi^+} = \tfrac{1}{\sqrt2}\bigl(\ket{00} + \ket{11}\bigr)

and sends one qubit to Alice and the other to Bob. If both measure directly, they get the same random bit. That is one bit of shared key.

The Bell state has a second property that matters just as much. Rewrite it in the other basis and it has the same form:

∣Φ+⟩=12(∣++⟩+∣−−⟩).\ket{\Phi^+} = \tfrac{1}{\sqrt2}\bigl(\ket{++} + \ket{--}\bigr).

So if both measure in the ×\times basis, by applying HH first, they again get the same random bit. Check it in the sandbox: apply HH to both qubits and press Measure ×100. Then remove one of the two and measure again.

SandboxA Bell pair in two bases

The two qubits start in ∣Φ+⟩\ket{\Phi^+}. An HH before the measurement means “measure in the ×\times basis”.

This puzzle needs JavaScript.

With the same basis on both sides the outcomes are always 00 or 11. With different bases all four outcomes appear, and Bob’s bit says nothing about Alice’s.

This gives a protocol. For each pair, Alice and Bob each choose a basis at random and measure. Afterwards they announce their bases, keep the rounds where the bases matched, and compare a sample to estimate the error rate. It is BB84’s sifting and BB84’s test, and the classical processing from the last lesson applies unchanged.

Check

Alice measures her half of ∣Φ+⟩\ket{\Phi^+} in the ×\times basis and gets the outcome for ∣−⟩\ket{-}. What state is Bob’s qubit in now?

That question shows why the two protocols are really one. When Alice measures her half of the pair in a random basis and gets a random result, Bob’s qubit becomes one of the four BB84 states, chosen at random. From Bob’s side nothing distinguishes this from Alice preparing that state and sending it. The entangled version is BB84 with the preparation step replaced by a measurement.

It has some practical attractions all the same. The key bits do not exist anywhere until the measurements are made. And the source can sit in the middle, halfway between Alice and Bob, and it does not have to be trusted. To see why not, look at what an untrustworthy source could do.

Suppose Eve builds the source. She would like a third qubit of her own that tracks the key. The obvious design copies the bit value onto her qubit, giving the three-qubit state

12(∣000⟩+∣111⟩).\tfrac{1}{\sqrt2}\bigl(\ket{000} + \ket{111}\bigr).

When Alice and Bob measure directly, they agree, and Eve’s qubit shows the same bit. Now see what happens when Alice and Bob both use the ×\times basis.

SandboxA pair with a third party

Apply HH to Alice’s and Bob’s qubits and press Measure ×100. Look at the first two bits of each outcome.

This puzzle needs JavaScript.

Alice’s and Bob’s results now agree only half the time. Eve’s copy has destroyed the ×\times correlations, exactly as the CNOT copier did in the lesson on no-cloning. A sample of ×\times-basis rounds exposes her at once.

There is a general principle behind this. If Alice’s and Bob’s qubits are in the pure state ∣Φ+⟩\ket{\Phi^+}, then nothing else in the universe can be correlated with them: a pure state of two qubits has no room for a third party. Entanglement of this kind cannot be shared around. This is called the monogamy of entanglement. To certify that the key is private, Alice and Bob need only certify that their pairs are close to ∣Φ+⟩\ket{\Phi^+}.

Comparing results in two bases is a fine test if Alice and Bob trust their own equipment to measure what it claims to measure. Ekert’s idea was to use a test that asks for much less: the one John Bell devised in 1964 to settle whether quantum correlations could be explained by properties the particles carry with them from the source.

The version used in practice is due to Clauser, Horne, Shimony and Holt, and is called CHSH. Alice has two possible measurements, a0a_0 and a1a_1. Bob has two, b0b_0 and b1b_1. Every measurement gives +1+1 or −1-1. In each round they each pick one at random. Afterwards, for each of the four combinations, they compute the correlation E(a,b)E(a, b): the average of the product of their two results. It is +1+1 if they always agree, −1-1 if they always disagree, and 0 if their results are unrelated. Then they form

S=E(a0,b0)+E(a0,b1)+E(a1,b0)−E(a1,b1).S = E(a_0, b_0) + E(a_0, b_1) + E(a_1, b_0) - E(a_1, b_1).

Suppose each pair leaves the source carrying an answer sheet: a definite result for each measurement that might be made on it, A0,A1,B0,B1A_0, A_1, B_0, B_1, each ±1\pm1. For one such pair,

A0B0+A0B1+A1B0−A1B1=A0(B0+B1)+A1(B0−B1).A_0B_0 + A_0B_1 + A_1B_0 - A_1B_1 = A_0(B_0 + B_1) + A_1(B_0 - B_1).

B0B_0 and B1B_1 are either equal or opposite. If equal, the second bracket is zero and the first is ±2\pm2. If opposite, the first is zero and the second is ±2\pm2. Either way the whole expression is ±2\pm2, and so its average over many pairs satisfies

∣S∣≤2.|S| \le 2.

This holds for any answer sheets whatever, including ones written by Eve.

For ∣Φ+⟩\ket{\Phi^+}, take measurement directions in one plane of the Bloch sphere, at angles aa and bb from the ∣0⟩\ket{0} direction. Then the correlation depends only on the angle between them:

E(a,b)=cos⁡(a−b).E(a, b) = \cos(a - b).

Angle 0°0° is the ++ basis and 90°90° is the ×\times basis. The simulator starts with both of them using those two. Find settings that push SS above 2.

SimulatorRun a Bell test

Things to try:

  1. Leave Alice at 0°0° and 90°90°, and tilt Bob’s two settings so that neither lines up with either of hers. What is the largest SS you can reach?
  2. At the best settings, lower the quality of the pairs. At what quality does the violation disappear?
  3. Press Measure 2,000 pairs a few times. A real experiment only ever has an estimate like this one.

The best choice is b0=45°b_0 = 45° and b1=−45°b_1 = -45°. Three of the four pairs of directions are then 45°45° apart, with correlation cos⁡45°=12\cos 45° = \tfrac{1}{\sqrt2}, and the fourth is 135°135° apart, with correlation −12-\tfrac{1}{\sqrt2}. The minus sign in SS turns that into a fourth positive contribution:

S=4×12=22≈2.83.S = 4 \times \tfrac{1}{\sqrt2} = 2\sqrt2 \approx 2.83.

No quantum state and no choice of measurements gives more than 222\sqrt2. The simulator’s model of imperfect pairs scales every correlation down by the same factor, and the violation survives only while that factor stays above 12≈71%\tfrac{1}{\sqrt2} \approx 71\%.

Check

Eve builds the source and fixes, in advance, the result of every measurement Alice and Bob might make. They choose their settings freely and find S=2.7S = 2.7. Is that possible?

Read the classical limit the other way round. If Alice and Bob observe S>2S > 2, then their results were not written down in advance, by Eve or by anyone. Results that did not exist before the measurement cannot have been known to an eavesdropper before the measurement.

That is the heart of Ekert’s protocol, usually called E91. Alice and Bob each choose among a few settings. Rounds where their settings coincide give key bits. Rounds with the other combinations are used to estimate SS. A value near 222\sqrt2 shows that the pairs are close to ∣Φ+⟩\ket{\Phi^+}, and by monogamy, that no third party is correlated with them. A lower value bounds how much Eve might know, and privacy amplification removes it. At S≤2S \le 2 there is no guarantee, and they abort.

The CHSH argument made no mention of qubits, bases or what happens inside the measuring devices. It used only the settings chosen and the results seen. So the conclusion holds even if the devices are poorly built or were supplied by an adversary. Key distribution whose security rests on an observed Bell violation alone is called device-independent.

It is the strongest form of security anyone knows how to define, and it removes the gap between ideal and real devices that the last lesson ended on. It still needs some assumptions:

  • The settings are chosen at random, by something Eve cannot predict.
  • No information leaves Alice’s or Bob’s laboratory except what they choose to announce.
  • The Bell test has no loopholes. In particular, enough of the pairs must actually be detected: if most are lost, a dishonest device can fake a violation by choosing which rounds to respond in.

The last requirement is demanding. Bell tests that closed the main loopholes at once were first performed in 2015. The first laboratory demonstrations of device-independent key distribution were reported in 2022, over short distances and at very low key rates. It is a proof of principle for now, not a technology.

Entanglement-based key distribution with trusted devices is much further along, and has been demonstrated between ground stations more than a thousand kilometres apart using a satellite as the source. Entanglement is also the natural resource for future quantum networks, where pairs would be relayed across long distances by teleportation.

The next lesson changes direction: from what quantum mechanics gives cryptography to what it takes away.

RecallAnswer from memory, then check
LessonFinish this lesson