qat.lang.RZ
- qat.lang.RZ
Definition of the \(RZ\) gate (of arity \(1\)). This gate is part of the default gate set of myQLM and is defined in the default gate set
default_gate_set().This \(RZ\) gate is defined by:
\[\begin{split}\forall \theta \in\rm I\!R: R_Z[\theta] = \begin{vmatrix} e^{-i\frac{\theta}{2}} & 0 \\ 0 & e^{i\frac{\theta}{2}} \\ \end{vmatrix}\end{split}\]