Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 1.38 KB

README.md

File metadata and controls

24 lines (16 loc) · 1.38 KB

port-based arXiv

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.

Files

  • pbt.py: Python library
  • pbt.ipynb: Jupyter notebook illustrating the usage of the Python library
  • print-data: Python script to generate data points

Usage

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.

Contributors

The contributors are listed here.