measure_z_all¶ guppyft.code.toy_k2.logical.measure_z_all(blk)[source]¶ Measure both qubits of the block in the Z basis. This operation destroys the logical block. Return type: BlockMeasurement