Now I'm going to do some hand waving. Rigorous justification is possible but lengthy.
If the hamiltonian was of the form [itex]\hat H ={1\over 2m}\hat p^2 + V(\hat x)[/itex], and we were interested in a "short" time [itex]\tau[/itex], we could use the Campbell-Baker-Hausdorf formula to write
[tex]e^{-i\hat H\tau/\hbar} = e^{-i\hat p^2\tau/2m\hbar} \,e^{-iV(\hat x)\tau/\hbar}\,e^{O(\tau^2)}[/itex]<br />
<br />
Then we could insert a complete set of momentum eigenstates to get<br />
<br />
[tex]\langle x|e^{-i\hat H\tau/\hbar}|x\rangle \approx \int d^dp\,\langle x|e^{-i\hat p^2\tau/2m\hbar}|p\rangle\langle p|e^{-iV(\hat x)\tau/\hbar}|x\rangle[/itex]<br />
<br />
Now I can remove the hats from the operators [itex]\hat p[/itex] and [itex]\hat x[/itex], because they are acting on their eigenstates, and pull these factors out front, since they are now just numbers. So we now have<br />
<br />
[tex]\langle x|e^{-i\hat H\tau/\hbar}|x\rangle \approx \int d^dp\,e^{-i(p^2/2m+V(x))\tau/\hbar}\langle x|p\rangle\langle p|x\rangle[/itex]<br />
<br />
Now I use [itex]\langle x|p\rangle=\langle p|x\rangle^*=e^{ipx/\hbar}/(2\pi\hbar)^{d/2}[/itex], and we have<br />
<br />
[tex]\langle x|e^{-i\hat H\tau/\hbar}|x\rangle \approx \int {d^dp\over\,(2\pi\hbar)^d}\,e^{-iH(p,x)\tau/\hbar}[/tex]<br />
<br />
Plugging this into our last formula for the density of states, we get<br />
<br />
[tex]\rho(E) \approx \int_{-\infty}^{+\infty}{d\tau\over2\pi\hbar}\int{d^dp\,d^dx\over(2\pi\hbar)^d}\,e^{iE\tau/\hbar}\,e^{-iH(p,x)\tau/\hbar}[/tex]<br />
<br />
Now carry out the integral over [itex]\tau[/itex] to get<br />
<br />
[tex]\rho(E) \approx \int{d^dp\,d^dx\over(2\pi\hbar)^d}\,\delta<br />
\bigl(E-H(p,x)\bigr)[/tex]<br />
<br />
Ta da!<br />
<br />
Of course, I cheated, because I used a small-[itex]\tau[/itex] approximation, then integrated over all [itex]\tau[/itex]. Look up the "Gutzwiller trace formula" to see how corrections to this result (which is sometimes called the "Weyl formula") are computed.[/tex][/tex][/tex]