Operação Ryy

Nome totalmente qualificado: Std.Intrinsic.Ryy

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

Resumo

Aplica a porta de rotação Ising YY de dois qubits.

Entrada

Theta

O ângulo em torno do qual os qubits são rodados.

qubit0

A primeira entrada de qubit para a porta.

Qubit1

A segunda entrada de qubit para a porta.

Remarks

$$ \begin{align} R_{yy}(\theta) \mathrel{:=} \begin{bmatrix} \cos \theta & 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 \fin{bmatrix}. \end{align} $$