Operazione Rz
Nome completo: Std.Intrinsic.Rz
operation Rz(theta : Double, qubit : Qubit) : Unit is Adj + Ctl
Sommario
Applica una rotazione sull'asse zper un determinato angolo.
Immissione
Theta
Angolo su cui ruotare il qubit.
qubit
Qubit a cui applicare il gate.
Osservazioni
$$ \begin{align} R_z(\theta) \mathrel{:=} e^{-i \theta \sigma_z / 2} = \begin{bmatrix} e^{-i \theta / 2} & 0 \\ 0 & e^{i \theta / 2} \end{bmatrix}. \end{align} $$
Equivalente a:
R(PauliZ, theta, qubit);