Open
Description
I think in many cases it can be useful to get a "ground truth" when sampling errors. From my understanding the intended way to do so with Stim is stim.CompiledDemSampler.sample(return_errors=True)
. However this can be much slower than return_errors=False
when the error matrix is sparse:

Would it be possible to return a sparse representation of the errors without so much time overhead?
Metadata
Metadata
Assignees
Labels
No labels