supergrad.utils.operators.squeeze

Contents

supergrad.utils.operators.squeeze#

supergrad.utils.operators.squeeze(n, z, offset=0)[source]#

Single-mode squeezing operator.

SuperGrad-supported implementation of qutip.core.operators.squeeze().

Original docstring below.

Parameters:
  • z (float/complex) – Squeezing parameter.

  • offset (int, default: 0) – The lowest number state that is included in the finite number state representation of the operator.

Returns:

oper – Squeezing operator.

Return type:

Qobj