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.

Metadata

Release files for paulimer 0.2.6

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.6
File
paulimer-0.2.6-cp315-abi3.abi3t-win_arm64.whl CPython 3.15 abi3, abi3t Windows ARM64 Details
paulimer-0.2.6-cp315-abi3.abi3t-win_amd64.whl CPython 3.15 abi3, abi3t Windows x86-64 Details
paulimer-0.2.6-cp315-abi3.abi3t-manylinux_2_28_x86_64.whl CPython 3.15 abi3, abi3t Linux glibc 2.28+ x86-64 Details
paulimer-0.2.6-cp315-abi3.abi3t-manylinux_2_28_aarch64.whl CPython 3.15 abi3, abi3t Linux glibc 2.28+ ARM64 Details
paulimer-0.2.6-cp315-abi3.abi3t-macosx_11_0_arm64.whl CPython 3.15 abi3t, abi3 macOS 11.0+ ARM64 Details
paulimer-0.2.6-cp315-abi3.abi3t-macosx_10_12_x86_64.whl CPython 3.15 abi3t, abi3 macOS 10.12+ x86-64 Details
paulimer-0.2.6-cp314-cp314t-win_arm64.whl CPython 3.14 CPython 3.14 free-threading Windows ARM64 Details
paulimer-0.2.6-cp314-cp314t-win_amd64.whl CPython 3.14 CPython 3.14 free-threading Windows x86-64 Details
paulimer-0.2.6-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.6-cp314-cp314t-manylinux_2_28_aarch64.whl CPython 3.14 CPython 3.14 free-threading Linux glibc 2.28+ ARM64 Details
paulimer-0.2.6-cp314-cp314t-macosx_11_0_arm64.whl CPython 3.14 CPython 3.14 free-threading macOS 11.0+ ARM64 Details
paulimer-0.2.6-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.6-cp314-cp314-pyemscripten_2026_0_wasm32.whl CPython 3.14 CPython 3.14 PyEmscripten 2026.0+ WebAssembly Details
paulimer-0.2.6-cp39-abi3-win_arm64.whl CPython 3.9 abi3 Windows ARM64 Details
paulimer-0.2.6-cp39-abi3-win_amd64.whl CPython 3.9 abi3 Windows x86-64 Details
paulimer-0.2.6-cp39-abi3-manylinux_2_28_x86_64.whl CPython 3.9 abi3 Linux glibc 2.28+ x86-64 Details
paulimer-0.2.6-cp39-abi3-manylinux_2_28_aarch64.whl CPython 3.9 abi3 Linux glibc 2.28+ ARM64 Details
paulimer-0.2.6-cp39-abi3-macosx_11_0_arm64.whl CPython 3.9 abi3 macOS 11.0+ ARM64 Details
paulimer-0.2.6-cp39-abi3-macosx_10_12_x86_64.whl CPython 3.9 abi3 macOS 10.12+ x86-64 Details

Total release size: 13.9 MB

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

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

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

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

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

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

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

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

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

Download URL paulimer-0.2.6-cp315-abi3.abi3t-macosx_11_0_arm64.whl
Size 577.4 kB
Tags CPython 3.15 abi3 abi3t macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
4a883d430e0a2c6beddaca3fcbfbf7642aff2471f3a0be784a574e339c935825
BLAKE2b-256 checksum
How to use checksums
b9f364ca75a8358099a290022799ffd8e96b94e4f12c9db92e017ebe813c0469
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via RestSharp/106.13.0.0

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

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

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

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

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

Download URL paulimer-0.2.6-cp314-cp314t-win_amd64.whl
Size 603.8 kB
Tags CPython 3.14 CPython 3.14 free-threading Windows x86-64
SHA-256 checksum
How to use checksums
901fb0b27a5ed3079d25cb9e184cceac8615a8133a80f70680297387f72379c9
BLAKE2b-256 checksum
How to use checksums
03f1b8c401ec036f73518194702b44ece0bd88d5a63ffcbaa31e9357b762fb3c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via RestSharp/106.13.0.0

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

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

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

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

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

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

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

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

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

Download URL paulimer-0.2.6-cp314-cp314-pyemscripten_2026_0_wasm32.whl
Size 2.9 MB
Tags CPython 3.14 PyEmscripten 2026.0+ WebAssembly
SHA-256 checksum
How to use checksums
659e8b0d8bd90b237b3413b6bf26e7fc0b55fbb031aaa5a0bd9ee3f8cc12b8d4
BLAKE2b-256 checksum
How to use checksums
187bd81f04286a66d2d55adfde439bdb6bba34080ad08cebc2ede495f459bd14
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via RestSharp/106.13.0.0

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

Download URL paulimer-0.2.6-cp39-abi3-win_arm64.whl
Size 599.7 kB
Tags CPython 3.9 Windows ARM64 abi3
SHA-256 checksum
How to use checksums
3b24f41d85e5ec41176a52b3824183d4bd00373a0bffa6c3e8ae8af73dc97409
BLAKE2b-256 checksum
How to use checksums
86b3378949134bc4344aa4153735dcb27e9463bcec1751a8d4bc864f2d2e951a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via RestSharp/106.13.0.0

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

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

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

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

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

Download URL paulimer-0.2.6-cp39-abi3-manylinux_2_28_aarch64.whl
Size 598.8 kB
Tags CPython 3.9 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
49768c90a584f7f01715def974e70ff7c0f0bd8653288f80bd3f9467399afdc5
BLAKE2b-256 checksum
How to use checksums
3cd9535a3beafc5b0a6d8da15321ab263dc7ea031b68d6fb44ba262ec66f62e5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via RestSharp/106.13.0.0

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

Download URL paulimer-0.2.6-cp39-abi3-macosx_11_0_arm64.whl
Size 557.7 kB
Tags CPython 3.9 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
45b1c0d75b51deac037cf1994b3eecb9a078aaf02e05b6c69bb70d0b3ee84d41
BLAKE2b-256 checksum
How to use checksums
011e6480ba248a313ad4e1869332c73d679c1d2a7d0b745950a0c0d506b23708
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via RestSharp/106.13.0.0

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

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

Release history Release notifications | RSS feed

0.2.7

19 release files

This release

0.2.6 This release

19 release files

0.2.5

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