Home▸Quantum Physics▸BB84 Quantum Key Distribution — Photon Basis Diagram (2D)

🔑 BB84 Quantum Key Distribution — Photon Basis Diagram (2D)

Step-by-step 2D BB84 quantum key distribution simulator: watch Alice's photons travel through random rectilinear/diagonal bases to Bob, with an optional eavesdropper Eve whose intercept raises a detectable quantum bit error rate.

Quantum Physics2DModerate60 FPS📱 Mobile-adapted⇄ 3D version
2d-bb84 ↗ Open standalone
⚙ Under the hood

A step-by-step 2D diagram of the BB84 quantum key distribution protocol: Alice's photons travel through randomly chosen rectilinear and diagonal polarization bases to Bob, and bits where their bases match are sifted into a shared secret key. Toggle an eavesdropper, Eve, with an adjustable intercept probability to see how her measurements raise the quantum bit error rate and reveal her presence.

quantum cryptographyBB84key distributionpolarizationeavesdropper detectionno-cloning theorem

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)