This project simulates the BB84 protocol, proposed by Bennett & Brassard in 1984, using PennyLane. It demonstrates the protocol's robustness through probabilistic metrics such as entropy and mutual information.
This is an exploratory, educational implementation aimed at illustrating the security of the BB84 quantum key distribution protocol.
- pennylane
This repository includes the following key files:
bb84_pennylane.ipynb: Main notebook with step-by-step explanations and graphical results.bb84_pennylane.py: Script to run the protocol directly on your device. To execute:python3 bb84_pennylane.pyFollow the on-screen instructions to set the protocol parameters.
Pull requests are welcome! Feel free to submit bug fixes, improvements, or new features.
TThis simulation is part of a summer research project for the "XXVII VERANO de la Investigación en Ciencias y Humanidades del Estado de Morelos" program, supervised by Dr. Carlos Andrés González Gutiérrez. For a more detailed, formal, and Spanish explanation of the project, you can find the article and poster here: