Some question about ndb.dipole in yambo

Concerns issues with computing quasiparticle corrections to the DFT eigenvalues - i.e., the self-energy within the GW approximation (-g n), or considering the Hartree-Fock exchange only (-x)

Moderators: Davide Sangalli, andrea.ferretti, myrta gruning, andrea marini, Daniele Varsano

Post Reply
baiyunfei
Posts: 15
Joined: Thu Dec 01, 2022 12:53 pm

Some question about ndb.dipole in yambo

Post by baiyunfei » Sun May 07, 2023 10:29 am

I want to use ndb.dipole generated by yambo to do futher analysis (calculate the charge center of a wavepocket composed of series of Bloch waves in a supercell), However I have a few question about how this database was produced.
Yambo use length gauge to calculate dipoles by default, the out put dipole is also in the unit of length. However, I have an impression that length operater is not well defined, how does yambo solve this problem? In other words , Is it safe to use <n1k1|r|n2k2> in ndb.dipoles to calculate the charge center?
I noticed yambo provides another option for dipole calculation (ie velocity gauge), so I can use modern polar modern polarization theory to calculate charge center. However , dipole in velocity gauge needs derivation with respect to wavevector , typically requiring a dense mesh. However, In a typical GW-BSE calculation , we can't afford a too dense mesh. Is it reliable to use velocity gauge ?
Best wishes !
Yunfei Bai
Institute of Physics Chinese academy of sciences, Beijing

User avatar
Daniele Varsano
Posts: 3803
Joined: Tue Mar 17, 2009 2:23 pm
Contact:

Re: Some question about ndb.dipole in yambo

Post by Daniele Varsano » Mon May 08, 2023 8:46 am

Dear Yunfei,
you can read in the latest Yambo paper (Section 3.1) how dipoles are calculated in Yambo with the different available options.
at:
https://iopscience.iop.org/article/10.1 ... b15d0/meta

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/

baiyunfei
Posts: 15
Joined: Thu Dec 01, 2022 12:53 pm

Re: Some question about ndb.dipole in yambo

Post by baiyunfei » Mon May 08, 2023 10:19 am

Thanks for your reply, I will look into it.
Yunfei Bai
Institute of Physics Chinese academy of sciences, Beijing

Post Reply