File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -516,19 +516,16 @@ def test_full_scale_one_worker():
516516 )
517517
518518 # Use sinter.collect to run the decoding task.
519- results , = sinter .collect (
519+ result , = sinter .collect (
520520 num_workers = 1 ,
521521 tasks = [sinter .Task (circuit = circuit )],
522522 decoders = ["tesseract" ],
523523 max_shots = 1000 ,
524524 custom_decoders = construct_tesseract_decoder_for_sinter (),
525525 )
526526
527- # Print a summary of the decoding results.
528- print ("Basic Repetition Code Decoding Results:" )
529- print (f"Shots run: { results .shots } " )
530- print (f"Observed errors: { results .errors } " )
531- print (f"Logical error rate: { results .errors / results .shots } " )
527+ assert result .discards == 0
528+ assert result .shots == 1000
532529
533530if __name__ == "__main__" :
534531 raise SystemExit (pytest .main ([__file__ ]))
You can’t perform that action at this time.
0 commit comments