several bugs related to mean-field calculation
exact nqp is 4*nsites