Y-Vorgang
Warnung
Diese Dokumentation bezieht sich auf das klassische QDK, das durch das moderne QDK ersetzt wurde.
Weitere Informationen finden https://aka.ms/qdk.api Sie in der API-Dokumentation für das moderne QDK.
Namespace: Microsoft.Quantum.Intrinsic
Paket: Microsoft.Quantum.Type2.Core
Wendet das Pauli-$Y$-Gate an.
operation Y (qubit : Qubit) : Unit is Adj + Ctl
BESCHREIBUNG
\begin{align} \sigma_y \mathrel{:=} \begin{bmatrix} 0 & -i \\ i & 0 \end{bmatrix}. \end{align}
Eingabe
Qubit: Qubit
Qubit, auf das das Gate angewendet werden soll.