qit.ho.momentum

qit.ho.momentum(n=30)

Momentum operator.

Parameters

n (int) – truncation dimension

Returns

momentum operator

Return type

array[complex]

Returns the n-dimensional truncation of the dimensionless momentum operator P in the number basis.

See position.