Commit 65df02d7 authored by Reimar Leike's avatar Reimar Leike
Browse files

Fix complex sample variance

This fix is necessary to make samples consistent with the Hamiltonian. Fixing the variance this way makes np.std(s) of a samples s with variance 1 havyield sqrt(2) and not 1. However, this fix is more compatible with the definition of the complex Gaussian according to wikipedia, and compatible with the definition of the Fisher metric.
parent 09b704e4
Pipeline #76660 passed with stages
in 11 minutes and 52 seconds