GitHunt
LE

lea318/BB84

Python simulation of the quantum key distribution protocol using QuTip simulator.

BB84

Python simulation of the QKD protocol using QuTip simulator.

Package requirements:

  • numpy
  • matplotlib
  • qutip
  • jupyter

Useful commands

Command for initializing Jupyter kernel in conda enviroment:

python -m ipykernel install --user --name=<kernel_name>

Running Jupyter Notebook

jupyter notebook

Running the simulation

Run BB84.ipynb in Jupyter Notebook.

Set eavesdropper_present to True for simulation with an eavesdropper.

Set eavesdropper_present to False for simulation without an eavesdropper.