paulimer - Paulis, Cliffords and stabilizer simulation
High-performance Pauli operators, Clifford unitaries, and stabilizer simulation for quantum computing.
Installation
pip install paulimer
Quick Start
import paulimer
# Pauli operators
p = paulimer.DensePauli("XYZ")
q = paulimer.SparsePauli("X0 Z100")
print(q * q) # Identity
# Clifford gates
h = paulimer.CliffordUnitary.from_name("Hadamard", [0], qubit_count=1)
print(h.image_of(paulimer.DensePauli("X"))) # Z
# Stabilizer simulation
sim = paulimer.OutcomeCompleteSimulation(2)
sim.apply_unitary(paulimer.UnitaryOpcode.Hadamard, [0])
sim.apply_unitary(paulimer.UnitaryOpcode.ControlledX, [0, 1])
sim.measure(paulimer.SparsePauli("Z0"))
Features
- DensePauli / SparsePauli - Pauli operators with phase tracking and multiplication
- CliffordUnitary - Clifford gates with conjugation and composition
- PauliGroup - Group operations including membership testing and factorization
- Stabilizer Simulation - Noiseless (OutcomeComplete, OutcomeFree, OutcomeSpecific) and noisy (Faulty) modes
Use Cases
Designed for quantum error correction research, including stabilizer circuit analysis and Clifford circuit verification.
Performance
Built on binar for SIMD-accelerated binary linear algebra.
API Reference
See paulimer.pyi for complete type hints and documentation.
License
MIT License - See LICENSE file for details.
Contributing
Contributions welcome! See github.com/microsoft/qdk-ec for guidelines.
Release files for paulimer 0.2.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| paulimer-0.2.4-cp314-cp314-pyemscripten_2026_0_wasm32.whl | CPython 3.14 | CPython 3.14 | PyEmscripten 2026.0+ WebAssembly | Details |
| paulimer-0.2.4-cp39-abi3-win_arm64.whl | CPython 3.9 | abi3 | Windows ARM64 | Details |
| paulimer-0.2.4-cp39-abi3-win_amd64.whl | CPython 3.9 | abi3 | Windows x86-64 | Details |
| paulimer-0.2.4-cp39-abi3-manylinux_2_28_x86_64.whl | CPython 3.9 | abi3 | Linux glibc 2.28+ x86-64 | Details |
| paulimer-0.2.4-cp39-abi3-manylinux_2_28_aarch64.whl | CPython 3.9 | abi3 | Linux glibc 2.28+ ARM64 | Details |
| paulimer-0.2.4-cp39-abi3-macosx_11_0_arm64.whl | CPython 3.9 | abi3 | macOS 11.0+ ARM64 | Details |
| paulimer-0.2.4-cp39-abi3-macosx_10_12_x86_64.whl | CPython 3.9 | abi3 | macOS 10.12+ x86-64 | Details |
Total release size: 6.6 MB
Release files / paulimer-0.2.4-cp314-cp314-pyemscripten_2026_0_wasm32.whl
| Download URL | paulimer-0.2.4-cp314-cp314-pyemscripten_2026_0_wasm32.whl |
|---|---|
| Size | 3.0 MB |
| Tags | CPython 3.14 PyEmscripten 2026.0+ WebAssembly |
|
SHA-256 checksum How to use checksums |
3b3c54fdb1557460c8af0dbcc6227f68ccd83dabddaa2df2036c38582f0f33c5
|
|
BLAKE2b-256 checksum How to use checksums |
10e6c5b029602acb4afb0ed30aba467f470fcdce42ecdc5aa00aa0b565bebd05
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
RestSharp/106.13.0.0
|
Release files / paulimer-0.2.4-cp39-abi3-win_arm64.whl
| Download URL | paulimer-0.2.4-cp39-abi3-win_arm64.whl |
|---|---|
| Size | 605.1 kB |
| Tags | CPython 3.9 Windows ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
a5f2b1e010c5aae6d3319cd8ec0424b2d33cba5e638c5a705d70222e1039f573
|
|
BLAKE2b-256 checksum How to use checksums |
7779bb5fc53459511b2a8b9f3aaab2a2f9d8ad037cc1b168bd1bf412f7250a8c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
RestSharp/106.13.0.0
|
Release files / paulimer-0.2.4-cp39-abi3-win_amd64.whl
| Download URL | paulimer-0.2.4-cp39-abi3-win_amd64.whl |
|---|---|
| Size | 615.3 kB |
| Tags | CPython 3.9 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
2b8d2c64cfdfdb615e11099ed100bd62e1fce1bc1aa1b45ae10c6d83a6b57168
|
|
BLAKE2b-256 checksum How to use checksums |
a7d009fea87fed0ede71429297c864f079c63ff554726ca932f37c54b0e11e07
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
RestSharp/106.13.0.0
|
Release files / paulimer-0.2.4-cp39-abi3-manylinux_2_28_x86_64.whl
| Download URL | paulimer-0.2.4-cp39-abi3-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 653.5 kB |
| Tags | CPython 3.9 Linux glibc 2.28+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
0bc37947c6c0aafbb2fa3dd05982e5bcaef105bd85b67d93dc26c71d84dd9e4a
|
|
BLAKE2b-256 checksum How to use checksums |
b7620ad03fb9a3aeffd390d83e30e40d78849e8691181ffd36c08bab11588a20
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
RestSharp/106.13.0.0
|
Release files / paulimer-0.2.4-cp39-abi3-manylinux_2_28_aarch64.whl
| Download URL | paulimer-0.2.4-cp39-abi3-manylinux_2_28_aarch64.whl |
|---|---|
| Size | 603.0 kB |
| Tags | CPython 3.9 Linux glibc 2.28+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
6803948b43e1859d236bf4e07e275cf6fe608f2b51edf45838518b1af1b82c2d
|
|
BLAKE2b-256 checksum How to use checksums |
68a84a1eacc0d2886c8722ceb7f225dcec34998bf6eee153826e7f2a5b5c3cf5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
RestSharp/106.13.0.0
|
Release files / paulimer-0.2.4-cp39-abi3-macosx_11_0_arm64.whl
| Download URL | paulimer-0.2.4-cp39-abi3-macosx_11_0_arm64.whl |
|---|---|
| Size | 561.3 kB |
| Tags | CPython 3.9 abi3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
b91a0663eb797746286a64cebfb0ccfc0b1a9f5af8015fc2e5afa33f73669d01
|
|
BLAKE2b-256 checksum How to use checksums |
54f9cd2915206cdb55fa08012197a2ca9241e277096244fcb4483e7b676e47fb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
RestSharp/106.13.0.0
|
Release files / paulimer-0.2.4-cp39-abi3-macosx_10_12_x86_64.whl
| Download URL | paulimer-0.2.4-cp39-abi3-macosx_10_12_x86_64.whl |
|---|---|
| Size | 600.9 kB |
| Tags | CPython 3.9 abi3 macOS 10.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
bf103fd81668ff90faf3c9407eae60b733b8048321452da5a8ab249943789632
|
|
BLAKE2b-256 checksum How to use checksums |
f135528fb1fe965165c1bb1af62babced1922428fc5231aee5a8ed4a165a0325
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
RestSharp/106.13.0.0
|