Using PennyLane
Release news
Development
API
Internals
Returns a thermal state.
nbar (float) – the mean photon number
hbar (float) – (default 2) the value of \(\hbar\) in the commutation relation \([\x,\p]=i\hbar\)
the thermal state
array