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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Download URL paulimer-0.2.7-cp39-abi3-win_arm64.whl
Size 601.1 kB
Tags CPython 3.9 Windows ARM64 abi3
SHA-256 checksum
How to use checksums
74ac0ca9e309cbbe1a54922bf8cbdb2f0977aea3e341371b2e870da3f0b25793
BLAKE2b-256 checksum
How to use checksums
756413dd98b78ef30077b8eb81a1bc90fd838e698a63c00586f0506fea198567
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via RestSharp/106.13.0.0

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

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

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

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

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

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

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

Download URL paulimer-0.2.7-cp39-abi3-macosx_11_0_arm64.whl
Size 558.7 kB
Tags CPython 3.9 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
1e7250d6225ad542b9cd20cb3c8fad9ece3da6841f52fef2202b99fdd566f5b6
BLAKE2b-256 checksum
How to use checksums
2b0fd6940677dea3a15130f92ae80021c2ca74f070a441e9772f038913317d74
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via RestSharp/106.13.0.0

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

Download URL paulimer-0.2.7-cp39-abi3-macosx_10_12_x86_64.whl
Size 595.9 kB
Tags CPython 3.9 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
4d3d78014cdb8e0e82dade7a63ad7bd77bf295a7f18b1881aec19c5eddf80697
BLAKE2b-256 checksum
How to use checksums
c542378ff4a295a2c55d0e071bea92da542c6e94788f0b46eb321d80b0cb8259
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.7 This release

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