ModelHamiltonian
Generate 1- and 2-electron integrals so that molecular quantum chemistry software can be used for model Hamiltonians.
Install / Use
/learn @theochem/ModelHamiltonianREADME
Model Hamiltonian
This utility generates 1- and 2-electron integrals corresponding to various model Hamiltonians. The basic input is some indication of connectivity, either explicitly or as a lattice. One then specifies the Hamiltonian of interest. The output are 1- and 2-electron integrals in a format convenient for use in other (external) software packages. You can learn more about ModelHamiltonian on its web site.
Installation
python3 -m pip install .
Subversions of the ModelHamiltonian
To install a specific subversion of the ModelHamiltonian, you can use the following command:
- For the GPT subversion:
python3 -m pip install .[gpt]
- For the GUI subversion:
python3 -m pip install .[gui]
- For the TOML subversion:
python3 -m pip install .[toml]
Coding Guidelines
We document our default QC-Devs guidelines in the .github repository. We particularly suggest you review:
We also recommend installing pre-commit hooks. That ensure certain basic coding
style issues can be detected and fixed before submitting the pull request.
To set up these hooks, install https://pre-commit.com/
(e.g. using pip install --user pre-commit) and run pre-commit install.
Citation
If you use this code, please cite the following publication:
@article{10.1063/5.0219015,
author = {Chuiko, Valerii and Richards, Addison D. S. and Sánchez-Díaz, Gabriela and Martínez-González, Marco and Sanchez, Wesley and B. Da Rosa, Giovanni and Richer, Michelle and Zhao, Yilin and Adams, William and Johnson, Paul A. and Heidar-Zadeh, Farnaz and Ayers, Paul W.},
title = {ModelHamiltonian: A Python-scriptable library for generating 0-, 1-, and 2-electron integrals},
journal = {The Journal of Chemical Physics},
volume = {161},
number = {13},
pages = {132503},
year = {2024},
month = {10},
issn = {0021-9606},
doi = {10.1063/5.0219015},
url = {https://doi.org/10.1063/5.0219015},
eprint = {https://pubs.aip.org/aip/jcp/article-pdf/doi/10.1063/5.0219015/20195032/132503\_1\_5.0219015.pdf},
}
Related Skills
node-connect
336.9kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
83.0kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
336.9kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
83.0kCommit, push, and open a PR
