Rxx 操作

完全限定名称:Std.Intrinsic.Rxx

operation Rxx(theta : Double, qubit0 : Qubit, qubit1 : Qubit) : Unit is Adj + Ctl

总结

应用两个量子比特 Ising XX 旋转门。

输入

西塔

旋转量子比特的角度。

量子比特0

入口的第一个量子比特输入。

量子比特1

入口的第二个量子位输入。

言论

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