A computational procedure is developed for the efficient calculation of derivatives of integrals over non-separable Gaussian-type basis functions, used for the evaluation of gradients of the total energy in quantum-mechanical simulations. The approach, based on symbolic computation with computer algebra systems and automated generation of optimized subroutines, takes full advantage of sparsity and is here applied to first energy derivatives with respect to nuclear displacements and lattice parameters of molecules and materials. The implementation in the Crystal code is presented, and the considerably improved computational efficiency over the previous implementation is illustrated. For this purpose, three different tasks involving the use of analytical forces are considered: (i) geometry optimization; (ii) harmonic frequency calculation; and (iii) elastic tensor calculation. Three test case materials are selected as representatives of different classes: (i) a metallic 2D model of the Cu(111) surface; (ii) a wide-gap semiconductor ZnO crystal, with a wurtzite-type structure; and (iii) a porous metal-organic crystal, namely the ZIF-8 zinc-imidazolate framework. Finally, it is argued that the present symbolic approach is particularly amenable to generalizations, and its potential application to other derivatives is sketched.

Efficient calculation of derivatives of integrals in a basis of non-separable Gaussians

Desmarais J. K.
;
Erba A.
2023-01-01

Abstract

A computational procedure is developed for the efficient calculation of derivatives of integrals over non-separable Gaussian-type basis functions, used for the evaluation of gradients of the total energy in quantum-mechanical simulations. The approach, based on symbolic computation with computer algebra systems and automated generation of optimized subroutines, takes full advantage of sparsity and is here applied to first energy derivatives with respect to nuclear displacements and lattice parameters of molecules and materials. The implementation in the Crystal code is presented, and the considerably improved computational efficiency over the previous implementation is illustrated. For this purpose, three different tasks involving the use of analytical forces are considered: (i) geometry optimization; (ii) harmonic frequency calculation; and (iii) elastic tensor calculation. Three test case materials are selected as representatives of different classes: (i) a metallic 2D model of the Cu(111) surface; (ii) a wide-gap semiconductor ZnO crystal, with a wurtzite-type structure; and (iii) a porous metal-organic crystal, namely the ZIF-8 zinc-imidazolate framework. Finally, it is argued that the present symbolic approach is particularly amenable to generalizations, and its potential application to other derivatives is sketched.
2023
158
15
154103
154103
Desmarais J.K.; De Frenza A.; Erba A.
File in questo prodotto:
File Dimensione Formato  
Lett.pdf

Accesso aperto

Tipo di file: PREPRINT (PRIMA BOZZA)
Dimensione 1.42 MB
Formato Adobe PDF
1.42 MB Adobe PDF Visualizza/Apri
GRADIENTS_JCP.pdf

Accesso riservato

Tipo di file: PDF EDITORIALE
Dimensione 5.29 MB
Formato Adobe PDF
5.29 MB Adobe PDF   Visualizza/Apri   Richiedi una copia

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/2318/1924280
Citazioni
  • ???jsp.display-item.citation.pmc??? 0
  • Scopus 2
  • ???jsp.display-item.citation.isi??? 1
social impact