Skip to main content

A library to track Pauli gates through a Clifford circuit.

Project description

Python wrapper around pauli_tracker

This Python package is a wrapper around the pauli_tracker crate exporting its basic functionality.

If some essential functionality is missing, because we just forgot to implement it, please open an issue or pull request (cf. contributing). If you need more functionality, it is fairly easy to use Rust from Python with the help of pyo3 and maturin. However, because of #1444, you may want to clone this repository and extend it.

Documentation

To the docs

When using this package, please also look at the crate's documentation of the Rust crate (additionally to the Python package's documentation) in parallel since it is much more extensive about how the Pauli tracking works (although not everything there is supported in this wrapper).

Examples

Please look at this Python example and also at these Rust examples.

Installation

You can install the package from PyPI, e.g., with

pip install pauli-tracker

The package contains pre-built wheels for manylinux_2_28_x86_64 (works on most Linux distribuitions), latest Windows and latest MacOS (latest with respect to when the package was built) for Python 3.8 to 3.12. Additionally, there is an manylinux_2_28_x86_64 abi3 wheel for Python >= 3.8. You can also build the package from source, e.g., force it during a pip install with pip install --no-binary pauli-tracker pauli-tracker, however, note that this requires Python >= 3.8 and a Rust toolchain >= 1.65.

At the moment, you may also find a more up-to-date wheel in the artifacts of the latest "pypackage" github actions workflow; this is unstable though.

Manually Building

The package has to be build with maturin. The make package commands builds it through a docker container such that it is compatible with manylinux_2_28_x86_64 for Python >= 3.8. With make update_docs the documentation can be build. The output of both make commands is in the dist directory.

Versioning

The Python package follows SemVer, however, the underlying Rust crate is unstable.

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

pauli_tracker-0.1.0.tar.gz (20.2 kB view details)

Uploaded Source

Built Distributions

pauli_tracker-0.1.0-cp312-none-win_amd64.whl (374.9 kB view details)

Uploaded CPython 3.12 Windows x86-64

pauli_tracker-0.1.0-cp312-cp312-manylinux_2_28_x86_64.whl (879.2 kB view details)

Uploaded CPython 3.12 manylinux: glibc 2.28+ x86-64

pauli_tracker-0.1.0-cp312-cp312-macosx_10_12_x86_64.whl (518.3 kB view details)

Uploaded CPython 3.12 macOS 10.12+ x86-64

pauli_tracker-0.1.0-cp311-none-win_amd64.whl (376.3 kB view details)

Uploaded CPython 3.11 Windows x86-64

pauli_tracker-0.1.0-cp311-cp311-manylinux_2_28_x86_64.whl (882.2 kB view details)

Uploaded CPython 3.11 manylinux: glibc 2.28+ x86-64

pauli_tracker-0.1.0-cp311-cp311-macosx_10_12_x86_64.whl (521.0 kB view details)

Uploaded CPython 3.11 macOS 10.12+ x86-64

pauli_tracker-0.1.0-cp310-none-win_amd64.whl (376.3 kB view details)

Uploaded CPython 3.10 Windows x86-64

pauli_tracker-0.1.0-cp310-cp310-manylinux_2_28_x86_64.whl (882.2 kB view details)

Uploaded CPython 3.10 manylinux: glibc 2.28+ x86-64

pauli_tracker-0.1.0-cp310-cp310-macosx_10_12_x86_64.whl (520.9 kB view details)

Uploaded CPython 3.10 macOS 10.12+ x86-64

pauli_tracker-0.1.0-cp39-none-win_amd64.whl (376.6 kB view details)

Uploaded CPython 3.9 Windows x86-64

pauli_tracker-0.1.0-cp39-cp39-manylinux_2_28_x86_64.whl (882.6 kB view details)

Uploaded CPython 3.9 manylinux: glibc 2.28+ x86-64

pauli_tracker-0.1.0-cp39-cp39-macosx_10_12_x86_64.whl (521.3 kB view details)

Uploaded CPython 3.9 macOS 10.12+ x86-64

pauli_tracker-0.1.0-cp38-none-win_amd64.whl (376.7 kB view details)

Uploaded CPython 3.8 Windows x86-64

pauli_tracker-0.1.0-cp38-cp38-manylinux_2_28_x86_64.whl (882.7 kB view details)

Uploaded CPython 3.8 manylinux: glibc 2.28+ x86-64

pauli_tracker-0.1.0-cp38-cp38-macosx_10_12_x86_64.whl (521.5 kB view details)

