Skip to main content

Secret Key Rate (SKR) submodule of QOSST, with the different methods to compute the Secret Key Rate.

Project description

qosst-skr

QOSST Logo

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

qosst_skr-0.10.0.tar.gz (17.7 kB view hashes)

Uploaded Source

Built Distribution

qosst_skr-0.10.0-py3-none-any.whl (22.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page