For molecules with two competing conformers (e.g.\ ethanol gauche vs anti, butane gauche vs anti,
peptide ϕ/ψ rotamers): compute the energy difference ΔE = E(B) − E(A) by running RealQM at the
two geometries, then form the canonical equilibrium ratio:
K(T) = [B] / [A] = g_B/g_A · exp(−ΔE / k_B T)
g_A and g_B are degeneracies (e.g.\ g_gauche=2, g_anti=1 for two equivalent gauche minima).