Machine learning a molecular Hamiltonian for predicting electron dynamics

We develop a computational method to learn a molecular Hamiltonian matrix from matrix-valued time series of the electron density. As we demonstrate for three small molecules, the resulting Hamiltonians can be used for electron density evolution, producing highly accurate results even when propagating 1000 time steps beyond the training data. As a more rigorous test, we use the learned Hamiltonians to simulate electron dynamics in the presence of an applied electric field, extrapolating to a problem that is beyond the field-free training data. We find that the resulting electron dynamics predicted by our learned Hamiltonian are in close quantitative agreement with the ground truth. Our method relies on combining a reduced-dimensional, linear statistical model of the Hamiltonian with a time-discretization of the quantum Liouville equation within time-dependent Hartree Fock theory. We train the model using a least-squares solver, avoiding numerous, CPU-intensive optimization steps. For both field-free and field-on problems, we quantify training and propagation errors, highlighting areas for future development.

[1]  Bjørk Hammer,et al.  Atomistic structure learning , 2019, The Journal of Chemical Physics.

[2]  Ying Zhu,et al.  Self-consistent predictor/corrector algorithms for stable and efficient integration of the time-dependent Kohn-Sham equation. , 2018, The Journal of chemical physics.

[3]  Ioannis G. Kevrekidis,et al.  On learning Hamiltonian systems from data. , 2019, Chaos.

[4]  Guozhen Zhang,et al.  A neural network protocol for electronic excitations of N-methylacetamide , 2019, Proceedings of the National Academy of Sciences.

[5]  Optical response of small carbon clusters , 1996, physics/9612001.

[6]  J. Behler Perspective: Machine learning potentials for atomistic simulations. , 2016, The Journal of chemical physics.

[7]  Anders S. Christensen,et al.  Operators in quantum machine learning: Response properties in chemical space. , 2018, The Journal of chemical physics.

[8]  Geoffrey J. Gordon,et al.  A Density Functional Tight Binding Layer for Deep Learning of Chemical Hamiltonians. , 2018, Journal of chemical theory and computation.

[9]  G. Potdevin,et al.  Nanoplasma dynamics of single large xenon clusters irradiated with superintense x-ray pulses from the linac coherent light source free-electron laser. , 2012, Physical review letters.

[10]  Amit Chakraborty,et al.  Symplectic ODE-Net: Learning Hamiltonian Dynamics with Control , 2020, ICLR.

[11]  O. A. von Lilienfeld,et al.  Electronic spectra from TDDFT and machine learning in chemical space. , 2015, The Journal of chemical physics.

[12]  Danilo Jimenez Rezende,et al.  Equivariant Hamiltonian Flows , 2019, ArXiv.

[13]  Mikkel N. Schmidt,et al.  Deep Learning Spectroscopy: Neural Networks for Molecular Excitation Spectra , 2019, Advanced science.

[14]  Michael Gastegger,et al.  Machine learning molecular dynamics for the simulation of infrared spectra† †Electronic supplementary information (ESI) available. See DOI: 10.1039/c7sc02267k , 2017, Chemical science.

[15]  Yuya O. Nakagawa,et al.  Construction of Hamiltonians by supervised learning of energy and entanglement spectra , 2017, 1705.05372.

[16]  Michele Ceriotti,et al.  Unsupervised machine learning in atomistic simulations, between predictions and understanding. , 2019, The Journal of chemical physics.

[17]  Pavlos Protopapas,et al.  Hamiltonian Neural Networks for solving differential equations , 2020, ArXiv.

[18]  Wei-Hai Fang,et al.  Deep Learning for Nonadiabatic Excited-State Dynamics. , 2018, The journal of physical chemistry letters.

[19]  Christine M. Isborn,et al.  Electron dynamics with real-time time-dependent density functional theory , 2016 .

[20]  Dmitri A Romanov,et al.  A time-dependent Hartree-Fock approach for studying the electronic optical response of molecules in intense fields. , 2005, Physical chemistry chemical physics : PCCP.

[21]  Yang Yang,et al.  Accurate molecular polarizabilities with coupled cluster theory and machine learning , 2018, Proceedings of the National Academy of Sciences.

[22]  Andrea Grisafi,et al.  Symmetry-Adapted Machine Learning for Tensorial Properties of Atomistic Systems. , 2017, Physical review letters.

[23]  A. Szabó,et al.  Modern quantum chemistry : introduction to advanced electronic structure theory , 1982 .

[24]  P. Dirac Note on Exchange Phenomena in the Thomas Atom , 1930, Mathematical Proceedings of the Cambridge Philosophical Society.

