Sifted, correct Sifted, error (Eve/noise) Discarded (basis mismatch) Eve intercepted

BB84 Quantum Key Distribution: Photon Polarization Protocol (2D)

This 2D companion runs the real BB84 protocol instead of the 3D version's decorative particle-swarm shell: Alice prepares each photon with a random bit in a random polarization basis, an optional eavesdropper intercepts and resends a fraction of the stream, channel noise flips bits independently, Bob measures in his own random basis, and the panel sifts the key by comparing only bases (never bits) — with quantum bit error rate, the 11% BB84 security threshold, and an estimated secure key rate after privacy amplification all readable live as you sweep photon rate, Eve's intercept probability, channel noise and the sample fraction sacrificed for error checking.