🔐 BB84 Quantum Key Distribution: Eavesdropper Detection and Error Rate
Alice sends single photons in random polarisation bases to Bob along a fiber while an optional eavesdropper intercepts and resends them. The error rate of the sifted key rises from channel noise p to p + f/4 - fp/2, exposing Eve. Secret-key rate from the Shor-Preskill bound, with Monte Carlo checked against the exact formula.
⚙ Under the hood
Alice sends single photons in random polarisation bases to Bob along a fiber while an optional eavesdropper intercepts and resends them. The error rate of the sifted key rises from channel noise p to p + f/4 - fp/2, exposing Eve. Secret-key rate from the Shor-Preskill bound, with Monte Carlo checked against the exact formula.
quantum key distributionBB84quantum cryptographyQBEReavesdroppingphoton polarisationno-cloningBlenderThree.js
3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install