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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Download URL paulimer-0.2.9-cp314-cp314t-win_amd64.whl
Size 612.7 kB
Tags CPython 3.14 CPython 3.14 free-threading Windows x86-64
SHA-256 checksum
How to use checksums
671b196d1bd89f85fa83d0a9422e19c9b19cb05eecf0819d229368527061d919
BLAKE2b-256 checksum
How to use checksums
38908f6fefba6d57256cc7a8e537e912869912590f215915274ab3f6af833fa5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via RestSharp/106.13.0.0

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

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

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

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

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

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

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

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

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

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

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

Download URL paulimer-0.2.9-cp39-abi3-win_arm64.whl
Size 609.1 kB
Tags CPython 3.9 Windows ARM64 abi3
SHA-256 checksum
How to use checksums
5299123b4d6ca4cf46384775e8942603a2c669f6fddca4d722935404495c3684
BLAKE2b-256 checksum
How to use checksums
ce9b1e8474b3f1a745c79130ecada2d6208f45754716b622e49b5b34f8511c80
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via RestSharp/106.13.0.0

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

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

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

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

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

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

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

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

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

Download URL paulimer-0.2.9-cp39-abi3-macosx_10_12_x86_64.whl
Size 603.1 kB
Tags CPython 3.9 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
297ff50f1c8070624864a1fa7e639c02bd9b23ddad7cc9d94fe920cb3a4cdda7
BLAKE2b-256 checksum
How to use checksums
16ad3d8b8007706ce073cfd34d9be0178149fd60ef4f2b345f2bc5ad50fa5f24
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.9 This release

19 release files

0.2.7

19 release files

0.2.6

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