Quantum mechanics and Geometry