Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Qulomb

English | 日本語

Qulomb is an experimental, portable GPU statevector simulator for quantum circuits, with Apple Silicon / Metal as its first evaluation target. It uses CubeCL for backend portability and provides an optional QURI Parts adapter. The goal is to explore GPU simulation without requiring CUDA, using explicit backend selection rather than a promise of support on every CubeCL target.

Qulomb is pre-alpha and is not published to PyPI yet. Build it from a repository checkout or install a local candidate wheel; APIs and performance may change before a release. There is no stable API guarantee.

The first wheel release is being prepared for Apple Silicon, with CPU and Metal and the optional QURI extra on ordinary CPython 3.12 / 3.13 (cp312/cp313). The candidates were tested on macOS 27.0; older macOS versions and macOS 27.0.1 remain unverified. Python 3.14 is deferred for this first QURI evaluation pending upstream Qulacs wheels; the retained cp314 wheel is an unpublished validation artifact. Supported environments and local wheel installation are documented separately. Qulomb is not yet available on PyPI.

Install from a checkout

The source setup uses Git, Rust/rustup, uv, and a native compiler/linker. uv selects Python 3.13 and installs the locked development tools; Nix is an optional alternative.

git clone https://github.com/uedakoki/qulomb.git
cd qulomb
uv python install 3.13
uv sync --locked --all-groups --extra quri
uv run --locked --extra quri python examples/bell_state.py

Rust 1.99.1/rustfmt/Clippy are selected by rust-toolchain.toml; the CPU MSRV remains 1.85. See CONTRIBUTING for prerequisites, checks, and rebuilding after native Rust edits, and the checkout instructions for explicit Metal.

CPU quickstart

from qulomb import CircuitBuilder, Simulator

circuit = CircuitBuilder(2).h(0).cnot(0, 1).build()
state = Simulator(device="cpu").run(circuit)

print(state.to_numpy())
print(state.probabilities())

Qulomb uses little-endian qubit indexing (q0 is the least-significant bit). Simulator(device="cpu") uses f32 by default. See the user guide for initial states, shots, precision, error handling, Metal, and QURI Parts examples.

Current contract

The compatibility matrix is the entry point for the current support contract. CPU and Metal f32 statevector execution are formal surfaces; CPU f64 and explicit CUDA f32 statevector execution are experimental. Backend selection is explicit and does not silently fall back to a different device. The matrix links to user-facing reference material. The QURI extra requires core/circuit/rust >=0.28.0 (locked to 0.28.0).

Useful entry points:

Development

Use just after the source setup for repository commands. Common commands are:

just test       # CPU-safe tests
just check      # normal quality gates
just test-metal # Metal build, diagnostics, and tests when available

See CONTRIBUTING.md for contributor and verification rules.

License

Copyright 2026 UEDA, Koki

Qulomb's original code and documentation are licensed under Apache-2.0. Third-party components retain their own licenses; see NOTICE and third-party notices. The owner has selected PyPI for future distribution. Publication requires a separate explicit instruction from the owner. The distribution-wide license expression and native redistribution conditions remain under review; these notices do not certify that all publication conditions have been resolved.

User-facing documentation is edited in Japanese first and translated into English.

Report ordinary bugs and security issues through GitHub Issues.

Metadata

Release files for qulomb 0.1.0a1

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 qulomb 0.1.0a1
File Actions
qulomb-0.1.0a1-cp313-cp313-manylinux_2_28_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.28+ x86-64 Details for qulomb-0.1.0a1-cp313-cp313-manylinux_2_28_x86_64.whl
qulomb-0.1.0a1-cp313-cp313-macosx_27_0_arm64.whl CPython 3.13 CPython 3.13 macOS 27.0+ ARM64 Details for qulomb-0.1.0a1-cp313-cp313-macosx_27_0_arm64.whl
qulomb-0.1.0a1-cp312-cp312-manylinux_2_28_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.28+ x86-64 Details for qulomb-0.1.0a1-cp312-cp312-manylinux_2_28_x86_64.whl
qulomb-0.1.0a1-cp312-cp312-macosx_27_0_arm64.whl CPython 3.12 CPython 3.12 macOS 27.0+ ARM64 Details for qulomb-0.1.0a1-cp312-cp312-macosx_27_0_arm64.whl

Total release size: 25.7 MB

Release files / qulomb-0.1.0a1-cp313-cp313-manylinux_2_28_x86_64.whl

Download URL qulomb-0.1.0a1-cp313-cp313-manylinux_2_28_x86_64.whl
Size 1.3 MB
Tags CPython 3.13 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
028d056adbf20ecdf53dc8a730267927f280dce7df32ce0398e6fda02bc49a31
BLAKE2b-256 checksum
How to use checksums
2e5f03620a1c9624090579410e84e95a238f396fadabf74bdfc8c0b2fe7056bf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / qulomb-0.1.0a1-cp313-cp313-macosx_27_0_arm64.whl

Download URL qulomb-0.1.0a1-cp313-cp313-macosx_27_0_arm64.whl
Size 11.6 MB
Tags CPython 3.13 macOS 27.0+ ARM64
SHA-256 checksum
How to use checksums
d22823c81443c0fb5c3bd26aa21f96df3d2d8d13511915cea64f88bad40a4c53
BLAKE2b-256 checksum
How to use checksums
3ce00cf5c21c5340eeca51b9192156346b9301df1bb627f1d38f9e498eb779a5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / qulomb-0.1.0a1-cp312-cp312-manylinux_2_28_x86_64.whl

Download URL qulomb-0.1.0a1-cp312-cp312-manylinux_2_28_x86_64.whl
Size 1.3 MB
Tags CPython 3.12 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
24965fcd5670d80db53a2e3070728f003f264ab2b021f35d96fa1d13c584509d
BLAKE2b-256 checksum
How to use checksums
5d112053a6d6fa5f30e1283cd4f96489a2b28b3075caa4db3c56bea413aef5bd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / qulomb-0.1.0a1-cp312-cp312-macosx_27_0_arm64.whl

Download URL qulomb-0.1.0a1-cp312-cp312-macosx_27_0_arm64.whl
Size 11.6 MB
Tags CPython 3.12 macOS 27.0+ ARM64
SHA-256 checksum
How to use checksums
35d550952f3323db1cbdfa5cc5b3b52349160c87400265d1b4b6447d281d0aa5
BLAKE2b-256 checksum
How to use checksums
ac557c8546098614acb05fe7c64d5208116d0710c3a8bac8e35d18f0cb90b89a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Security for qulomb 0.1.0a1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release
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