Uploaded CPython 3.8 macOS 10.12+ x86-64

pauli_tracker-0.1.0-cp38-abi3-manylinux_2_28_x86_64.whl (881.9 kB view details)

Uploaded CPython 3.8+ manylinux: glibc 2.28+ x86-64

File details

Details for the file pauli_tracker-0.1.0.tar.gz.

File metadata

  • Download URL: pauli_tracker-0.1.0.tar.gz
  • Upload date:
  • Size: 20.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.8

File hashes

Hashes for pauli_tracker-0.1.0.tar.gz
Algorithm Hash digest
SHA256 5af7f75d9aa9438a22a1d02f9e85bf7b6791d3200e5516608267a121fb2c4339
MD5 7399774bd525cccb9f17285749fbb000
BLAKE2b-256 de300772d0f4f53477313d4ed990168146626005a771b49df789bd1c0078ea62

See more details on using hashes here.

File details

Details for the file pauli_tracker-0.1.0-cp312-none-win_amd64.whl.

File metadata

File hashes

Hashes for pauli_tracker-0.1.0-cp312-none-win_amd64.whl
Algorithm Hash digest
SHA256 93d873c7fa75375312480a67e1d850a6a8beb9605b2b5551f5776762e33e11bb
MD5 9d0bc4efcca3b6263badb5f24dd23db4
BLAKE2b-256 83869fd655cd38746bf5bb120e5710d144a226d794dc7f763523c156e8f1f5f1

See more details on using hashes here.

File details

Details for the file pauli_tracker-0.1.0-cp312-cp312-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pauli_tracker-0.1.0-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 28b4df2f2315115a70da65b73fb03576945c71a5230c2e5cf87f9d657eb9aba5
MD5 9866b74c8bdccb44d3738fe165ee9902
BLAKE2b-256 a3f4f44180608dd7b01c6c3d33e070a804ed4fa035a314851f305984d5c9e89b

See more details on using hashes here.

File details

Details for the file pauli_tracker-0.1.0-cp312-cp312-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for pauli_tracker-0.1.0-cp312-cp312-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 f597771898e59aa0033ef3c993156608786adc1ed6b2523d8eec9a850166a7c7
MD5 b27e107236a338e86a0bdb132d7693b6
BLAKE2b-256 2e3d68cb3a8d8dd3cd74c534f560f7ffac1384bb887372e227586908478e60dc

See more details on using hashes here.

File details

Details for the file pauli_tracker-0.1.0-cp311-none-win_amd64.whl.

File metadata

File hashes

Hashes for pauli_tracker-0.1.0-cp311-none-win_amd64.whl
Algorithm Hash digest
SHA256 b4638e6ef8b6f2046b5c3520779c2dcd9f59450af1206469d17722898ddaef41
MD5 525c8b364c92d76da6f7676e4b8eac20
BLAKE2b-256 46d9723a2ca2bb46379783ee733cc20dc26b9ec4f9b2b770799aa9b1341d7d70

See more details on using hashes here.

File details

Details for the file pauli_tracker-0.1.0-cp311-cp311-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pauli_tracker-0.1.0-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 64f0adc613e6f1ad975d5df2cfb61865849977a4b6f27a4a52f020f3a33c6907
MD5 4417527ca5ad97cd118a8bc10c4fefd9
BLAKE2b-256 ac79ac38ac035a10a22696e4facb18f1c5606faee4b48c66a8bb49e56794386b

See more details on using hashes here.

File details

Details for the file pauli_tracker-0.1.0-cp311-cp311-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for pauli_tracker-0.1.0-cp311-cp311-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 215dcc5326e0020594b509e95f80f67ef663e64484c1bcfa221b75de3f7e80f1
MD5 302f9ad4787c76b5161924fd442ea263
BLAKE2b-256 b93de33a4402e2351a30a3ef1af7ae84ce263ab247891ed1f9ac80d385db5b57

See more details on using hashes here.

File details

Details for the file pauli_tracker-0.1.0-cp310-none-win_amd64.whl.

File metadata

File hashes

Hashes for pauli_tracker-0.1.0-cp310-none-win_amd64.whl
Algorithm Hash digest
SHA256 e79ad3172cb8d5e579cd3cb17c88a8e51f0be5d28a4cc8494dc8534d9c281a54
MD5 06062065c84fd2bb9b647c70a2424a06
BLAKE2b-256 fc243a0d74ecf9ceb91d64d953fb7d4596e9bc57c49605df7f7d02c6aa1296dd

