Juliá-Díaz, BrunoGarcia Saez, ArturSimón Codina, María Lourdes2025-09-192025-09-192025-06https://hdl.handle.net/2445/223306Treballs Finals de Grau de Física, Facultat de Física, Universitat de Barcelona, Curs: 2025, Tutors: Bruno Juliá Díaz, Artur Garcia SaezThis work presents a security analysis of the BB84 quantum key distribution protocol, focusing on intercept-and-resend attacks and the effects of channel noise. We study two eavesdropping strategies—naive and Breidbart-based—and evaluate the probabilities of Eve (the spy) correctly measuring Alice’s (the sender) bit and Bob (the receiver) measuring an incorrect one. We analyze the impact of bit-flip, phase-flip, and combined noise, derive theoretical expressions, and identify optimal attack parameters. A cost function is introduced to balance Eve’s information gain and detectability. Finally, simulations carried out confirm the theoretical predictions. The results offer insight into the robustness of BB84 under both ideal and noisy conditions and confirm its security against intercept-and-resend attacks.12 p.application/pdfengcc-by-nc-nd (c) Simón, 2025http://creativecommons.org/licenses/by-nc-nd/3.0/es/Distribució de claus quànticaOrdinadors quànticsTreballs de fi de grauQuantum key distributionQuantum computersBachelor's thesesQuantum Key Distribution with BB84: Breidbart-Based Eavesdropping and Channel Noise Effectsinfo:eu-repo/semantics/bachelorThesisinfo:eu-repo/semantics/openAccess