Stim
Stim is a stabilizer-circuit simulator with visualization tools aimed at quantum error correction. Its diagrams range from ordinary operation timelines to spatial circuit layers, detector slices, and matching graphs derived from detector error models. Detector-slice overlays show how circuit operations relate to the stabilizers associated with detectors, while matching graphs expose connections between detectors and possible error mechanisms. SVG and three-dimensional outputs support inspection of larger structures. The bundled Crumble editor provides interactive circuit editing and Pauli-flow tracing. These views support the design and debugging of error-correction circuits, with each diagram exposing a different part of the circuit or error model.
Visualization labels
03 / VisualizationVisualization resources
Explore the tool’s visualization features and documentation.
Getting-started visualization examples
Includes circuit timelines, surface-code layers, detector slices, and matching-graph examples.
Circuit diagram API
Lists diagram formats, tick selection, and detector or observable filtering in the v1.16.0 source reference.
Crumble editor manual
Explains circuit editing and tracing Pauli products across layers in the evolving Crumble editor.
Stim: a fast stabilizer circuit simulator
Cite this work
@article{gidney2021stim,
author = {Gidney, Craig},
publisher = {Verein zur Förderung des Open Access Publizierens in den Quantenwissenschaften},
doi = {10.22331/q-2021-07-06-497},
issn = {2521-327X},
journal = {{Quantum}},
month = jul,
pages = {497},
title = {Stim: a fast stabilizer circuit simulator},
volume = {5},
year = {2021},
}