HomeQuantum PhysicsMDI-QKD: Detector-Blind Quantum Key Distribution

MDI-QKD: Detector-Blind Quantum Key Distribution

Interactive 3D simulator of Measurement-Device-Independent Quantum Key Distribution: Alice and Bob send polarized photons to an untrusted relay for a Bell-state measurement, generating a secret key that stays secure even if the relay's detectors are hacked.

Quantum Physics3DAdvanced60 FPS📱 Mobile-adapted
qe-topic-72 ↗ Open standalone

Measurement-Device-Independent Quantum Key Distribution closes the biggest real-world hole in quantum cryptography: attacks on the single-photon detectors themselves. Instead of Alice and Bob measuring each other's photons directly, both send randomly-encoded polarized photons to an untrusted relay that performs a Bell-state measurement and only announces whether a valid coincidence occurred — never which bits were sent. This simulator streams photon pairs from Alice and Bob to a central relay in real time, applies the Hong-Ou-Mandel bunching/anti-bunching rule that governs which pulses can herald a click, sifts a secret key from the survivors, and estimates the quantum bit error rate live. Flip on the "malicious relay" toggle to hack the detectors yourself and watch the QBER climb past the 11% security threshold that forces the protocol to abort the key — the exact mechanism that makes MDI-QKD immune to the detector-blinding attacks that have broken real commercial QKD systems.

⚙ Under the hood

Watch Alice and Bob send polarized photons to an untrusted relay for a Bell-state measurement that generates a secret key without the relay ever learning it — then try to hack the relay's detectors and watch the QBER expose the attack.

quantum cryptographyQKDBell measurementquantum securityphoton interferenceeavesdropping detection

3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)