Quil-T
API Reference
pyquil.gates.
T
Produces the T gate:
T = [[1, 0], [0, exp(1j * pi / 4)]]
This gate is a single qubit T-gate. It is the same as RZ(pi/4).
qubit (Union[Qubit, QubitPlaceholder, FormalArgument, int]) – The qubit apply the gate to.
Union
Qubit
QubitPlaceholder
FormalArgument
int
Gate
A Gate object.