By the generalized linear quantum transformation theory we concisely derive
the analytic expressions of partition function for general quadratic syste
ms of multi-mode boson and fermion Fock space without any information for t
he energy spectrum. Under a general condition, we firstly acquire the exact
expressions of energy spectra for these systems.