Sequentially constrained Monte Carlo sampler for quantum states