How napieraj2/quantum works
This repository is a research-simulation project comparing quantum eavesdropping detectors, centered on BB84 and a repeated-secret QFT exchange. Researchers run notebooks or the QFT sweep: the QFT runner expands experimental settings, simulates paired exchange paths, evaluates alarm and recovery outcomes, and saves sweep tables for plotting. Separate capabilities cover alarm schedules and reset policies, channel-drift experiments, and BB84 validation. The gate-baseline notebook supplies readout calibration, optionally informed by IBM hardware. Edges are limited to README statements and shown imports or references; several notebook and decoder details were not sampled.
Main entry points: qft_sweep.py Paired sweep runner · qft_study.py Paired QFT study · qft_sweep_scoring.py Alarm and recovery scoring · qft_exchange.py QFT exchange simulator
Components 17
BB84 detector study
- BB84 notebook
BB84.ipynb - BB84 detector model
quantum_study/bb84.py - Independent BB84 validation
validation/independent_bb84_validation.py
QFT exchange study
- Repeated-secret notebook
QFT_Repeated_Secret.ipynb - QFT exchange simulator
quantum_study/qft_exchange.py - QFT decoder
quantum_study/qft_decoder.py - Paired QFT study
quantum_study/qft_study.py - Alarm schedules and response
quantum_study/qft_alarm.py
Paired sweep analysis
- Paired sweep runner
quantum_study/qft_sweep.py - Sweep settings and schedules
quantum_study/qft_sweep_grid.py - Alarm and recovery scoring
quantum_study/qft_sweep_scoring.py - Sweep results plotting
validation/plot_qft_sweep.py - Channel drift experiment
future_work/qft_channel_drift.py
Calibration and validation
- Gate baseline notebook
Gate_Baseline.ipynb - IBM account setup
qkd_connect.py
Other components
- Researcher
- IBM Quantum service
Connections 27
- Researcher → BB84 notebook: runs
README.md - BB84 notebook → BB84 detector model: uses model
quantum_study/bb84.py - Researcher → Repeated-secret notebook: runs
README.md - Repeated-secret notebook → Paired QFT study: runs study
quantum_study/qft_study.py - Paired QFT study → QFT exchange simulator: simulates paths
quantum_study/qft_study.py - Paired QFT study → Sweep settings and schedules: uses schedules
quantum_study/qft_study.py - Paired QFT study → Alarm and recovery scoring: uses scoring
quantum_study/qft_study.py - Alarm schedules and response → QFT exchange simulator: simulates paths
quantum_study/qft_alarm.py - Alarm schedules and response → Paired QFT study: uses helpers
quantum_study/qft_alarm.py - Alarm schedules and response → Sweep settings and schedules: builds looks
quantum_study/qft_alarm.py - Alarm schedules and response → Alarm and recovery scoring: replays alarms
quantum_study/qft_alarm.py - Paired sweep runner → Sweep settings and schedules: builds settings
quantum_study/qft_sweep.py - Paired sweep runner → QFT exchange simulator: simulates trials
quantum_study/qft_sweep.py - Paired sweep runner → Paired QFT study: uses study logic
quantum_study/qft_sweep.py - Paired sweep runner → Alarm and recovery scoring: scores outcomes
quantum_study/qft_sweep.py - Alarm and recovery scoring → QFT exchange simulator: uses exchange constants
quantum_study/qft_sweep_scoring.py - Alarm and recovery scoring → Sweep settings and schedules: uses schedules
quantum_study/qft_sweep_scoring.py - Paired sweep runner → Sweep results plotting: writes sweep tables
- Researcher → Sweep results plotting: plots results
README.md - Channel drift experiment → QFT exchange simulator: uses exchange helpers
future_work/qft_channel_drift.py - Channel drift experiment → Alarm and recovery scoring: fits alarm rules
future_work/qft_channel_drift.py - Researcher → Gate baseline notebook: runs baseline
README.md - Gate baseline notebook → IBM Quantum service: submits circuits
README.md - Researcher → IBM account setup: configures access
qkd_connect.py - IBM account setup → IBM Quantum service: verifies account
qkd_connect.py - Gate baseline notebook → Paired sweep runner: provides readout baseline
README.md - Independent BB84 validation → BB84 detector model: checks independently