Quil-T
API Reference
pyquil.gates.
S
Produces the S gate:
S = [[1, 0], [0, 1j]]
This gate is a single qubit S-gate.
qubit (Union[Qubit, QubitPlaceholder, FormalArgument, int]) – The qubit apply the gate to.
Union
Qubit
QubitPlaceholder
FormalArgument
int
Gate
A Gate object.