Skip to main content

Bob submodule of QOSST, containing modules for Bob client, the GUI, the DSP of Bob and parameters estimation.

Project description

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.

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_bob-0.10.2.tar.gz (134.5 kB view details)

Uploaded Source

Built Distribution

qosst_bob-0.10.2-py3-none-any.whl (163.3 kB view details)

Uploaded Python 3

File details

Details for the file qosst_bob-0.10.2.tar.gz.

File metadata

  • Download URL: qosst_bob-0.10.2.tar.gz
  • Upload date:
  • Size: 134.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.4 Linux/6.9.5-arch1-1

File hashes

Hashes for qosst_bob-0.10.2.tar.gz
Algorithm Hash digest
SHA256 f21b0046a11adbff5ad7a440f09709da65aea14d539d5c04ee5d7ac27b02b8c7
MD5 a2d513249e62ba447ccedfe5c757d5dc
BLAKE2b-256 f84481a63c80b35c34cb01793bd4cdc09d71bc2ce306309126fb5467a595ecd5

See more details on using hashes here.

File details

Details for the file qosst_bob-0.10.2-py3-none-any.whl.

File metadata

  • Download URL: qosst_bob-0.10.2-py3-none-any.whl
  • Upload date:
  • Size: 163.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.4 Linux/6.9.5-arch1-1

File hashes

Hashes for qosst_bob-0.10.2-py3-none-any.whl
Algorithm Hash digest
SHA256 182c6b5bcf4d2affdff1a68216b4248c856734c4d877b1393ee82f7dea973dfa
MD5 412683b2406c817318545d40d42652ee
BLAKE2b-256 b28578c772cfa7352b7e64a7220b18cc60ec7e412b3f1684b7b1cf8ccfb56486

See more details on using hashes here.

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