When minimized, it yields the" path of least action" which represents the path a physical
system will take through space and time. This function is crucial in theoretical physics and is
usually minimized analytically to obtain equations of motion for various problems. In this
paper, we propose a different approach: instead of minimizing the action analytically, we
discretize it and then minimize it directly with gradient descent. We use this approach to …