project_z¶ guppyft.code.toy_k2.primitives.project_z(blk: LogicalBlock[4], idx: int) → bool[source]¶ Project the chosen qubit onto the Z basis without consuming it.