powered by
The SWAP gate
SWAP(bits = c(1, 2))
An S4 class 'swapgate' object is returned
integer vector of length two, containing the bits to swap.