Skip to content

Qleisli v0.2.2

Choose a tag to compare

@MGYamada MGYamada released this 30 Sep 12:28
· 2070 commits to main since this release

Qleisli 0.2.2 adds a bounded shared measured-QPE workflow and prepares the staged Rust-to-Lean verification migration.

  • Add six small corpus translations: SWAP, Fredkin, constant XOR, bitwise complement, exact RX and phase kickback, with independent phase/order checks and retained upstream notices.
  • Freeze the VM-22 acceptance inventory, boundary contracts and reproducible comparison fixtures. VM-23–VM-29 remain planned.
  • Add bounded sized-source elaboration, an experimental qleisli sized CLI, fresh hierarchy/named-QPE checking, conditional instrument/reference proofs, reference execution and fresh-shot measured clients.
  • Fix exact-capacity rejection of repeat_static for TH by validating serial copies structurally; add checked narrowing, grouped imports, visible sealed signatures and clearer diagnostics.
  • Bound grouped-import prefix/documentation copying before allocation, render each documented group once, and add fixed-seed differential regressions.
  • Repair QIR block identity and structured interop diagnostic locations. Simplify README/status presentation and retire obsolete documentation while retaining active v0.2.x goals.

Installation

cargo install qleisli --version 0.2.2 --locked

The Rust CLI/library needs no Lean, Python or LLVM. The experimental sized CLI requires a separately built Lean kernel; Cargo does not install it. Python/PyPI distribution is separate.

Verification scope

Rust remains authoritative for production acceptance; external Lean schemas remain disabled. The general Soundness, Physical Realizability and Resource Safety theorems, source/runtime correspondence and the full hierarchy profile remain open. Small-system validation does not establish maximum capacity; named QPE (2,4) still exceeds the existing checking budget.

This is a compatible 0.2.x release. Type/tuple/coefficient breaking changes remain targeted at 0.3.0, and new algorithms stay in corpus before general stdlib growth at 0.5.0.

Release validation

All seven CI jobs on the tagged commit passed. Clean distribution checks, a fresh exact-version crates.io installation and the shipped quickstart passed. The downloaded registry artifact matches the validated package byte for byte.
The hosted API documentation built successfully. GitHub tar.gz and ZIP downloads match all 1,905 tagged source files.

Source commit: 8e39b32b932d8e11d5d83ca4a5991f212381e519.
Registry .crate SHA-256: 5e73c1765cfe13b94af60c5db55bcec1933f50b86e99fad46ace767f9c157a01.