A toolchain for the automatic generation of computer codes for correlated wavefunction calculations
Related Experiment Video
Updated: Feb 28, 2026

Computation of Atmospheric Concentrations of Molecular Clusters from ab initio Thermochemistry
Published on: April 8, 2020
Martin Krupička1, Kantharuban Sivalingam1, Lee Huntington1
1Max-Planck-Institut für Chemische Energiekonversion, Department of Molecular Theory and Spectroscopy, Stiftstr. 34-36, Mülheim a.d. Ruhr, 45470, Germany.
Abstract:
In this work, the automated generator environment for ORCA (ORCA-AGE) is described. It is a powerful toolchain for the automatic implementation of wavefunction-based quantum chemical methods. ORCA-AGE consists of three main modules: (1) generation of "raw" equations from a second quantized Ansatz for the wavefunction, (2) factorization and optimization of equations, and (3) generation of actual computer code. We generate code for the ORCA package, making use of the powerful functionality for wavefunction-based correlation calculations that is already present in the code. The equation generation makes use of the most elementary commutation relations and hence is extremely general. Consequently, code can be generated for single reference as well as multireference approaches and spin-independent as well as spin-dependent operators. The performance of the generated code is demonstrated through comparison with efficient hand-optimized code for some well-understood standard configuration interaction and coupled cluster methods. In general, the speed of the generated code is no more than 30% slower than the hand-optimized code, thus allowing for routine application of canonical ab initio methods to molecules with about 500-1000 basis functions. Using the toolchain, complicated methods, especially those surpassing human ability for handling complexity, can be efficiently and reliably implemented in very short times. This enables the developer to shift the attention from debugging code to the physical content of the chosen wavefunction Ansatz. Automatic code generation also has the desirable property that any improvement in the toolchain immediately applies to all generated code. © 2017 Wiley Periodicals, Inc.
More Related Videos
05:37Rapid in-silico Battery Electrolyte Electrochemical Reaction Generation using 3T-VASP Multi-Scale Energy Minimization
Published on: August 22, 2025
13:56Probe Type II Band Alignment in One-Dimensional Van Der Waals Heterostructures Using First-Principles Calculations
Published on: October 12, 2019
Related Concept Videos
Hybridization of Atomic Orbitals II
Atomic Orbitals
Hybridization of Atomic Orbitals I
Graphing the Wave Function
Electronic Structure of Atoms
An atom comprises protons and neutrons, which are contained inside the dense, central core called the nucleus, with electrons present around the nucleus. Taking into account the wave–particle duality of electrons and the uncertainty in position around the nucleus, quantum mechanics provides a more accurate model for the atomic structure. It describes atomic orbitals as the regions around the nucleus where electrons of discrete energy exist, characterized by four quantum...
The Energies of Atomic Orbitals