S

Module: pennylane

class S(wires)[source]

The single-qubit phase gate

\[\begin{split}S = \begin{bmatrix} 1 & 0 \\ 0 & i \end{bmatrix}.\end{split}\]

Details:

  • Number of wires: 1
  • Number of parameters: 0
Parameters:wires (Sequence[int] or int) – the wire the operation acts on