Quantum advantage from energy measurements of many-body quantum systems