deltakit.core.decoding_graphs.DemParser.parse#

DemParser.parse(detector_error_model: DetectorErrorModel) None#

Parse a detector error model using the given error and detector handlers. The class keeps track of the detector and coordinate offsets.

Parameters:

detector_error_model (stim.DetectorErrorModel) – A stim detector error model.