The absence of real single-photon sources is a significant limitation to the experimental implementation of the BB84 quantum key distribution (QKD) protocol. When substantially attenuated laser pulses are substituted for ideal sources in practical systems, the outcome is weak coherent states where each pulse has a nonzero probability of having multiple photons rather than pure single-photon emission. To evaluate quantum bit error rate (QBER), key generation rate and overall system security it is essential to describe the exact impact of the optical and physical system on such pulses. This practical tradeoff presents additional issues. It is crucial to understand how QBER is impacted by attenuation, loss, dispersion, depolarisation and detector properties particularly in adversarial scenarios such as photon number splitting (PNS) and beam-splitting attacks. Although a significant amount of research has been conducted on algorithmic simulations of BB84, there are few complete frameworks that can physically explain these effects and their impact on QBER. This work models the BB84 protocol at the physical level by developing a Python-based simulation platform that takes into account all significant channel impairments and system inefficiencies. The framework supports both theoretical and practical optimisation of QKD systems by further isolating the effects of different optical losses and eavesdropping techniques on QBER and secure key generation.
The absence of real single-photon sources is a significant limitation to the experimental implementation of the BB84 quantum key distribution (QKD) protocol. When substantially attenuated laser pulses are substituted for ideal sources in practical systems, the outcome is weak coherent states where each pulse has a nonzero probability of having multiple photons rather than pure single-photon emission. To evaluate quantum bit error rate (QBER), key generation rate and overall system security it is essential to describe the exact impact of the optical and physical system on such pulses. This practical tradeoff presents additional issues. It is crucial to understand how QBER is impacted by attenuation, loss, dispersion, depolarisation and detector properties particularly in adversarial scenarios such as photon number splitting (PNS) and beam-splitting attacks. Although a significant amount of research has been conducted on algorithmic simulations of BB84, there are few complete frameworks that can physically explain these effects and their impact on QBER. This work models the BB84 protocol at the physical level by developing a Python-based simulation platform that takes into account all significant channel impairments and system inefficiencies. The framework supports both theoretical and practical optimisation of QKD systems by further isolating the effects of different optical losses and eavesdropping techniques on QBER and secure key generation.
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.
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.
Quantum Key Distribution (QKD) is one of the most promising technologies that enable theoretically unbreakable secure communications in this highly advanced information security era. This work provides a comparative analysis of QKD protocols such as BB84, Coherent One-Way (COW), and Differential Phase-Shift (DPS) against eavesdropping attacks e.g., Photon Number Splitting (PNS) attack. It employs a realistic approach to simulations such as using weak coherent pulse (WCP) sources. This work also explores qubit generation and the whole key distribution process in non-ideal conditions. Detailed algorithms have been discussed that simulate the encoding, transmission, and decoding process for every protocol, as well as simulating PNS attacks where an eavesdropper removes photons to gain key information without any detectable errors. Statistical metrics, such as Visibility and the information gain, are used to quantify the impact of these attacks. Future work aspects may include the extension of the simulation to incorporate additional parameters such as channel noise, fiber attenuation, detector dark counts, etc. to provide a realistic analysis to compare various QKD protocols.
Quantum Key Distribution is theoretically possible secure communication through the use of quantum-mechanical principles, such as superposition, measurement disturbance, and others. The BB84 and E91 protocols provide security by leveraging quantum principles against classical eavesdropping; nevertheless, the current implementation of QKD is vulnerable to photon-number-splitting attacks, imperfections in the devices used, and environmental quantum noise. Improving practical resistance to all of those is crucial for providing secure real-life use of QKD. Extending the current state-of-the-art through further development of research on eavesdropper detection and improvement of qubit-based security mechanisms, this research aims to develop the state-of-the art further by introducing a decoy-state BB84 framework and analyzing the behavior of such a system under realistic quantum noise. To find solutions to these problems, the current research will try to adopt the decoy-state BB84 model and analyze the system behavior under realistic quantum noise scenarios. So, the proposed approach, a standard BB84 protocol, will first be formulated and then further enhanced with decoy-state pulse generation to handle the vulnerabilities due to multi-photon pulses. Models like depolarizing noise, amplitude damping, and measurement errors will be used as real-world quantum channels. The model performance will be measured in terms of various performance metrics such as Key agreement ratio, Quantum Bit Error rate, and secure key rate for different qubit lengths. Scalability analysis and validation based on IBM quantum hardware will also be performed in order to measure the impact of real-world device noise on the reliability of generated keys.
Physical implementations of quantum key distribution (QKD) protocols, like the Bennett-Brassard (BB84), are forced to use attenuated coherent quantum states, because the sources of single photon states are not functional yet for QKD applications. However, when using attenuated coherent states, the relatively high rate of multi-photonic pulses introduces vulnerabilities that can be exploited by the photon number splitting (PNS) attack to brake the quantum key. Some QKD protocols have been developed to be resistant to the PNS attack, like the decoy method, but those define a single photonic gain in the quantum channel. To overcome this limitation, we have developed a new QKD protocol, called ack-QKD, which is resistant to the PNS attack. Even more, it uses attenuated quantum states, but defines two interleaved photonic quantum flows to detect the eavesdropper activity by means of the quantum photonic error gain (QPEG) or the quantum bit error rate (QBER). The physical implementation of the ack-QKD is similar to the well-known BB84 protocol.
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.