This paper addresses several security issues facing large scale or distributed implementations of the BB84 quantum key distribution protocol. Firstly, two simulations address how close the tolerated error and the actual error in the hardware must be. These results are quantified in the graphs below.
With the rapid development of quantum computing, traditional encryption techniques are expected to face serious security challenges in the near future. By depending on the principles of quantum physics rather than computing complexity, Quantum Key Distribution (QKD), and specifically the BB84 protocol, provides a radically new method of secure communication. In this project, an adaptive BB84-based framework is implemented and analyzed under realistic conditions, including channel noise and multiple eavesdropping strategies. The system integrates error correction, privacy amplification, finite-key analysis, and decoy-state mechanisms to reflect practical deployment scenarios. Three major attack models—intercept-resend, photon number splitting, and Trojan horse—are simulated to evaluate protocol robustness. The experimental results show that during normal communication the average Quantum Bit Error Rate (QBER) remains close to 3–4%, whereas the presence of active eavesdropping increases the QBER beyond the commonly accepted 11% threshold, resulting in protocol termination. Additional statistical testing under varying noise conditions confirms stable secret key generation and reliable detection of malicious interference. Overall, the proposed framework serves as a comprehensive simulation platform for studying the security behavior of BB84 in controlled experimental environments.
Quantum key distribution promises information-theoretic security, but practical implementations face vulnerabilities due to device imperfections. Existing security proofs typically address source and detector imperfections separately and cannot be directly combined, while the few attempts to handle both simultaneously have assumed idealized scenarios with infinitely many protocol rounds, which is insufficient to certify the security of real-world systems. Here, we close this gap by introducing a modular lifting theorem that extends any (present or future) phase-error-based security proof for active-basis-choice BB84-type protocols to incorporate detector efficiency mismatches. By applying this theorem to a state-of-the-art analysis for source imperfections, we obtain the first finite-key security proof against general coherent attacks that simultaneously addresses both source and detector imperfections.
Abstract Secure military communications depend on the confidentiality of exchanged cryptographic keys across command centers, satellite links, and classified order transmission. Classical key-distribution protocols rely on computational hardness assumptions that provide no intrinsic mechanism for detecting interception; an adversary who copies transmitted ciphertext leaves no physical trace. Quantum Key Distribution (QKD), and specifically the BB84 protocol, replaces this assumption with a physical guarantee derived from quantum mechanics: any attempt to measure an unknown quantum state necessarily disturbs it, rendering interception statistically detectable. This study implements the BB84 protocol at the circuit level — qubit state preparation, basis selection, interception modeling, and measurement — and validates its central security property, the Quantum Bit Error Rate (QBER) signature of eavesdropping, in two stages: (1) a noiseless statevector simulation using the PKTron quantum computing framework over ten independent trials per condition, and (2) hardware execution on IBM Quantum's ibm_fez superconducting processor. In simulation, the average QBER without an eavesdropper was 0.000, and with a full intercept-resend attack was 0.248, closely matching the theoretical prediction of 0.25. On real hardware, the undisturbed channel returned QBER = 0.000 (19 sifted bits) and the eavesdropped channel returned QBER = 0.261 (23 sifted bits), in close agreement with both theory and the simulated baseline. These results provide a reproducible, two-platform validation of the eavesdropper-detection mechanism that underlies the security claims made for QKD-protected communications. This study validates the cryptographic detection primitive only; it does not constitute a deployed secure communications system, and extending these results to operational command, satellite, or classified-order channels requires physical single-photon transmission hardware, authenticated classical channels, and full key-management infrastructure outside the scope of this work.