Skip to main content

A library to track Pauli gates through Clifford circuits.

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.3.tar.gz (20.9 kB view details)

Uploaded Source

Built Distributions

pauli_tracker-0.1.3-cp312-none-win_amd64.whl (481.5 kB view details)

Uploaded CPython 3.12 Windows x86-64

pauli_tracker-0.1.3-cp312-cp312-manylinux_2_28_x86_64.whl (510.9 kB view details)

Uploaded CPython 3.12 manylinux: glibc 2.28+ x86-64

pauli_tracker-0.1.3-cp312-cp312-macosx_11_0_arm64.whl (462.6 kB view details)

Uploaded CPython 3.12 macOS 11.0+ ARM64

pauli_tracker-0.1.3-cp312-cp312-macosx_10_12_x86_64.whl (482.2 kB view details)

Uploaded CPython 3.12 macOS 10.12+ x86-64

pauli_tracker-0.1.3-cp311-none-win_amd64.whl (481.1 kB view details)

Uploaded CPython 3.11 Windows x86-64

pauli_tracker-0.1.3-cp311-cp311-manylinux_2_28_x86_64.whl (511.9 kB view details)

Uploaded CPython 3.11 manylinux: glibc 2.28+ x86-64

pauli_tracker-0.1.3-cp311-cp311-macosx_11_0_arm64.whl (463.3 kB view details)

Uploaded CPython 3.11 macOS 11.0+ ARM64

pauli_tracker-0.1.3-cp311-cp311-macosx_10_12_x86_64.whl (483.4 kB view details)

Uploaded CPython 3.11 macOS 10.12+ x86-64

pauli_tracker-0.1.3-cp310-none-win_amd64.whl (481.1 kB view details)

Uploaded CPython 3.10 Windows x86-64

pauli_tracker-0.1.3-cp310-cp310-manylinux_2_28_x86_64.whl (511.9 kB view details)

Uploaded CPython 3.10 manylinux: glibc 2.28+ x86-64

