quantum MC method