Quantum Key Distribution (QKD) provides a novel alternative to Classical Key Distribution in protecting secure communications, but poses challenges in terms of research and widespread adoption. While the resource-intensive nature of QKD setups limit experimental studies to specialized laboratories, we present an end-to-end simulation that models photon generation, transmission, and detection, thereby lowering the barrier to testing hypotheses regarding experimental setups under realistic conditions. In this study, a fiber optic-based simulation is utilized along with a quantum circuit and a detailed noise model within the BB84 protocol to recreate an experimental setup. Our BB84 simulation retained ≈50% of transmitted bits after sifting, matching the experimental expectations. Our model incorporates customizable noise, such as multi-photon emissions and channel disturbances, directly into the key exchange process, allowing for an approach that utilizes simulated fiber optics and theoretical noise models to replicate physical conditions. Our findings support the development of QKD as a scalable solution for securing the quantum internet and future communication networks.
Quantum Key Distribution (QKD) provides a novel alternative to Classical Key Distribution in protecting secure communications, but poses challenges in terms of research and widespread adoption. While the resource-intensive nature of QKD setups limit experimental studies to specialized laboratories, we present an end-to-end simulation that models photon generation, transmission, and detection, thereby lowering the barrier to testing hypotheses regarding experimental setups under realistic conditions. In this study, a fiber optic-based simulation is utilized along with a quantum circuit and a detailed noise model within the BB84 protocol to recreate an experimental setup. Our BB84 simulation retained ≈50% of transmitted bits after sifting, matching the experimental expectations. Our model incorporates customizable noise, such as multi-photon emissions and channel disturbances, directly into the key exchange process, allowing for an approach that utilizes simulated fiber optics and theoretical noise models to replicate physical conditions. Our findings support the development of QKD as a scalable solution for securing the quantum internet and future communication networks.
Abstract As quantum computing continues to demonstrate its potential to break through existing cryptographic systems, quantum key distribution (QKD) provides a novel approach to protect communications in the post-quantum era, but presents complex challenges in terms of research and widespread adoption. Although the resource-intensive nature of QKD setups limits experimental studies to specialized laboratories, we present an end-to-end simulation that models photon generation, transmission, and detection, thereby lowering the barrier to testing hypotheses regarding experimental setups under realistic conditions. In this study, a fiber optic-based simulation was utilized along with a quantum circuit and a detailed noise model within the BB84 protocol to recreate an experimental setup. Our BB84 simulation retained ≈50% of transmitted bits after sifting, matching the experimental expectations, and produced quantum bit error rate (QBER) values that rose with increasing channel length. Our model incorporates customizable noise, such as multi-photon emissions and channel disturbances, directly into the key exchange process, yielding QBER values of ≈4.5% at 20 km and ≈11% at 120 km, consistent with physical systems under the same conditions. Our findings support the development of QKD as a scalable solution for securing the quantum internet and future communication networks.
Quantum Key Distribution (QKD) is increasingly recognized as a robust solution to the vulnerabilities posed by quantum computing to classical encryption systems. This paper presents a comprehensive investigation of the BB84 protocol, the foundational QKD scheme, through simulated quantum communication using IBM’s Qiskit framework. The study models quantum key exchange under both ideal and adversarial conditions, including channel noise and intercept-resend attacks. The Quantum Bit Error Rate (QBER) was measured as a function of noise intensity and eavesdropping, confirming that QBER increases predictably in compromised channels. A threshold of 11% QBER was used to determine the viability of secure key generation. Final key retention rates were analyzed across multiple channel scenarios, revealing BB84’s sensitivity to both photon loss and adversarial interference.\n\nSecurity vulnerabilities such as photon-number-splitting and detector blinding were assessed, and countermeasures including decoy-state protocols and authenticated classical channels were proposed. Four key performance graphs were generated to visualize system behavior under realistic operational conditions. The results support BB84’s theoretical advantage in ensuring information-theoretic security while acknowledging real-world limitations in transmission range and hardware reliability. The paper concludes by addressing future improvements in QKD systems, including satellite-based distribution, quantum repeaters, and device-independent implementations. Through simulation-driven analysis, this study validates BB84 as a practical defense against quantum-enabled attacks and underscores the need for continued development and standardization in post-quantum cryptographic infrastructure.
Quantum Key Distribution relies on the principles of quantum mechanics to offer highly secure key exchange against eavesdropping. Channel noise and device imperfections, especially in Noisy Intermediate-Scale Quantum environments, have a great impact on current protocol performance, such as BB84. Noise-aware simulation and optimization for the BB84 protocol on the IBM Qiskit platform are presented in this paper. A realistic depolarizing noise model is used to simulate quantum channel noise, and the Quantum Bit Error Rate is characterized in different noise probabilities. The approach here allows us to test and optimize QKD performance in realistic NISQ-based implementations and gives a description of the protocol robustness in real operating conditions. Experimental results show the influence of noise on the rates of key generation and confirm the feasibility of the proposed framework for secure and scalable quantum communications.
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.
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.
Autonomous "Things" is becoming the future trend as the role, and responsibility of IoT keep diversifying. Its applicability and deployment need to re-stand technological advancement. The versatile security interaction between IoTs in human-to-machine and machine-to-machine must also endure mathematical and computational cryptographic attack intricacies. Quantum cryptography uses the laws of quantum mechanics to generate a secure key by manipulating light properties for secure end-to-end communication. We present a proof-of-principle via a communication architecture model and implementation to simulate these laws of nature. The model relies on the BB84 quantum key distribution (QKD) protocol with two scenarios, without and with the presence of an eavesdropper via the interception-resend attack model from a theoretical, methodological, and practical perspective. The proposed simulation initiates communication over a quantum channel for polarized photon transmission after a pre-agreed configuration over a Classic Channel with parameters. Simulation implementation results confirm that the presence of an eavesdropper is detectable during key generation due to Heisenberg's uncertainty and no-cloning principles. An eavesdropper has a 0.5 probability of guessing transmission qubit and 0.25 for the polarization state. During simulation re-iterations, a base-mismatch process discarded about 50 percent of the total initial key bits with an Error threshold of 0.11 percent.