Rxx-Vorgang
Warnung
Diese Dokumentation bezieht sich auf das klassische QDK, das durch das moderne QDK ersetzt wurde.
Weitere Informationen finden https://aka.ms/qdk.api Sie in der API-Dokumentation für das moderne QDK.
Namespace: Microsoft.Quantum.Intrinsic
Paket: Microsoft.Quantum.Type2.Core
Wendet die beiden Qubit Ising $XX$-Rotationsgate an.
operation Rxx (theta : Double, qubit0 : Qubit, qubit1 : Qubit) : Unit is Adj + Ctl
BESCHREIBUNG
\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}
Eingabe
theta : Double
Der Winkel, um den die Qubits gedreht werden.
qubit0 : Qubit
Die erste Qubiteingabe für das Gate.
qubit1 : Qubit
Die zweite Qubiteingabe für das Gate.