deltakit.decode.noise_sources.OptionedStim.build_batch_error_generator#

OptionedStim.build_batch_error_generator(code_data: Circuit, seed: int | None = None) BatchErrorGenerator#

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