Equation of motion of a quantum vortex