These are exercises for undegraduates, not research problems. In the basis in which H is diagonal, Tr e-H = sumi e-Ei and this result is independent of the basis, in fact, since the trace of an operator is one of the invariants.
It's wrong to mix up questions to stackexchange for students that look for ghostwriting assignments with research...