Home▸Quantum Physics▸B92 Protocol (2D): Two-State Quantum Key Distribution

B92 Protocol (2D): Two-State Quantum Key Distribution

2D top-down companion to the 3D B92 quantum-key-distribution simulator: pan and zoom a live Alice-Eve-Bob channel as photons carrying two non-orthogonal states fly across it. Watch Bob keep only the ~25% conclusive measurements, and see an optional intercept-resend eavesdropper's guesses surface as a rising quantum bit error rate in the sifted key.

Quantum Physics2DAdvanced60 FPS📱 Mobile-adapted⇄ 3D version
2d-qe-topic-9 ↗ Open standalone

This is the 2D companion to the 3D B92 quantum-key-distribution simulator, driven by the exact same event-by-event model: 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. The channel diagram is now a flat, pannable and zoomable plane so you can follow many photons and the growing sifted-key grid at once. 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

2D top-down companion to the 3D B92 quantum-key-distribution simulator: pan and zoom a live Alice-Eve-Bob channel as photons carrying two non-orthogonal states fly across it. Watch Bob keep only the ~25% conclusive measurements, and see an optional intercept-resend eavesdropper's guesses surface as a rising quantum bit error rate in the sifted key.

quantum cryptographyQKDB92 protocolno-cloning theoremeavesdropping detectionquantum information

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

What did you find?

Add reproduction steps (optional)