# Introduction :

This is an quick advanced tutorial to load the QSGW hamiltonian in a python notebook

# Generate Hamiltonian

In this tutorial, we use the qsgw calculation of YBa2CuO4 which can be found in the test directory :

cp path_to_lm_directory/dmft/test/ybco/* .


The first step is to generate the projector using lmfdmft :

lmfdmft ybco --ldadc~fn=dc -vnkabc=3 --job=1 --stop=proj


# Compute $G_0$

Then, the projector and the energy dispersion can be loaded with a python script. A python notebook to load and compute $G_0$ is provided Here.