Y operation

Fully qualified name: Std.Intrinsic.Y

operation Y(qubit : Qubit) : Unit is Adj + Ctl

Summary

Applies the Pauli Y gate.

Input

qubit

Qubit to which the gate should be applied.

Remarks

$$ \begin{align} \sigma_y \mathrel{:=} \begin{bmatrix} 0 & -i \\ i & 0 \end{bmatrix}. \end{align} $$