Rxx operation
Fully qualified name: Std.Intrinsic.Rxx
operation Rxx(theta : Double, qubit0 : Qubit, qubit1 : Qubit) : Unit is Adj + Ctl
Summary
Applies the two qubit Ising XX rotation gate.
Input
theta
The angle about which the qubits are rotated.
qubit0
The first qubit input to the gate.
qubit1
The second qubit input to the gate.
Remarks
$$ \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} $$