Predicting sound in planetary inner cores using quantum physics