Jastrow gradient in quantum force

We have

$$ \Psi_C=\prod_{i < j}g(r_{ij})= \exp{\left\{\sum_{i < j}\frac{ar_{ij}}{1+\beta r_{ij}}\right\}}, $$

the gradient needed for the quantum force and local energy is easy to compute. We get for particle \( k \)

$$ \frac{ \nabla_k \Psi_C}{ \Psi_C }= \sum_{j\ne k}\frac{\mathbf{r}_{kj}}{r_{kj}}\frac{a}{(1+\beta r_{kj})^2}, $$

which is rather easy to code. Remember to sum over all particles when you compute the local energy.