T. Kotek, J. A. Makowsky: "Efficient computation of generalized Ising polynomials on graphs with fixed clique-width"; Topics in Theoretical Computer Science (TTCS), 9541 (2015), 135 - 146.