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