Condensed matter theory and quantum dynamics