A stochastic approach to quantum spin systems