Skip to main content

quantx-engine

QuantX is a tensor-network engine for quantum many-body physics. It runs block-sparse MPS algorithms (DMRG, TDVP, and fermionic HVA circuits) that conserve U(1), U(1)×U(1) and SU(2) charges exactly. The core is C++20, with a Python API.

pip install quantx-engine

Wheels carry the native engine for Linux x86_64, macOS 10.15+ (arm64 and x86_64) and Windows AMD64, on any CPython 3.10 or later. On other platforms pip installs a pure-Python package without the engine, and quantx_engine.backend_info()["native"] is False.

What is verified

Capability Python Checked against
Ground states of the XXZ, J1-J2, spin-1 Heisenberg and Fermi-Hubbard chains, in a chosen symmetry sector dmrg.ground_state with models.XXZChain, J1J2Chain, Spin1Chain, HubbardChain exact diagonalisation to 1e-10
Hubbard on ladders, strips and cylinders dmrg.ground_state(models.HubbardLattice(...)) exact diagonalisation on a ladder and a cylinder, to 1e-10
Fermionic HVA circuits on chains, ladders, strips and cylinders hva.circuit, hva.layout an independent state vector: energy and entanglement entropies to 1e-10 from a product start; to 1e-6 from the default U = 0 start (about 1e-8 measured)
from quantx_engine.models import HubbardChain, HubbardLattice
from quantx_engine.dmrg import ground_state
from quantx_engine import hva

gs = ground_state(HubbardChain(L=16, U=4.0), n_up=8, n_dn=8, max_bond=256)
gs.energy, gs.truncation_error

cyl = HubbardLattice(Lx=4, W=3, U=4.0, y_periodic=True)
angles = [[0.1] * hva.layout(cyl).angles_per_layer] * 3
r = hva.circuit(cyl, angles, n_up=6, n_dn=6, max_bond=256)
r.energy, r.entropy_max, r.truncation_error, r.init_energy_error
# At max_bond 256 this cylinder already truncates (truncation_error ~5e-4; the energy
# moves by 3e-3 at 1024): raise max_bond until the energy stops moving.

Spin models use S = σ/2, and every chain is open. A solver works in one symmetry sector, and an unreachable sector is an error rather than a silent default. The gates run on a Linux build in CI; the macOS and Windows wheels are checked for loading the engine.

Experimental

Everything else in the package is experimental: its API may change, and the checks above do not cover it. That is more than 50 pure-Python modules that do not use the engine (VQE and chemistry, error correction, noise and mitigation, quantum walks, bosonic codes, hardware connectors and more), plus a few older interfaces to parts of the engine.

Documentation, benchmarks and the C++ engine are in the repository. Its roadmap says where the project is going, and the contributing guide says how to take part.

MIT License, © 2026 Marshall WU.

Metadata

Release files for quantx-engine 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for quantx-engine 0.1.0
File Size Uploaded Provenance Actions
quantx_engine-0.1.0.tar.gz 433.2 kB With provenance Details for quantx_engine-0.1.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for quantx-engine 0.1.0
File Actions
quantx_engine-0.1.0-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for quantx_engine-0.1.0-py3-none-win_amd64.whl
quantx_engine-0.1.0-py3-none-manylinux_2_28_x86_64.whl Python 3 none Linux glibc 2.28+ x86-64 Details for quantx_engine-0.1.0-py3-none-manylinux_2_28_x86_64.whl
quantx_engine-0.1.0-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details for quantx_engine-0.1.0-py3-none-macosx_11_0_arm64.whl
quantx_engine-0.1.0-py3-none-macosx_10_15_x86_64.whl Python 3 none macOS 10.15+ x86-64 Details for quantx_engine-0.1.0-py3-none-macosx_10_15_x86_64.whl

Total release size: 10.3 MB

Release files / quantx_engine-0.1.0.tar.gz

Download URL quantx_engine-0.1.0.tar.gz
Size 433.2 kB
Tags Source
SHA-256 checksum
How to use checksums
56fd9287ca2ce310346065413f5b141a1fd130f7e29711d72b9a25a446c4e227
BLAKE2b-256 checksum
How to use checksums
ea47c35a6f1b285e62146937f16f068587fbd250c7f1b4c057fbfba12970653a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 16, 2026.

Transparency log

Release files / quantx_engine-0.1.0-py3-none-win_amd64.whl

Download URL quantx_engine-0.1.0-py3-none-win_amd64.whl
Size 2.2 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
eb7649b3d66b7ac9d0b966dae5f735e608b89e330f5edb383c20311471fd4938
BLAKE2b-256 checksum
How to use checksums
5b7aba46c37615ca7a7bbbab69a9a959847aed50183172cae0f184ac019846b9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 16, 2026.

Transparency log

Release files / quantx_engine-0.1.0-py3-none-manylinux_2_28_x86_64.whl

Download URL quantx_engine-0.1.0-py3-none-manylinux_2_28_x86_64.whl
Size 3.2 MB
Tags Linux glibc 2.28+ x86-64 Python 3
SHA-256 checksum
How to use checksums
4796321697045e79692939da4f09ba9469046ce88675101d0cf1fcd310b25edb
BLAKE2b-256 checksum
How to use checksums
8328eb3d55af7076a13ab8f274eca59ede0077231dc8045fec1e33cbc362cc89
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 16, 2026.

Transparency log

Release files / quantx_engine-0.1.0-py3-none-macosx_11_0_arm64.whl

Download URL quantx_engine-0.1.0-py3-none-macosx_11_0_arm64.whl
Size 2.1 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
4ff4172766471fb5b6aaf41a3c744d872effa49d2eccb916807c2f2da372e19c
BLAKE2b-256 checksum
How to use checksums
d20273b431b691e88ae0df17ae0d5881abef53ea69d6730b1d2da35564650483
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 16, 2026.

Transparency log

Release files / quantx_engine-0.1.0-py3-none-macosx_10_15_x86_64.whl

Download URL quantx_engine-0.1.0-py3-none-macosx_10_15_x86_64.whl
Size 2.3 MB
Tags Python 3 macOS 10.15+ x86-64
SHA-256 checksum
How to use checksums
9abfcd18c6485d2ca13952892d84c2abe4c14c41db8e435374a49b8ec0b206dd
BLAKE2b-256 checksum
How to use checksums
4f55bb40c645aa2f3f28e06a353a1ba12a6dc92ee6cc461de5acaf33de2e9b9e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 16, 2026.

Transparency log

Security for quantx-engine 0.1.0

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.

Full provenance

All 5 files in this release have been uploaded with provenance metadata.

Select from 5 files

Attestation for quantx_engine-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 16, 2026.

Transparency log

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

0.1.0 This release

5 release files Full provenance

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