QE-7.5 scattering rate looks different from QE-7.0

I ran the scattering rate calculations for phosphorene with both QE-7.0 and QE-7.5. I switched to 7.5 because of a bug in the symmetry routine of QE-7.0. Here are the input files:

scf.in

&control
calculation=‘scf’,
prefix=‘P’,
pseudo_dir=‘./’
verbosity=‘high’,
tprnfor=.true.,
tstress=.true.,
etot_conv_thr=1.0d-6
forc_conv_thr=1.0d-5
/
&system
ibrav = 8
celldm(1) = 8.740995144,
celldm(2)=0.7139825586 ,
celldm(3)=4.83566222
nat = 4
ntyp = 1
ecutwfc = 160
occupations = ‘fixed’
/
&electrons
diagonalization=‘david’
conv_thr = 1.0e-12
mixing_beta = 0.7
electron_maxstep = 500
mixing_mode = ‘plain’
/

ATOMIC_SPECIES
P 30.973762 P.upf

ATOMIC_POSITIONS (crystal)
P 0.0070080646 0.0000000000 0.0011555958
P 0.3294935178 0.4999998000 0.0011555574
P 0.5070064928 0.4999998000 0.0954443412
P 0.8294919248 0.0000000000 0.0954444056

K_POINTS automatic
12 16 1 0 0 0

nscf.in

&control
calculation=‘nscf’,
restart_mode=‘from_scratch’,
prefix=‘P’,
pseudo_dir=‘./’
verbosity=‘high’,
tprnfor=.true.,
tstress=.true.,
etot_conv_thr=1.0d-6
forc_conv_thr=1.0d-5
/
&system
ibrav = 8
celldm(1) = 8.740995144,
celldm(2)=0.7139825586 ,
celldm(3)=4.83566222
nat = 4
ntyp = 1
ecutwfc = 160
occupations = ‘fixed’
nbnd=30
/
&electrons
diagonalization=‘david’
conv_thr = 1.0e-12
mixing_beta = 0.7
electron_maxstep = 500
mixing_mode = ‘plain’
/

ATOMIC_SPECIES
P 30.973762 P.upf

ATOMIC_POSITIONS (crystal)
P 0.0070080646 0.0000000000 0.0011555958
P 0.3294935178 0.4999998000 0.0011555574
P 0.5070064928 0.4999998000 0.0954443412
P 0.8294919248 0.0000000000 0.0954444056

K_POINTS crystal
560

epw.in

--
&inputepw
prefix = ‘P’
amass(1) = 30.973762
outdir = ‘./’

iverbosity = 0

elph = .true.
epbwrite = .true.
epbread = .false.
epwwrite = .true.
epwread = .false.

lifc=.true.
asr_typ=‘crystal’

scattering=.true.
scattering_serta=.true.
efermi_read = .true.
fermi_energy = -1.450598
nbndsub = 16

wannierize = .true.
num_iter = 1000
iprint = 2
dis_win_max = 5.0
dis_froz_max= 2.0
dis_win_min = -20
dis_froz_min= -20
proj(1) = ‘P:sp3’
wdata(1) = ‘guiding_centres=.true.’

elecselfen = .false.
phonselfen = .false.
a2f = .false.

fsthick = 0.6 ! eV
temps = 300 ! K
degaussw = 0.005 ! eV

dvscf_dir = ‘./phonons/save’
filukk = ‘./P.ukk’

mp_mesh_k = .true.

nkf1=100
nkf2=100
nkf3=1

nqf1 = 100
nqf2 = 100
nqf3 = 1

nk1 = 20
nk2 = 28
nk3 = 1

nq1 = 10
nq2 = 14
nq3 = 1
/

The two rates are attached. QE-7.0 looks better converged particularly near the band edge. Could this be a bug in the coupling matrix calculation in QE-7.5. The EPW electronic band structure and phonon dispersion agree with QE.

Thanks,

Vahid

Vahid Askarpour

Department of Physics,

Dalhousie University

Halifax, NS, CANADA

Dear Vahid,

Can you compare the Wannierization from both these codes? Especially, if the electronic energy bands are aligned. The reason is that the magnitude appears comparable but the onset seems shifted.

Best regards,

Sabya.

Dear Sabya,

Thank you for this quick response.

For the QE-7.5, both the electronic and phononic dispersions agree between QE and EPW. I will check the same for QE-7.0 and let you know. There is a second band just above 0.2eV and QE-7.0 rates clearly shows this band. QE-7.5 does not.

Thanks,

Vahid

Dear Sabya,

Both 7.5 and 7.0 versions agree that EPW electronic and phonon dispersions agree with QE’s. It appears that the issue might be related to the calculation of the coupling matrix between the two versions. The 7.0 rates seem more consistent with the features of the band structure.

Best,

Vahid

Hi Vahid,

The most likely cause of the scattering rate difference between QE 7.0 and 7.5 might be due to eps_acoustic.

In QE‑7.0, the default value of eps_acustic was 5 cm-1. In QE‑7.5 it is 0.1 cm-1. The scattering rate and the other self-energy routines discard phonons with frequency below this value. You don’t set it in either input, so 7.0 silently excluded the lowest acoustic modes around Gamma, while 7.5 includes them.

