deltakit.core.data_formats.b8_to_syndromes#
- deltakit.core.data_formats.b8_to_syndromes(b8_input: Path | bytes, detector_num: int) Iterator[OrderedSyndrome]#
Given a b8 input (either a file path containing b8 data or bytes), and the number of detectors that should be in each syndrome, return a generator of syndromes.
Informed by https://github.com/quantumlib/Stim/blob/main/doc/result_formats.md#b8