Sampling from the Thermal Quantum Gibbs State and Evaluating Partition Functions with a Quantum Computer | Synapse