Skip to main content

qosst-bob

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-bob is the module of QOSST in charge of the functionalities of Bob for CV-QKD. In particular it includes:

  • Acquisition of the signal detected by Bob's detector;
  • Digital Signal Processing of the acquired signal to recover the symbols sent by Alice;
  • Correlations analysis to estimate the parameters of the channel;
  • Bob's client to interact with Alice's server;
  • Interfaces to this client (scripts and graphical interface).

Installation

The module can be installed with the following command:

pip install qosst-bob

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

pip install git+https://github.com/qosst/qosst-bob

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

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

Documentation

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

Usage of the client

The client can either be used with the graphical interface, with one of the provided script (optimize, excess noise or transmittance) or in a home-made script.

In any case the first step is to create a configuration file. This can be done with a command line tool shipped with the qosst-core package (which is a dependency of qosst-alice):

qosst configuration create

This will create the default configuration file at the location config.toml (you change the location with the -f or --file option). For more information on the meaning of each parameter in the configuration and how to change them, check the qosst tutorial.

GUI usage

The GUI can be launched with the following command:

qosst-bob-gui

A tutorial on the GUI can be found in the documentation.

Scripts usage

The command line of the three scripts are given below:

qosst-bob-excess-noise
qosst-bob-optimize
qosst-bob-transmittance

A good start is to add the -h flag to get information on the command line options. An extensive documentation is also written in the CLI section of the documentation.

Usage in home-made scripts

It's possible to import Bob's client:

from qosst_bob.bob import Bob

and use it in home-made script. Please refer to the documentation for more details.

License

As for all submodules of QOSST, qosst-bob 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.

Metadata

Release files for qosst-bob 0.10.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for qosst-bob 0.10.2
File Size Uploaded Provenance
qosst_bob-0.10.2.tar.gz 134.5 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for qosst-bob 0.10.2
File Interpreter ABI Platform
qosst_bob-0.10.2-py3-none-any.whl Python 3 none any Details

Total release size: 297.8 kB

Release files / qosst_bob-0.10.2.tar.gz

Download URL qosst_bob-0.10.2.tar.gz
Size 134.5 kB
Tags Source
SHA-256 checksum
How to use checksums
f21b0046a11adbff5ad7a440f09709da65aea14d539d5c04ee5d7ac27b02b8c7
BLAKE2b-256 checksum
How to use checksums
f84481a63c80b35c34cb01793bd4cdc09d71bc2ce306309126fb5467a595ecd5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.12.4 Linux/6.9.5-arch1-1

Release files / qosst_bob-0.10.2-py3-none-any.whl

Download URL qosst_bob-0.10.2-py3-none-any.whl
Size 163.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
182c6b5bcf4d2affdff1a68216b4248c856734c4d877b1393ee82f7dea973dfa
BLAKE2b-256 checksum
How to use checksums
b28578c772cfa7352b7e64a7220b18cc60ec7e412b3f1684b7b1cf8ccfb56486
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.12.4 Linux/6.9.5-arch1-1

Security for qosst-bob 0.10.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page