Lagrangian form of Schrödinger equation