I am interested in calculating the non-interacting non-local susceptibility for simple molecules.
In principle, if you have a single Slater determinant, then you should just take a sum over the occupied orbitals $ \{\phi_i\} $ as
$$ \chi(r,r') = \sum_{occ} \frac{\phi_i(r) \phi_j(r') \phi_i(r') \phi_j(r)}{\varepsilon_i-\varepsilon_j} $$
I believe if you have the representation of the wavefunctions in Cartesian space, then you can "simply" sum over them. In practice, however, I am not sure I want to write a code that does this, so I'm asking: does anyone know about a package that does this?
I think it should be possible, as $\chi$ is an intermediate property for RPA calculations as well as an interesting object in conceptual DFT (see this paper for example where they actually calculate this quantity, but they don't report their full function, neither do they provide their code...)