deltakit.core.data_formats.parse_01_to_syndromes#
- deltakit.core.data_formats.parse_01_to_syndromes(logical_flips_01_file: Path) Iterator[OrderedSyndrome]#
Given a filepath for a 01 file containing syndromes, return a generator of OrderedSyndromes.
01 files are string based, where each line is a different target logical as a string of 0s and 1s. Where 1 indicates the reference logical is flipped.
Use logical_flips_to_b8_file on the result of this function to translate 01 data to b8 data that can be decoded via the B8DecoderManager.