Module examples

Module examples 

Source
Expand description

Worked-example walkthroughs of full-scale simulations.

Each submodule is documentation-only (no code) — the runnable source lives under crates/paulistrings/examples/ and the matching narrative is rendered here by include_str! from crates/paulistrings/docs/examples/.

Modules§

ising_2d_quench
A worked end-to-end simulation: classical computation of the average X magnetization following a sudden quench in a 2D transverse-field Ising model. The lattice is small enough to fit in a single 64-bit Pauli word (W = 1) but large enough that exact diagonalization is already painful (2^36 ≈ 7 × 10¹⁰ amplitudes for the 6×6 case). Pauli propagation with modest truncation gets the answer in seconds-to-minutes.