swap

guppyft.code.iceberg.logical.swap(block: Block[N], i: int, j: int) None[source]

Swap of the qubits with indices i and j.