Skip to content

Guides

Task-oriented documentation for each of propaq's subsystems. Each guide assumes you have read Core concepts.

  • Circuits and gates


    Converting Qiskit and Cirq circuits, the native gate basis, the transpile-based fallback, and registering fast paths for custom gates.

  • Truncation


    The truncator pipeline: weight, coefficient, frequency truncators, and how flushes are triggered.

  • Noise models


    Built-in uniform damping, Python-defined models, and how noise interacts with Clifford deferral.

  • Surrogate propagation


    Compiling a parameterized circuit once and evaluating it for many parameter assignments, plus model persistence.

  • Extrapolation


    Zero-noise and zero-cutoff extrapolation to estimate the ideal expectation value from a sweep of runs.

  • Streaming and I/O


    Saving and reloading term sums, and lazy streaming for results too large to hold in memory.

  • Hybrid simulation


    Splitting a circuit between a Heisenberg half and a Schrödinger half, and contracting a propagated observable against an MPS in one native call.

  • Logging and profiling


    JSONL event logs, the parser, and what to look at when a run is slower or less accurate than you expect.

  • Native plugins


    Writing noise models and truncation policies in C, Rust or AOT-compiled Julia against propaq's plugin ABI.