The equivalence between discrete-spin Hamiltonians and Ising Hamiltonians with multi-spin interactions | Synapse