Quantum and classical statistical mechanics of the sinh-Gordon equation