Open flipdazed opened 8 years ago
More rigorous error analysis
The bug was fixed for $m$ in the free field potential and the result is an outwards oscillation for 1M simulations and $m=0.1$
Adjusting the separation seems to give more promising results...
Running for 1MM simulations
Possible issue with the theory used to measure $x^2$?
Is the connected part $$ x^2c = \langle x^2{t,x}\ranglex - \langle x^2{t,x}\rangle $$ or $$ x^2c = x^2{t,x} - \langle x^2{t,x}\rangle $$ with $M^2$ it doesn't matter as $M^2{t,x}$ is scalar anyway
Differences in test.sweeper.attemptShort
vs. correlations.acorr.acorrMapped
There are two differences between the test case attemptShort
and the live case acorrMapped
:
acorrMapped
I use one array, sep_map
for indexing and one for calculation op_samples
, whereas in the test I use arr
for bothI calculate the autocorrelation in the test case as
ans += (arr[front] - mean)*(arr[back] - mean)
but then for some reason I do exactly the same in the live case but also take .mean()
ans += ((op_samples[front] - mean)*(op_samples[back] - mean)).mean()
Comments The first difference, 1. does’t look like a problem.
I remember putting some thought into 2. and decided I should be averaging across the lattice sites:
.mean()
operation as it does nothing to the scalar quantityRegaining decays in $\phi^2$ If the average $\langle \phi^2 \rangle_L$ is not taken and $\phi^2$ is used: A 2D array of separate autocorrelations corresponding to each lattice site is returned. These individual autocorrelations decay as does their average. It seems that when an average is taken over $L$ in the operator the corresponding A/C looses its decay.
Perhaps there is a phase-space / position space conversion issue in $M^2$ and $\phi^2$ was correct without an averaging?
Issue $M^2$ is not matching the theory. For $m=1$ an exact $\cos^2x$ form is obtained.
related
60
59
62