Independent research project with publicly released, reproducible code (not peer-reviewed). A validation study: an open BB84 simulator with an intercept-resend eavesdropper and channel noise reproduces the analytic behaviour (25% QBER under full interception, QBER = p under noise, 50% sifting), with single-qubit statistics cross-checked in Qiskit. An eavesdropper is detectable above a ~44% tap fraction. Code and tests released.
Independent research project with publicly released, reproducible code (not peer-reviewed). A validation study: an open BB84 simulator with an intercept-resend eavesdropper and channel noise reproduces the analytic behaviour (25% QBER under full interception, QBER = p under noise, 50% sifting), with single-qubit statistics cross-checked in Qiskit. An eavesdropper is detectable above a ~44% tap fraction. Code and tests released.
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.
Quantum computers have the potential to break the public-key cryptosystems widely used in key exchange and digital signature applications. To address this issue, quantum key distribution (QKD) offers a robust countermeasure against quantum computer attacks. Among various QKD schemes, BB84 is the most widely used and studied. However, BB84 implementations are inherently imperfect, resulting in quantum bit error rates (QBERs) even in the absence of eavesdroppers. Distinguishing between QBERs caused by eavesdropping and QBERs due to channel imperfections is fundamentally infeasible. In this context, this paper proposes and examines a practical method for detecting eavesdropping via partial intercept-and-resend attacks in the BB84 protocol. A key feature of the proposed method is its consideration of quantum system noise. The efficacy of this method is assessed by employing the Quantum Solver library in conjunction with backend simulators inspired by real quantum machines that model quantum system noise. The simulation outcomes demonstrate the method’s capacity to accurately estimate the eavesdropper’s interception density in the presence of system noise. Moreover, the results indicate that the estimation accuracy of the eavesdropper’s interception density in the presence of system noise is dependent on both the actual interception density value and the key length.
Quantum Key Distribution (QKD) provides information-theoretic security by exploiting the principles of quantum mechanics. Among QKD protocols, the BB84 scheme remains the most widely adopted for both theoretical research and practical implementation. A critical parameter determining the reliability and security of BB84 is the Quantum Bit Error Rate (QBER), which quantifies errors in the sifted key arising from channel noise or potential eavesdropping. This paper presents a systematic review and analysis of QBER within the BB84 protocol, examining its calculation, statistical estimation methods, and role in detecting eavesdropping activity. Simulation results, corroborated by reported experimental observations, reveal a near-linear relationship between eavesdropping intensity and QBER, with values approaching 25% under full intercept-resend attacks. Four confidence interval estimation methods, Wald, Wilson, Clopper-Pearson, and Hoeffding's inequality, are compared for robust QBER analysis in finite-key scenarios. Protocol enhancements, including decoy-state methods, hybrid cryptographic models, and quantum-resistant authentication, are discussed as mechanisms to mitigate errors and strengthen resilience across fiber, free-space, underwater, and satellite QKD systems. Open challenges in distinguishing noise-induced errors from malicious eavesdropping, and the role of adaptive error correction and machine-learning-assisted QBER estimation in future quantum networks, are identified as key directions for further research.
The rapid progress of quantum computing demands secure communication protocols which are beyond classical cryptographic techniques. This necessity of Quantum Key Distribution (QKD) is met by providing security relying on the fundamental laws of quantum mechanics. In the work presented, the BB84 protocol is implemented using Qiskit platform provided by IBM. The performance is analyzed for both the ideal channel conditions and an intercept–resend eavesdropping scenario studying its security behavior and performance. 100% key agreement is observed with a QBER of 0% for the BB84 protocol executed under the ideal condition. When an eavesdropper is introduced, the QBER increases significantly, ranging from 16% to 38%, exceeding the acceptable security threshold of 11% and resulting in complete rejection of the generated key. Performance analysis carried out for key sizes between 100 and 1000 qubits shows that the execution time follows O(n) trend growing linearly. This simulation validates the correct operation of the BB84 protocol and demonstrates a detailed performance and security analysis of a QKD system using IBM Qiskit.
With the rapid advancement of quantum technologies, quantum key distribution (QKD) has become a key approach to secure communication. This study presents a software-only implementation of the BB84 QKD protocol developed in Python using IBM’s Qiskit Aer simulator. The proposed framework is designed for educational and prototyping purposes rather than for hardware-level security evaluation. The simulator models the core stages of BB84: random bit/basis generation, state preparation, basis-dependent measurement, sifting, and parameter estimation via QBER, followed by conceptual post-processing. Evaluation reports (i) the expected sifted-key ratio under random basis selection, (ii) the ideal-channel QBER behavior under noise-free Aer execution, and (iii) the theoretical intercept–resend detection probability derived from standard BB84 analysis. For sequences of ≥100 bits, the implementation matches standard BB84 expectations under ideal Aer execution: an expected sifted-key ratio of ≈50%, QBER → 0 in the absence of adversarial interference, and an intercept–resend detection probability above 99.9% for m = 100 disclosed verification bits. These results demonstrate that an idealized virtual environment can reproduce the BB84 measurement–disturbance trade-off in the information-theoretic sense, without claiming physical decoherence modeling unless an explicit Aer noise model is enabled. The analysis focuses on idealized BB84 behavior, where disturbance arises solely from basis mismatch and intercept– resend measurements rather than from physical decoherence or hardware noise models. The framework provides a reproducible platform for teaching and early-stage experimentation, with future work targeting realistic noise models and advanced post-processing.
The BB84 protocol is fundamental to quantum-secure communications, yet its extension to multi-receiver networks remains underexplored. This study addresses this gap by implementing a dual-receiver BB84 framework in Qiskit to evaluate security against intercept–resend and photon-number-splitting (PNS) attacks. Our methodology incorporates weak coherent pulses and realistic channel imperfections. Key findings show that intercept–resend attacks induce a detectable (~25%) increase in QBER, while PNS attacks allow a 100% gain in eavesdropper information with less than 2.5% QBER—revealing a critical vulnerability, which highlights the importance of a true single-photon source. The findings emphasize the suitability of BB84 for multiparty QKD scenarios, either as a decoy-state mechanism for enhanced eavesdropping detection or as a direct secure communication protocol.