Rxx 작업
정규화된 이름: Std.Intrinsic.Rxx
operation Rxx(theta : Double, qubit0 : Qubit, qubit1 : Qubit) : Unit is Adj + Ctl
요약
두 개의 큐비트 Ising XX 회전 게이트를 적용합니다.
입력
테타
큐비트가 회전되는 각도입니다.
qubit0
게이트에 대한 첫 번째 큐비트 입력입니다.
qubit1
게이트에 대한 두 번째 큐비트 입력입니다.
발언
$$ \begin{align} R_{xx}(\theta) \mathrel{:=} \begin{bmatrix} \cos \theta & 0 & 0 & -i\sin \theta \\ 0 & \cos \theta & - i\sin \theta & 0 \\ 0 & -i\sin \theta & \cos \theta & 0 \\ -i\sin \theta & 0 & 0 & \cos \theta \end{bmatrix}. \end{align} $$