Six-State QKD: Three-Basis Eavesdropping Detection
Interactive quantum key distribution simulator: stream qubits from Alice to Bob, add a third measurement basis (six-state) or keep BB84's two, then switch on an intercept-resend eavesdropper and watch the QBER rise from a theoretical 25% to 33% in real time.
This simulation demonstrates the principles of quantum cryptography, specifically quantum key distribution (QKD), and how quantum mechanics can be used to create secure communication channels. A stream of qubits flies from Alice to Bob, each prepared in a randomly chosen basis and bit; toggle between BB84's two measurement bases and the six-state protocol's three, then switch on an intercept-resend eavesdropper to watch the sifted key rate and quantum bit error rate (QBER) shift in real time between the two protocols' theoretical values — 25% under BB84 versus 33% under six-state, the exact number that makes the third basis worth the lower sifting efficiency.
This simulation demonstrates the principles of quantum cryptography, specifically quantum key distribution (QKD). It illustrates how quantum mechanics can be used to create secure communication channels.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install