It is shown that the canonical problem of classical statistical
thermodynamics, the computation of the partition function, is in the case of
+/-J Ising spin glasses a particular instance of certain simple sums known as
quadratically signed weight enumerators (QWGTs). On the other hand it is known
that quantum computing is polynomially equivalent to classical probabilistic
computing with an oracle for estimating QWGTs. This suggests a connection
between the partition function estimation problem for spin glasses and quantum
computation. This connection extends to knots and graph theory via the
equivalence of the Kauffman polynomial and the partition function for the Potts
model.Comment: 8 pages, incl. 2 figures. v2: Substantially rewritte