MDI-QKD (measurement-device-independent quantum key distribution) is a quantum key distribution protocol in which two users each send quantum states to an untrusted central relay that performs a Bell-state measurement, so that the secrecy of the final key does not depend on the measurement devices being honest or well characterized. In quantum communication, it closes the entire class of detector side-channel attacks, which were historically the most successful attacks on practical QKD systems.
Proposed in 2012 by Hoi-Kwong Lo, Marcos Curty and Bing Qi, MDI-QKD keeps the simple, trusted transmitters of prepare-and-measure schemes while moving the vulnerable detectors into a node that may even be operated by an adversary.
How MDI-QKD works
MDI-QKD is a time-reversed version of entanglement-based QKD. Instead of a source distributing entangled pairs, Alice and Bob each prepare weak optical pulses encoded in randomly chosen bases, typically polarization or time-bin encoding, and send them to a relay usually called Charlie. Charlie interferes the two pulses on a beam splitter and announces which Bell state, if any, he detected.
A successful Bell-state measurement projects the two photons into an entangled state, which correlates the bits that Alice and Bob encoded. Depending on the announced Bell state and the bases, one user flips a bit so that both hold matching values. Because Charlie only learns the parity relation between the two inputs, not the bits themselves, his measurement reveals nothing useful about the key.
The protocol proceeds through the steps summarized in the table below.
| Step | Who acts | What happens |
|---|---|---|
| State preparation | Alice and Bob | Encode random bits in random bases with decoy intensities |
| Interference | Charlie | Overlaps both pulses on a beam splitter |
| Bell-state announcement | Charlie | Publicly reports successful projections |
| Sifting | Alice and Bob | Keep events with matching bases |
| Parameter estimation | Alice and Bob | Estimate single-photon yield and error with decoy statistics |
| Error correction and privacy amplification | Alice and Bob | Produce a shorter, secret final key |
Why removing detector trust matters
Single-photon detectors are the weakest component of practical QKD. Researchers have demonstrated detector blinding with bright light, time-shift attacks that exploit efficiency mismatch, and dead-time attacks, all of which let an eavesdropper control or predict detection outcomes without introducing visible errors. Each attack required a specific countermeasure, and new ones kept appearing.
MDI-QKD removes this arms race at the protocol level. Since the measurement is treated as a black box controlled by the adversary, any manipulation of Charlie’s detectors can only cause failed or incorrect announcements, which raise the observed error rate and are caught in parameter estimation. The remaining trust lies with the sources at Alice and Bob, which must be characterized and protected against attacks such as Trojan-horse probing.
MDI-QKD compared with related protocols
MDI-QKD occupies a middle ground between conventional protocols such as BB84 and fully device-independent QKD. The comparison below shows the trade-off between security assumptions and practicality.
| Protocol | Trusted components | Key rate scaling with channel transmittance | Practical status |
|---|---|---|---|
| Decoy-state BB84 | Source and detectors | Linear in transmittance | Mature, commercially deployed |
| MDI-QKD | Sources only | Linear in transmittance | Demonstrated in field and network tests |
| Twin-field QKD | Sources only | Square root of transmittance | Long-distance records, demanding phase stabilization |
| Device-independent QKD | Neither source nor detectors | Very low rates at present | Proof-of-principle experiments |
Twin-field QKD inherits the measurement-device-independent property but relies on single-photon interference rather than two-photon interference, which allows it to exceed the repeaterless rate-loss bound. MDI-QKD, by contrast, cannot beat that bound, because a coincidence requires both photons to survive their respective paths.
Implementation requirements and performance
The Bell-state measurement depends on Hong-Ou-Mandel interference, so the photons from two independent lasers must be indistinguishable in arrival time, polarization, spectrum and central frequency. This demands active frequency locking or stabilization, polarization compensation along fiber links, and synchronization at the level of tens of picoseconds.
A linear-optics Bell-state analyzer can identify at most two of the four Bell states, which limits the success probability to 50 percent even with ideal detectors. The table lists key parameters and their typical influence.
| Parameter | Typical value or range | Effect on performance |
|---|---|---|
| Bell-state efficiency | At most 50 percent with linear optics | Directly scales the key rate |
| Detector efficiency | About 20-90 percent, higher for superconducting detectors | Enters squared because coincidences are needed |
| Interference visibility | Close to 50 percent maximum for coherent states | Lower visibility raises the error rate |
| Fiber loss | About 0.16-0.2 dB per km | Limits distance between users and relay |
| Decoy intensities | Two or three levels per user | Enable single-photon yield estimation |
Laboratory experiments have exceeded 400 km of ultralow-loss fiber, although key rates at that distance are tiny. Practical metropolitan links of tens of kilometers achieve rates from bits to kilobits per second, depending on detectors and repetition rate.
Network role and limitations
MDI-QKD fits naturally into a star network topology: many users connect to one central relay equipped with expensive superconducting detectors, and that relay does not need to be trusted. This differs fundamentally from a trusted node, which knows the keys it forwards.
- Distance remains bounded by loss: MDI-QKD is not a quantum repeater and gains no rate advantage over direct links.
- Source security is still required: imperfect state preparation and Trojan-horse attacks on transmitters must be addressed separately.
- Finite-key effects are significant: decoy estimation for two users needs large data blocks before a secure key emerges.
- Engineering complexity is higher than in point-to-point BB84 because of two-source interference.
Explained without jargon
Imagine two people who want to agree on a secret code by each sending a sealed signal to a referee in the middle. The referee only says whether the two signals matched in a certain way, never what they contained.
Even if the referee is dishonest, any tampering shows up as mistakes the two people can detect. The middle station does not need to be trusted, which removes the most frequently hacked part of earlier systems.
A typical use case
A city operator wants to give a hospital, a bank data center and a government office secure key exchange without trusting a shared hub. It installs one relay station with superconducting single-photon detectors in a central exchange building, linked to each site by 15 to 30 km of existing dark fiber.
Each site runs a compact transmitter that sends decoy-state pulses to the relay. Any pair of sites can then establish keys through MDI-QKD at rates of a few kilobits per second, used to refresh symmetric encryption keys. The costly detectors are shared, and compromising the relay reveals no key material, which simplifies the security case for the network.