QGT: don't differentiate through samples
Created by: PhilipVinc
Some models (LogStateVec) are non-differentiable in their samples. QGT does not need to differentiate through them, but the code was differentiating through the samples and then discarding the derivative. This PR avoids computing it in the first place.