Home▸Articles▸Quantum Physics

BB84: Detecting Eavesdropping with Quantum Bit Error Rate

A foundational protocol in quantum cryptography that leverages the principles of quantum mechanics to secure communication.

mysimulator teamUpdated June 2026≈ 3 min read▶ Open the simulation

What is BB84?

BB84, named after its inventors Charles Bennett and Gilles Brassard, is a quantum key distribution protocol that allows two parties to establish a shared secret key over an insecure channel. The protocol uses the principles of quantum mechanics, particularly superposition and entanglement, to ensure security against eavesdropping.

In BB84, one party (Alice) sends qubits (quantum bits) to another party (Bob) using two different bases: rectilinear (0° and 90°) for classical states |0⟩ and |1⟩, and diagonal (45° and 135°) for the superposition states |+⟩ and |-⟩. Eve, an eavesdropper, cannot perfectly measure these qubits without disturbing them.

How Does QBER Work?

Quantum bit error rate (QBER) is a key metric in BB84 for detecting eavesdropping. When Alice and Bob compare their measurement bases, they find that the bits do not match due to Eve's interference. The higher the QBER, the more likely it is that Eve has intercepted and possibly tampered with the qubits.

Eve’s attempts to intercept and resend photons introduce errors in the communication channel. By analyzing these errors, Alice and Bob can determine if their key is secure or if they need to discard it and start over.

live demo · related simulation● LIVE

Why Does BB84 Matter?

BB84 is significant because it provides a provably secure method of exchanging cryptographic keys. Unlike classical cryptography, which relies on the computational difficulty of certain problems, quantum key distribution (QKD) uses the laws of physics to ensure security.

The protocol has been experimentally demonstrated and is being developed for practical applications in secure communication networks.

Real-World Applications

BB84 can be used in various scenarios where high levels of security are required, such as financial transactions, military communications, and personal data protection.

While still in the developmental stage, QKD is expected to play a crucial role in future secure communication systems, especially with the advent of quantum computers that could break traditional cryptographic methods.

Frequently asked questions

How does BB84 ensure security against eavesdropping?

BB84 ensures security by using the principles of quantum mechanics. Any attempt to intercept and measure qubits will disturb them, leading to errors that Alice and Bob can detect when they compare their keys.

What is QBER in BB84?

QBER stands for Quantum Bit Error Rate, which measures the rate of bit errors between Alice's and Bob's measurements. A high QBER indicates potential eavesdropping by Eve.

Can BB84 be used to secure everyday communication like emails or phone calls?

Yes, while not yet widely implemented, BB84 can theoretically be used for securing everyday communications. However, practical challenges such as distance and technological limitations need to be addressed.

Is QKD the same as BB84?

QKD (Quantum Key Distribution) is a broader term that encompasses various protocols like BB84. BB84 is one specific protocol within the field of QKD.

Try it live

Everything above runs in your browser — open BB84: Detect Eavesdropping with QBER and change the parameters while it is running. Nothing is installed, nothing is uploaded, the whole model lives in one tab.

▶ Open BB84: Detect Eavesdropping with QBER simulation

What did you find?

Add reproduction steps (optional)