Quantization of a general dynamical system

Abstract
Invariance implies that the momentum operator should be represented by the covariant derivative. For a general dynamical system, both covariant canonical and path integral quantization yield in the Schrödinger equation a correction term proportional to the curvature. Earlier erroneous calculations are hereby corrected and reconciled.