supergrad.utils.operators.position#
- supergrad.utils.operators.position(n, offset=0)[source]#
Position operator \(x = 1 / sqrt(2) * (a + a.dag())\)
SuperGrad-supported implementation of
qutip.core.operators.position().Original docstring below.
- Parameters:
offset (int, default: 0) – The lowest number state that is included in the finite number state representation of the operator.
- Returns:
oper – Position operator as Qobj.
- Return type:
qobj