Skip to content

Secret Key Rate (SKR) computations submodule for QOSST

License

Notifications You must be signed in to change notification settings

qosst/qosst-skr

Repository files navigation

qosst-skr

QOSST Logo

Documentation Status Github - License Github - Release PyPI - Version Code style: black Linting with pylint Checked with mypy Python Version

Docstr coverage


This project is part of QOSST.

Features

qosst-skr is the project that holds the codes to compute the Secret Key Rate (SKR) in different cases. For now, the SKR can be computed in the following cases:

  • Gaussian Trusted Heterodyne Asymptotic;
  • Gaussian Trusted Homodyne Asymptotic;
  • Gaussian Untrusted Homodyne Asymptotic.

Installation

The module can be installed with the following command:

pip install qosst-skr

It is also possible to install it directly from the github repository:

pip install git https://github.com/qosst/qosst-skr

It also possible to clone the repository before and install it with pip or poetry

git clone https://github.com/qosst/qosst-skr
cd qosst-skr
poetry install
pip install .

Documentation

The whole documentation can be found at https://qosst-skr.readthedocs.io/en/latest/

Usage

qosst-skr can be used by importing the functions and using the skr static method from each class. The parameters depends on the considered case.

from qosst_skr.gaussian_trusted_heterodyne_asymptotic import GaussianTrustedHeterodyneAsymptotic

k = GaussianTrustedHeterodyneAsymptotic(Va=5, eta=0.5, Vel=0.1, xi=0.01, T=0.5)

Refer to the documentation for more information.

License

As for all submodules of QOSST, qosst-skr is shipped under the Gnu General Public License v3.

Contributing

Contribution are more than welcomed, either by reporting issues or proposing merge requests. Please check the contributing section of the QOSST project fore more information.