Skip to content

QEC

Detector and observable sampling

4/4 passed in 27ms

TestWhat it doesResult
test_certain_error_detectedA certain X error fires the detector and flips the observable.✅ pass
test_detection_rateDetection-event frequency tracks the error probability.✅ pass
test_no_noise_no_detectionsWith no noise, no detectors fire and no logical flips occur.✅ pass
test_shapesSampling returns (shots, n_detectors) and (shots, n_observables).✅ pass