Measurement-Device-Independent QKD
Every deployed quantum key distribution link has a soft underbelly, and it is not the channel — it is the detector. BB84 proves that no eavesdropper can copy an unknown qubit, yet the theorem says nothing about a single-photon detector that can be blinded by a bright laser, nudged by a time-shifted pulse, or exploited through an efficiency mismatch between its two channels. The overwhelming majority of successful attacks on real systems have walked in through exactly this door: the measurement apparatus, not the quantum states. Device-independent QKD closes the door completely by certifying security from a loophole-free Bell violation, but it demands near-unit detection efficiency and remains punishingly hard to realize. Measurement-device-independent QKD, introduced by Lo, Curty and Qi in 2012, finds the sweet spot. Its structural move is disarmingly simple: make Alice and Bob both transmitters. Each prepares a BB84 state and sends it to a central node, Charlie, who is assumed to be completely untrusted — he may be the eavesdropper Eve herself. Charlie performs a Bell-state measurement that interferes the two photons and publicly announces which Bell state he saw, or a failure. A successful announcement correlates Alice's and Bob's signals without revealing either, so they can sift a key while the detector — the very organ that leaked in every hardware hack — sits in enemy hands. The reason this is safe is best seen by running teleportation backwards. Where teleportation consumes entanglement to move a state, a Bell measurement on two travelling photons creates entanglement between the two distant senders — entanglement swapping. Because virtual entanglement appears no matter who or what runs the measurement, the honest parties inherit a secure key from untrusted hardware. The price is rate: two photons must arrive coincidentally, so the key rate falls with the product of the two channel transmittances — the penalty that later motivated twin-field QKD.
- Measurement-device-independent QKD (MDI-QKD) removes all detector side-channel attacks by handing the measurement to an untrusted relay, Charlie, who performs a Bell-state measurement (BSM) on photons that Alice and Bob both send inward.
- Security follows from time-reversed EPR: a successful BSM swaps entanglement between Alice and Bob, so Charlie's public announcement — even if he is Eve and lies — is statistically independent of the sifted key, .
- A linear-optics BSM cleanly identifies only and ; the other two Bell states bunch indistinguishably, capping the success probability at for ideal single photons.
- Real systems use weak coherent pulses, which reopens the photon-number-splitting threat at the source; three-intensity decoy states bound the single-photon yield and phase error to restore security.
- The secret rate scales linearly with total transmittance, — the same order as a direct link — because a two-photon coincidence multiplies survival probabilities; twin-field QKD later recovered .
- Key idea: turn both honest parties into transmitters and give the measurement to an untrusted middle node performing a Bell-state measurement — a successful BSM swaps entanglement between Alice and Bob, so the announced outcome reveals nothing about the key and no detector attack can succeed.
Turn both honest parties into transmitters and give the measurement to an untrusted middle node performing a Bell-state measurement: a successful BSM swaps entanglement between Alice and Bob, so the announced outcome reveals nothing about the key and no detector attack can succeed — security becomes independent of the measurement device.
Where this lives today
MDI-QKD has moved from theory to deployable network element. Because the relay can be wholly untrusted, it is the natural building block for star-topology metropolitan networks: a provider runs the expensive, attack-prone detectors at one central node, and every subscriber needs only a transmitter, with any pair of users routing photons to the shared relay for a pairwise key. Field trials have run it over installed telecom fiber across cities. Its most consequential offspring is twin-field QKD, which kept the untrusted relay but replaced the two-photon coincidence with single-photon interference; experiments have since pushed secure key distribution past 800 km of fiber and beaten the Pirandola–Laurenza–Ottaviani–Banchi repeaterless capacity bound — a milestone the untrusted-relay idea made conceptually possible. The open frontiers are now source-side: closing Trojan-horse and mode-mismatch channels, tightening finite-key proofs for realistic block sizes, and stabilizing the interferometric phase between two independent lasers to keep twin-field visibility high over hundreds of kilometers.
The physical picture
Imagine Alice and Bob each mailing a sealed photon to a referee who claims to have "measured them together." If the referee is honest, his Bell-state announcement tells him only the relation between the two photons, never either individual value — like learning that two coins landed the same without learning whether both were heads or both tails. If the referee is Eve, she is welcome to the relation: it is public anyway, and it does not name the key. The first figure lays out this three-party geometry and the numbers that flow from it.
The deeper picture is time-reversed teleportation. In ordinary teleportation a Bell measurement plus a classical message destroys a state here and recreates it there. Run the logic backward and a Bell measurement on two travelling photons creates entanglement between the two distant senders — entanglement swapping. Because this happens no matter who runs the measurement, the honest parties can establish virtual entanglement through completely untrusted hardware, then read a key off it. What makes the whole scheme practical rather than merely elegant is that the Bell measurement can be built from a single beam splitter and two detectors — the second figure shows exactly which outcomes such a linear-optics analyzer can and cannot resolve.
The index of these correlations changes nothing about the security core but everything about the rate: two photons must survive their separate journeys and arrive together, and independent survival probabilities multiply. This is the conceptual seed of twin-field QKD — interfere a single photon's worth of amplitude at the relay instead of demanding a genuine two-photon coincidence, and the quadratic penalty softens to a square root.
The core equations
The four Bell states are the alphabet of the whole protocol: they are the maximally entangled two-qubit states, mutually orthogonal, and it is which one Charlie reports that carries the sifting information. Only two of them survive a linear-optics analyzer, a fact that will cost a factor of two in rate.
where: — computational (e.g. horizontal/vertical polarization) basis states of a single photonic qubit; — the four maximally entangled Bell states. Reading: a linear-optics BSM cleanly flags only and , so a real analyzer speaks a two-letter alphabet plus "fail." Each round of the prepare-and-measure protocol is one line: Alice and Bob independently prepare BB84 states and send them to Charlie, whose only output is a public classical symbol. Everything downstream — sifting, error estimation, distillation — acts on that symbol and the two parties' private records.
where: — BB84 states, each drawn from the basis or the basis ; — untrusted relay (Charlie / Eve); — public BSM announcement used for sifting. Reading: the honest parties keep rounds where a valid Bell state was announced and they used a common basis; the rest are discarded. The Bell measurement itself is nothing more than a 50:50 beam splitter feeding two polarization-resolving detectors. The mode transformation below is the entire optical content of Charlie's box, and the interference it produces is what maps a Bell state onto a detector pattern.
where: — input mode annihilation operators for Alice's and Bob's photons; — output modes feeding the two detector ports. Reading: a coincidence across the two ports with orthogonal polarizations flags ; a double click in one port flags . Because cause the two photons to bunch into a single mode (Hong–Ou–Mandel interference) indistinguishably, they cannot be resolved. Exactly two of the four states are identifiable, which fixes the ideal success probability.
where: — probability that the linear-optics BSM unambiguously names the incoming Bell state. Reading: the cap of is a hard ceiling for passive linear optics; ancilla photons or nonlinear interactions can raise it but are impractical. The asymptotic secret-key rate keeps only the events where both parties emitted a single photon — those are the events whose security decoy states can certify. The first term is the distillable key from single-photon rounds; the second is the cost of reconciling errors on the full sifted data.
where: — gain from rounds where both Alice and Bob emit exactly one photon; — -basis (phase) error rate of those single-photon rounds, which bounds Eve's information; — overall gain and -basis QBER at signal intensities (Alice) and (Bob); — reconciliation inefficiency ( at the Shannon limit). Reading: the key is built from the basis, its secrecy certified by the -basis phase error — the same "data / test basis" split as BB84. The binary entropy function converts an error probability into a number of bits, and it appears twice in the rate: once as the leakage to Eve and once as the reconciliation overhead.
where: — an error probability in ; — bits of uncertainty per symbol. Reading: , ; the rate stays positive only while is small enough that the first term of (5) survives. With weak coherent pulses the source emits a Poisson mixture of photon numbers, and a multi-photon pulse is vulnerable to photon-number splitting. The decoy-state yield model is what lets Alice and Bob bound the single-photon contribution without trusting Eve.
where: — detection probability given photons entered the channel; — dark-count / background yield; — single-photon transmittance (including relay detection efficiency). Reading: by varying the mean photon number and solving the resulting linear system, the parties bound and — the two quantities equation (5) actually needs. Finally, the two-photon coincidence requirement fixes how the rate falls with distance, and a simple entropy inequality fixes the highest tolerable error. Both are the practical headline numbers.
where: — per-arm transmittances; — total end-to-end transmittance; — the BB84-class threshold where . Reading: the rate scales linearly in total transmittance — the same order as a direct link — and dies once the phase error crosses .
The goal is to show that conditioning on a successful Bell-state announcement leaves Alice and Bob with correlations that are completely independent of anything the measurement device — honest or adversarial — can hold. We work in the entanglement-based picture, where each party keeps one qubit of a local Bell pair and sends its twin to Charlie, follow the state through the swap, and track precisely what marginal information the relay's announcement can carry. The payoff is the formal content of measurement-device independence: the mutual information between the key and the public announcement is exactly zero, so no manipulation of the detectors can either extract or bias the key.
Step 1. Replace each BB84 source by its entanglement-based twin: Alice holds qubit and emits , Bob holds and emits , with each local pair in , so the global state before the relay is . Why: by the source-replacement lemma, preparing random BB84 states is statistically identical to measuring half of a Bell pair, so proving security here proves it for the real prepare-and-measure protocol.
Step 2. Project the two travelling qubits onto a Bell state at Charlie. Direct algebra gives : the measurement swaps entanglement, leaving the two retained qubits maximally entangled even though they never met. Why: this is entanglement swapping — the honest parties end up sharing a fresh Bell pair created entirely by hardware they do not trust, and the same holds up to a known Pauli correction for the outcome.
Step 3. Have Alice and Bob measure and in a common basis. The singlet gives : perfectly anti-correlated outcomes, from which a shared key bit is extracted after an agreed bit flip. Why: a maximally entangled state is perfectly correlated in every basis, so the key can be read in and its integrity checked in — exactly the two-basis structure security needs.
Step 4. Ask what Charlie ever held. His announcement is a function of the travelling qubits alone; the reduced state carries no marginal information about which key bit and will yield, because that bit is only defined once Alice and Bob measure their retained halves. Hence . Why: the key does not exist as classical data until after the swap, so a symbol computed before it cannot correlate with it — adversarial control of the BSM cannot change this.
Step 5. Transfer the conclusion back to prepare-and-measure. Because Steps 1–4 used only the source-replacement equivalence and the algebra of the swap, the real protocol — random BB84 states plus a public announcement — inherits with no trust assumption whatsoever on the detectors. Why: this is what "measurement-device-independent" means precisely — security that survives Eve owning, operating, and lying about the entire measurement apparatus.
Go deeper · Derivation B · 1 minHow a beam splitter sorts two of the four Bell states
The goal is to derive, from the beam-splitter mode transformation alone, the detector signatures that let a passive linear-optics analyzer distinguish and while leaving hopelessly ambiguous, and thereby to pin the success probability at one half. We write each polarization Bell state in second-quantized form, push the creation operators through the 50:50 beam splitter, and read off where the two photons land. The bunching and anti-bunching that emerge are pure Hong–Ou–Mandel interference, and they are the reason MDI-QKD pays a factor of two.
Step 1. Write the singlet as , the antisymmetric combination of one photon in each input arm with orthogonal polarizations. Why: the exchange antisymmetry of the singlet is exactly the property the beam splitter will convert into a spatial anti-bunching signature.
Step 2. Substitute the beam-splitter rule and . The same-port terms and cancel by the minus sign, leaving only cross-port terms. Why: the antisymmetric input survives only where the two photons exit in different ports, so produces a coincidence across the two detectors — its unique fingerprint.
Step 3. Repeat for , the symmetric combination. Now the cross-port terms cancel and the same-port terms add, so both photons exit the same port with orthogonal polarizations — a double click in one detector. Why: and therefore have distinct, cleanly separable signatures, which is why precisely two Bell states are resolvable.
Step 4. Try . Here the two photons share a polarization, so they bunch into a single spatial mode and , produce identical statistics — no measurement of click position or polarization tells them apart. Why: with only linear optics there is no port-and-polarization pattern that separates from , so both are lost.
Step 5. Count: two of the four equally likely Bell states are identified, so an ideal single-photon input yields a resolvable outcome with probability . Why: this ceiling is a theorem about passive linear optics, not an engineering limit — it directly halves the coincidence yield that reaches the key.
Go deeper · Derivation C · 2 minWhy the secret-key rate scales with the total transmittance
The goal is to establish that MDI-QKD's secret-key rate falls linearly with the total end-to-end transmittance — quadratically in each per-arm transmittance — because a Bell measurement demands that two independently attenuated photons arrive together. We count the survival of each photon down its own fiber, impose the coincidence, fold in the linear-optics BSM ceiling, and then compare the result to both a direct link and to twin-field QKD, so the "why is MDI slow" question gets a quantitative answer rather than a slogan.
Step 1. Assign each arm its own survival probability: Alice's photon reaches Charlie with probability and Bob's with probability . For a fiber of length per arm, with attenuation in dB/km. Why: the relay sits in the middle, so each photon travels only half the total distance — this is what MDI trades for its two-photon requirement.
Step 2. Impose the coincidence. A Bell-state measurement needs both photons present in the same time window, and the two arms are independent, so the probabilities multiply: . Why: this single product is the origin of the entire rate penalty — one lost photon kills the round regardless of the other.
Step 3. Fold in the analyzer ceiling from the previous derivation: at most half of the coincidences yield a resolvable Bell state, so the useful click probability per pulse pair is , and the rate carries this same dependence, . Why: the rate is linear in the total transmittance but quadratic in each arm's transmittance — the defining scaling of MDI-QKD.
Step 4. Compare fairly. A direct point-to-point link over the full length has transmittance , which equals for the two-arm split — so MDI matches the order of a direct link's -scaling and buys detector security, not extra rate. Twin-field QKD instead interferes single-photon amplitudes at the relay, so a single arm's survival suffices and , beating the repeaterless bound. Why: replacing a two-photon coincidence with first-order interference is exactly the move from to — the reason twin-field QKD reaches roughly twice the distance of MDI at the same loss.
Limiting cases
The secure rate and the security guarantee behave in instructive ways at the extremes; each row isolates one lever of the protocol.
| Case | Result | Meaning |
|---|---|---|
| Lossless single photons | rate set by the single-photon yield ; positive whenever the phase error is small — the ideal ceiling | |
| High-loss symmetric link | two-photon coincidence forces linear scaling in total transmittance — the characteristic MDI distance penalty | |
| Untrusted / malicious relay | even if Eve owns Charlie and picks adversarially, sifted bits stay independent of — no detector attack helps | |
| Twin-field successor | single-photon interference at the relay recovers square-root scaling, beating the PLOB repeaterless bound while keeping measurement-device independence | |
| Phase error at threshold | , the secret rate vanishes; MDI's own optics must hold visibility well below this |
Worked examples
1 · Rate-distance penalty over a 200 km fiber (fully worked)
A symmetric MDI-QKD link spans km of fiber at attenuation dB/km, with the untrusted relay at the midpoint. Find each arm's transmittance, the two-photon coincidence probability, the best-case useful BSM click rate per pulse pair, and how a twin-field link over the same distance would compare.
Step 1. Each arm is km, so the per-arm loss is dB and the transmittance is . Both arms are identical by symmetry.
Step 2. The Bell measurement needs both photons at once, and the arms are independent, so the coincidence probability is the product .
Step 3. At most half the coincidences yield a resolvable Bell state, so the useful click probability per pulse pair is . Only about one pulse pair in twenty thousand ever produces a sifted bit before any error correction — this is why MDI-QKD is rate-starved at long distance.
Step 4. Compare with twin-field QKD, whose click probability scales as instead of : . The ratio is , so at 200 km the twin-field relay produces useful events roughly two orders of magnitude more often than the MDI relay. η_A = η_B = 0.01, coincidence η = 10⁻⁴, useful click ≤ 5×10⁻⁵ per pair, and twin-field wins by ≈100× at this distance.
2 · Single-photon secret fraction and the 11 percent wall
From the single-photon rounds an MDI-QKD run measures a symmetric error rate and uses reconciliation inefficiency . What secret fraction does each single-photon Bell event yield, and how much margin remains before the protocol fails?
Step 1. Compute the binary entropy at the operating point. With and : and , so bits.
Step 2. Insert into the per-single-photon secret fraction : secret bits per single-photon Bell event. Positive and comfortably large — a healthy operating point.
Step 3. Find the wall. The one-way rate turns negative when , i.e. at . Evaluate at : and , giving . So the phase error may climb from 3% to about 11% before the secret rate vanishes — the same Shor–Preskill threshold BB84 obeys.
Step 4. Read the margin. At the run sits far below the ceiling, so realistic misalignment (a percent or two) and modest excess noise leave positive key; but because MDI needs two photons to interfere well, the interferometric visibility at the relay is what usually sets , making mode matching between Alice and Bob the practical battleground. r ≈ 0.58 bits per single-photon event, with roughly 8 percentage points of phase-error headroom before R hits zero.
Physics of the portrait
Measurement-device-independent QKD is the moment quantum cryptography stopped trusting its own hardware. It grew directly out of a decade of embarrassing detector hacks and the beautiful, impractical ideal of device independence — and it was one researcher's insistence on the practical middle path that gave it its form.
Origins · 1 minHoi-Kwong Lo and how this was discovered
Hoi-Kwong Lo is a physicist at the University of Toronto who has spent his career dragging quantum key distribution from proof-of-principle toward deployable engineering. After a Caltech PhD in 1994 and early work with H. F. Chau on the security of QKD, he became one of the architects of the decoy-state method (with Xiongfeng Ma and Kai Chen in 2005), which rescued weak-coherent-pulse BB84 from the photon-number-splitting attack and remains standard in every fielded system. His signature contribution came in 2012, when with Marcos Curty and Bing Qi he proposed measurement-device-independent QKD in Physical Review Letters — a scheme that answered the era's most damaging class of attacks, the detector hacks that had blinded and biased commercial systems, by refusing to trust the detectors at all. The idea was to invert the usual geometry: instead of one party sending to another's measurement box, both parties send to a central relay that need not be trusted, because a successful Bell-state measurement there merely swaps entanglement and announces a symbol that carries no key information. Simultaneously and independently, Braunstein and Pirandola reached the same destination from the entanglement-swapping side under the name "side-channel-free QKD." Lo's version, with its explicit decoy-state recipe and BB84-like encoding, was the one experimentalists could build, and within a year groups had demonstrated it over tens of kilometers of fiber. It also planted the seed for twin-field QKD, the 2018 successor that beat the repeaterless secret-key bound while keeping Lo's central insight: put the fragile, attackable measurement where the enemy can have it, and lose nothing.
Going further
Texts and papers. Lo, Curty & Qi, "Measurement-Device-Independent Quantum Key Distribution," Phys. Rev. Lett. 108, 130503 (2012) · Braunstein & Pirandola, "Side-Channel-Free Quantum Key Distribution," Phys. Rev. Lett. 108, 130502 (2012) · Lo, Ma & Chen, "Decoy State Quantum Key Distribution," Phys. Rev. Lett. 94, 230504 (2005) · Lucamarini et al., "Overcoming the rate–distance limit of QKD without quantum repeaters," Nature 557, 400 (2018) · Nielsen & Chuang, Quantum Computation and Quantum Information, §1.3.7 (teleportation) and §12.6 (QKD) · Preskill, Lecture Notes for Physics 219, Ch. 4 · Watrous, The Theory of Quantum Information, Ch. 2–3 (states, measurements, Bell bases).
Provenance. The Bell-basis definitions, the beam-splitter mode transform, and the 50% linear-optics BSM ceiling are textbook (Nielsen & Chuang §1.3.7; Watrous Ch. 2–3), and a verifier can reconstruct the singlet's output-port coincidence pattern directly from equation (3). The key-rate formula, the decoy yield relation , Poisson source statistics, and the one-way threshold () follow Lo–Curty–Qi (2012) and standard decoy-state analysis. The security core is the source-replacement / entanglement-swapping argument (Preskill Ch. 4). Worked-example numbers are re-derived here: from dB loss, , , and the twin-field comparison are all directly checkable. No fabricated performance figures are asserted; the quoted constants (, , the scaling exponents) are standard analytic results.
Prerequisites. BB84 Protocol · Bell-State Measurement · Entanglement Swapping · Quantum Teleportation · Photon-Number-Splitting Attack. Leads to. Twin-Field QKD · Information Reconciliation and Privacy Amplification · Quantum Bit Error Rate and Sifting · E91 Protocol.
Ask the tutor: Ask me to walk through the beam-splitter algebra that pins the Bell-state measurement at 50%, or to show step by step why the relay's announcement leaks exactly zero bits about the key.
Is MDI-QKD the same thing as device-independent QKD?
No, and the near-identical names cause endless confusion. Device-independent QKD (DI-QKD) trusts nothing about the hardware: its security is certified by observing a loophole-free Bell inequality violation, which requires near-unit detection efficiency and is extraordinarily hard to realize. MDI-QKD trusts the sources but not the measurement: Alice and Bob must prepare well-characterized BB84 states, but the detectors — historically the most attacked component — can be owned and operated by Eve. MDI-QKD thus buys the single most valuable slice of device independence, immunity to detector attacks, at a fraction of the experimental cost, which is exactly why it is deployable today while full DI-QKD is still a laboratory milestone.
Why does making both parties transmitters help at all?
Because it moves the vulnerable measurement out of the trusted zone entirely. In BB84, Bob's detector is inside the security perimeter, so any imperfection in it — blinding, time-shift, efficiency mismatch — becomes an attack surface. In MDI-QKD neither honest party measures the incoming quantum signal at all; both only send. The one measurement in the protocol happens at the untrusted relay, whose sole output is a public classical symbol. Since that symbol merely heralds a successful entanglement swap and carries no key information, there is nothing for a detector attack to steal or bias. The geometry, not any new physical law, is what closes the loophole.
Why is the success probability stuck at 50 percent, and does it matter?
A passive linear-optics analyzer — beam splitters, phase shifters, detectors, no nonlinearity or ancilla photons — can distinguish at most two of the four Bell states, because and send both photons into the same spatial mode with the same polarization and produce identical detector statistics. That caps at for ideal single photons. It matters for rate: half of all otherwise-good coincidences are simply discarded, a constant factor on top of the transmittance penalty. It does not matter for security, since the discarded rounds are heralded as failures and never enter the key. In principle nonlinear optics or auxiliary entangled photons can beat , but the resources are impractical.
If the relay is untrusted, what stops Eve from simply lying about the outcome?
Nothing stops her from lying — and it does not help her. Alice and Bob only keep rounds where Eve announces a valid Bell state, so lying about failures just costs rate, not security. If she announces a false success on rounds where she actually learned nothing, she has to guess a consistent correlation between Alice's and Bob's bits; any mismatch shows up as errors in the sampled test data (the -basis phase error), and once that error crosses the threshold the run aborts. Because her announcement is provably independent of the key (), no announcement strategy — truthful, biased, or fabricated — lets her learn the sifted bits without being caught by the error estimate.
Why do we still need decoy states if the detectors are untrusted?
Because decoy states defend the source, not the detectors, and the source is still trusted in MDI-QKD. Real systems use attenuated laser pulses whose photon number is Poisson-distributed, so some pulses contain two or more photons — and multi-photon pulses are vulnerable to the photon-number-splitting attack, in which Eve siphons off a copy and lets one photon through. The MDI property does nothing about this, since it is a source-side leak. Decoy states solve it by sending several intensities and solving the resulting linear system for the single-photon yield and phase error — the only quantities the key-rate formula certifies as secure — so the multi-photon events are safely bounded and subtracted.
How does MDI-QKD relate to twin-field QKD?
Twin-field QKD is MDI-QKD's direct descendant and keeps its central idea — an untrusted central relay — while changing what the relay measures. MDI-QKD demands a genuine two-photon coincidence, so its rate scales as the product of the two arm transmittances, . Twin-field instead has Alice and Bob send dim phase-encoded coherent pulses that interfere at a single detector, first-order, so only one photon's worth of amplitude needs to survive one arm; the rate then scales as , which beats the repeaterless secret-key capacity bound and roughly doubles the reachable distance. The cost is that twin-field must stabilize the optical phase between two independent, distant lasers — a demanding interferometric problem that MDI-QKD, relying on photon coincidence rather than phase, avoids.
Does MDI-QKD need true single photons to be secure?
No — it is secure with ordinary weak coherent pulses, which is what makes it practical. The security proof does not assume single photons; it isolates the single-photon component with decoy states and certifies the key from that component alone, treating all multi-photon contributions as potentially compromised. What single photons would buy is rate, not security: coherent pulses add accidental coincidences that raise the error rate. Decoy-state weak coherent pulses hit the sweet spot of security with off-the-shelf lasers, which is why every fielded MDI-QKD system uses them.