pauli_tracker-0.1.3-cp310-cp310-macosx_11_0_arm64.whl (463.3 kB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

pauli_tracker-0.1.3-cp310-cp310-macosx_10_12_x86_64.whl (483.3 kB view details)

Uploaded CPython 3.10 macOS 10.12+ x86-64

pauli_tracker-0.1.3-cp39-none-win_amd64.whl (481.4 kB view details)

Uploaded CPython 3.9 Windows x86-64

pauli_tracker-0.1.3-cp39-cp39-manylinux_2_28_x86_64.whl (512.1 kB view details)

Uploaded CPython 3.9 manylinux: glibc 2.28+ x86-64

pauli_tracker-0.1.3-cp39-cp39-macosx_11_0_arm64.whl (463.6 kB view details)

Uploaded CPython 3.9 macOS 11.0+ ARM64

pauli_tracker-0.1.3-cp39-cp39-macosx_10_12_x86_64.whl (483.5 kB view details)

Uploaded CPython 3.9 macOS 10.12+ x86-64

pauli_tracker-0.1.3-cp38-none-win_amd64.whl (481.6 kB view details)

Uploaded CPython 3.8 Windows x86-64

pauli_tracker-0.1.3-cp38-cp38-manylinux_2_28_x86_64.whl (512.3 kB view details)

Uploaded CPython 3.8 manylinux: glibc 2.28+ x86-64

pauli_tracker-0.1.3-cp38-cp38-macosx_11_0_arm64.whl (464.0 kB view details)

Uploaded CPython 3.8 macOS 11.0+ ARM64

pauli_tracker-0.1.3-cp38-cp38-macosx_10_12_x86_64.whl (483.9 kB view details)

Uploaded CPython 3.8 macOS 10.12+ x86-64

pauli_tracker-0.1.3-cp38-abi3-manylinux_2_28_x86_64.whl (514.7 kB view details)

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

File details

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

File metadata

  • Download URL: pauli_tracker-0.1.3.tar.gz
  • Upload date:
  • Size: 20.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for pauli_tracker-0.1.3.tar.gz
Algorithm Hash digest
SHA256 12b766d4102e9eb009356ac4729009ac5d4eb84a75d06399ce89bdece1d846ff
MD5 7afbc8d50761e450214e37d1503265b9
BLAKE2b-256 848b3d8ec4fa8b447f9befca076239edefbba7c83058cfa8167b6735be3b43b5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pauli_tracker-0.1.3-cp312-none-win_amd64.whl
Algorithm Hash digest
SHA256 5fcf48b4b83ac5bbff3b3796903b52ea965b4b73236185c6ab8be8d082ed8337
MD5 5c4a9472875be6847f799f4aca3f7dc0
BLAKE2b-256 d21054ecb557df42dd52bded9da6de44b0d78a361abe396965464d7b18dd82d1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pauli_tracker-0.1.3-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ccbe09ef157a8a9ff7732c43318023e4f1b62b834fdd9ddbca8b2c4610f5995c
MD5 b8d0fa453e67cb780c5a086c77213b3d
BLAKE2b-256 40e400ab1f928c7bd0000693fab08f642c7118ddef79eecab8da992ada104cf0

See more details on using hashes here.

File details

Details for the file pauli_tracker-0.1.3-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pauli_tracker-0.1.3-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 5a8c93663959345399973992f7c0111e7ad7c0a8ca9e0094af4a3b43d70092be
MD5 cc93a67b9cc3c1e10d3c06b08fe6c4b6
BLAKE2b-256 c707e5e985952affa9dd56318b16194c2e0302445cfeaff067beb45d74b1b589

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pauli_tracker-0.1.3-cp312-cp312-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 e7bfcf62862b11815f1c2448baf38a55b0b53742963ea921e56897fad477b26e
MD5 0e27598b7de45ff5f4734a8048f32a8c
BLAKE2b-256 609a1dfc47100631483dcef9317dc2cd3e81e2b7181a7d01ed222836ca315498

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pauli_tracker-0.1.3-cp311-none-win_amd64.whl
Algorithm Hash digest
SHA256 49eed29ee39b858a6bc89b4694b375eda4a9f424539fa5101b33f0ba24282805
MD5 1cb84ef4f22eb5620be24fbd5bdc995e
BLAKE2b-256 18c3629b4a7e4d2145b84a38f1ed52087fa7077beddd41d699d3df8b7d496c27

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pauli_tracker-0.1.3-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 2eb095fbbe6ca2713af2fe7df3a934aec4f27b0c317d11e1e69c73be36646415
MD5 83beb89ca11f9caaf8d103ca55f011c1
BLAKE2b-256 7d7e4c9ab117de51fc274b5d86ff8217f510a4fee934208885a75fc35807ff68

See more details on using hashes here.

File details

Details for the file pauli_tracker-0.1.3-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pauli_tracker-0.1.3-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6d8ce85bf45874e84dd76c5f3225777ce231e60ecbe7523553180f569847027c
MD5 e1ba2b5f74771b198cc2fde02b792b21
BLAKE2b-256 e63d818f4d9729cf914d6907a151960549687ec5328c01d8ebd3f0da1f6e4406

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pauli_tracker-0.1.3-cp311-cp311-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 45176159fab178536b155efa2296d7548aa20e91353aeb686a5ab46bcff76bf0
MD5 74eba98ea62935f5b3580eee306e6667
BLAKE2b-256 8369c4f30ff04814e6d66de43da7ff2816a382442be70eab47d9a7296b102430

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pauli_tracker-0.1.3-cp310-none-win_amd64.whl
Algorithm Hash digest
SHA256 78794f65ccdd84897b570f892ba79bc87c06e73eac0116d0422a14e5a14468a2
MD5 50c39123281fcd2d2bcb74bc74e90107
BLAKE2b-256 83b1f0ff99fd193c4aaa49518228fde7ca6715c491337f4da9ccad7dc409b5a7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pauli_tracker-0.1.3-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b522e22aec9625a169d7056c24add985c7e122ccf293f0d4c4d22ad88dde9a5d
MD5 dbf2aa44cf54cc01c23a0592673cf5d2
BLAKE2b-256 9ac9c2ca9a854cbce2d5f9f6c5d75d21988e4764636431bc03b76833c3cc111e

See more details on using hashes here.

File details

Details for the file pauli_tracker-0.1.3-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pauli_tracker-0.1.3-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ca8c42e5a3d366ded88d44f54653dc0a3b7f2b35d65d88bf0d2f4995a61df5e0
MD5 da33bd57794af6ee159599b525633e3e
BLAKE2b-256 62e03b053092c9c70051a09e57dbaacc7c1aca261939aeab003544e8652e45cd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pauli_tracker-0.1.3-cp310-cp310-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 b1a08201eb8ef2ecc175910f3bdf4af79782dfb1e945e9e303871f081ce18cfb
MD5 0336d13e1bf87c151af37e102cc86ecc
BLAKE2b-256 1ebd667097498525a783d335471801d930bb88a3aea3a9b35495d15df809f810

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pauli_tracker-0.1.3-cp39-none-win_amd64.whl
Algorithm Hash digest
SHA256 6365ddd47e33510aa5688b41a7a97b5d34caf4c461461e05ad6562c66be00074
MD5 4cedd2eb7e159d58c03d8c3dc28c63d7
BLAKE2b-256 a47d47ea5b71f96ec9405fc377b5d598d7aedadf73890025b76b0a37ca9fcbd4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pauli_tracker-0.1.3-cp39-cp39-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 1a81fe55e0d7f4da74f115f62946144dc8fc8a28449ece1e98d5926695191b25
MD5 d3319b22156999aa94033fa257efa592
BLAKE2b-256 44fa1b7de77a84284648b0d069fbacbad27197645baf8a5a87273be34874b184

See more details on using hashes here.

File details

Details for the file pauli_tracker-0.1.3-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pauli_tracker-0.1.3-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 23d2f667905b2c5aefc2c42b5ca19de6de5de03f1d84aba46cc45ff5a5e8b1b5
MD5 17874506c9dc8b4bc983bae807b923e8
BLAKE2b-256 a14c977ea9afee888d7f6b2a603f5582e97fa89249c245a1211d3512acb954a3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pauli_tracker-0.1.3-cp39-cp39-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 23aa32c55066358239f16a2b967cd60163f1f4028d5b1adbd4c4fc9aede0f881
MD5 29466abbefa00bf183d9db14b62b60c4
BLAKE2b-256 7384594a019a2b4c7fa940e912cedb5988d982de0a7f072a43d219db11df3711

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pauli_tracker-0.1.3-cp38-none-win_amd64.whl
Algorithm Hash digest
SHA256 667462334371983530b3f8fd8bcef8680e2531bc21846b52554b772a6240282a
MD5 00e59cbf6f0224c8235aa3804f0043f2
BLAKE2b-256 e69a35e446899d15f0bfbe00babd6625fcd9c31101457b2d6991f74667f06fb1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pauli_tracker-0.1.3-cp38-cp38-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 f6196351b29b30d4dda0f02aab0fb4d096b9fbe029e02b489bf81925a283cfa9
MD5 4574407ce044400ab7e1c744b0479c20
BLAKE2b-256 893cf21cb2191a34335ce626dfc56dd123f78358a3de6acb42c0978b60e1b454

See more details on using hashes here.

File details

Details for the file pauli_tracker-0.1.3-cp38-cp38-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pauli_tracker-0.1.3-cp38-cp38-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ac682857989d725d3946703cc9e3b66225ed9236fb84e22105cbe7f29ecef8fe
MD5 1c9276fb9fbc4701ac8cf71173c461bc
BLAKE2b-256 f91370f9863b7aca711b4f43123e236753fecaec1e15a7770f6e4e46d8c307d5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pauli_tracker-0.1.3-cp38-cp38-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 cb95492f6001f7a52ba21379f0ecd2459b0d2324ca59e201437c31bd3f351e73
MD5 aa0bceda30216810f9bd3413235c15ec
BLAKE2b-256 06ccf3ccf1b115e2b05995ba051a672cd9560cecca5ac5cf32387a9d489ba0fc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pauli_tracker-0.1.3-cp38-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 bd5e5423ddcc17164d464e97af0d45aeb647bf62e59ec0ec7924fe0b456c58e2
MD5 0c2c1de3d38b4f22cc09830deb8e4eab
BLAKE2b-256 a822822f41e00ee1572d70efe9c39ea87503f8879b2b0db4184909eea5ea3743

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