tequila.circuit.gates.S

tequila.circuit.gates.S(target: Union[list, int], control: Union[list, int] = None) → tequila.circuit.circuit.QCircuit[source]

\(S = \begin{pmatrix} 1 & 0 \\ 0 & e^{i\frac{\pi}{2}} \end{pmatrix}\)

Notes

\[\begin{split}S = \begin{pmatrix} 1 & 0 \\ 0 & e^{i\frac{\pi}{2}} \end{pmatrix}\end{split}\]
Parameters
  • target – int or list of int

  • control – int or list of int

Returns

QCircuit

Return type

object