Fidelity for the quantum evolution of a Bose-Einstein condensate