qat.lang.PH
- qat.lang.PH
Definition of the \(PH\) 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 \(PH\) gate is defined by:
\[\begin{split}\forall \theta \in\rm I\!R: PH[\theta] = \begin{vmatrix} 1 & 0 \\ 0 & e^{i\theta} \\ \end{vmatrix}\end{split}\]