CoNaIISI 2026 UTN FRRo • Quantum Information & Cryptography Research

BB84 Quantum Key Distribution Simulator

High-fidelity physical modeling of single-photon state preparation, eavesdropper interception analysis, and Devetak-Winter secret key rate distillation powered by IBM Qiskit 2.2 Aer.

State Preparation
10 – 1,000
Single Qubits / Run
Noise Engine
Qiskit Aer
Depolarizing Channel
Security Threshold
11.0%
Shor-Preskill QBER Cutoff
Access Model
Zero-Barrier
Guest Mode & REST API

Empirical Benchmark Presets

Pre-calibrated experimental configurations to observe key distribution boundaries.

Custom Parameterization
Baseline N = 20 • ε = 0.0
Ideal Channel

Noiseless transmission with no eavesdropper. Basis reconciliation yields matching key without bit errors.

Expected QBER: ≈ 0.0%
Secret Key Rate (R): ≈ 1.0
Run Baseline
Active Threat Eve = Active
Intercept-Resend Attack

Eve measures qubits in random bases, inducing wave-function collapse and detectable error rates.

Expected QBER: ≈ 25.0%
Protocol Outcome: ABORT (QBER > 11%)
Simulate Attack
Environmental Noise ε = 0.15
Depolarizing Channel

Simulates optical fiber attenuation and decoherence through Qiskit depolarizing noise channels.

Noise Rate (ε): 15.0%
Threshold Status: Exceeds 11% Limit
Calibrate Noise
System Topology

Interactive 3-Layer System Architecture

Q-Sec separates presentation (Flask guest/auth endpoints), quantum domain operations (IBM Qiskit 2.2 Aer simulation), and data persistence (idempotent schema migrations) into cleanly decoupled tiers.

Presentation: REST API + Photon SVG Engine
Quantum Domain: Aer Simulator + Noise Models
Data Tier: Dynamic Column Evolution

BB84 Quantum Key Distribution Protocol Pipeline

Information-theoretic security established by the Heisenberg Uncertainty Principle and the Quantum No-Cloning Theorem.

STAGE 01
State Preparation

Alice generates classical bits $b_i \in \{0, 1\}$ and randomly encodes each into rectilinear ($+$) or diagonal ($\times$) single-photon states.

STAGE 02
Quantum Channel

Photons traverse an optical fiber or free-space channel modeled via depolarizing noise $\mathcal{E}(\rho)$, vulnerable to eavesdropper intercept.

STAGE 03
Projective Measurement

Bob independently selects random bases to measure incoming qubits. Sifting discards discordant bases over an authenticated classical channel.

STAGE 04
Key Rate Distillation

QBER is evaluated on a sacrificed sample. If $\text{QBER} < 11\%$, Devetak-Winter bounds guarantee a distilled secret key rate $R_\infty \ge 1 - 2h(\text{QBER})$.