deltakit.decode.noise_sources.OptionedStim.error_generator#

OptionedStim.error_generator(code_data: Circuit, seed: int | None = None) Iterator[Tuple[OrderedSyndrome, Tuple[bool, ...]]]#

Given some representation of a code, return a generator of errors for that code.