Quantum Cryptography Key Exchange Protocol Visualizer (BB84)
Status: Ready. Define parameters and press START.
1. Alice (Sender)
Random Bits (Initial Key):
...
Chosen Bases:
...
Transmitted States:
...
2. Quantum Channel
Photons are prepared and transmitted to Bob.
3. Bob (Receiver)
Random Bases (Measurement):
...
Measured Bits:
...
4. Sifting and Final Key
Key Comparison (Matching Bases Only)
| Index | Alice's Basis | Bob's Basis | Alice's Bit | Bob's Bit | Match? |
|---|
Initial Bits (Total Photons):
0
Sifted Key Length:
0
Quantum Bit Error Rate (QBER):
0.00%
Final Secret Key:
...
Key Efficiency Analysis
Simulation Parameters
Determines the length of Alice's initial bit string.
Simulates noise or eavesdropping (QBER threshold for detection is usually ~11%).
