Ry 操作

完全限定的名称:Std.Intrinsic.Ry

operation Ry(theta : Double, qubit : Qubit) : Unit is Adj + Ctl

总结

按给定角度应用有关 y轴的旋转。

输入

西塔

要旋转量子比特的角度。

量子比特

应向其应用门的量子位。

言论

$$ \begin{align} R_y(\theta) \mathrel{:=} e^{-i \theta \sigma_y / 2} = \begin{bmatrix} \cos \frac{\theta}{2} & -\sin \frac{\theta}{2} \\ \sin \frac{\theta}{2} & \cos \frac{\theta}{2} \end{bmatrix}。 \end{align} $$

等效于:

R(PauliY, theta, qubit);