We study a heat kernel e defined by a self-adjoint Hamiltonian H acting on a Hilbert space H, and a unitary representation U(g) of a symmetry group G of H, normalized so that the ground vector of H is invariant under U(g). The triple [H, U(g), H] defines a twisted partition function Zg and a twisted Gibbs expectation ( } ) g , Zg=TrH (U(g) e&;H) and ( } ) g=TrH (U(g) } e) TrH (U(g) e). We say t...