This project is part of QOSST.
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.
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 .
The whole documentation can be found at https://qosst-skr.readthedocs.io/en/latest/
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.
As for all submodules of QOSST, qosst-skr
is shipped under the Gnu General Public License v3.
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.