But you didn't answer my question:
let me explain you my problem:
The density of states n(E) is defined as the trace of the spectral operator
\delta(E-\hat{H}), \newline n(E)\equiv Tr \delta(E-\hat{H}).
this expression is equal = \sum_n \langle E_n|\delta(E- \hat{H})| E_n\rangle.
My...