[25]  Bertsch,et al.  Time-dependent local-density approximation in real time. , 1996, Physical review. B, Condensed matter.

[26]  F. Manby,et al.  Dynamics of molecules in strong oscillating electric fields using time-dependent Hartree-Fock theory. , 2008, The Journal of chemical physics.

[27]  Andreas Dreuw,et al.  Single-reference ab initio methods for the calculation of excited states of large molecules. , 2005, Chemical reviews.

[28]  Anand Chandrasekaran,et al.  Solving the electronic structure problem with machine learning , 2019, npj Computational Materials.

[29]  Michele Parrinello,et al.  Generalized neural-network representation of high-dimensional potential-energy surfaces. , 2007, Physical review letters.

[30]  Klaus-Robert Müller,et al.  Capturing intensive and extensive DFT/TDDFT molecular properties with machine learning , 2018 .

[31]  Michele Ceriotti,et al.  Chemical shifts in molecular solids by machine learning , 2018, Nature Communications.

[32]  F. Hab,et al.  Machine learning exciton dynamics , 2016 .

[33]  David J. Smith,et al.  Artisanal fish fences pose broad and unexpected threats to the tropical coastal seascape , 2019, Nature Communications.

[34]  Jianyu Zhang,et al.  Symplectic Recurrent Neural Networks , 2020, ICLR.

[35]  Klaus-Robert Müller,et al.  Finding Density Functionals with Machine Learning , 2011, Physical review letters.

[36]  Andrew Jaegle,et al.  Hamiltonian Generative Networks , 2020, ICLR.

[37]  C. Isborn,et al.  Time-dependent density functional theory Ehrenfest dynamics: collisions between atomic oxygen and graphite clusters. , 2007, The Journal of chemical physics.

[38]  William L. Ditto,et al.  Mastering high-dimensional dynamics with Hamiltonian neural networks. , 2020, 2008.04214.

[39]  A. DePrince,et al.  Linear Absorption Spectra from Explicitly Time-Dependent Equation-of-Motion Coupled-Cluster Theory. , 2016, Journal of chemical theory and computation.

[40]  Qiming Sun,et al.  Deep Learning for Optoelectronic Properties of Organic Semiconductors , 2019, 1910.13551.

[41]  George F. Bertsch,et al.  Time-dependent local-density approximation in real time , 1996 .

[42]  E. Gross,et al.  Fundamentals of time-dependent density functional theory , 2012 .

[43]  Justin S. Smith,et al.  Transferable Dynamic Molecular Charge Assignment Using Deep Neural Networks. , 2018, Journal of chemical theory and computation.

[44]  Machine Learning Exchange-Correlation Potential in Time-Dependent Density Functional Theory , 2020, 2002.06542.

[45]  Niranjan Govind,et al.  Modeling Fast Electron Dynamics with Real-Time Time-Dependent Density Functional Theory: Application to Small Molecules and Chromophores. , 2011, Journal of chemical theory and computation.

[46]  Mirta Rodr'iguez,et al.  Machine learning of two-dimensional spectroscopic data , 2018, Chemical Physics.

[47]  G. R. Schleder,et al.  From DFT to machine learning: recent approaches to materials science–a review , 2019, Journal of Physics: Materials.

[48]  M. Rupp,et al.  Machine learning of molecular electronic properties in chemical compound space , 2013, 1305.7074.

[49]  N. Maitra,et al.  Perspective: Fundamental aspects of time-dependent density functional theory. , 2016, The Journal of chemical physics.

[50]  Noam Bernstein,et al.  Machine learning unifies the modeling of materials and molecules , 2017, Science Advances.

[51]  Kipton Barros,et al.  Discovering a Transferable Charge Assignment Model Using Machine Learning. , 2018, The journal of physical chemistry letters.

[52]  Harish S. Bhat Learning and Interpreting Potentials for Classical Hamiltonian Systems , 2019, PKDD/ECML Workshops.

[53]  Angel Rubio,et al.  Real-space, real-time method for the dielectric function , 2000 .

[54]  Mauro Paternostro,et al.  Supervised learning of time-independent Hamiltonians for gate design , 2018, New Journal of Physics.

[55]  George Em Karniadakis,et al.  SympNets: Intrinsic structure-preserving symplectic networks for identifying Hamiltonian systems , 2020, Neural Networks.

[56]  Kipton Barros,et al.  Approaching coupled cluster accuracy with a general-purpose neural network potential through transfer learning , 2019, Nature Communications.