Computing thermodynamic observables on noisy quantum computers with chemical accuracy