Abstract: | Based on the Keldysh Green's functions theory, we present a general formula of the thermal and thermoelectric transport. In the clean limit, our formula recovers the previous results obtained from the semiclassical transport theory.In our approach, we propose an appropriate energy current operator and electric current operator, and the unphysical divergence from the direct application of the Kubo formula is eliminated. As an application, we study the thermal and the thermoelectric Hall conductivities of a gapped Dirac fermion model in the presence of impurity scattering. |