Replace n_particles by particlenumber (alias QM operator).