qit.ho.rotate¶
- qit.ho.rotate(phi, n=30)¶
Bosonic rotation operator.
- Parameters
phi (float) – rotation angle
n (int) – truncation dimension
- Returns
rotation operator
- Return type
array[complex]
Returns the n-dimensional approximation for the bosonic phase space rotation operator
\[R(\phi) := \exp\left(i \phi a^{\dagger} a \right) = \exp\left(i \frac{\phi}{2} \left(Q^2 + P^2 -\I\right)\right)\]in the number basis.