swap_intra¶
- guppyft.code.toy_k2.primitives.swap_intra(blk: LogicalBlock[4]) None[source]¶
Logical SWAP within the block, swapping the two logical qubits.
- Parameters:
blk – The logical block to apply the gate to.
Logical SWAP within the block, swapping the two logical qubits.
blk – The logical block to apply the gate to.