ppvm (Python)
ppvm (Programmable Pauli Virtual Machine) is a fast quantum circuit simulator with Python bindings backed by a high-performance Rust core.
Installation
We recommend using uv to manage your Python environment. Install directly from git:
uv add git+https://github.com/QuEraComputing/ppvm.git#subdirectory=ppvm-python
Or clone and install locally:
git clone https://github.com/QuEraComputing/ppvm
cd ppvm
uv sync --project ppvm-python
Quick examples
Pauli Propagation
from ppvm import PauliSum
state = PauliSum.new(n_qubits=2, terms=["ZZ"])
# Backwards-propagate through a GHZ circuit
state.cnot(0, 1)
state.h(0)
print(state) # 1.000 * IZ
print(state.overlap_with_zero())
Generalized Stabilizer Tableau
from ppvm import GeneralizedTableau
tab = GeneralizedTableau(n_qubits=2)
tab.h(0)
tab.cnot(0, 1)
r0 = tab.measure(0)
r1 = tab.measure(1)
print(f"Qubit 0: {r0}, Qubit 1: {r1}") # always correlated
Documentation
Full documentation is available at the ppvm docs site.
Examples
- Trotter simulation -- Trotterized time evolution of the XZZ Ising chain
- Magic State Distillation -- 85-qubit MSD circuit with the generalized stabilizer tableau
- demo/ -- Benchmarking scripts
Metadata
Release files for bloqade-ppvm 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| bloqade_ppvm-0.1.2.tar.gz | 570.6 kB | With provenance | Details for bloqade_ppvm-0.1.2.tar.gz |
Built distributions (wheels)
| File | Actions Reset | |||
|---|---|---|---|---|
| bloqade_ppvm-0.1.2-cp310-abi3-win_amd64.whl | CPython 3.10 | abi3 | Windows x86-64 | Details for bloqade_ppvm-0.1.2-cp310-abi3-win_amd64.whl |
| bloqade_ppvm-0.1.2-cp310-abi3-manylinux_2_28_x86_64.whl | CPython 3.10 | abi3 | Linux glibc 2.28+ x86-64 | Details for bloqade_ppvm-0.1.2-cp310-abi3-manylinux_2_28_x86_64.whl |
| bloqade_ppvm-0.1.2-cp310-abi3-manylinux_2_28_aarch64.whl | CPython 3.10 | abi3 | Linux glibc 2.28+ ARM64 | Details for bloqade_ppvm-0.1.2-cp310-abi3-manylinux_2_28_aarch64.whl |
| bloqade_ppvm-0.1.2-cp310-abi3-macosx_11_0_arm64.whl | CPython 3.10 | abi3 | macOS 11.0+ ARM64 | Details for bloqade_ppvm-0.1.2-cp310-abi3-macosx_11_0_arm64.whl |
| bloqade_ppvm-0.1.2-cp310-abi3-macosx_10_12_x86_64.whl | CPython 3.10 | abi3 | macOS 10.12+ x86-64 | Details for bloqade_ppvm-0.1.2-cp310-abi3-macosx_10_12_x86_64.whl |
Total release size: 52.7 MB
Release files / bloqade_ppvm-0.1.2.tar.gz
| Download URL | bloqade_ppvm-0.1.2.tar.gz |
|---|---|
| Size | 570.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a7f4cc891affd6a88ce949c1965e41b050a61b3f3c9b182dd270b9fbbd3bb924
|
|
BLAKE2b-256 checksum How to use checksums |
8913777c34616dabf9d35342ef214aecf6a41240ee863fc4ee1ef38124c9a2c9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 4, 2026.
Transparency logRelease files / bloqade_ppvm-0.1.2-cp310-abi3-win_amd64.whl
| Download URL | bloqade_ppvm-0.1.2-cp310-abi3-win_amd64.whl |
|---|---|
| Size | 4.9 MB |
| Tags | CPython 3.10 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
dba505526d3b794e14a9e0a37891c623700baf0f5942d21a8cc0038ce121a420
|
|
BLAKE2b-256 checksum How to use checksums |
8be93750655e8761234a2394989be84c97f3109881af1f8065cdd85201f06043
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 4, 2026.
Transparency logRelease files / bloqade_ppvm-0.1.2-cp310-abi3-manylinux_2_28_x86_64.whl
| Download URL | bloqade_ppvm-0.1.2-cp310-abi3-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 19.6 MB |
| Tags | CPython 3.10 Linux glibc 2.28+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
e00968d06e1a5773668891e41a0e1b02302507039e1612f77f11c13689a5923c
|
|
BLAKE2b-256 checksum How to use checksums |
37640ecb36836d9884b40b0118a41118200a566b765f9dee2630ec7474801e34
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 4, 2026.
Transparency logRelease files / bloqade_ppvm-0.1.2-cp310-abi3-manylinux_2_28_aarch64.whl
| Download URL | bloqade_ppvm-0.1.2-cp310-abi3-manylinux_2_28_aarch64.whl |
|---|---|
| Size | 18.4 MB |
| Tags | CPython 3.10 Linux glibc 2.28+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
bc739d08a8ea66593acc92c1ce36e7a6fe11fb2b6896ed052ec63b33c106909a
|
|
BLAKE2b-256 checksum How to use checksums |
1cdafa20dc51a5e91f19a0bb4fcc968d63151f47178d528b5feb989a14ef61cd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 4, 2026.
Transparency logRelease files / bloqade_ppvm-0.1.2-cp310-abi3-macosx_11_0_arm64.whl
| Download URL | bloqade_ppvm-0.1.2-cp310-abi3-macosx_11_0_arm64.whl |
|---|---|
| Size | 4.6 MB |
| Tags | CPython 3.10 abi3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
038a74816154787e2800b755e1e5475541f1772b934eb75bf8293740533ed5d6
|
|
BLAKE2b-256 checksum How to use checksums |
2f999de845c707c104a2a4f08cb21b460ad7d89921832ac6f14181deffbaa205
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 4, 2026.
Transparency logRelease files / bloqade_ppvm-0.1.2-cp310-abi3-macosx_10_12_x86_64.whl
| Download URL | bloqade_ppvm-0.1.2-cp310-abi3-macosx_10_12_x86_64.whl |
|---|---|
| Size | 4.7 MB |
| Tags | CPython 3.10 abi3 macOS 10.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
538f1da6d556de87e6716104bfe849b03476f776576b7f1175ebf0ad12206355
|
|
BLAKE2b-256 checksum How to use checksums |
d1d188c7f3f521681cf157c971c95e3866fa09afc285c4a0fa9d1fb3f642cd41
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 4, 2026.
Transparency logSecurity for bloqade-ppvm 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 6 files in this release have been uploaded with provenance metadata.
Attestation for bloqade_ppvm-0.1.2.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 4, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.