Condividi tramite


Operazione Rxx

Nome completo: Std.Intrinsic.Rxx

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

Sommario

Applica i due qubit ising XX gate di rotazione.

Immissione

Theta

Angolo di rotazione dei qubit.

qubit0

Primo input qubit al gate.

qubit1

Secondo input qubit al gate.

Osservazioni

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