Skip to main content

Plain-Language Intuition

Mode: Simple / School
Alice wants to share a secret key with Bob, but a spy (Eve) may be listening on the line. BB84 solves this with a trick only quantum physics allows: 1. Alice sends each key bit on a single qubit, and for each one she secretly picks one of two "languages" (bases): the straight basis Z or the diagonal basis X. 2. Bob does not know which language Alice used, so he picks one at random for each qubit and measures. 3. Afterwards they publicly compare which languages they used (never the bits!). Wherever they chose the same one, Bob's bit is guaranteed to match Alice's. They keep those bits and throw the rest away. Why is it secure? Eve must also guess the language. When she guesses wrong, her measurement scrambles the qubit, and Alice and Bob will see errors when they compare a sample of their key. A spy cannot listen without leaving fingerprints. Use the controls in the Circuit stage: matching bases give Bob the right bit 100% of the time, mismatched bases give him a 50/50 coin flip.

Quantum Cryptography

BB84 Quantum Key Distribution: quick reference

Alice and Bob grow a shared secret key from qubits sent in random bases; any eavesdropper unavoidably disturbs the states and is detected.

Topic
Quantum Cryptography
Level
Beginner
Circuit size
1 Qubit
Key result
Information-theoretic security

Concepts covered: BB84, Quantum Key Distribution, Conjugate Bases, Eavesdropper Detection, No-Cloning

Frequently asked questions

What is BB84 Quantum Key Distribution?

Alice and Bob grow a shared secret key from qubits sent in random bases; any eavesdropper unavoidably disturbs the states and is detected. It is a beginner-level topic in quantum cryptography.

How many qubits does the BB84 Key Distribution circuit use?

The QuanBit tutorial uses a 1 qubit circuit. Key result: Information-theoretic security.

Can I simulate BB84 Key Distribution online for free?

Yes. The interactive BB84 Key Distribution tutorial at https://www.quanbit.tech/learn/bb84 runs free in the browser with nothing to install. You can step through the circuit gate by gate, watch the probabilities, statevector and Bloch spheres update, build the circuit yourself and take a short quiz.