S operation

Applies the $\pi / 4$ phase gate to a single qubit,

\begin{align} S \mathrel{:=} \begin{bmatrix} 1 & 0 \\ 0 & i \end{bmatrix}. \end{align}

operation S (qubit : Qubit) : ()
Functors
Adjoint Controlled

Input

qubit
Qubit

Qubit to which the gate should be applied.

Output

()