Delen via


Rxx-bewerking

Volledig gekwalificeerde naam: Std.Intrinsic.Rxx

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

Samenvatting

Hiermee past u de twee qubit ising XX rotatiepoort toe.

Invoer

thèta

De hoek waarover de qubits worden gedraaid.

qubit0

De eerste qubitinvoer aan de poort.

qubit1

De tweede qubitinvoer aan de poort.

Opmerkingen

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