Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

qslib documentation

qslib is a quantum simulation library for finite lattice models. The project defines physical conventions first, then exposes the same checked objects through Rust, the command line, and Python.

Start here

API reference

Build the Rust API reference locally with:

RUSTDOCFLAGS="-D warnings" cargo doc --workspace --no-deps --all-features

The generated entry point is target/doc/qslib/index.html. The combined published site also provides the Rust API reference. The API reference is generated output and is intentionally not committed to the source tree.

Architecture and governance

All worked examples in the CLI guide are executed by integration tests. The Python wheel and its contract tests are built separately because Python is an optional foreign-function boundary rather than a dependency of the Rust core.