Automatic generation of exchange-correlation response kernels
Related Experiment Video
Updated: Nov 7, 2026

Confocal Microscopy Reveals Cell Surface Receptor Aggregation Through Image Correlation Spectroscopy
Published on: August 2, 2018
1Department of Chemistry, University of Helsinki, P.O. Box 55, FIN-00014 Helsinki, Finland.
Abstract:
Computing density-functional response properties requires contracting derivatives of the exchange-correlation (xc) energy with perturbed densities on a grid. While the xc functional's derivatives have long been available to high orders from libraries such as Libxc, the surrounding contraction layer-the chain rule that combines them with the grid-based basis-function and density data into the total xc contribution-has instead been hand-derived and hand-coded in every program, for every functional family, spin case, and property. We present libxckernel, a library that automatically generates this layer by symbolic differentiation. The xc functional's ingredients are expressed as sesquilinear forms in the density matrix, so the xc energy can be differentiated to any order while the functional derivatives remain opaque. The basis functions and the orbital coefficients may both be complex. The chain rule then produces any xc matrix element: Fock matrices, orbital Hessians, or any other response terms of any order. Terms sharing a pattern are collapsed for efficiency. Extensible plugins emit the expressions as NumPy Einstein sums, compiled C++ kernels with C/Fortran interfaces, or host-program specific source code. libxckernel is free and open-source software under the BSD-3-Clause license, enabling rapid implementation of functionality missing from many electronic structure programs. We demonstrate it by extending Psi4 with meta-generalized gradient approximation (mGGA) response kernels for orbital stability analysis and time-dependent density-functional theory (TD-DFT), GGA and mGGA analytic nuclear Hessians, and exact quadrature grid response, as well as by extending GPAW with mGGA and triplet TD-DFT kernels and gradient-corrected kernels for periodic dielectric response.
Related Concept Videos
Extraction: Partition and Distribution Coefficients
For extracting a solute from an aqueous phase into an organic...
Response Surface Methodology
The process of RSM involves several key steps:
One-Compartment Open Model: Wagner-Nelson and Loo Riegelman Method for ka Estimation
On...
Coefficient of Correlation
If you suspect a linear relationship between x and y, then r can measure how strong the linear relationship is.
What the VALUE of r tells us:
The value of r is always between –1 and +1: –1 ≤ r ≤ 1.
The size of the correlation r indicates the strength of the linear...
Correlation of Experimental Data
For example, a spherical particle moving through a viscous fluid experiences drag. Dimensional analysis shows that the drag force depends on the particle's diameter, velocity, and...
Calculating and Interpreting the Linear Correlation Coefficient