Questaal Home
Navigation

Fitting energies to classical model Hamiltonians


Introduction

Questaal has a limited ability to build and use empirical classical model hamiltonians for the purposes of efficiently relaxing structures.

Note this page is under construction.


Mathematical Framework

Definition of a Keating model

The ground state total energy E is a function of a collection of nuclear coordinates of the system, and the atomic number for each nucleus. A good, sometimes very good approximation to E can be found from density-functional theory. This page explains how to fit an empirical classical hamiltonian to DFT results and use the model to relax the sytsem in other configurations.

Let the energy be expanded as a linear combination of two-body interactions P and three-body interactions T. Initially consider the following form:

is expanded as a linear combination of , and , which are functions of a single site (), pairs () and triplets (), respectively. labels a function type, and it can change with the environment, i.e. . , , and are expansion coefficients to be determined by fitting to reference data.

We will assume is a purely radial force, of the form

where and are undetermined parameters. For any , there can be a multiplicity of independent functions , i.e. with different and . Further, the shape of can vary with by allowing a unique for each . Most simply, and would be universal constants, independent of . But realistically, and should depend on the two species types of the pair. It is a truism known from materials chemistry that bond lengths are largely a function of the size of the two atoms: this is the logic behind standard tables of “ionic radii” for example. With this view in mind should depend on the two chemical species at and , and be approximately the “equilibrium” bond length, since vanishes at . If we allow functions per , and if contains distinct species, there will be distinct kinds of functions . But for a particular pair , there will be at most functions.

Keating considered a sum of two kinds of forces: radial and angular. (For a general tool, more flexibility would be necessary which can be realized by folding more environmental information than the pair species into . But, such a more sophisticated approach it would entail proliferation of coefficients. This is a problem tailor made for machine-learning. For our purposes (small relaxations about known structures) we will adopt this simple approach in the spirit of Keating.

The simplest triplet functions purely of angle are the cosine and sine functions. The short-sightedness principle tells us that tightly bound clusters should carry more weight than extended ones, so we introduce a scaling factor into the angular function:

A natural choice for is the the triangle’s perimeter. The factor could be some more complicated function of the environment, but in this mode we adopt this form for simplicity, once again allowing to depend on only through the species at the three vertices of the triplet. Thus, there will be distinct kinds of functions, though only 2 for any particular triplet.

In the same spirit the one-body term should be a constant, but there can be an independent constant for each species. However, these functions will linearly independent only if there are configurations included in the fit different proportions of species to make them independent. The number of one-body terms should not exceed the number of linearly independent proportions of species. The energy can be written compactly as

is a one-, two-, or three- body term, while denotes the function type: it includes the one-body terms, the two-body terms, and three-body terms. For a particular , vanishes unless the species at the vertices coincide with the species belonging to that .