CROTGate
- class CROTGate(theta, phi)
Represent a controlled rotation gate about an axis in the XY plane.
\[CROT = R_\phi(\theta) \otimes |0\rangle\langle0| + R_\phi(-\theta) \otimes |1\rangle\langle1|\]The gate’s first qubit is the control. The formula is in Qiskit’s order, with the control as the right factor.
- Parameters:
theta – Rotation angle.
phi – Axis angle in the XY plane.
Methods
|
Return the same gate at \(-\theta\) on the same axis, which keeps the inverse native. |