Related Experiment Video
Updated: Jun 11, 2025

Excitonic Hamiltonians for Calculating Optical Absorption Spectra and Optoelectronic Properties of Molecular Aggregates and Solids
Published on: May 27, 2020
ModelHamiltonian: A Python-scriptable library for generating 0-, 1-, and 2-electron integrals
Valerii Chuiko1, Addison D S Richards2, Gabriela Sánchez-Díaz1
1Department of Chemistry and Chemical Biology, McMaster University, 1280 Main St. West, Hamilton, Ontario L8S 4M1, Canada.
Abstract:
ModelHamiltonian is a free, open source, and cross-platform Python library designed to express model Hamiltonians, including spin-based Hamiltonians (Heisenberg and Ising models) and occupation-based Hamiltonians (Pariser-Parr-Pople, Hubbard, and Hückel models) in terms of 1- and 2-electron integrals, so that these systems can be easily treated by traditional quantum chemistry software programs. ModelHamiltonian was originally intended to facilitate the testing of new electronic structure methods using HORTON but emerged as a stand-alone research tool that we recognize has wide utility, even in an educational context. ModelHamiltonian is written in Python and adheres to modern principles of software development, including comprehensive documentation, extensive testing, continuous integration/delivery protocols, and package management. While we anticipate that most users will use ModelHamiltonian as a Python library, we include a graphical user interface so that models can be built without programming, based on connectivity/parameters inferred from, for example, a SMILES string. We also include an interface to ChatGPT so that users can specify a Hamiltonian in plain language (without learning ModelHamiltonian's vocabulary and syntax). This article marks the official release of the ModelHamiltonian library, showcasing its functionality and scope.
Related Concept Videos
The Quantum-Mechanical Model of an Atom
Maxwell's Equation Of Electromagnetism
Line, Surface, and Volume Integrals
Electron Orbital Model
The first shell is closest to the nucleus, and it has only one subshell with a single spherical orbital called the...
Symmetry in Maxwell's Equations
Euler Equations of Motion

