Quasi-adiabatic quantum Monte Carlo algorithm, for transverse-field Ising model, written in C++