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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Download URL paulimer-0.2.8-cp314-cp314t-win_amd64.whl
Size 608.6 kB
Tags CPython 3.14 CPython 3.14 free-threading Windows x86-64
SHA-256 checksum
How to use checksums
12a51a216c60b6530d38d932b31a0a3cd29620a37f3786e094c936cf63e31035
BLAKE2b-256 checksum
How to use checksums
7b0a512167e2da28ab1ca2200dd0c6ba4e339253cd4642b3221eea6d5d3a0934
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via RestSharp/106.13.0.0

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Download URL paulimer-0.2.8-cp39-abi3-macosx_11_0_arm64.whl
Size 559.7 kB
Tags CPython 3.9 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
15241438afce9f48eabd39573e32f394df3fde4ff7a860657bd99699c7b31e4a
BLAKE2b-256 checksum
How to use checksums
87219b376564ce9e504c7cab8e0fba9faef500070e4e81e6ba3dc4ae95e2a5d3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via RestSharp/106.13.0.0

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

Download URL paulimer-0.2.8-cp39-abi3-macosx_10_12_x86_64.whl
Size 600.6 kB
Tags CPython 3.9 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
0b89b5425202166d4d8697b1ee3fa8d77b258e9d358be82f51453f9579eebe38
BLAKE2b-256 checksum
How to use checksums
6ba636a3986c72ddd714136b53b7c839a984810106a76530d902f8cf268f3112
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.8 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