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
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
Built Distributions
File details
Details for the file pauli_tracker-0.1.2.tar.gz
.
File metadata
- Download URL: pauli_tracker-0.1.2.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 62cd843169a033b719abc5d5452e1e33c1b38bfe86e82b3bcb3a73b63b2da444 |
|
MD5 | 93e1ea1ae388f7607a6b6f084b80563e |
|
BLAKE2b-256 | a00c92255326692c1cdcaa10c8183e8fbbde79fae9cce7e2c809e938cacff343 |
File details
Details for the file pauli_tracker-0.1.2-cp312-none-win_amd64.whl
.
File metadata
- Download URL: pauli_tracker-0.1.2-cp312-none-win_amd64.whl
- Upload date:
- Size: 391.8 kB
- Tags: CPython 3.12, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9576dd62058ecfcd2c93afc498e13d4d116fc09bd87f2bab91847202c9b7cdfe |
|
MD5 | 99d3b6c44cbc71ff456e5e00cb881b23 |
|
BLAKE2b-256 | c7e00e5e8005c860b1bdcd1a9ee014b13aa17fef23eecabd34ea051f177b654e |
File details
Details for the file pauli_tracker-0.1.2-cp312-cp312-manylinux_2_28_x86_64.whl
.
File metadata
- Download URL: pauli_tracker-0.1.2-cp312-cp312-manylinux_2_28_x86_64.whl
- Upload date:
- Size: 515.9 kB
- Tags: CPython 3.12, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad2b0a2a1648b755530102c5354fc9e83cb979d14f4a462209313ddded18886e |
|
MD5 | 3cf6e1ce9ec280d55e9fba453609bf18 |
|
BLAKE2b-256 | fe3979b6372cdbc02b6b827376002b7caaf2aff1575e89ac93de36749869bcbf |
File details
Details for the file pauli_tracker-0.1.2-cp312-cp312-macosx_11_0_arm64.whl
.
File metadata
- Download URL: pauli_tracker-0.1.2-cp312-cp312-macosx_11_0_arm64.whl
- Upload date:
- Size: 467.1 kB
- Tags: CPython 3.12, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9cd535b89063efc3fdf191481b7e3bad6886883aa6e5bbd992d4a3242d887310 |
|
MD5 | 175c9ceff764b6ff1ac3620719730b5d |
|
BLAKE2b-256 | 94283f50b2ef2d843b1b663bb09ad70c6df3cea8a49b2a0d5ce652e8e9ab2e08 |
File details
Details for the file pauli_tracker-0.1.2-cp311-none-win_amd64.whl
.
File metadata
- Download URL: pauli_tracker-0.1.2-cp311-none-win_amd64.whl
- Upload date:
- Size: 397.2 kB
- Tags: CPython 3.11, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 47281d1ed10aa623f3e09fdefb377489d348067d80dcaee460cf8cb52cb1e271 |
|
MD5 | d0a666fe58fbe2bb61cdecd269565f17 |
|
BLAKE2b-256 | b4d0af6eb07aec534414758e3b3ccc46f284bf88ff31b845e60218046a2cd41f |
File details
Details for the file pauli_tracker-0.1.2-cp311-cp311-manylinux_2_28_x86_64.whl
.
File metadata
- Download URL: pauli_tracker-0.1.2-cp311-cp311-manylinux_2_28_x86_64.whl
- Upload date:
- Size: 516.8 kB
- Tags: CPython 3.11, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f9c49a4a635f29cbef63d1a904a64a27996584342072af9770126db9434320d4 |
|
MD5 | a3adb5ba3b6a0d7e78dd128cf2d6273a |
|
BLAKE2b-256 | de95bba4bd8e660ebf1c2c48296dc315d47b2e2000d10f13960b26a7cb71edb1 |
File details
Details for the file pauli_tracker-0.1.2-cp311-cp311-macosx_11_0_arm64.whl
.
File metadata
- Download URL: pauli_tracker-0.1.2-cp311-cp311-macosx_11_0_arm64.whl
- Upload date:
- Size: 467.5 kB
- Tags: CPython 3.11, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | db0fdbbb0f99229baed552ddf9341706e29576360106d66d89c6919fbd160b87 |
|
MD5 | 891ae6934a679494855bee43c397fc3b |
|
BLAKE2b-256 | f3a9608b33afbd409181adadb17ac3d1deb15bcc2c86c8da87ea4911a8b54c09 |
File details
Details for the file pauli_tracker-0.1.2-cp310-none-win_amd64.whl
.
File metadata
- Download URL: pauli_tracker-0.1.2-cp310-none-win_amd64.whl
- Upload date:
- Size: 397.2 kB
- Tags: CPython 3.10, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ec67857fe6f736e80363da99dcf823b4b572b043aa630b9eeb0cb47a549df87e |
|
MD5 | e58026d49a48a36ae551db9088d1600a |
|
BLAKE2b-256 | 80658293fdaf9d7209ed81b4e2cac40b97c213e0802eae38ae1a589f8fed5805 |
File details
Details for the file pauli_tracker-0.1.2-cp310-cp310-manylinux_2_28_x86_64.whl
.
File metadata
- Download URL: pauli_tracker-0.1.2-cp310-cp310-manylinux_2_28_x86_64.whl
- Upload date:
- Size: 516.7 kB
- Tags: CPython 3.10, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe59d4e4822401827295407f510d725d7a6d518eefb3847ebe51ef86a1519dca |
|
MD5 | d7afed75b7bb929d8b6d202ee48dd3dd |
|
BLAKE2b-256 | 538ddf8e3c158831e40f284099374789e2f056292b840f80c318ceb3346e999a |
File details
Details for the file pauli_tracker-0.1.2-cp310-cp310-macosx_11_0_arm64.whl
.
File metadata
- Download URL: pauli_tracker-0.1.2-cp310-cp310-macosx_11_0_arm64.whl
- Upload date:
- Size: 467.6 kB
- Tags: CPython 3.10, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e1407ebfd98d9bea848a0457b323482c1dc9f33978bcf16bf8bc0f0346ce1a59 |
|
MD5 | a38ca5a0760b78c0ab1ccbbe6496f4d8 |
|
BLAKE2b-256 | 9b5d966f5f8bb6d80fda858c296e498929e46ecd0ea93d76a261fe09a3c368e0 |
File details
Details for the file pauli_tracker-0.1.2-cp39-none-win_amd64.whl
.
File metadata
- Download URL: pauli_tracker-0.1.2-cp39-none-win_amd64.whl
- Upload date:
- Size: 397.4 kB
- Tags: CPython 3.9, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3e0fd49caa4c0f1539e0cf142a5a5d428a4cf3ca1893e43ca453b364bf80bcca |
|
MD5 | bf7861f04c47f2f1b6fc3d9d63f6007d |
|
BLAKE2b-256 | d90094604cbd33599a4724343ed3d7f77b70523fac844263c96a61255586cf30 |
File details
Details for the file pauli_tracker-0.1.2-cp39-cp39-manylinux_2_28_x86_64.whl
.
File metadata
- Download URL: pauli_tracker-0.1.2-cp39-cp39-manylinux_2_28_x86_64.whl
- Upload date:
- Size: 516.9 kB
- Tags: CPython 3.9, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ca77b308b65efe48c1c696815b0c6699686038e1098b0c319c44dfeab98a7b73 |
|
MD5 | b26d6c86108b7fb7bed73e64f633824d |
|
BLAKE2b-256 | bb41d56a66db2d565a57836166b2d752ac0184135a4a01855908babc4a86e090 |
File details
Details for the file pauli_tracker-0.1.2-cp39-cp39-macosx_11_0_arm64.whl
.
File metadata
- Download URL: pauli_tracker-0.1.2-cp39-cp39-macosx_11_0_arm64.whl
- Upload date:
- Size: 467.9 kB
- Tags: CPython 3.9, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c3a3230603fb6d8abaa52db274b9560c13949dbdc49480431f53f3f420275f66 |
|
MD5 | 1bd4f5346ee0b1eeb94841bc4e96d040 |
|
BLAKE2b-256 | 5d231c47ee24836d9a917e9c581276797949a8913f554c6e99c1895ce66cdf63 |
File details
Details for the file pauli_tracker-0.1.2-cp38-none-win_amd64.whl
.
File metadata
- Download URL: pauli_tracker-0.1.2-cp38-none-win_amd64.whl
- Upload date:
- Size: 397.6 kB
- Tags: CPython 3.8, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 65c6e45cab84269ce4a1339005884b6182b786a4fbd6e2376de023a0eba280a0 |
|
MD5 | 14fd524261c37485acca528cc04ef15e |
|
BLAKE2b-256 | 756044ac4948025a3e5d60c16c5a947ae167ce5d27af583692e90c35c33a85e5 |
File details
Details for the file pauli_tracker-0.1.2-cp38-cp38-manylinux_2_28_x86_64.whl
.
File metadata
- Download URL: pauli_tracker-0.1.2-cp38-cp38-manylinux_2_28_x86_64.whl
- Upload date:
- Size: 517.1 kB
- Tags: CPython 3.8, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e4d5274542338881852b2849cae623f9642ec2706f974706035d20747d900e1f |
|
MD5 | df7af02f87cfbca59539f537d122135d |
|
BLAKE2b-256 | ed52c582d67bf92e9618ea59a54698d80342a2d3b56094ef77cafef998dd7f28 |
File details
Details for the file pauli_tracker-0.1.2-cp38-cp38-macosx_11_0_arm64.whl
.
File metadata
- Download URL: pauli_tracker-0.1.2-cp38-cp38-macosx_11_0_arm64.whl
- Upload date:
- Size: 467.9 kB
- Tags: CPython 3.8, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b9ef412744cf424971139aef5c8183199191817a746dd66731cbbc06ed214f4 |
|
MD5 | d83f299cefb0c9d09ca0dcfa524fcdd2 |
|
BLAKE2b-256 | 188c219a6f2e6c39ca7588ccfe687bea143e6a541ba9d89d65fe17d391d2d76f |
File details
Details for the file pauli_tracker-0.1.2-cp38-abi3-manylinux_2_28_x86_64.whl
.
File metadata
- Download URL: pauli_tracker-0.1.2-cp38-abi3-manylinux_2_28_x86_64.whl
- Upload date:
- Size: 519.9 kB
- Tags: CPython 3.8+, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 574a40a7c70cc88d914c040cc92cc42071815f0e373d4bb40340a71f0046b0ba |
|
MD5 | 5fc0e07f49c4bb372bb18b4d961b5039 |
|
BLAKE2b-256 | e4397525cc542f0360591bd206528916f5a0032ecc11da86e5bc6b09740248a9 |