Here we use e3nn to build the following generalized models based on the NequIP architecture:
-
Generalized energy model to include the electric field dependence for molecules.
-
Tensorial models to predict the Born effective charges (node prediction task) and the dielectric matrices (graph prediction task) relevant for the electric dipole-dipole interactions that affect the phonons near
$\vec{q} \rightarrow 0$ .
The following steps will guid you through the installation and the tutorial notebooks.
-
In a conda env with JAX / CUDA available clone and download this repository.
-
In the downloaded directory run:
pip install -r requirements.txt
By generalizing the energy functional to include additional control variables such as the external electric field, one can relate the energy functional with various physical quantities such as the electric polarization and the polarizability via the auto-differentiation with respect to these additional variables. In this model, we demonstrate this with an ethanol molecule dataset generated with electric field that modifies the energy and atomic forces.
For the tutorial, please check out the notebook e3nn-Efield-potential.ipynb
An equivariant graph neural network that are trainined to predict the Born effective charge matrices and the dielectric constant tensors of a crystal.
These two quantities contribute to the long-range dipole-dipole interactions that correct the vibrational phonon spectrum near
For the tutorials, please check out the e3nn-dipdip-eps.ipynb and e3nn-dipdip-becs.ipynb for training the models to predict the dielectric constant matrix and Born effective charges respectively.