deltakit.decode.noise_sources.ExhaustiveWeightedMatchingNoise.split_error_generator#

ExhaustiveWeightedMatchingNoise.split_error_generator(code_data: CodeT, num_splits: int, seed: int | None = None) tuple[tuple[Iterator[ErrorT], int], ...]#

Given some representation of a code, return num_splits number of generators of errors for that code and the respective sizes for those generators.