Home▸Articles▸Quantum Physics

B92 Protocol: Two-State Quantum Key Distribution

A fundamental protocol in quantum cryptography that ensures secure communication by leveraging the principles of quantum mechanics.

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

What is the B92 Protocol?

The B92 protocol is a quantum key distribution (QKD) method that allows two parties, Alice and Bob, to establish a shared secret key using the principles of quantum mechanics. It operates by encoding classical information into quantum states, which are then transmitted over an insecure channel.

In this protocol, Alice prepares qubits in one of two non-orthogonal states, typically denoted as |0> and |1>, while Bob measures these qubits with a randomly chosen basis. The protocol ensures security through the no-cloning theorem and the principle that any eavesdropping attempt will be detected.

How Does the B92 Protocol Work?

Alice encodes her bits into qubits using two non-orthogonal states, often chosen as |0> = (1/√2)(|+> + |->) and |1> = (1/√2)(|+> - |->), where |+> and |-> are the eigenstates of the Pauli X and Y operators respectively. Bob measures these qubits using a randomly chosen basis, which could be either the computational basis or the Hadamard basis.

After transmission, Alice and Bob publicly compare their bases without revealing the actual measurements. They only keep the outcomes where they used the same basis, effectively sifting through the data to create a shared key.

live demo · related simulation● LIVE

Security Mechanisms in B92

The security of the B92 protocol is based on the principles of quantum mechanics. Any attempt by an eavesdropper, Eve, to intercept and resend qubits will alter their state, leading to a higher error rate when Alice and Bob compare their measurements.

This property allows them to detect any tampering with the key exchange process, ensuring that the shared key is secure.

Real-World Applications of B92

The B92 protocol has significant applications in quantum cryptography and secure communication. It provides a method to generate a secret key that can be used for encryption, ensuring that any unauthorized access will be detected.

While the current technology is still evolving, the principles of QKD are being integrated into various security systems, including financial transactions, military communications, and personal data protection.

Frequently asked questions

What makes B92 different from other quantum key distribution protocols?

B92 uses two non-orthogonal states for encoding bits, which simplifies the protocol compared to others like BB84. This simplicity can make it easier to implement in certain scenarios.

How does the B92 protocol ensure security against eavesdropping?

The no-cloning theorem and the inherent properties of quantum states prevent an eavesdropper from perfectly copying qubits without disturbing them. Any attempt by Eve to intercept and resend qubits will introduce errors, which Alice and Bob can detect.

Can B92 be used for long-distance communication?

Yes, the principles of QKD are not limited by distance, but practical limitations such as signal attenuation and noise in the channel may affect its implementation over large distances.

What is the role of Alice and Bob in B92?

Alice prepares qubits in specific states and sends them to Bob. Bob measures these qubits using a randomly chosen basis, and both parties then compare their bases publicly without revealing measurements, sift through the data, and establish a shared key.

Try it live

Everything above runs in your browser — open B92 Protocol: Two-State Quantum Key Distribution and change the parameters while it is running. Nothing is installed, nothing is uploaded, the whole model lives in one tab.

▶ Open B92 Protocol: Two-State Quantum Key Distribution simulation

What did you find?

Add reproduction steps (optional)