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