Tgate {qsimulatR} | R Documentation |
The Tgate gate
Description
The Tgate gate
Usage
Tgate(bit)
Arguments
bit |
integer. The bit to which to apply the gate |
Value
An S4 class 'sqgate' object is returned
Examples
x <- X(1)*qstate(nbits=2)
z <- Tgate(1) * x
z
[Package qsimulatR version 1.1.1 Index]