S 작업
네임스페이스: Microsoft.Quantum.Intrinsic
패키지: Microsoft.Quantum.Type2.Core
π/4 단계 게이트를 단일 큐비트에 적용합니다.
operation S (qubit : Qubit) : Unit is Adj + Ctl
Description
\begin{align} S \mathrel{:=} \begin{bmatrix} 1 & 0 \\ 0 & i \end{bmatrix}. \end{align}
입력
qubit: Qubit
게이트를 적용할 큐비트입니다.