powered by
The CNOT gate
CNOT(bits = c(1, 2))
An S4 class 'cnotgate' object is returned
integer vector of length two, the first bit being the control and the second the target bit.