T {QuantumOps}R Documentation

T

Description

If no argument is supplied, returns the matrix of T gate. If ket given as input, applies a T gate to the input ket and returns the resulting ket

Usage

T(...)

Arguments

...

No argument, or ket (column vector) that is input to the gate

Value

Matix of the T gate or ket after an T gate is applied

Examples

 T(ket(1,1))
 T()

[Package QuantumOps version 3.0.1 Index]