Thank you for your detailed answer. Perhaps our documentation of TD-DFT relies too much on the language of Feynman diagrams which is more common in the many-body perturbation theory, but I would say that it is often used in the context TD-DFT as well. In any case, we should definitely work on making it more accessible to people who are not familiar with the many-body perturbation theory.
You can read these papers to better understand the connection between TD-DFT and BSE:
A. Tal, P. Liu, G. Kresse, A. Pasquarello, Phys. Rev. Research 2, 032019 (2020)
G. Onida, L. Reining, A. Rubio, Rev. Mod. Phys. 74, 601-659 (2002)
In reference to your page, it says that one should set the appropriate LHARTREE and LADDER keywords, but the documentation for the LHARTREE and LADDER pages includes a useful table of what each combination of the two settings does. And those descriptions of what the two terms do writes that setting both to .TRUE. is equivalent to a "full BSE" calculation and elsewhere says that another combination gives a "random phase approximation". These are both terms I have only heard in the context of a GW-style or BSE-type calculation, not a TD-DFT or TD-HF calculation, which made me wonder if I was inadvertently running a BSE calculation or not.
I see that it can be confusing. It should rather say full BSE or full TDHF. However, TD-DFT calculation would also imply setting
LFXC=.TRUE..
It only further muddies the water that the algorithm keyword is "TDHF", apparently referencing a time-dependent Hartree-Fock calculation. In the documentation page you list, it includes both a TD-HF calculation and a TD-DFT calculation under the title "Cassida equations". I ended up looking up Cassida as I wasn't familiar with this term, and based on Cassida's own words, he strictly considers his contributions to be to TD-DFT and not TD-HF. To quote, "The importance of [Cassida's seminal article on TD-DFT] is that it explained TD-DFT to ab initio chemists and explained linear response theory to DFT chemists."
The difference between TD-DFT and TD-HF is in the terms included in the exchange-correlation potential, i.e., if you include the full exact exchange and neglect the correlation terms in TD-DFT you get TD-HF. In VASP any level of approximation TD-PBE, TD-LDA, TD-DDH, or TD-HF can be used in Casida's approach.
I was further confused by looking at the OUTCAR file from some test runs I performed. Eventually, I would like to run a TD-DFT calculation using a range-separated hybrid functional. So we set the AEXX to set the amount of HF exchange in the DFT functional like in a typical hybrid DFT calculation, but in the OUTCAR file, it is invariably changed to 1.00. Unless AEXX has a different meaning in a TD-DFT calculation that isn't documented anywhere I've found, this should indicate a pure HF calculation, meaning that I actually calculated the TD-HF solution and not the TD-DFT solution? And so you can see how it is confusing that "Cassida equations" is used apparently interchangeably between both TD-HF and TD-DFT.
In the
OUTCAR file you should be able to find the line:
parameters for screened Coulomb W: AEXX
where you can see what value of
AEXX is used in the TD-DFT calculation.
I should also point out that I'm somewhat confused by the LHARTREE and LADDER keywords. They reference bubble and ladder diagrams but I don't know what those are. I don't see any diagrams in the outputs even when both are set to TRUE and googling either "bubble diagrams" or "ladder diagrams" hasn't given me any idea what these are referring to. I feel like I might have seen these before and just not used that exact name, but since google doesn't turn anything up, its really hard to check that. On the other hand, it seems like these diagrams are referring to different levels of approximation in the calculation, but I've never really heard of diagrams being used in calculations so that side is confusing as well.
If we write the Dyson equation for the polarizability we can see that the interaction is described by two terms: the Coulomb potential and the exchange-correlation kernel: v and fxc. The Coulomb potential is enabled by the tag
LHARTREE. The
fxc kernel is enabled by two tags
LFXC for the local part of the xc potential and
LADDER for the non-local part of the xc potential.
pic.png
If you want to perform a TD-DFT calculation with a range-separated hybrid functional you should set the following tags:
Code: Select all
ALGO=TDHF
LADDER=.TRUE.
LHARTREE=.TRUE.
LFXC=.TRUE.
LMODELHF=.TRUE.
AEXX = your value here
HFSCREEN = your value here
And
ANTIRES=2 if you would like to go beyond Tamm-Dancoff approximation.