Set detector to stim SetDetectorToStim dataclass SetDetectorToStim(measure_id_frame: MeasureIDFrame) Bases: RewriteRule Rewrite SetDetector to GetRecord and Detector in the stim dialect