Skip to main content

Python package for quantum error mitigation.

Project description

Qermit

PyPI version

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

Getting Started

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.

Bugs

Please file bugs on the Github issue tracker.

Contributing

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.

Code style

Style checks are run by continuous integration. To install the dependencies required to run them locally run:

pip install qermit[tests]

Formatting

This repository uses ruff for formatting and linting. To check if your changes meet these standards run:

ruff check
ruff format --check

Type annotation

mypy is used as a static type checker.

mypy -p qermit

Tests

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.

How to cite

If you wish to cite Qermit, we recommend citing our benchmarking paper where possible.

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

qermit-0.9.3.tar.gz (95.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

qermit-0.9.3-py3-none-any.whl (125.5 kB view details)

Uploaded Python 3

File details

Details for the file qermit-0.9.3.tar.gz.

File metadata

  • Download URL: qermit-0.9.3.tar.gz
  • Upload date:
  • Size: 95.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for qermit-0.9.3.tar.gz
Algorithm Hash digest
SHA256 cd24f2076b9cdf683156e16257f1085188e6e2fb68953eaa48abd11c3512bd37
MD5 693278f4dffd92d20cc644327f11af13
BLAKE2b-256 a4b965bcb99eb4afebd368a2f191b3642b31d798fdac49d3d0b401c549c89d85

See more details on using hashes here.

Provenance

The following attestation bundles were made for qermit-0.9.3.tar.gz:

Publisher: release.yaml on Quantinuum/Qermit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file qermit-0.9.3-py3-none-any.whl.

File metadata

  • Download URL: qermit-0.9.3-py3-none-any.whl
  • Upload date:
  • Size: 125.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for qermit-0.9.3-py3-none-any.whl
Algorithm Hash digest
SHA256 990addc00ab4cf6c3c67cd2b886b3dc410c368431b81d862eb15bfc499fd8cab
MD5 03889d51c97e26f1d9f41841de52abc4
BLAKE2b-256 3727719e0d577a1f1040705ecc8ff0421103a0b6537017b76f89901441ae189f

See more details on using hashes here.

Provenance

The following attestation bundles were made for qermit-0.9.3-py3-none-any.whl:

Publisher: release.yaml on Quantinuum/Qermit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page