Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions yambopy/bse/exciton_irreps.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
from yambopy.symmetries.crystal_symmetries import Crystal_Symmetries
from yambopy.tools.citations import citation

@citation("M. Nalabothula et al. arXiv:2511.21540 (2025)")
@citation("M. Nalabothula et al.: Phys. Rev. B 113, 205130 (2026)")
def compute_exc_rep(path='.', bse_dir='SAVE', iqpt=1, nstates=-1, degen_tol = 1e-3,
degen_rtol=1e-3, symm_tol=1e-2, use_save_symmetries=False):
"""
Expand Down Expand Up @@ -134,9 +134,9 @@ def compute_exc_rep(path='.', bse_dir='SAVE', iqpt=1, nstates=-1, degen_tol = 1e
## for q = 0, Lkind = "bar" is recommended as "full" will
## break symmetries (depends on the chosen direction)
if excdb.Lkind is not None: # compatibility with old databases
if iqpt==0 and 'bar' not in excdb.Lkind:
if iqpt==1 and 'bar' not in excdb.Lkind:
print(f"Warning: You are using Lkind={excdb.Lkind} at q=0, but 'Lbar' is recommended. Symmetries are broken in this way.")
if iqpt!=0 and 'full' not in excdb.Lkind:
if iqpt > 1 and 'full' not in excdb.Lkind:
print(f"Warning: You are using Lkind={excdb.Lkind} at q!=0, but 'Lfull' should be used.")

# Load the wavefunction database
Expand Down
17 changes: 17 additions & 0 deletions yambopy/bse/exciton_matrix_elements.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,23 @@ def exciton_X_matelem(exe_kvec, O_qvec, Akq, Ak, Omn, kpts, contribution='b', di
discarding the third term (disconnected diagram). The calculation is performed in the
Tamm-Dancoff approximation.

Here we follow k-Q -> k for electronic transitions (backward convention),
while using k -> k+q for O(q) matrix elements (forward convention).
So this is mixed convention as given in
Eq. D8 of M. Nalabothula et al.: Phys. Rev. B 113, 205130 (2026)

Other conventions see (not used here)
Both Forward :
H.-Y. Chen et al.: Phys. Rev. Lett. 125, 107401 (2020)
G. Antonius et al.: Phys. Rev. B 105, 085111 (2022)
Both Backward :
F. PALEARI, PhD thesis
M. Zanfrognini et al.: Phys. Rev. Lett. 131, 206902 (2023)
P. Lechifflart et al.: Phys. Rev. Mater. 7, 024006 (2023)

Note: Different conventions correspond to different ways of writing the
the same matrix elements.

Parameters
----------
exe_kvec : array_like
Expand Down
4 changes: 2 additions & 2 deletions yambopy/bse/rotate_excitonwf.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@


@func_profile
@citation("M. Nalabothula et al. arXiv:2511.21540 (2025)")
@citation("M. Nalabothula et al.: Phys. Rev. B 113, 205130 (2026)")
def rotate_exc_wf(Ak, symm_mat_red, kpoints, exe_qpt, dmats, time_rev, ktree=None):
"""
Rotate the exciton wavefunction Ak using symmetry operations.
Expand All @@ -16,7 +16,7 @@ def rotate_exc_wf(Ak, symm_mat_red, kpoints, exe_qpt, dmats, time_rev, ktree=Non
which is represented in the basis of electronic states. The rotation is
performed using the symmetry matrix in reduced coordinates and the
corresponding representation matrices.
Implements Eq. (49) of M. Nalabothula et al. arXiv:2511.21540 (2025)
Implements Eq. (49) of M. Nalabothula et al.: Phys. Rev. B 113, 205130 (2026)

Parameters
----------
Expand Down
4 changes: 2 additions & 2 deletions yambopy/dbs/wfdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -531,11 +531,11 @@ def get_BZ_wf(self, ik):


@func_profile
@citation("M. Nalabothula et al. arXiv:2511.21540 (2025)")
@citation("M. Nalabothula et al.: Phys. Rev. B 113, 205130 (2026)")
def Dmat(self, symm_mat=None, frac_vec=None, time_rev=None):
"""
Computes the symmetry-adapted matrix elements < Rk | U(R) | k >.
Implements Eq. 5 of M Nalabothula et al. arXiv:2511.21540.
Implements Eq. 5 of M. Nalabothula et al.: Phys. Rev. B 113, 205130 (2026).

Parameters
----------
Expand Down