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(ϕ):=exp(iϕaa)=exp(iϕ2(Q2+P2I))

in the number basis.