Automatic Differentiation in Quantum Chemistry with Applications to Fully Variational Hartree-Fock

被引:75
作者
Tamayo-Mendoza, Teresa [1 ]
Kreisbeck, Christoph [1 ]
Lindh, Roland [2 ]
Aspuru-Guzik, Alaprimen [1 ,3 ]
机构
[1] Harvard Univ, Dept Chem & Chem Biol, 12 Oxford St, Cambridge, MA 02138 USA
[2] Uppsala Univ, Uppsala Ctr Computat Chem, Dept Chem Angstrom, Theoret Chem Programme,UC3, Box 518, S-75120 Uppsala, Sweden
[3] Canadian Inst Adv Res, Toronto, ON M5G 1Z8, Canada
基金
瑞典研究理事会; 美国国家科学基金会;
关键词
2ND-ORDER PERTURBATION-THEORY; AB-INITIO CALCULATIONS; COUPLED-CLUSTER; ALGORITHMIC DIFFERENTIATION; CONFIGURATION-INTERACTION; SIMULTANEOUS-OPTIMIZATION; GEOMETRY OPTIMIZATION; ORDER DERIVATIVES; EXCITED-STATES; BOND FUNCTIONS;
D O I
10.1021/acscentsci.7b00586
中图分类号
O6 [化学];
学科分类号
0703 ;
摘要
Automatic differentiation (AD) is a powerful tool that allows calculating derivatives of implemented algorithms with respect to all of their parameters up to machine precision, without the need to explicitly add any additional functions. Thus, AD has great potential in quantum chemistry, where gradients are omnipresent but also difficult to obtain, and researchers typically spend a considerable amount of time finding suitable analytical forms when implementing derivatives. Here, we demonstrate that AD can be used to compute gradients with respect to any parameter throughout a complete quantum chemistry method. We present DiffiQult, a Hartree-Fock implementation, entirely differentiated with the use of AD tools. DiffiQult is a software package written in plain Python with minimal deviation from standard code which illustrates the capability of AD to save human effort and time in implementations of exact gradients in quantum chemistry. We leverage the obtained gradients to optimize the parameters of one-particle basis sets in the context of the floating Gaussian framework.
引用
收藏
页码:559 / 566
页数:8
相关论文
共 77 条
[41]   ENERGY GRADIENT IN A MULTI-CONFIGURATIONAL SCF FORMALISM AND ITS APPLICATION TO GEOMETRY OPTIMIZATION OF TRIMETHYLENE DIRADICALS [J].
KATO, S ;
MOROKUMA, K .
CHEMICAL PHYSICS LETTERS, 1979, 65 (01) :19-25
[42]   Speedup for quantum optimal control from automatic differentiation based on graphics processing units [J].
Leung, Nelson ;
Abdelhafez, Mohamed ;
Koch, Jens ;
Schuster, David .
PHYSICAL REVIEW A, 2017, 95 (04)
[43]  
Maclaurin D., 2015, ICML 2015 AUTOML WOR, P1
[44]  
Maclaurin D, 2015, PR MACH LEARN RES, V37, P2113
[45]   Communication: Automatic code generation enables nuclear gradient computations for fully internally contracted multireference theory [J].
MacLeod, Matthew K. ;
Shiozaki, Toru .
JOURNAL OF CHEMICAL PHYSICS, 2015, 142 (05)
[46]   BOND FUNCTIONS FOR ABINITIO CALCULATIONS ON POLYATOMIC-MOLECULES - MOLECULES CONTAINING C,N,O AND H [J].
NEISIUS, D ;
VERHAEGEN, G .
CHEMICAL PHYSICS LETTERS, 1981, 78 (01) :147-152
[47]   BOND FUNCTIONS FOR ABINITIO CALCULATIONS - MCSCF RESULTS FOR CH, NH, OH AND FH [J].
NEISIUS, D ;
VERHAEGEN, G .
CHEMICAL PHYSICS LETTERS, 1982, 89 (03) :228-233
[48]   SIMPLIFIED CALCULATION OF EIGENVECTOR DERIVATIVES [J].
NELSON, RB .
AIAA JOURNAL, 1976, 14 (09) :1201-1205
[49]   pyJac: Analytical Jacobian generator for chemical kinetics [J].
Niemeyer, Kyle E. ;
Curtis, Nicholas J. ;
Sung, Chih-Jen .
COMPUTER PHYSICS COMMUNICATIONS, 2017, 215 :188-203
[50]  
Nocedal J, 2006, SPRINGER SER OPER RE, P497