Skip to content

This repository contains the numerical method for calculating the secret key rates of QKD with the finite key analysis.

License

Notifications You must be signed in to change notification settings

dbunandar/numerical_qkd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

numerical_qkd

This repository contains the numerical method for calculating the secret key rate of QKD with the finite key analysis.

Installation

This package uses and is written in Python 3.x

It is optional to use/install the MATLAB tools, but we use MATLAB and CVX because certain SDPs take too long to be solved. Please install the following MATLAB tools:

Optional (but desirable): Install MOSEK solver for python.

Installation steps

  1. If you'd like to use the MATLAB tools, please install the tools described above.

  2. Install the required python packages using: pip install -r requirements.txt

  3. Installation of Numerical QKD Python package can be done via setuptools >= 36.2.7: python setup.py install

Convex optimization tools

The convex optimization problems are solved using two disciplined convex programming (DCP) tools:

Usage

Please refer see the Jupyter notebooks in the examples folder to see how you can use this library. The simplest example is: simple_BB84_example.ipynb. To see how postselection is performed, see BB84_protocol.ipynb.

About

This repository contains the numerical method for calculating the secret key rates of QKD with the finite key analysis.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published