Freigeben über


Rxx-Vorgang

Vollqualifizierter Name: Std.Intrinsic.Rxx

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

Zusammenfassung

Wendet das zwei Qubit Ising XX Drehgate an.

Eingabe

Theta

Der Winkel, über den die Qubits gedreht werden.

qubit0

Die erste Qubit-Eingabe an das Gate.

Qubit1

Die zweite Qubit-Eingabe an das Gate.

Bemerkungen

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