See more details on using hashes here.

File details

Details for the file pauli_tracker-0.1.0-cp310-cp310-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pauli_tracker-0.1.0-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 5e92d3bc36e2574c76017f34248a6d72bf9350315b62b0939f5b2ac32ec75f3d
MD5 dfd96d603296eeda3e79718053861c02
BLAKE2b-256 1eae2b34159bbf9807e6ab72f3f2cd924494c2d6b386e20f4af331dbc5693a9f

See more details on using hashes here.

File details

Details for the file pauli_tracker-0.1.0-cp310-cp310-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for pauli_tracker-0.1.0-cp310-cp310-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 ceacb07c44e7b3c8e0ccf28e796c5f302fe52a481a4e5b859cf76adfb188ccbe
MD5 04955e30af7b78421684233ffc013711
BLAKE2b-256 c78311e986777f212fc57f3f103accdbf3e9eb20a49d21d1c578569a0c70a37b

See more details on using hashes here.

File details

Details for the file pauli_tracker-0.1.0-cp39-none-win_amd64.whl.

File metadata

File hashes

Hashes for pauli_tracker-0.1.0-cp39-none-win_amd64.whl
Algorithm Hash digest
SHA256 f454a257841ba978ece248d28f121a2bdd12d092137abbd03c261efb94b725eb
MD5 0ad9b68564f956d7a7ba94a932756905
BLAKE2b-256 a2fd45ef0273924acec79c57b3ffac0a45a4883f87c1e93f2c5581e3a5c5940d

See more details on using hashes here.

File details

Details for the file pauli_tracker-0.1.0-cp39-cp39-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pauli_tracker-0.1.0-cp39-cp39-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 6e4121d4b44bd078c268ddde5a0dbadf7460cd15afe8b4a122f41a7d6e8eaf4d
MD5 a7b0fdb1ca0224982903606f3eba86ae
BLAKE2b-256 76aded4fa39719d931f0cfbe51390d477fc20619530db890de29a3ad6b550258

See more details on using hashes here.

File details

Details for the file pauli_tracker-0.1.0-cp39-cp39-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for pauli_tracker-0.1.0-cp39-cp39-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 814a87923c09fe7a21eaf35942831c249ae5321215fa9b583cb5d9b910c2c3fe
MD5 e0a8218aef7ee03c4cbb4167af81c928
BLAKE2b-256 11a4ef0917574696f8ee03598fa2f2055040521a4226cce34a4549f0e4f61484

See more details on using hashes here.

File details

Details for the file pauli_tracker-0.1.0-cp38-none-win_amd64.whl.

File metadata

File hashes

Hashes for pauli_tracker-0.1.0-cp38-none-win_amd64.whl
Algorithm Hash digest
SHA256 775787ecbe9c9f53056c6dc7c1aa1f3234bf2dae1aeaa0bdcc703cbeaa42a1eb
MD5 af575e7d90cf39f1c86706b8b253a5ee
BLAKE2b-256 4fff6a3d851da9607535efef13a803044b13815108dc647d1ef1d6e632f68151

See more details on using hashes here.

File details

Details for the file pauli_tracker-0.1.0-cp38-cp38-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pauli_tracker-0.1.0-cp38-cp38-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ebfb2f282a56d3c1b6c7f3be437875f649bb1683e56a0171dabb5fc15f49927e
MD5 35cc3831d44105e444659358d391829a
BLAKE2b-256 804589167e92a939aa9d0ea28cb39e6c50d8310a59bea29d20a8f29a6c7848bc

See more details on using hashes here.

File details

Details for the file pauli_tracker-0.1.0-cp38-cp38-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for pauli_tracker-0.1.0-cp38-cp38-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 b49bbb5a4177d68b95ecc30e62d36c56e510dd02c6527179eaae1f72958d3ae8
MD5 a2d14cd3e425efee35e28fbc13a6444b
BLAKE2b-256 ee64c358eb18c36ba2fa152d685e4a745ffbc869d6cd0e6151a266acbe790796

See more details on using hashes here.

File details

Details for the file pauli_tracker-0.1.0-cp38-abi3-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pauli_tracker-0.1.0-cp38-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 fd2fdbbc8796cc37ea59bf264e7d7df9d4c42c47d0554c7af1ce79b433ebb978
MD5 f5553fa11f8fcd68033ed81d3fa955e5
BLAKE2b-256 94953b304342695c55b0bef54e1b31202c7e305fad27f04fec38781b7c7d12b4

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