Skip to content
Molecular Orbital Based Machine Learning for Electronic Structure
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.


Reference implementation of Molecular Orbital Based Machine Learning (MOB-ML) for electronic structure.

Any use of this code should cite the following paper:

"A Universal Density Matrix Functional from Molecular Orbital-Based Machine Learning: Transferability across Organic Molecules." L. Cheng, M. Welborn, A. S. Christensen, and T. F. Miller III, arXiv:1901.03309 (2019). generates MOB-ML features from the results of a HF calculation. For documentation, see the docstrings within and especially the make_features function. explains the layout of the feature vectors generated by


examples/ contains example inputs and outputs to in Matlab MATv5 format. Each example contains inputs to the make_features function: a Fock matrix (F), Coulomb matrix (J), exchange matrix (K), dipole matrices (dipX, dipY, dipZ), and the number of core (ncore), occupied(nocc), and minimal basis orbitals (norb_min). Each example also contains reference outputs that should be generated by the make_features function: the MOB-ML features corresponding to diagonal (reference_diag_features) and off-diagonal (reference_offdiag_features) occupied LMO pairs (see Eqs. 5 and 6 of the above paper).

examples/water.mat: a single water molecule.

You can’t perform that action at this time.