Skip to content

giulia-lm/Simulation-of-the-BB84-protocol

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simulation of the BB84 protocol

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.

Description

This is an exploratory, educational implementation aimed at illustrating the security of the BB84 quantum key distribution protocol.

Getting Started

Libraries used

  • pennylane

Project files

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.py Follow the on-screen instructions to set the protocol parameters.

Contributing

Pull requests are welcome! Feel free to submit bug fixes, improvements, or new features.

License

MIT

Notes

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:

About

This repository shows the implementation of the BB84 protocol using pennylane, with an eavesdropper and noise in the quantum communication channel

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors