Run it

One command from circuit to detector samples

cargo run -p rstim --bin rstim -- detect --in circuit.stim --shots 1000 --out_format dets

Use stats to inspect a circuit or replace detect with sample for raw measurement shots.

Example results

Throughput depends strongly on circuit shape

Pinned release measurements for named fixtures; these are not a general performance claim.

FixtureImplementationThroughputWall time
Surface d=11, r=100rstim compiled1,745 shots/s586.8 ms
Surface d=11, r=100Stim CLI5,597 shots/s183.0 ms
Repetition d=13, r=13rstim compiled11.51M shots/s1.738 ms
Repetition d=13, r=13Stim CLI232K shots/s86.111 ms

Benchmark evidence

Checked simulator results

Loading simulator evidence.