S operation
Namespace: Microsoft.Quantum.Intrinsic
Package: Microsoft.Quantum.Type2.Core
Applies the π/4 phase gate to a single qubit.
operation S (qubit : Qubit) : Unit is Adj + Ctl
Description
\begin{align} S \mathrel{:=} \begin{bmatrix} 1 & 0 \\ 0 & i \end{bmatrix}. \end{align}
Input
qubit : Qubit
Qubit to which the gate should be applied.
Output : Unit
Feedback
Submit and view feedback for