ifilot / pyqint

Python package for evaluating integrals of Gaussian type orbitals in electronic structure calculations
https://pyqint.imc-tue.nl
GNU General Public License v3.0
23 stars 8 forks source link
computational-chemistry gaussian-type-orbitals hartree-fock molecular-integrals molecular-orbital molecular-orbital-theory quantum-chemistry

PyQInt

build build docs Anaconda-Server Badge PyPI License: GPL v3

Purpose

PyQInt is a Python package for calculating one- and two-electron integrals as encountered in electronic structure calculations. Since integral evaluation can be quite computationally intensive, the evaluation is programmed in C++ and connected to Python using Cython.

PyQInt mainly serves as an educational package to teach students how to perform (simple) electronic structure calculations wherein the most difficult task, i.e. the integral evaluation, is already encapsulated in a handy set of routines. With PyQInt, the student can for example build their own Hartree-Fock routine. Some common electronic structure routine, most notably the Hartree-Fock algorithm, is also readily available.

[!NOTE] Although PyQInt connects to a C++ backend, it is certainly not optimized for speed and might be (too) slow for anything outside of the calculation of the electronic structure of simple molecules.

[!TIP]
Interested in other education quantum chemical codes? Have a look at the packages below.

  • PyDFT is a pure-Python density functional theory code, built on top of PyQInt.
  • HFCXX is a full C++ code for performing Hartree-Fock calculations.
  • DFTCXX is a full C++ code for performing Density Functional Theory Calculations.

Documentation

PyQInt comes with detailed documentation and examples, which can be found at https://pyqint.imc-tue.nl.

Features

The following molecular integrals are supported by PyQInt

as well as the following geometric derivatives

PyQInt offers additional features such as

All routines are (automatically) tested and verified against several open-source as well as commercial programs that use cartesian Gaussian orbitals. Nevertheless, if you spot any mistake, please kindly open an issue in this Github repository.

In the image below, the (canonical) molecular orbitals as found using a restricted Hartree-Fock calculation for the CO molecule are shown.

Molecular orbitals of CO