Q21 — BB84 and Eavesdropping
Lab1.5–2.5 hSimulator
Scientific objective: Measure disturbance caused by intercept-resend behavior.
Prerequisite reading: Chapter 11 — Quantum Communication and BB84.
Before you code
- Write the state, operation, Hamiltonian, or protocol quantity relevant to this experiment.
- Write a qualitative prediction.
- Define the metric you will use to decide whether the prediction was supported.
Baseline experiment
Simulate BB84 with random bases, sifting, and QBER calculation. Add intercept-resend on a controlled fraction and compare QBER.
Step-by-step workflow
- Create
projects/q21-yourgithubname/. - Write the hypothesis in README.md before running.
- Implement the smallest baseline in
notebook.ipynb. - Run the simulator baseline and save raw counts/data.
- Calculate the required metric numerically; do not rely only on visual inspection.
- Create at least one labeled figure or table.
- Change exactly one primary experimental variable for the extension.
- Repeat the measurement with all other controls fixed.
- Explain agreement, disagreement, uncertainty, and limitations in REPORT.md.
Required upload
| File | Purpose |
|---|---|
| README.md | Question, hypothesis, reproduction instructions, runtime/backend. |
| notebook.ipynb | Executable experiment and analysis. |
| results/raw/ | Machine-readable counts/data; never credentials. |
| results/figures/ | Labeled plots/diagrams generated from results. |
| REPORT.md | Baseline, extension, interpretation, uncertainty, limitations, conclusion. |
Time and execution estimate
Student work: 1.5–2.5 h. Execution: Simulator. Simulator runtime is normally a small fraction of student working time for these teaching-scale examples. QPU queue and cost are provider-dependent and must be recorded rather than guessed.
Research extension
Propose one controlled extension that changes a scientifically meaningful variable. State the prediction before execution. A failed prediction is acceptable when the experiment is reproducible and the analysis is sound.
Submission
Apply by email and wait for instructor approval before beginning graded work. Submit the completed folder through a Pull Request and complete the repository checklist.
Project Guide: Q21
Scientific goal: BB84 and eavesdropping.
QUEST supplementary reading: Review BB84 quantum key distribution in the official qBraid QUEST resources or in the corresponding activity in your QUEST course workspace, if available. This is a topic recommendation, not a claim that QUEST hosts a public notebook for this exact project.
- Read the prerequisite OQCL chapter and write a testable hypothesis.
- Complete the baseline simulation and save code, parameters, and raw measurements.
- Simulate interception and compare error rates across conditions.
- If hardware is relevant, obtain instructor approval and follow the official QUEST instructions.
- Analyze the discrepancy, uncertainty, and limitations; submit reproducible figures and a short report.
Deliverables: hypothesis, runnable notebook, raw results, labeled plot or table, execution metadata, and scientific interpretation.
Apply: Email saghiria@wpunj.edu with Q21 — BB84 and eavesdropping, your name, and a short proposal. Wait for approval before beginning graded or QPU work.