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)
Finite-temperature statics, S(k, ω, T) and σ(ω, T) of the XXZ, spin-1 and Hubbard chains thermal.statics, thermal.structure_factor, thermal.current_correlation exact diagonalisation of the whole Hilbert space, to the second-order Trotter error of the steps (below 1e-3 at the default step, falling by 4 at half the step)
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 ground-state solver works in one symmetry sector, and an unreachable sector is an error rather than a silent default; finite temperature is grand canonical, over every sector. 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.2.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.2.0
File Size Uploaded Provenance Actions
quantx_engine-0.2.0.tar.gz 435.1 kB With provenance Details for quantx_engine-0.2.0.tar.gz

Built distributions (wheels)

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

Total release size: 10.4 MB

Release files / quantx_engine-0.2.0.tar.gz

Download URL quantx_engine-0.2.0.tar.gz
Size 435.1 kB
Tags Source
SHA-256 checksum
How to use checksums
2a2f698019beb863ddec4b5a21ce3384cad163fed1aa3564e114e6fa6ff335de
BLAKE2b-256 checksum
How to use checksums
ac1624945602b7c390865fd6e0318888968476d3a725ef2bf551bd1fcabdcf4f
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 18, 2026.

Transparency log

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

Download URL quantx_engine-0.2.0-py3-none-win_amd64.whl
Size 2.3 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
b6ad79b35c54eebf2323e870eae181e5ea58da2ab28659d39aace43425fd0842
BLAKE2b-256 checksum
How to use checksums
6c8d9607d26bbf6df7f489a316456a780f738c21c0546731bf260144a43487ad
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 18, 2026.

Transparency log

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

Download URL quantx_engine-0.2.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
777e51830b19c7235abee4b83ab071088001521c15a5935958c0871cc0e7be6f
BLAKE2b-256 checksum
How to use checksums
20cbbaf2b9faed78da8cf2f80b5529f951790005a5a2b1581fb2b4040f3292ab
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 18, 2026.

Transparency log

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

Download URL quantx_engine-0.2.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
4ebf57b6caa044180ba6fef925558aa20cb9e8eafb7557aaadcc75b853018ca9
BLAKE2b-256 checksum
How to use checksums
946b7301cc7a75fd94eeceeb56741590b0aa8823c7779633331dceb4392d9801
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 18, 2026.

Transparency log

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

Download URL quantx_engine-0.2.0-py3-none-macosx_10_15_x86_64.whl
Size 2.4 MB
Tags Python 3 macOS 10.15+ x86-64
SHA-256 checksum
How to use checksums
9ff8c47515f444c977c8bbe597c3d8708ce4aa47c559fa1bfd39e78eca694b5b
BLAKE2b-256 checksum
How to use checksums
a4e881b7dd71932a69faa2a500b6f0062061320a194c2dbdff2b04cafe55b4db
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 18, 2026.

Transparency log

Security for quantx-engine 0.2.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.2.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 18, 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.2.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