Skip to content

Qleisli v0.2.3

Choose a tag to compare

@MGYamada MGYamada released this 01 Oct 00:59
· 2075 commits to main since this release

Qleisli v0.2.3

Qleisli 0.2.3 introduces explicit language edition 2026, improves QFT/QPE
checking and source diagnostics, and completes the VM-23 exact-arithmetic
proof packet. Rust remains the production verifier.

Source migration

Every filesystem source tree containing .qli or .qlt files requires a
Qargo.toml with:

schema-version = 2

[qrate]
edition = "2026"

Put this manifest at the source-tree root, including trees that are not qrates.
The bundled std qrate has its complete manifest in stdlib/; corpus, examples
and tests use their own manifests. All source trees will migrate to qrate
management in the future. QLT execution remains planned for v0.4.0 or later.
See the edition contract.

This manifest requirement is the user's explicitly selected PATCH compatibility
exception. Existing in-memory source, Rust, IR and evidence APIs retain their
contracts. Rust's implementation edition remains 2024, and the MSRV remains 1.85.

Changes

  • Check equivalent commuting QFT schedules at roots and composed operations,
    preserving phase, axis order, source ports and the original precursor.
  • Reduce redundant generated routing. Named QPE (1,3) accepts both tested
    Fourier schedules at 1,996,759 structural / 708 exact units, under the
    unchanged 2,000,000 allowance. Every independent provider, preparation and
    readout obligation remains checked.
  • Distinguish hidden with_computed captures from consumed owners; retain
    source spans and explain unsupported sized lowering profiles. Support the
    complete quantum provider groups used by the small arithmetic corpus.
  • Fix the subprocess stdin race, add 4,000 finite/sized ownership comparisons,
    and keep Rust/Python sized checking differences explicit in CI.
  • Expand the finite corpus to 42 cases from the three approved sources,
    retaining phase-sensitive counterexamples and source-specific notices.
  • Complete VM-23's actual Lean scalar/matrix meaning, canonicality, reference,
    capacity and aggregate-work proofs. The packet retains 815 native Rust/Lean
    comparisons; production dual integration is a later migration stage.
  • Preserve the three original logo concepts
    and their branch history for v0.4.0 discussion.

Installation and scope

cargo install qleisli --version 0.2.3 --locked

Ordinary CLI/library use requires Rust alone. The experimental sized pipeline
requires a separately built Lean kernel. General soundness, source preservation,
physical realizability and quantitative resource safety remain proof goals.
The broader capacity work (#94), qargo namespace adapter (#96) and VM-24–VM-29
are separate from this release.

Validation

Source commit: ff460549f0630c88c1f65c00a9e7d740d39e7889; tree:
f4c145a98c45af03a141ddb5ad7a5011095b878e.
All seven jobs pass in both the source Linux CI
and PR validation,
including Rust 1.98.1 / MSRV 1.85.0, interop, both Lean proof builds/audits,
fresh native/kernel comparisons, distribution and documentation.

Clean local and Linux distribution checks pass: 2,011 crate files and 2,016
complete source files, required provenance, packaged documentation, installed
quickstarts and extracted-source tests. The generated local lockfile matches the
Linux artifact. cargo publish --dry-run --locked --registry crates-io passes,
with the same crate SHA-256 as both distribution checks.

  • Crate SHA-256: 3e191f2a5cac41a2fdb337e4a71f30b1289b3f01382b51b6cf4b9da9bf350054.
  • Complete source archive SHA-256: 2dadbdb04345e5cd3f0e375e5256089d9a6f8787fa11627a91c624ec8cb45b20.

The annotated v0.2.3 tag binds this source commit. The
crates.io package was published on
2026-10-01 with the matching checksum. A fresh exact-version registry install
passes the shipped Bell text/JSON checks, sampling, embedded QFT2 and ownership
rejection with no helper tools. The registry README renders the matching edition,
manifest and quickstart; all eight pinned documentation/gallery links are live.

The hosted API documentation builds
successfully on docs.rs (build 4662557).