Quantum connection and Poincaré-Cartan form