qed_cycle¶ guppyft.code.toy_k2.logical.qed_cycle(blk: Block) → None[source]¶ Performs an error detection cycle on the block. This consists of a syndrome extraction followed by discarding of the shot if the syndrome is not trivial.