Python code to calculate the entanglement fidelity and success probability of certain port-based teleportation protocols, as well as their asymptotics. For details and explanations of the terminology used below and in the notebooks, please see our paper.
- pbt.py: Python library
- pbt.ipynb: Jupyter notebook illustrating the usage of the Python library
- print-data: Python script to generate data points
To browse the notebooks, simply run sage -notebook=jupyter
on the command line.
To regenerate the data files for the plots in our article, run make data
.
This requires a recent SageMath installation (we have tested SageMath 8.6).
See here for general installation advice.
On macOS, you can install SageMath via brew install sage
(this requires a working homebrew installation).
On Linux, we recommend using anaconda or miniconda and following these directions to install SageMath.
The contributors are listed here.