  In this paper we show that, via an extension of time, some metric structures
naturally appear in both classical and quantum mechanics when both are
formulated via path integrals. We calculate the various Ricci scalar and
curvatures associated to these metrics and prove that they can be choosen to be
zero in classical mechanics while this is not possible in quantum mechanics.
