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 \(\{\ket{0}, \ket{1}, ..., \ket{d-1}\}\).
The corresponding creation operator is \(b^\dagger\). The (infinite-dimensional) bosonic annihilation and creation operators fulfill the commutation relation \([b, b^\dagger] = \I\). Due to the d-dimensional basis truncation, this does not hold for the last dimension of the b matrices returned by this function.