다음을 통해 공유


Ry 작업

정규화된 이름: Std.Intrinsic.Ry

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

요약

지정된 각도로 y축에 대한 회전을 적용합니다.

입력

테타

큐비트를 회전할 각도입니다.

큐비트(qubit)

게이트를 적용할 큐비트입니다.

발언

$$ \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);