AI-assisted docs. Parts of this page were drafted or edited with AI assistance. The project creator reviews and maintains the final text; see the AI notice.
Releases
This page tracks Quantar versions without requiring a ouija board or a spreadsheet with seventeen tabs.
Current version status
As of 28 November 2026:
| Thing | Version |
|---|---|
| Source tree | 1.3.1 — working release nickname: Plank |
| Latest published PyPI package | 1.3.1 |
| VS Code extension / packaged VSIX | 1.3.1 |
Rust crate quantar-kernels |
1.3.1 |
| Language server version | follows lang_systems.__version__ |
A release nickname is not a promise, a semantic version, or a load-bearing structural element. It is just what the current work is being called while the creator decides whether it deserves a formal announcement.
One version to rule them all
There is one source of truth: __version__ in
src/lang_systems/__init__.py.
version_sync.py copies that value into:
rust/Cargo.tomlrust/Cargo.lock- the VS Code extension package metadata during release preparation
Build hooks call the same sync logic, so uv build and python -m build do not
drift. Two sources of truth is how you get two lies.
Check locally:
Expected output when everything agrees:
To see the version your interpreter actually imported:
Release timeline
| Version | Published | Highlights |
|---|---|---|
| 0.1.0 / 0.1.1 | 23 Oct 2026 | Early package builds; the "does it install?" phase. |
| 1.0.0 | 25 Oct 2026 | Stable release and the first language-server tooling. |
| 1.0.1 | 27 Oct 2026 | Hover support and small editor quality-of-life fixes. |
| 1.2.0 | 22 Nov 2026 | Switchable Python/Rust backends; Rust backend gains real API parity. |
| 1.2.1 | 24 Nov 2026 | Shared seeding, simpler imports, quieter builds, better docs. |
| 1.2.2 | 26 Nov 2026 | Rust-backed physics kernels and post-1.2.1 helper polish. |
| 1.2.3 | 26 Nov 2026 | PyInstaller build paths and leaner lowering output. |
| 1.3.0 | 27 Nov 2026 | Cargo-like CLI, config defaults, hidden aliases, bare-filename shorthand. |
| 1.3.1 — Plank | 28 Nov 2026 | Version sync, bracket-style operators, explicit --rust, editor path setting, website docs. |
Dates above come from PyPI upload records. Repository tags may lag behind a PyPI upload, which is the kind of detail that makes release engineering so charming.
What changed in 1.3.x
1.3.1 — Plank
- Bracket-style operators registered with
@operator.bracket("|{}>"),"<{}|","<{}|{}>", and"|{}><{}|". Each{}is one operand slot. - Operators declared in the entry file are registered before parsing, even when the file is being executed.
qtr checkrecursively validates local sources without executing them.--rustloads and validatesquantum.quantar_kernels; it does not silently fall back to NumPy.- Cargo, Python, and extension versions are synchronized from one value.
- VS Code support gained
quantar.pythonPathfor picking an interpreter that actually haspyglsandlsprotocol. - The website documentation was filled in and given an AI-authorship notice.
Current source tree: custom binary and unary operators and the built-in gate symbols are available. Bracket-style user operators are not supported; the 1.3.1 bracket bullets above describe the published release only.
1.3.0
- The command system became cargo-like:
qtr new,qtr init,qtr run,qtr compile,qtr check, andqtr lower. qtr path/to/file.qtris shorthand forqtr run path/to/file.qtr.[tool.quantar]inpyproject.tomlsupplies entry, output, target, mode, Rust, and job defaults.- Hidden aliases (
r,c,comp) remain for the terminally impatient. - Errors are cleaner, and Ctrl+C exits with status
130instead of attempting a dramatic monologue.
What changed earlier
1.2.3
- PyInstaller-based binary builds.
- Lowering emits less scaffolding and keeps future imports in the right place.
1.2.2
- Rust kernels for kinetic energy, Lorentz forces, finite differences, and velocity-Verlet steps.
- New helpers such as
Dual.jacobian(),VectorField.hessian(), scalarhessian()/laplacian(),momentum(),angular_momentum(), andSpaceMetric.volume_element().
1.2.1
quantarandstlre-export common names lazily.set_seed()/get_seed()are shared by both simulation backends.- Shor and Grover functions moved into
*_libmodules but stayed available fromstl.quantum_algs. - Build output got quieter;
QUANTAR_VERBOSE_BUILD=1andQUANTAR_STRICT_RUST=1restore the noisy details.
1.2.0
quantum.use_backend("python" | "rust")selects the simulator at runtime.- The Rust backend mirrors the Python API:
apply, gate history, checkpoints,uncompute, QFT/IQFT, Pauli measurement, sampling, and QASM export.
Compatibility
Quantar requires Python 3.12 or newer. The compiled extension uses PyO3 stable ABI features:
| Interpreter | Source build | Published wheel tag |
|---|---|---|
| CPython 3.12–3.14, GIL enabled | abi3 (abi3-py312) |
cp312-abi3-* |
| CPython 3.14t, free-threaded | version-specific cp314-cp314t |
cp314-cp314t-* |
| CPython 3.15 / 3.15t and newer | abi3t (abi3t-py315) |
cp315-abi3.abi3t-* |
A GIL-enabled cp312-abi3-* wheel cannot be installed on a free-threaded
interpreter. Use a matching free-threaded wheel or install from source with
that interpreter.
Next steps
- Quickstart — install and run a project.
- Syntax & Operators — what 1.3.1 added to the language.
- Standard Library — what lives in
quantumandstl.