Examples

Some example Jupyter notebooks of a spin-bath model derivation for the well-known Single Impurity Anderson Model (SIAM) and the Fermi-Hubbard Model are provided. The notebooks also include a spin optimization procedure for two molecules and the subsequent derivation of molecule specific spin models. The notebooks can be obtained by running the following command:

hqstage download-examples -m hqs-spin-mapper

The example notebooks contain the following examples

ExampleFilename
Real valued SIAMsiam_example.ipynb
Complex valued SIAMcomplex_siam_example.ipynb
Real valued Fermi-Hubbard modelhubbard_example.ipynb
Kondo lattice chain modelkondo_lattice_example.ipynb
1,3,5-Trimethylenebenzenetmb_example/tmb_example.ipynb
Closed configuration Para-benzynepbz_spinfinder_example/pbz_spinfinder_example.ipynb

There are furthermore a few simple example Python scripts avalaible in the examples directory of the repository.

ExampleFilename
Real valued SIAMsiam_example.py
Complex valued SIAMcomplex_siam_example.py
Real valued Fermi-Hubbard modelhubbard_example.py
Kondo lattice chain modelkondo_lattice_example.py