qit.utils.boson_ladder

qit.utils.boson_ladder(*args)

Bosonic ladder operators.

Parameters

d (int) – truncation dimension

Returns

bosonic annihilation operator b

Return type

array

Returns the d-dimensional approximation of the bosonic annihilation operator b for a single bosonic mode in the number basis {|0,|1,...,|d1}.

The corresponding creation operator is b. The (infinite-dimensional) bosonic annihilation and creation operators fulfill the commutation relation [b,b]=I. Due to the d-dimensional basis truncation, this does not hold for the last dimension of the b matrices returned by this function.