Skip to content

Conversation

@maki49
Copy link
Collaborator

@maki49 maki49 commented Dec 24, 2024

  • Support calculate the absorption spectum in velocity gauge for LR-TDDFT (using the velocity matrix implementd by TD_current class), i.e. the following formula:

    image

  • fix some bugs in previous length-gauge implementation (see the following pdf file for what's fixed and some test results)
    LR-TDDFT-absorption-velocity-test.pdf

The discrepancy between length and velocity gauge implementation is also a problem FHI-aims is faced with (https://aims-git.rz-berlin.mpg.de/aims/FHIaims/-/issues/649), we are working on it theoretically. But I think it's time to merge the code in case of more and more conflict resolving , and then I can rebase this and continue working on the analytical gradient of LR-TDDFT...

@mohanchen mohanchen added the EXX and lr-TDDFT Related to EXX or lr-TDDFT label Dec 25, 2024
@mohanchen mohanchen merged commit 0cdab49 into deepmodeling:develop Dec 25, 2024
14 checks passed
@maki49 maki49 deleted the lr-spectrum-velocity branch January 3, 2025 10:16
Fisherd99 pushed a commit to Fisherd99/abacus-BSE that referenced this pull request Mar 31, 2025
…#5760)

* calculate absorption spectrum by velocity matrix

* add parameter abs_gauge

* refactor transition density matrix in lr_spectrum

* refactor oscillator_strength and dipole in lr_spectrum

* refactor and add some test functions

* fix the bug at ks-lr

* contract v(k) with D(k)

* fix: recover Nk divided in cal_dm_trans

* fix the spectra strength of singlet

* update examples

* fix after rebase
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

EXX and lr-TDDFT Related to EXX or lr-TDDFT

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants