Skip to main content

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.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for paulimer 0.2.5
File
paulimer-0.2.5-cp315-abi3.abi3t-win_arm64.whl CPython 3.15 abi3, abi3t Windows ARM64 Details
paulimer-0.2.5-cp315-abi3.abi3t-win_amd64.whl CPython 3.15 abi3t, abi3 Windows x86-64 Details
paulimer-0.2.5-cp315-abi3.abi3t-manylinux_2_28_x86_64.whl CPython 3.15 abi3, abi3t Linux glibc 2.28+ x86-64 Details
paulimer-0.2.5-cp315-abi3.abi3t-manylinux_2_28_aarch64.whl CPython 3.15 abi3, abi3t Linux glibc 2.28+ ARM64 Details
paulimer-0.2.5-cp315-abi3.abi3t-macosx_11_0_arm64.whl CPython 3.15 abi3, abi3t macOS 11.0+ ARM64 Details
paulimer-0.2.5-cp315-abi3.abi3t-macosx_10_12_x86_64.whl CPython 3.15 abi3, abi3t macOS 10.12+ x86-64 Details
paulimer-0.2.5-cp314-cp314t-win_arm64.whl CPython 3.14 CPython 3.14 free-threading Windows ARM64 Details
paulimer-0.2.5-cp314-cp314t-win_amd64.whl CPython 3.14 CPython 3.14 free-threading Windows x86-64 Details
paulimer-0.2.5-cp314-cp314t-manylinux_2_28_x86_64.whl CPython 3.14 CPython 3.14 free-threading Linux glibc 2.28+ x86-64 Details
paulimer-0.2.5-cp314-cp314t-manylinux_2_28_aarch64.whl CPython 3.14 CPython 3.14 free-threading Linux glibc 2.28+ ARM64 Details
paulimer-0.2.5-cp314-cp314t-macosx_11_0_arm64.whl CPython 3.14 CPython 3.14 free-threading macOS 11.0+ ARM64 Details
paulimer-0.2.5-cp314-cp314t-macosx_10_12_x86_64.whl CPython 3.14 CPython 3.14 free-threading macOS 10.12+ x86-64 Details
paulimer-0.2.5-cp314-cp314-pyemscripten_2026_0_wasm32.whl CPython 3.14 CPython 3.14 PyEmscripten 2026.0+ WebAssembly Details
paulimer-0.2.5-cp39-abi3-win_arm64.whl CPython 3.9 abi3 Windows ARM64 Details
paulimer-0.2.5-cp39-abi3-win_amd64.whl CPython 3.9 abi3 Windows x86-64 Details
paulimer-0.2.5-cp39-abi3-manylinux_2_28_x86_64.whl CPython 3.9 abi3 Linux glibc 2.28+ x86-64 Details
paulimer-0.2.5-cp39-abi3-manylinux_2_28_aarch64.whl CPython 3.9 abi3 Linux glibc 2.28+ ARM64 Details
paulimer-0.2.5-cp39-abi3-macosx_11_0_arm64.whl CPython 3.9 abi3 macOS 11.0+ ARM64 Details
paulimer-0.2.5-cp39-abi3-macosx_10_12_x86_64.whl CPython 3.9 abi3 macOS 10.12+ x86-64 Details

Total release size: 14.0 MB

Release files / paulimer-0.2.5-cp315-abi3.abi3t-win_arm64.whl

Download URL paulimer-0.2.5-cp315-abi3.abi3t-win_arm64.whl
Size 624.1 kB
Tags CPython 3.15 Windows ARM64 abi3 abi3t
SHA-256 checksum
How to use checksums
ad53025b6b9d94e28f0036af9115a206e7e6294b3c56edaf5d7a9499878a9a64
BLAKE2b-256 checksum
How to use checksums
fa2262722686f832f2d07e5e9e8511b67f6e8fd2e024586010498264a0cc6c14
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via RestSharp/106.13.0.0

Release files / paulimer-0.2.5-cp315-abi3.abi3t-win_amd64.whl

Download URL paulimer-0.2.5-cp315-abi3.abi3t-win_amd64.whl
Size 667.6 kB
Tags CPython 3.15 Windows x86-64 abi3 abi3t
SHA-256 checksum
How to use checksums
e1ebaa1b3875f7be7b5ac22749f1d29cea9b5d79cb5f2a7b3f996b193097d8ff
BLAKE2b-256 checksum
How to use checksums
681080423f7a0ab754c8f661538cf94caad78f97a0a8975747f19d9d640d0585
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via RestSharp/106.13.0.0

Release files / paulimer-0.2.5-cp315-abi3.abi3t-manylinux_2_28_x86_64.whl

Download URL paulimer-0.2.5-cp315-abi3.abi3t-manylinux_2_28_x86_64.whl
Size 693.3 kB
Tags CPython 3.15 Linux glibc 2.28+ x86-64 abi3 abi3t
SHA-256 checksum
How to use checksums
c3339bb4d9685312a53868222e64acee59b52f42087a575242035eac2afe8236
BLAKE2b-256 checksum
How to use checksums
8c33d681ea3102a880bd14a98ccdbec17a0cf0f609dbe4e1dd813956a3bfb752
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via RestSharp/106.13.0.0

Release files / paulimer-0.2.5-cp315-abi3.abi3t-manylinux_2_28_aarch64.whl

Download URL paulimer-0.2.5-cp315-abi3.abi3t-manylinux_2_28_aarch64.whl
Size 627.3 kB
Tags CPython 3.15 Linux glibc 2.28+ ARM64 abi3 abi3t
SHA-256 checksum
How to use checksums
906e664562b0b22ad4a354bb087a0855a8d9c4675d85f2b729294251e18b3bac
BLAKE2b-256 checksum
How to use checksums
dd0760ef72ae5444a7fce91e08a1ef6305a5f35ebf165756ab9a2af6002262f2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via RestSharp/106.13.0.0

Release files / paulimer-0.2.5-cp315-abi3.abi3t-macosx_11_0_arm64.whl

Download URL paulimer-0.2.5-cp315-abi3.abi3t-macosx_11_0_arm64.whl
Size 582.5 kB
Tags CPython 3.15 abi3 abi3t macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
242d9f26498c72bea894daa5adee79f708a2a61f35f1462b76aab3d546c585db
BLAKE2b-256 checksum
How to use checksums
3cfab97918dbade098cfe8579297fe82a5990f7b05b33a90227fc5197b28c91d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via RestSharp/106.13.0.0

Release files / paulimer-0.2.5-cp315-abi3.abi3t-macosx_10_12_x86_64.whl

Download URL paulimer-0.2.5-cp315-abi3.abi3t-macosx_10_12_x86_64.whl
Size 626.9 kB
Tags CPython 3.15 abi3 abi3t macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
a99b97d7813d336f07d1af0924403dc12d694f75be1e33654528579abcedbc19
BLAKE2b-256 checksum
How to use checksums
3de3ae8b1245143190f73c9c21d6354c54ad82609305db90c0a2e083a5b281c4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via RestSharp/106.13.0.0

Release files / paulimer-0.2.5-cp314-cp314t-win_arm64.whl

Download URL paulimer-0.2.5-cp314-cp314t-win_arm64.whl
Size 597.9 kB
Tags CPython 3.14 CPython 3.14 free-threading Windows ARM64
SHA-256 checksum
How to use checksums
fbd6ce62a9adc6998e6e3e47a4cd7781719953e6e3363e2557a7a7ae6d5f2a1d
BLAKE2b-256 checksum
How to use checksums
23dffae5a8295608e96da465700e206a9754a633b9042ec8db69ec0f78d4c0b5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via RestSharp/106.13.0.0

Release files / paulimer-0.2.5-cp314-cp314t-win_amd64.whl

Download URL paulimer-0.2.5-cp314-cp314t-win_amd64.whl
Size 609.7 kB
Tags CPython 3.14 CPython 3.14 free-threading Windows x86-64
SHA-256 checksum
How to use checksums
8b93a6bb351adfa26930f00d8c6371d57749fcdd3734284afc8eb88b523017c2
BLAKE2b-256 checksum
How to use checksums
bba9a0c83bcdddfdbe939982f4bf2bb612fed262414f99c3e39444a694953f2d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via RestSharp/106.13.0.0

Release files / paulimer-0.2.5-cp314-cp314t-manylinux_2_28_x86_64.whl

Download URL paulimer-0.2.5-cp314-cp314t-manylinux_2_28_x86_64.whl
Size 651.8 kB
Tags CPython 3.14 CPython 3.14 free-threading Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
653079b7d8a9ca7a603feffa963e720b485e7b17b705a463c369980fe1a17bf8
BLAKE2b-256 checksum
How to use checksums
d21e923407c327fa18589a7c930dacf11459e963c65bd9620463ed58a7730a0a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via RestSharp/106.13.0.0

Release files / paulimer-0.2.5-cp314-cp314t-manylinux_2_28_aarch64.whl

Download URL paulimer-0.2.5-cp314-cp314t-manylinux_2_28_aarch64.whl
Size 598.2 kB
Tags CPython 3.14 CPython 3.14 free-threading Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
d5b0f883994bdc9b0336301baee11c07449e4d9bd3d2e60c8759776e5e7aab38
BLAKE2b-256 checksum
How to use checksums
542be2e354c06b9bcfec832884711fb42ba640328ea9b5dd125a534ed0dd8db9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via RestSharp/106.13.0.0

Release files / paulimer-0.2.5-cp314-cp314t-macosx_11_0_arm64.whl

Download URL paulimer-0.2.5-cp314-cp314t-macosx_11_0_arm64.whl
Size 552.3 kB
Tags CPython 3.14 CPython 3.14 free-threading macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
ee471f93874b5e0f0782120256c29a979733735937f9e48f9cada2442e8dc71a
BLAKE2b-256 checksum
How to use checksums
df900fa04f3d68353769883cd390c1205965c70b658778ddd60c61c801842ca9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via RestSharp/106.13.0.0

Release files / paulimer-0.2.5-cp314-cp314t-macosx_10_12_x86_64.whl

Download URL paulimer-0.2.5-cp314-cp314t-macosx_10_12_x86_64.whl
Size 591.5 kB
Tags CPython 3.14 CPython 3.14 free-threading macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
62fc5d6a350a902d841303b0f0d0cc6863e615735b462365f31b1d6360791e29
BLAKE2b-256 checksum
How to use checksums
a7749d2cb3d8ed0e0bd9475b0db99dd2ab08f0ddd6f18300a50064239ad48b0b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via RestSharp/106.13.0.0

Release files / paulimer-0.2.5-cp314-cp314-pyemscripten_2026_0_wasm32.whl

Download URL paulimer-0.2.5-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
a80df176c8c24efbcbd5b8bdff8c58ff9c04719202b5d6d9719902bf03025c59
BLAKE2b-256 checksum
How to use checksums
fcf5d7ba18e4c29c8494a3604293b9599adbfa88f55111ef6a44da2129f26a8d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via RestSharp/106.13.0.0

Release files / paulimer-0.2.5-cp39-abi3-win_arm64.whl

Download URL paulimer-0.2.5-cp39-abi3-win_arm64.whl
Size 605.5 kB
Tags CPython 3.9 Windows ARM64 abi3
SHA-256 checksum
How to use checksums
912ca75f978df93fe322dcb33b62b92d7ad3316318b97f76e0c73ef01c02728c
BLAKE2b-256 checksum
How to use checksums
5541306cc46fe2ac20a0ef2ec96e83a0b4c7c721b6632ef70ec33896745e6ef6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via RestSharp/106.13.0.0

Release files / paulimer-0.2.5-cp39-abi3-win_amd64.whl

Download URL paulimer-0.2.5-cp39-abi3-win_amd64.whl
Size 615.7 kB
Tags CPython 3.9 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
c752f2042290bbb22463844de147fbe37bf5488373d9b007b5dca342ec49dea4
BLAKE2b-256 checksum
How to use checksums
fddb468bdfae14e3a076a3bbb81f9216d6fc52f05b9c2e9819bff629d7d8e5f9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via RestSharp/106.13.0.0

Release files / paulimer-0.2.5-cp39-abi3-manylinux_2_28_x86_64.whl

Download URL paulimer-0.2.5-cp39-abi3-manylinux_2_28_x86_64.whl
Size 654.5 kB
Tags CPython 3.9 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
91c5b0e75ea8ff3a398e018ac08ec2784a79743a536795c366c9a057cd3da18d
BLAKE2b-256 checksum
How to use checksums
f1586e237e2aa8eebbd10dc3549ec03f949408506af8831d9118e26e896e6ea9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via RestSharp/106.13.0.0

Release files / paulimer-0.2.5-cp39-abi3-manylinux_2_28_aarch64.whl

Download URL paulimer-0.2.5-cp39-abi3-manylinux_2_28_aarch64.whl
Size 603.7 kB
Tags CPython 3.9 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
f4f3c2d7c1f848881d711f273945d99076e4a42af56f4c849f679dad856196e2
BLAKE2b-256 checksum
How to use checksums
27469285d557c876fac21ba9e4cb43a08fdf55fde8296a21741ed5baa04a3b66
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via RestSharp/106.13.0.0

Release files / paulimer-0.2.5-cp39-abi3-macosx_11_0_arm64.whl

Download URL paulimer-0.2.5-cp39-abi3-macosx_11_0_arm64.whl
Size 562.3 kB
Tags CPython 3.9 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
b6c3121e4f3d89696abb6fd4f1b7d7885dd58900654ecad781c36ebf5d85bd1a
BLAKE2b-256 checksum
How to use checksums
7c4c1b4252571635138908bb89fa7546994d3fb9089e1eb70ba047f103747ea2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via RestSharp/106.13.0.0

Release files / paulimer-0.2.5-cp39-abi3-macosx_10_12_x86_64.whl

Download URL paulimer-0.2.5-cp39-abi3-macosx_10_12_x86_64.whl
Size 601.7 kB
Tags CPython 3.9 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
131152ce2b317be3a83c4ddeb4691d96806a37516713935bd0b3e625ea6cd2b2
BLAKE2b-256 checksum
How to use checksums
d8c8728e597b8bd6aef9ded8999319b41fb892b15398c93fcde23ccf84bc547f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via RestSharp/106.13.0.0

Release history Release notifications | RSS feed

This release

0.2.5 This release

19 release files

0.2.4

7 release files

0.2.3

7 release files

0.2.2

7 release files

0.2.1

5 release files

0.1.1

6 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page