PyCDFT: A Python-scriptable library for analytical evaluation of orbital conceptual density (matrix) functional theory
Bin Wang, Paul Geerlings, Paul W. Ayers, Frank De Proft
Key points
From the paper's conclusion- We present PyCDFT, to our knowledge, the first standardized, open-source, and scriptable code that analytically computes the descriptors of conceptual density (matrix) functional theory for ground and excited states up to second order, including the orbital hardness, the Fukui function and Fukui matrix, and the linear response function, from a single converged mean-field wavefunction imported from
Abstract
Conceptual density functional theory (CDFT) defines chemical reactivity descriptors as derivatives of the electronic energy with respect to the number of electrons and the external potential, or combinations thereof; in practice, however, researchers almost always replace these derivatives with finite-difference and frontier-orbital approximations, and no common software exists for their analytical evaluation. We present PyCDFT, to our knowledge, the first standardized, open-source, and scriptable code that analytically computes the descriptors of conceptual density (matrix) functional theory for ground and excited states up to second order, including the orbital hardness, the Fukui function and Fukui matrix, and the linear response function, from a single converged mean-field wavefunction imported from virtually any electronic-structure package. The descriptors are obtained from matrix-free, preconditioned Krylov-subspace solutions of the coupled-perturbed self-consistent-field equations for both spin-unpolarized and spin-polarized references, with the work distributed over MPI ranks and all data flowing through a single HDF5 checkpoint file that supports restart, post-processing, and the export of real-space descriptors as cube files for visualization. The design delegates integrals, grids, and exchange-correlation kernels to PySCF and Libxc, keeping the library compact, user-friendly, and interoperable. Worked examples on the ground state of H$_2$O and a broken-symmetry $Δ$SCF excited state of NH$_3$ show that a complete second-order CDFT analysis requires only a few lines of user code.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Automatic generation of exchange-correlation response kernels.The Journal of chemical physics · 2026
- PyFock: A Just-In-Time Compiled Gaussian Basis DFT Python Code for CPU and GPU Architectures.The journal of physical chemistry. A · 2026
- Conceptual density functional theory for interacting species.Physical chemistry chemical physics : PCCP · 2026
- libterachem.py: Modular development of electronic structure methods with graphical processing unitsarXiv · 2026
- The Python simulations of chemistry framework: 10 years of an open-source quantum chemistry project.The Journal of chemical physics · 2026
- PyCC: A Reference Quantum Chemistry Python Package for Education, Validation, and Rapid PrototypingarXiv · 2026