prep_zero_ft¶
- guppyft.code.toy_k2.primitives.prep_zero_ft() PreBlock[4, 1][source]¶
Fault-tolerant preparation of a logical \(|00\\rangle\) state.
The logical block is wrapped in a PreBlock, which contains the flag measurement outcomes. Use force_check() to check if preparation was successful, retrieving the logical block.