Theorem 4.22 (Godsil-Gutman, 80s).

𝔼S{±1}det(xIAs)=μG(x),

where

μG(x)=k0xn2k(1)kmk(G),

where mk(G) is the number of matchings in G with k edges.