qit.ho.squeeze

qit.ho.squeeze(z, n=30)

Bosonic squeezing operator.

Parameters
  • z (complex) – squeezing parameter

  • n (int) – truncation dimension

Returns

squeezing operator

Return type

array[complex]

Returns the n-dimensional approximation for the bosonic phase space squeezing operator

\[S(z) := \exp\left(\frac{1}{2} (z^* a^2 - z a^{\dagger 2})\right) = \exp\left(\frac{i}{2} \left((QP+PQ)\re{z} +(P^2-Q^2)\im{z}\right)\right)\]

in the number basis.