共用方式為


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} $$