Home▸Articles▸Quantum Physics

Decoy-State BB84: Defeating Photon-Number-Splitting Attacks

A robust protocol for quantum key distribution that mitigates eavesdropping threats.

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

What Decoy-State BB84 Is

Decoy-state BB84 is a quantum key distribution (QKD) protocol that enhances the security of quantum cryptography. It uses weak coherent pulses as signal and decoy states to estimate the channel's error rate, which helps in identifying any eavesdropping attempts.

The protocol was developed by Hoi-Kwong Lo, Alain Tapp, and Jean-Pierre Gisin in 2004, addressing a significant vulnerability of earlier QKD protocols: photon-number-splitting (PNS) attacks.

How It Works

In the protocol, Alice generates random bits and encodes them into polarization states of single photons. She sends these photons to Bob through a quantum channel. Meanwhile, she also transmits decoy pulses with varying intensities to estimate the error rate without revealing her actual message.

By analyzing the statistics from both signal and decoy states, Alice and Bob can detect any deviation that might indicate an eavesdropper's presence. If such deviations are found, they discard the key and restart the protocol.

live demo · related simulation● LIVE

Why It Matters

Decoy-state BB84 is crucial for secure communication because it provides a practical method to ensure that quantum keys are not intercepted or tampered with. This protocol has been widely adopted in QKD systems, making it an essential tool in the field of quantum cryptography.

The robustness against PNS attacks ensures that even if an eavesdropper tries to split and recombine photons, they will be detected, thus maintaining the security of the transmitted information.

Real-World Applications

Decoy-state BB84 is used in various applications where secure communication is critical. For example, it can be employed in financial transactions, military communications, and government operations to protect sensitive data.

Additionally, the protocol's principles are also applied in other areas of quantum technology, such as quantum computing and quantum networks.

Frequently asked questions

How does decoy-state BB84 detect eavesdropping?

By comparing the error rates between signal states and decoy states, Alice and Bob can identify any anomalies that suggest an eavesdropper's presence. Any deviation from expected statistics indicates a potential PNS attack.

What are the main advantages of using decoy-state BB84 over other QKD protocols?

Decoy-state BB84 is more secure against photon-number-splitting attacks, which can compromise the security of earlier QKD protocols. It provides a practical and reliable method for estimating the channel's error rate without revealing the actual message.

Can decoy-state BB84 be used in all types of quantum channels?

Decoy-state BB84 is primarily designed for lossy fiber optic channels. While it can be adapted to other types of channels, its effectiveness may vary depending on the specific channel characteristics.

Is decoy-state BB84 difficult to implement in practical applications?

While the protocol requires careful calibration and precise control over pulse intensities, modern technology has made it more feasible. Specialized equipment and software are available to facilitate its implementation in real-world scenarios.

Try it live

Everything above runs in your browser — open Decoy-State BB84: Defeating Photon-Number-Splitting Attacks and change the parameters while it is running. Nothing is installed, nothing is uploaded, the whole model lives in one tab.

▶ Open Decoy-State BB84: Defeating Photon-Number-Splitting Attacks simulation

What did you find?

Add reproduction steps (optional)