-
Notifications
You must be signed in to change notification settings - Fork 13
Description
We are implementing FanPT. The basic idea is in the recent paper.
Recall that the FanCI equations are
where
We write the Hamiltonian as a zeroth-order part (for which the FANCI equations have been solved) and a first-order part,
Going through some math, we get the equation
The key ingredients are the Hamiltonian matrix elements. The right hand side is easy to evaluate in terms of transition-2DMs, which appear on the right-hand-side,
My tendency would be to implement this as some functions that build the linear equations to solve, and then solve them. I realize that the (old) implementation is somewhat more general, but we may also want to focus on a specific one or two flavors if it makes the code a lot simpler/faster. Ramon, what do you think the best flavors are? (It will depend on how much computational complexity and code complexity we add by writing a general treatment.)