S

pyquil.gates.S(qubit)[source]

Produces the S gate:

S = [[1, 0],
     [0, 1j]]

This gate is a single qubit S-gate.

Parameters:qubit – The qubit apply the gate to.
Returns:A Gate object.