qat.lang.vendors.K
- qat.lang.vendors.K
Definition of the \(K\) gate (of arity \(1\)). This gate is not included in the default gate set of myQLM, but in the gate set
quobly_gate_set().This \(K\) gate is defined by:
\[\begin{split}\forall \phi \in\rm I\!R: \frac{1}{\sqrt{2}} \begin{vmatrix} 1 & -i \cdot e^{-i\phi} \\ -i \cdot e^{i\phi} & 1 \\ \end{vmatrix} = R_Z(\phi) \cdot R_X(\frac{\pi}{2}) \cdot R_Z(-\phi)\end{split}\]