For quantum statistical mechanics the standard textbooks are: O. Bratteli, D.W. Robinson, Operator Algebras and Quantum Statistical Mechanics. Vol. 1: C* and W*-algebras. Symmetry Groups. Decomposition of States. O. Bratteli, D.W. Robinson, Operator Algebras and Quantum Statistical Mechanics. Vol. 2: Equilibrium States. Models in Quantum Statistical Mechanics.