Quantum Monte Carlo algorithm for arbitrary spin-1/2 Hamiltonians | Synapse