cx_intra¶
- guppyft.code.toy_k2.logical.cx_intra(blk: Block, target: int) None[source]¶
Logical CX within the block, targeting the specified logical qubit.
- Parameters:
blk – The logical block to apply the gate to.
target – The index of the logical qubit that acts as target (0 or 1). The other logical qubit acts as control.