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.
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 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 (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 (QKD) offers a revolutionary method for secure key exchange by exploiting the principles of quantum mechanics. This paper comprehensively reviews the pioneering BB84 protocol, its experimental realization using IBM's Qiskit framework, and the underlying quantum computing concepts. We detail the methodology including qubit encoding, measurement, basis reconciliation, and key sifting, and discuss performance metrics such as the Quantum Bit Error Rate (QBER) and key generation rate. Experimental results obtained on IBM Quantum hardware are presented and analyzed, highlighting the robustness of the protocol and its security implications. The review underscores the importance of integrating QKD with future-proof encryption schemes in a quantum-enabled era.
Quantum Key Distribution (QKD) provides an innovative approach for secure communication by utilizing the principles of quantum mechanics. Among various QKD protocols, the BB84 protocol remains the most widely studied and implemented due to its simplicity and theoretical security guarantees. However, practical implementations of BB84 are vulnerable to several eavesdropping attacks and channel imperfections. This paper presents a comprehensive study on the detection and analysis of eavesdropping attacks in the BB84 protocol. The work focuses on common attacks such as intercept-resend attack, photon-number splitting attack, Trojan horse attack, and phase-covariant cloning attack. The effect of these attacks on Quantum Bit Error Rate (QBER) is analyzed in detail. Simulation-based observations are discussed to demonstrate how QBER increases under malicious interference. The study further explores statistical methods for detecting eavesdropping and examines practical countermeasures including decoy states, privacy amplification, and error correction techniques. The paper concludes that BB84 remains robust against eavesdropping when proper detection and mitigation mechanisms are employed.
The rapid advancement of quantum computing poses a significant threat to classical cryptographic systems that form the backbone of modern digital security.Algorithms such as RSA and ECC, which rely on the computational difficulty of integer factorization and discrete logarithm problems, become vulnerable to quantum attacks, particularly Shor's algorithm.This project presents a comprehensive Quantum Key Distribution (QKD) Simulator that implements the BB84 and E91 protocols using IBM's Qiskit quantum computing framework, providing an interactive platform for understanding, simulating, and analyzing quantum-safe key exchange mechanisms.The simulator features a full-stack architecture with a FastAPI backend powered by Python and Qiskit for quantum circuit execution, and a React 19 frontend with TypeScript for interactive visualization.The BB84 protocol implementation supports configurable qubit counts, multiple measurement bases (Z, X, and Diagonal), Eve's intercept-resend attack simulation with adjustable interception rates, and Quantum Bit Error Rate (QBER) calculation with a security threshold of 8.5%.The E91 protocol implementation uses entangled Bell state pairs with configurable measurement angles, CHSH inequality violation testing for quantum security verification, and reverse gate anti-eavesdropping mechanisms.Additionally, the system includes an AES encryption module that uses quantum-generated keys from BB84 and E91 simulations to perform AES-128, AES-192, and AES-256 encryption, with privacy amplification for keys shorter than the required length.A simulation history system with SQLite and PostgreSQL support enables experiment tracking, comparison, and analysis.The project demonstrates the practical application of quantum mechanics principles to cryptographic security and serves as an educational tool for understanding the transition from classical to quantum-safe cryptography.
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.