The one function every simulation needs
Almost every computational question about a solid, from "is this crystal stable?" to "how fast do lithium ions move through it?", reduces to one function: the potential energy surface. Give it the positions of every atom, , and it returns the total energy . Forces are its slope:
With energy and forces you can relax a structure to its nearest minimum, run molecular dynamics at a temperature, compute vibrations from the curvature, and compare competing crystal structures.
The gold-standard way to evaluate for materials is density functional theory (DFT), which solves an approximate quantum-mechanical problem for the electrons at every new set of positions. A machine-learned interatomic potential (MLIP) is a model trained to reproduce DFT's energies and forces directly from positions, skipping the electrons entirely.

