OQCL   HomeStart Here7 SessionsTextbookProjectsQUEST LabSubmitUse CasesInstructor GuideReferences

Chapter 11 — Quantum Communication and BB84

Chapter purpose. Build enough conceptual and mathematical understanding to predict an experiment before running it. The projects below are applications of the chapter, not substitutes for the theory.

1. Information in incompatible bases

Quantum states prepared in different measurement bases cannot in general be distinguished perfectly from a single unknown copy. BB84 uses this fact operationally by randomly varying preparation and measurement bases.

2. Prepare, measure, and sift

Alice randomly chooses data bits and bases, prepares corresponding states, and Bob independently chooses measurement bases. After transmission they publicly compare bases—not secret bit values—and retain positions where their bases were compatible.

3. Eavesdropping creates disturbance

An intercept-resend eavesdropper must choose a measurement basis without knowing Alice's choice. Wrong-basis measurements disturb the state, and subsequent resent states can increase the quantum bit error rate observed by Alice and Bob.

4. What BB84 does not solve by itself

A complete secure communication system requires authenticated classical communication and careful finite-key/security analysis. The OQCL project is a pedagogical protocol simulation, not a production cryptographic implementation.

Student exploration and activities

Use cases: quantum key distribution and communication

BB84 provides a concrete way to connect incompatible measurement bases, disturbance, randomness, and security reasoning. It also helps distinguish quantum communication from quantum computation.

Problem: a classroom BB84 simulation is not a complete secure system

Real security requires authenticated classical communication, device assumptions, finite-key analysis, implementation security, and careful threat models. The teaching experiment demonstrates the core disturbance mechanism, not production security.

Suggested student activity

Students can simulate BB84 using cards or a table of random bases, perform sifting manually, and predict how an eavesdropper would affect the observed error rate.

Questions for exploration

Students can make a prediction, explain the reasoning in plain language, and identify an observation that would challenge the prediction. The outcome can then be connected to the mathematical model introduced in this chapter.

Optional reading and references: IBM Quantum Learning · MIT OpenCourseWare — Quantum Computation · Quantum Country · CERN Quantum Technology Initiative — Education. These are external resources used for comparison, further reading, and pedagogical inspiration; OQCL prose, examples, and project prompts are independently written.

Worked example

Simulate a short sequence with recorded Alice bases, Bob bases, and outcomes. Perform sifting explicitly. Then introduce intercept-resend on a controlled subset and compare the sifted-key error rate over many trials rather than relying on one small random sequence.

How to reason about the result

Separate three layers: (1) the ideal mathematical prediction, (2) finite-shot sampling, and (3) implementation effects such as noise or compilation. A good laboratory report identifies which layer can plausibly explain an observed discrepancy.

Check your understanding

  1. Why do Alice and Bob reveal bases but not the entire secret key?
  2. Why does intercept-resend introduce errors?
  3. Why should a classroom BB84 simulation not be described as a complete production security system?

Projects unlocked

Q21 — Continue from the chapter into the corresponding reproducible experiment.

Before moving on

You should be able to explain the central idea in your own words, perform the worked example without copying it, and make a falsifiable prediction for the first linked project.