Tgate: The Tgate gate

Description Usage Arguments Value Examples

Description

The Tgate gate

Usage

1
Tgate(bit)

Arguments

bit

integer. The bit to which to apply the gate

Value

An S4 class 'sqgate' object is returned

Examples

1
2
3
x <- X(1)*qstate(nbits=2)
z <- Tgate(1) * x
z

qsimulatR documentation built on Jan. 13, 2021, 3:13 p.m.