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.
ModelHamiltonian is a free Python library for defining model Hamiltonians, simplifying quantum chemistry calculations. It offers a GUI and ChatGPT interface for accessibility in research and education.
Area of Science:
- Computational Chemistry
- Quantum Mechanics
- Materials Science
Background:
- Traditional quantum chemistry software requires Hamiltonians expressed in terms of electron integrals.
- Developing and testing new electronic structure methods can be complex.
- Educational use of quantum chemistry models is often limited by software accessibility.
Purpose of the Study:
- Introduce ModelHamiltonian, a Python library for expressing model Hamiltonians.
- Facilitate the use of various quantum chemistry models in research and education.
- Simplify the process of defining and treating quantum mechanical systems.
Main Methods:
- Developed a Python library (ModelHamiltonian) for defining spin-based (Heisenberg, Ising) and occupation-based (Pariser-Parr-Pople, Hubbard, Hückel) Hamiltonians.
- Implemented functionality to express Hamiltonians using 1- and 2-electron integrals.
- Integrated a graphical user interface (GUI) and a ChatGPT interface for user-friendly model creation.
- Ensured adherence to modern software development principles, including documentation and testing.
Main Results:
- ModelHamiltonian successfully expresses diverse model Hamiltonians in a format compatible with quantum chemistry software.
- The library provides flexible model creation through Python scripting, a GUI, and natural language processing via ChatGPT.
- The tool is suitable for both advanced research in electronic structure methods and educational purposes.
Conclusions:
- ModelHamiltonian offers a versatile and accessible solution for defining and utilizing model Hamiltonians in computational chemistry.
- Its features enhance the ease of testing new methods and broaden the accessibility of quantum chemistry models.
- The library represents a significant contribution to computational chemistry research and education.
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