On your 100×100×1 q-mesh the first shells of q around Γ have acoustic frequencies of a few cm-1, right at the old cutoff. Those q-points are what connect states within a few meV of the band edge, which is why the difference shows up there.

Could you test this by adding the following to your 7.5 epw.in?

eps_acoustic = 5.0

You can reuse the existing files with wannierize=.false., epwread=.true., epbread=.true., so it only needs the interpolation step. If the 7.5 curve then matches 7.0, the difference comes from the cutoff and not from the code. Very small omega acoustic modes (especially ZA in 2D) can add noise because the 1/omega factor amplifies small errors in the interpolated frequency and coupling.

Best,

Shashi

Hi Shashi,

I ran QE-7.5 with eps_acoustic= 5 cm^-1 and the results are attached. There is less noise in QE-7.5 rates but the main features are still different between the two versions.

Thanks,

Vahid

Hi Vahid,

Thanks for the test. I suspect k-point symmetry. v7.0 did not handle time reversal correctly in the k-point reduction when inversion is broken. That was fixed in later 7.5 versions. Your relaxed positions deviate slightly from ideal (e.g. 0.4999998), so please check how many symmetries QE finds.

Could you test on a smaller grid (e.g. nkf = nqf = 40×40×1) with mp_mesh_k = .true. and .false. in both versions? If 7.0 with .true. differs from 7.0 with .false., but 7.5 agrees with itself, then the v7.0 k-point reduction was the problem. In that case, the v7.0 results are the less reliable ones.

Also, please send the number of symmetries from the scf.out/EPW output for both versions.

Best,
Shashi

Hi Shashi,

Attached please see the scattering rates for the two QE versions with 5 cm^-1 phonon cutoff and 40^2 grids using mp_mesh_k = true and = false. For each QE version, the mp_mesh_k setting does not affect the rates. However, QE-7.0 reports 840 k-points within the fsthick whereas QE-7.5 reports 441 k-points when mp_mesh_k=true, which is related to the time-reversal bug in QE-7.0.

For both QE versions, scf reports the following:

2 Sym. Ops. (no inversion) found

For both QE versions, EPW reports the following:

3 Sym.Ops. (with q -> -q+G )
Symmetries of Bravais lattice:   8
Symmetries of crystal:           2

As for deviations from ideal atomic positions, the tolerance for atomic positions is hard-coded in symm_base.f90 as follows:

REAL(DP) :: accep = 1.0d-5

My guess is that within this tolerance, 0.4999998 and 0.5 are equal.

Best,

Vahid

Dear Vahid,

Can you attach the figure of band structures and phonon dispersions as printed by EPW/QE 7.0 and 7.5. Both will output files called band.eig and phband.freq. Please plot them on top of each other. Check near the band minima for electronic bands (Ideally within 1.0 eV).

Best,
Sabya.

Dear Sabya,

Here are the EPW bands from band.eig and phband.freq for the two QE versions.

Thanks,

Vahid

Hi Vahid,

As you can see in the attached plot, there is a difference in the phonon dispersions near the gamma point. I would also recommend to check 1. Wannier centers and their convergence, 2. electron-phonon matrix elements using prntgkk. Also, please attach all .in and .out files for us to debug what went wrong.

Best,
Sabya.

Hi Sabya,

The differences in the circled parts of the phonon dispersion should not have any noticable affect on the rates. According to Professor Gang Chen who calculated the rates for phosphorene with EPW published in PRB 91, 235419 (2015), he says:

We exclude contributions from the flexural phonon modes for two reasons: (1) out-of-plane vibrations do not contribute to the first-order electron-phonon interactions in two-dimensional materials due to the inversion symmetry with respect to the material plane, as in the case of graphene [64,66] (although the flexural phonon modes in phosphorene have small in-plane components as well, their contributions are negligibly small);

The Wannier centres and spreads are as follows for both versions:

     (   0.09428   0.00626   0.09055) :   2.82385
     (   0.06437  -0.00442  -0.10465) :   2.36818
     (  -0.07225   0.11157   0.02371) :   2.45777
     (  -0.06691  -0.11345   0.03622) :   2.46937
     (   0.40341   0.47044   0.03623) :   2.46938
     (   0.40875   0.24542   0.02371) :   2.45777
     (   0.27213   0.36141  -0.10465) :   2.36818
     (   0.24222   0.35073   0.09055) :   2.82387
     (   0.56437   0.36141   0.57177) :   2.36819
     (   0.59428   0.35073   0.37658) :   2.82387
     (   0.43309   0.47044   0.43090) :   2.46938
     (   0.42775   0.24542   0.44342) :   2.45777
     (   0.90875   0.11157   0.44342) :   2.45777
     (   0.90341  -0.11345   0.43090) :   2.46938
     (   0.74222   0.00626   0.37658) :   2.82386
     (   0.77213  -0.00442   0.57177) :   2.36818

The gkk shows some differences which likely contributes to differences in the rates

The input/output files for both versions are in the following link:

https://drive.google.com/file/d/17ZI1LU3VwvVVWAPh8ADP1XfxNN1YCVV3/view?usp=share_link

Thanks,

Vahid