Agradecimentos: We acknowledge the comments of the anonymous referees. We also thanks to the Brazilian research agencies FAPESP, CNPq and INCT-IQ (National Institute for Science and Technology for Quantum Information). D. S. Goncalves also thanks the Brittany Region (France) and INRIA for partial financial support