Tinned: A symbolic library for response theory and high‐order derivatives

Bin Gao
DOI: https://doi.org/10.1002/jcc.27437
2024-05-25
Journal of Computational Chemistry
Abstract:Tinned is a new C++ library for symbolic differentiation and manipulation arising from response theory and is available at https://github.com/bingao/tinned. Its current version fully supports the density matrix‐based and coupled‐cluster response theories, and can be straightforwardly extended to other levels of electronic structure theory. A symbolic C++ library—Tinned—has been developed for symbolic differentiation and manipulation in response theory. By recognizing different key building blocks in the density matrix‐based (Thorvaldsen et al., J. Chem. Phys. 2008, 129, 214108) and coupled‐cluster response theories, we have implemented their corresponding C++ symbolic classes, including but not limited to one‐ and two‐electron operators, exchange‐correlation energy and potential, and coupled‐cluster operator. Formulas of response theory can be well expressed in terms of the symbolic classes in the library Tinned. Their high‐order perturbation‐strength derivatives can be straightforwardly computed and extracted afterwards for numerical evaluation. The library Tinned will greatly facilitate the development work of response theory and may lead to a unified framework for response theory at different levels of electronic structure theory.
chemistry, multidisciplinary
What problem does this paper attempt to address?