Researchers have developed a new computational tool to describe how the atoms within quantum materials behave when they absorb and emit light