supergrad.utils.operators.displace

Contents

supergrad.utils.operators.displace#

supergrad.utils.operators.displace(n, alpha, offset=0)[source]#

Single-mode displacement operator.

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

Original docstring below.

Parameters:
  • alpha (float/complex) – Displacement amplitude.

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

Returns:

oper – Displacement operator.

Return type:

qobj