qat.lang.RY
- qat.lang.RY
Definition of the \(RY\) 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 \(RY\) gate is defined by:
\[\begin{split}\forall \theta \in\rm I\!R: R_Y[\theta] = \begin{vmatrix} \cos(\frac{\theta}{2}) & -\sin(\frac{\theta}{2}) ~\\ \sin(\frac{\theta}{2}) & \cos(\frac{\theta}{2}) \\ \end{vmatrix}\end{split}\]