S operation
Fully qualified name: Std.Intrinsic.S
operation S(qubit : Qubit) : Unit is Adj + Ctl
Summary
Applies the π/4 phase gate to a single qubit.
Input
qubit
Qubit to which the gate should be applied.
Remarks
$$ \begin{align} S \mathrel{:=} \begin{bmatrix} 1 & 0 \\ 0 & i \end{bmatrix}. \end{align} $$