Rx 작업

경고

이 설명서는 최신 QDK로 대체된 클래식 QDK를 참조합니다.

최신 QDK에 대한 API 설명서는 를 참조 https://aka.ms/qdk.api 하세요.

네임스페이스: Microsoft.Quantum.Intrinsic

패키지: Microsoft.Quantum.Type2.Core

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

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

Description

\begin{align} R_x(\theta) \mathrel{:=} e^{-i \theta \sigma_x / 2} = \begin{bmatrix} \cos \frac{\theta }{2} & -i\sin \frac{\theta}{2} \\ -i\sin \frac{\theta}{2} & \cos \frac{\theta}{2} \end{bmatrix}. \end{align}

입력

theta: Double

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

큐비트: 큐비트

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

출력 : 단위

설명

해당 항목:

R(PauliX, theta, qubit);