CROTYGate

class CROTYGate(theta)

Represent a controlled rotation gate about the Y axis.

\[CROTY = RY(\theta) \otimes |0\rangle\langle0| + RY(-\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 of the conditional Y rotation.

Methods

inverse([annotated])

Return the same gate at \(-\theta\), which keeps the inverse native.