qit.ho.displace¶
- qit.ho.displace(alpha, n=30)¶
Bosonic displacement operator.
- Parameters
alpha (complex) – displacement parameter
n (int) – truncation dimension
- Returns
displacement operator
- Return type
array[complex]
Returns the n-dimensional approximation for the bosonic phase space displacement operator
in the number basis. This yields
and thus the displacement operator displaces the state of a harmonic oscillator in phase space.