HomeQuantum PhysicsB92 Protocol: Two-State Quantum Key Distribution

B92 Protocol: Two-State Quantum Key Distribution

Interactive 3D simulation of the B92 quantum-key-distribution protocol: Alice encodes bits into two non-orthogonal states, Bob randomly measures and keeps only the 25% of photons that give a conclusive outcome, and an optional intercept-resend eavesdropper reveals herself through the sifted-key error rate.

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

This simulator plays out the B92 quantum key distribution protocol photon by photon in 3D. Alice encodes each bit into one of two non-orthogonal polarization states, Bob randomly picks a measurement basis for every incoming photon, and only the roughly one-in-four photons that yield a logically conclusive outcome are kept as sifted key bits — everything else is discarded live, in view. Flip on the intercept-resend eavesdropper to see how the no-cloning theorem forces Eve's own measurement to leak into the channel as a rising quantum bit error rate, the exact fingerprint Alice and Bob use to catch her.

⚙ Under the hood

Watch the B92 quantum key distribution protocol run photon by photon: Alice encodes bits into two non-orthogonal states, Bob randomly measures and keeps only the ~25% of conclusive outcomes, and an optional intercept-resend eavesdropper reveals herself through a rising quantum bit error rate.

quantum cryptographyQKDB92 protocolno-cloning theoremeavesdropping detectionquantum information

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

What did you find?

Add reproduction steps (optional)