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 key from a Bell pair
Section titled “A key from a Bell pair”A source produces pairs in the Bell state
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:
So if both measure in the basis, by applying first, they again get the same random bit. Check it in the sandbox: apply to both qubits and press Measure ×100. Then remove one of the two and measure again.
The two qubits start in . An before the measurement means “measure in the 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.
Alice measures her half of in the basis and gets the outcome for . What state is Bob’s qubit in now?
In the basis the pair is . Alice's outcome picks out the second term, leaving Bob's qubit in .
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.
What Eve does to the pair
Section titled “What Eve does to the pair”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
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 basis.
Apply 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 correlations, exactly as the CNOT copier did in the lesson on no-cloning. A sample of -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 , 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 .
A stronger test
Section titled “A stronger test”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, and . Bob has two, and . Every measurement gives or . In each round they each pick one at random. Afterwards, for each of the four combinations, they compute the correlation : the average of the product of their two results. It is if they always agree, if they always disagree, and 0 if their results are unrelated. Then they form
The classical limit
Section titled “The classical limit”Suppose each pair leaves the source carrying an answer sheet: a definite result for each measurement that might be made on it, , each . For one such pair,
and are either equal or opposite. If equal, the second bracket is zero and the first is . If opposite, the first is zero and the second is . Either way the whole expression is , and so its average over many pairs satisfies
This holds for any answer sheets whatever, including ones written by Eve.
The quantum value
Section titled “The quantum value”For , take measurement directions in one plane of the Bloch sphere, at angles and from the direction. Then the correlation depends only on the angle between them:
Angle is the basis and is the basis. The simulator starts with both of them using those two. Find settings that push above 2.
Things to try:
- Leave Alice at and , and tilt Bob’s two settings so that neither lines up with either of hers. What is the largest you can reach?
- At the best settings, lower the quality of the pairs. At what quality does the violation disappear?
- Press Measure 2,000 pairs a few times. A real experiment only ever has an estimate like this one.
The best choice is and . Three of the four pairs of directions are then apart, with correlation , and the fourth is apart, with correlation . The minus sign in turns that into a fourth positive contribution:
No quantum state and no choice of measurements gives more than . 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 .
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 . Is that possible?
The bound was derived for arbitrary answer sheets. The third option describes a real loophole, but it is a different attack: it requires that the settings were not chosen freely.
Why a violation means secrecy
Section titled “Why a violation means secrecy”Read the classical limit the other way round. If Alice and Bob observe , 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 . A value near shows that the pairs are close to , 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 there is no guarantee, and they abort.
Device independence
Section titled “Device independence”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.
Remember it
Section titled “Remember it”How do Alice and Bob get key bits from shared Bell pairs?
Each measures their qubit in a randomly chosen basis. When the bases match, their results agree, and those rounds form the key.
Write the CHSH quantity .
, where is the average product of the two results.
What are the classical and quantum limits on in the CHSH test?
2 for any results fixed in advance, and in quantum mechanics.
Why does a CHSH violation imply the key is secret?
Results that violate the bound cannot have been determined in advance, so no one could have known them beforehand. A maximal violation means the pair is correlated with nothing else.
What is the monogamy of entanglement?
If two qubits are in a pure maximally entangled state, neither can be correlated with any third system.
What does "device-independent" security mean?
Security is inferred from the observed statistics alone, such as a Bell violation, without trusting how the devices work inside.