SWAP {qsimulatR} | R Documentation |
The SWAP gate
Description
The SWAP gate
Usage
SWAP(bits = c(1, 2))
Arguments
bits |
integer vector of length two, containing the bits to swap. |
Value
An S4 class 'swapgate' object is returned
[Package qsimulatR version 1.1.1 Index]