The general derivative formula of the Jastrow factor (or the ansatz for the correlated part of the wave function) is (the subscript C stands for Correlation)
1ΨC∂ΨC∂xk=k−1∑i=1∂gik∂xk+N∑i=k+1∂gki∂xkHowever, with our written in way which can be reused later as
ΨC=∏i<jg(rij)=exp{∑i<jf(rij)},the gradient needed for the quantum force and local energy is easy to compute. The function f(rij) will depends on the system under study. In the equations below we will keep this general form.