Dear Yambo team,
I am wondering whether it is possible to output the exciton Hamiltonian in BSE. It might also be very helpful to get the basis of the exciton Hamiltonian, but I imagine that it is just the combination of the valence and conduction bands that form the excitons. I ask this because I am struggling in constructing tight binding Hamiltonian for excitons, so an exciton Hamiltonian direct from Yambo would be helpful enough. Thanks in advance!
Cheers,
Bo
Output exciton Hamiltonian
Moderators: Davide Sangalli, andrea.ferretti, myrta gruning, andrea marini, Daniele Varsano, Conor Hogan
-
- Posts: 13
- Joined: Tue Feb 04, 2020 5:47 pm
Output exciton Hamiltonian
Dr Bo Peng
Nevile Research Fellow, Magdalene College
Theory of Condensed Matter Group, Cavendish Laboratory
University of Cambridge
https://www.tcm.phy.cam.ac.uk/profiles/bp432
https://www.magd.cam.ac.uk/user/peng
Nevile Research Fellow, Magdalene College
Theory of Condensed Matter Group, Cavendish Laboratory
University of Cambridge
https://www.tcm.phy.cam.ac.uk/profiles/bp432
https://www.magd.cam.ac.uk/user/peng
- claudio
- Posts: 534
- Joined: Tue Mar 31, 2009 11:33 pm
- Location: Marseille
- Contact:
Re: Output exciton Hamiltonian
Dear Bo Peng
in order to help in the construction of the excitonic Hamiltonian consider:
1) using ypp you can write the most important components of each exciton in the valence-conduction basis
ypp -e a
2) if you calculate the BSE for all q-points you can interpolate the excitons dispersion using
ypp -e i
3) some references on the construction of the excitonic hamiltonian in tight-binding, with relative parameters
for 2D system
https://journals.aps.org/prb/abstract/1 ... .94.125303
for a bulk solid
https://journals.aps.org/prb/abstract/1 ... .98.125206
best
Claudio
in order to help in the construction of the excitonic Hamiltonian consider:
1) using ypp you can write the most important components of each exciton in the valence-conduction basis
ypp -e a
2) if you calculate the BSE for all q-points you can interpolate the excitons dispersion using
ypp -e i
3) some references on the construction of the excitonic hamiltonian in tight-binding, with relative parameters
for 2D system
https://journals.aps.org/prb/abstract/1 ... .94.125303
for a bulk solid
https://journals.aps.org/prb/abstract/1 ... .98.125206
best
Claudio
Claudio Attaccalite
[CNRS/ Aix-Marseille Université/ CINaM laborarory / TSN department
Campus de Luminy – Case 913
13288 MARSEILLE Cedex 09
web site: http://www.attaccalite.com
[CNRS/ Aix-Marseille Université/ CINaM laborarory / TSN department
Campus de Luminy – Case 913
13288 MARSEILLE Cedex 09
web site: http://www.attaccalite.com
- Daniele Varsano
- Posts: 4231
- Joined: Tue Mar 17, 2009 2:23 pm
- Contact:
Re: Output exciton Hamiltonian
Dear Bo,
Weight_treshold=0
you will have the weight |A_cv|^2 in the output.
About reading the complete excitonic hamiltonian, you can dump the files that are in netcdf format or read them using a python script, but then it is not straightforward to reconstruct the index of the elements.
Best,
Daniele
Let me add to this point, actually you can choose the threshold of the weight to be written, setting:1) using ypp you can write the most important components of each exciton in the valence-conduction basis
ypp -e a
Weight_treshold=0
you will have the weight |A_cv|^2 in the output.
About reading the complete excitonic hamiltonian, you can dump the files that are in netcdf format or read them using a python script, but then it is not straightforward to reconstruct the index of the elements.
Best,
Daniele
Dr. Daniele Varsano
S3-CNR Institute of Nanoscience and MaX Center, Italy
MaX - Materials design at the Exascale
http://www.nano.cnr.it
http://www.max-centre.eu/
S3-CNR Institute of Nanoscience and MaX Center, Italy
MaX - Materials design at the Exascale
http://www.nano.cnr.it
http://www.max-centre.eu/
-
- Posts: 13
- Joined: Tue Feb 04, 2020 5:47 pm
Re: Output exciton Hamiltonian
Ciao Claudio,
Just wondering, where can I find the interpolation algorithm in the source code? It might be helpful to see how it work. I would be super interested to get an exciton tight binding model in the form of wannier90_hr.dat, but it is still very helpful to see how the interpolation works on the vb-cb basis.
Cheers,
Bo
Just wondering, where can I find the interpolation algorithm in the source code? It might be helpful to see how it work. I would be super interested to get an exciton tight binding model in the form of wannier90_hr.dat, but it is still very helpful to see how the interpolation works on the vb-cb basis.
Cheers,
Bo
Dr Bo Peng
Nevile Research Fellow, Magdalene College
Theory of Condensed Matter Group, Cavendish Laboratory
University of Cambridge
https://www.tcm.phy.cam.ac.uk/profiles/bp432
https://www.magd.cam.ac.uk/user/peng
Nevile Research Fellow, Magdalene College
Theory of Condensed Matter Group, Cavendish Laboratory
University of Cambridge
https://www.tcm.phy.cam.ac.uk/profiles/bp432
https://www.magd.cam.ac.uk/user/peng
-
- Posts: 13
- Joined: Tue Feb 04, 2020 5:47 pm
Re: Output exciton Hamiltonian
Thanks Daniele!
Which netcdf file should I read though? To be honest I am not even sure how to read the netcdf format. But I imagine there are some ways to make them human readable?
Thanks,
Bo
Which netcdf file should I read though? To be honest I am not even sure how to read the netcdf format. But I imagine there are some ways to make them human readable?
Thanks,
Bo
Dr Bo Peng
Nevile Research Fellow, Magdalene College
Theory of Condensed Matter Group, Cavendish Laboratory
University of Cambridge
https://www.tcm.phy.cam.ac.uk/profiles/bp432
https://www.magd.cam.ac.uk/user/peng
Nevile Research Fellow, Magdalene College
Theory of Condensed Matter Group, Cavendish Laboratory
University of Cambridge
https://www.tcm.phy.cam.ac.uk/profiles/bp432
https://www.magd.cam.ac.uk/user/peng
- Daniele Varsano
- Posts: 4231
- Joined: Tue Mar 17, 2009 2:23 pm
- Contact:
Re: Output exciton Hamiltonian
Dear Bo,
to convert netcdf file in human readable format you can use the ncdump command.
Other option is to use python modules:
from netCDF4 import Dataset
Then it could be not easy to associate the indexes to each element of the matrix. In netcdf output they are grouped in block that are CPU dependent.
If you use parallel I/O instead this difficulty is overcome. Maybe someone esse can give you some hints.
Best,
Daniele
to convert netcdf file in human readable format you can use the ncdump command.
Other option is to use python modules:
from netCDF4 import Dataset
Then it could be not easy to associate the indexes to each element of the matrix. In netcdf output they are grouped in block that are CPU dependent.
If you use parallel I/O instead this difficulty is overcome. Maybe someone esse can give you some hints.
Best,
Daniele
Dr. Daniele Varsano
S3-CNR Institute of Nanoscience and MaX Center, Italy
MaX - Materials design at the Exascale
http://www.nano.cnr.it
http://www.max-centre.eu/
S3-CNR Institute of Nanoscience and MaX Center, Italy
MaX - Materials design at the Exascale
http://www.nano.cnr.it
http://www.max-centre.eu/
-
- Posts: 13
- Joined: Tue Feb 04, 2020 5:47 pm
Re: Output exciton Hamiltonian
Hi Daniele,
Thank you for this! I will have a try
Cheers,
Bo
Thank you for this! I will have a try

Cheers,
Bo
Dr Bo Peng
Nevile Research Fellow, Magdalene College
Theory of Condensed Matter Group, Cavendish Laboratory
University of Cambridge
https://www.tcm.phy.cam.ac.uk/profiles/bp432
https://www.magd.cam.ac.uk/user/peng
Nevile Research Fellow, Magdalene College
Theory of Condensed Matter Group, Cavendish Laboratory
University of Cambridge
https://www.tcm.phy.cam.ac.uk/profiles/bp432
https://www.magd.cam.ac.uk/user/peng