x¶
- guppyft.code.toy_k2.primitives.x(blk: LogicalBlock[4], idx: int) None[source]¶
Logical X gate on the chosen logical qubit.
- Parameters:
blk – The logical block to apply the gate to.
idx – The index of the logical qubit to apply the gate to (0 or 1).