Secret Key Rate (SKR) submodule of QOSST, with the different methods to compute the Secret Key Rate.
Project description
qosst-skr
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file qosst_skr-0.10.0.tar.gz
.
File metadata
- Download URL: qosst_skr-0.10.0.tar.gz
- Upload date:
- Size: 17.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.12.3 Linux/6.8.7-arch1-2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7ea537d3e81c303964a25a040fa2f1155cd2257b1e3f907d5fa5c5f17f1a5fcb |
|
MD5 | cd38faf6297a8cf5bca708bd4de0e38f |
|
BLAKE2b-256 | b5e5b542255568ebb35c7f5daf66ad73e957e7062a92e4b6eb8acdfd78c51954 |
File details
Details for the file qosst_skr-0.10.0-py3-none-any.whl
.
File metadata
- Download URL: qosst_skr-0.10.0-py3-none-any.whl
- Upload date:
- Size: 22.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.12.3 Linux/6.8.7-arch1-2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a8c6c84daeaa19f2334556c1b6bd81e3b99d359c461c5f65e52d21291c31c391 |
|
MD5 | fe50025aa42bc324c871f4358f15182a |
|
BLAKE2b-256 | 2dfc5cf3b8f4d1c03b78430669840c87e385bced424d1abfc8e657789a193f10 |