powered by
The identity gate
Id(bit)
An S4 class 'sqgate' object is returned
integer. The bit to which to apply the gate
x <- qstate(nbits=2) z <- Id(1) * x z
Run the code above in your browser using DataLab