Qermit is a python module for running error-mitigation protocols on quantum processors. It is an extension to the pytket quantum computing toolkit.
This repository contains source code and API documentation.
For details on building the docs please see docs/README.md
To install, run:
pip install qermit
You may also wish to install the package from source:
pip install -e .
A poetry.lock
file is included for use with poetry.
API documentation can be found at qerm.it.
Please file bugs on the Github issue tracker.
Pull requests or feature suggestions are very welcome. To make a PR, first fork the repository, make your proposed changes, and open a PR from your fork.
Style checks are run by continuous integration. To install the dependencies required to run them locally run:
pip install qermit[tests]
This repository uses ruff for formatting and linting. To check if your changes meet these standards run:
ruff check
ruff format --check
mypy is used as a static type checker.
mypy -p qermit
Tests are run by continuous integration. To install the dependencies required to run them locally run:
pip install qermit[tests]
To run tests use:
cd tests
pytest
When adding a new feature, please add a test for it. When fixing a bug, please add a test that demonstrates the fix.
If you wish to cite Qermit, we recommend citing our benchmarking paper where possible.