HomeQuantum PhysicsE91 Quantum Key Distribution: Entangled-Pair CHSH Test

E91 Quantum Key Distribution: Entangled-Pair CHSH Test

Interactive 3D simulation of the E91 quantum key distribution protocol: entangled photon pairs are measured at random analyzer angles, a CHSH Bell-inequality value is computed live to certify security, and matching-basis measurements are sifted into a shared key — with an adjustable eavesdropping attack that collapses S toward the classical bound.

Quantum Physics3DAdvanced60 FPS📱 Mobile-adapted⇄ 2D version
quantum-key-distribution-e91-protocol ↗ Open standalone

The E91 protocol distributes a secret key using entangled photon pairs instead of single prepared photons: Alice and Bob each choose one of three random analyzer angles per pair, matching-angle rounds are sifted into an identical shared key, and the remaining rounds feed a live CHSH Bell-inequality calculation whose value certifies the channel's security. This simulation renders the entangled pairs traveling in 3D from a central source to Alice's and Bob's stations, flashing green or red for each ±1 outcome, while an adjustable intercept-resend eavesdropping attack visibly collapses the measured CHSH S value from the quantum maximum of 2√2 toward — and past — the classical limit of 2, and raises the sifted key's bit-error rate.

⚙ Under the hood

Watch entangled photon pairs travel to Alice and Bob's stations, get measured at random analyzer angles, and feed a live CHSH Bell-inequality value that certifies the channel's security — with an adjustable eavesdropping attack that collapses the correlation.

quantum cryptographyentanglementBell inequalityCHSHE91 protocolquantum key distribution

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

What did you find?

Add reproduction steps (optional)