Quantum Statistical Mechanics and Thermodynamics