Added save_dets for qmc