Skip to content

Commit

Permalink
fixed mistake in Spinor Action function
Browse files Browse the repository at this point in the history
  • Loading branch information
MattiaVarrone committed Dec 12, 2022
1 parent d6809ef commit 9b60091
Show file tree
Hide file tree
Showing 50 changed files with 417 additions and 122 deletions.
14 changes: 5 additions & 9 deletions manifold_sampler/Action.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def paral_trans(A): ### check how to calculate parallel transporter

def S_spinor(D):
logdet = np.linalg.slogdet(D)
return 1 / 2 * logdet[1]
return - 1 / 2 * logdet[1] ### important: minus sign


def Dirac_Yukawa_op(adj, sign, D=None, triangles=None, phi=None, A=None):
Expand Down Expand Up @@ -136,19 +136,15 @@ def Dirac_operator(adj, sign, D=None, triangles=None, A=None):

sink, sinq, cosk, cosq = np.sin(theta[k] / 2), np.sin(theta[q] / 2), np.cos(theta[k] / 2), np.cos(
theta[q] / 2)
H1 = sign[edge] * np.array([[cosk * cosq, -sinq * cosk], [-sink * cosq, sink * sinq]])
H1 = - sign[edge] * np.array([[-cosk * cosq, sinq * cosk], [sink * cosq, -sink * sinq]])

alpha = theta[k] - theta[adj[edge] % 3] + np.pi
U = sign[edge] * paral_trans((alpha + A[edge]) / 2) # factor of 1/2 accounts for spinor transport
H_0 = 1 / 2 * np.matmul(id + np.cos(theta[k]) * gamma1 - np.sin(theta[k]) * gamma2, U) ### should we subtract identity?
H = np.matmul(eps, H_0)
H_0 = 1 / 2 * np.matmul(id - np.cos(theta[k]) * gamma1 + np.sin(theta[k]) * gamma2, U) ### should we subtract identity?
H = - np.matmul(eps, H_0)

for a in range(2):
for b in range(2):
D[i + a, j + b] += H[a, b]
D1[i + a, j + b] += H1[a, b]

det = np.linalg.slogdet(D1)
if det[0] == -1:
print("sign(det) = -1")
return D1
return D
20 changes: 20 additions & 0 deletions manifold_sampler/data/haussdorf_ising_.csv
Original file line number Diff line number Diff line change
Expand Up @@ -291,3 +291,23 @@
3.435,0.227,3.551,0.114,200,1000,10
4.433,0.438,4.344,0.286,200,1000,10
4.005,0.478,4.068,0.25,200,1000,10
5.032,1.021,4.257,0.516,80,400,10
4.954,0.365,5.071,0.435,80,400,10
3.474,0.304,3.619,0.237,80,400,10
3.678,0.347,3.778,0.279,80,400,10
3.81,0.446,3.935,0.451,80,400,10
4.278,0.527,4.232,0.4,80,400,10
3.378,0.526,3.615,0.433,80,400,10
3.794,0.569,3.625,0.353,80,400,10
4.497,0.544,3.959,0.308,80,400,10
4.019,0.355,3.815,0.297,80,400,10
3.945,0.551,4.163,0.492,80,400,10
5.134,0.915,4.695,0.489,80,400,10
4.319,0.386,4.059,0.279,80,400,10
4.611,0.55,4.238,0.255,80,400,10
3.405,0.485,3.513,0.271,80,400,10
4.411,0.442,3.991,0.262,80,400,10
3.85,0.679,3.649,0.583,80,400,10
4.155,0.458,4.202,0.494,80,400,10
3.7,0.332,3.716,0.211,80,400,10
3.633,0.501,3.757,0.27,80,400,10
120 changes: 120 additions & 0 deletions manifold_sampler/data/haussdorf_spinor_free_(1).csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,120 @@
5.439,0.719,5.113,0.42,80,400,10,,,,,,
5.945,1.235,4.856,0.589,80,400,10,,,,,,
3.351,0.206,3.473,0.295,80,400,10,,,,,,
4.41,0.607,4.383,0.403,80,400,10,,,,,,
3.921,0.266,3.83,0.256,80,400,10,,,,,,
3.46,0.3,3.629,0.308,80,400,10,,,,,,
3.65,0.241,3.615,0.242,80,400,10,,,,,,
4.253,0.509,3.908,0.271,80,400,10,,,,,,
3.754,0.443,4.179,0.46,80,400,10,,,,,,
3.888,0.283,3.604,0.218,80,400,10,,,,,,
5.141,0.52,4.714,0.21,80,400,10,,,,,,
3.863,0.307,3.746,0.259,80,400,10,,,,,,
4.153,0.28,3.99,0.236,80,400,10,,,,,,
4.382,0.617,4.215,0.377,80,400,10,,,,,,
4.032,0.505,4.102,0.286,80,400,10,,,,,,
4.351,0.412,4.268,0.278,80,400,10,,,,,,
3.941,0.265,3.916,0.264,80,400,10,,,,,,
5.441,0.893,4.178,0.397,80,400,10,,,,,,
4.496,0.458,3.884,0.289,80,400,10,,,,,,
4.229,0.286,4.092,0.223,80,400,10,,,,,,
3.812,0.301,3.93,0.25,80,400,10,,,,,,
3.986,0.352,3.98,0.29,80,400,10,,,,,,
5.413,0.751,4.484,0.547,80,400,10,,,,,,
4.263,0.374,3.789,0.22,80,400,10,,,,,,
3.881,0.502,3.503,0.344,80,400,10,,,,,,
4.025,0.354,3.881,0.295,80,400,10,,,,,,
3.296,0.186,3.589,0.316,80,400,10,,,,,,
5.235,0.916,4.123,0.392,80,400,10,,,,,,
3.954,0.356,3.676,0.229,80,400,10,,,,,,
4.913,0.61,4.356,0.362,80,400,10,,,,,,
5.067,0.596,5.224,0.668,80,400,10,,,,,,
5.331,0.712,4.613,0.369,80,400,10,,,,,,
3.861,0.392,3.874,0.276,80,400,10,,,,,,
3.947,0.376,3.876,0.292,80,400,10,,,,,,
3.746,0.17,3.819,0.128,80,400,10,,,,,,
3.644,0.102,3.721,0.174,80,400,10,,,,,,
4.006,0.267,4.092,0.296,80,400,10,,,,,,
4.629,0.355,4.62,0.344,80,400,10,,,,,,
4.319,0.499,4.292,0.505,80,400,10,,,,,,
4.047,0.54,4.198,0.394,80,400,10,,,,,,
3.806,0.386,3.786,0.324,80,400,10,,,,,,
4.224,0.636,4.019,0.364,80,400,10,,,,,,
3.836,0.17,3.869,0.176,80,400,10,,,,,,
5.166,1.061,4.742,0.77,80,400,10,,,,,,
3.148,0.401,3.6,0.372,80,400,10,,,,,,
3.786,0.285,3.71,0.258,80,400,10,,,,,,
3.786,0.24,3.839,0.285,80,400,10,,,,,,
4.722,0.515,4.49,0.332,80,400,10,,,,,,
4.45,0.255,4.159,0.162,80,400,10,,,,,,
4.553,0.473,4.019,0.233,80,400,10,,,,,,
4.249,0.399,4.296,0.391,80,400,10,,,,,,
4.353,0.203,4.304,0.28,80,400,10,,,,,,
3.814,0.308,4.054,0.4,80,400,10,,,,,,
4.441,0.44,4.295,0.365,80,400,10,,,,,,
4.576,0.455,4.261,0.241,80,400,10,,,,,,
3.951,0.262,3.887,0.181,80,400,10,,,,,,
4.755,0.524,4.083,0.336,80,400,10,,,,,,
3.925,0.346,4.077,0.232,80,400,10,,,,,,
4.205,0.286,4.371,0.259,80,400,10,,,,,,
3.863,0.412,3.807,0.29,80,400,10,,,,,,
4.411,0.558,4.193,0.476,80,400,10,,,,,,
3.426,0.345,3.575,0.25,80,400,10,,,,,,
4.918,0.783,4.085,0.431,80,400,10,,,,,,
3.216,0.369,3.308,0.28,80,400,10,,,,,,
4.623,0.493,4.051,0.283,80,400,10,,,,,,
5.159,0.776,4.641,0.454,80,400,10,,,,,,
3.831,0.403,3.554,0.272,80,400,10,,,,,,
4.197,0.368,4.214,0.286,80,400,10,,,,,,
4.183,0.438,3.943,0.353,80,400,10,,,,,,
3.331,0.335,3.565,0.288,80,400,10,,,,,,
4.024,0.576,3.979,0.448,80,400,10,,,,,,
4.384,0.534,4.179,0.363,80,400,10,,,,,,
4.091,0.515,4.045,0.462,80,400,10,,,,,,
3.609,0.262,3.777,0.297,80,400,10,,,,,,
4.501,0.351,4.4,0.378,80,400,10,,,,,,
3.583,0.194,3.529,0.198,80,400,10,,,,,,
3.955,0.302,3.963,0.291,80,400,10,,,,,,
3.597,0.236,3.674,0.278,80,400,10,,,,,,
4.02,0.488,3.573,0.306,80,400,10,,,,,,
4.403,0.464,4.307,0.38,80,400,10,,,,,,
4.645,0.823,3.868,0.399,80,400,10,,,,,,
4.392,0.686,3.928,0.372,80,400,10,,,,,,
4.31,0.295,4.494,0.288,80,400,10,,,,,,
5.144,0.715,4.476,0.411,80,400,10,,,,,,
3.964,0.547,3.779,0.42,80,400,10,,,,,,
3.978,0.389,3.774,0.223,80,400,10,,,,,,
3.952,0.358,3.944,0.288,80,400,10,,,,,,
3.96,0.203,4.18,0.279,80,400,10,,,,,,
4.162,0.241,4.048,0.26,80,400,10,,,,,,
4.126,0.276,4.148,0.271,80,400,10,,,,,,
3.731,0.273,4.079,0.452,80,400,10,,,,,,
4.98,0.602,4.341,0.346,80,400,10,,,,,,
4.381,0.616,4.403,0.474,80,400,10,,,,,,
3.657,0.39,3.51,0.258,80,400,10,,,,,,
3.694,0.362,4.212,0.414,80,400,10,,,,,,
4.326,0.51,3.757,0.276,80,400,10,,,,,,
4.432,0.346,4.619,0.333,80,400,10,,,,,,
5.129,0.982,4.24,0.476,80,400,10,,,,,,
4.076,0.371,3.868,0.309,80,400,10,,,,,,
3.727,0.494,3.965,0.4,80,400,10,,,,,,
4.2,0.328,3.918,0.216,100,500,8,,,,this last batch gives weird results d<4,,
3.964,0.442,3.793,0.353,100,500,8,,,,consider 20:100,,
3.917,0.15,3.991,0.151,100,500,8,,,,,,
4.422,0.553,4.145,0.532,100,500,8,,,,,,
4.257,0.286,4.026,0.253,100,500,8,,,,,,
4.202,0.436,3.87,0.293,100,500,8,,,,,,
3.559,0.446,3.873,0.405,100,500,8,,,,,,
3.602,0.329,3.857,0.21,100,500,8,,,,,,
3.457,0.358,3.823,0.315,100,500,8,,,,,,
3.333,0.257,3.484,0.194,100,500,8,,,,,,
3.447,0.424,3.814,0.384,100,500,8,,,,,,
4.897,0.62,4.37,0.431,100,500,8,,,,,,
3.72,0.496,3.965,0.509,100,500,8,,,,,,
3.949,0.396,4.29,0.31,100,500,8,,,,,,
3.891,0.432,3.598,0.361,100,500,8,,,,,,
4.7,0.57,4.139,0.39,100,500,8,,,,,,
3.534,0.235,3.505,0.23,100,500,8,,,,,,
3.957,0.246,4.244,0.294,100,500,8,,,,,,
3.755,0.466,3.513,0.256,100,500,8,,,,,,
3.921,0.475,3.754,0.401,100,500,8,,,,4.19062963,0.056612958,4.044296296
100 changes: 100 additions & 0 deletions manifold_sampler/data/haussdorf_spinor_free_.csv
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,103 @@
5.441,0.893,4.178,0.397,80,400,10
4.496,0.458,3.884,0.289,80,400,10
4.229,0.286,4.092,0.223,80,400,10
3.812,0.301,3.93,0.25,80,400,10
3.986,0.352,3.98,0.29,80,400,10
5.413,0.751,4.484,0.547,80,400,10
4.263,0.374,3.789,0.22,80,400,10
3.881,0.502,3.503,0.344,80,400,10
4.025,0.354,3.881,0.295,80,400,10
3.296,0.186,3.589,0.316,80,400,10
5.235,0.916,4.123,0.392,80,400,10
3.954,0.356,3.676,0.229,80,400,10
4.913,0.61,4.356,0.362,80,400,10
5.067,0.596,5.224,0.668,80,400,10
5.331,0.712,4.613,0.369,80,400,10
3.861,0.392,3.874,0.276,80,400,10
3.947,0.376,3.876,0.292,80,400,10
3.746,0.17,3.819,0.128,80,400,10
3.644,0.102,3.721,0.174,80,400,10
4.006,0.267,4.092,0.296,80,400,10
4.629,0.355,4.62,0.344,80,400,10
4.319,0.499,4.292,0.505,80,400,10
4.047,0.54,4.198,0.394,80,400,10
3.806,0.386,3.786,0.324,80,400,10
4.224,0.636,4.019,0.364,80,400,10
3.836,0.17,3.869,0.176,80,400,10
5.166,1.061,4.742,0.77,80,400,10
3.148,0.401,3.6,0.372,80,400,10
3.786,0.285,3.71,0.258,80,400,10
3.786,0.24,3.839,0.285,80,400,10
4.722,0.515,4.49,0.332,80,400,10
4.45,0.255,4.159,0.162,80,400,10
4.553,0.473,4.019,0.233,80,400,10
4.249,0.399,4.296,0.391,80,400,10
4.353,0.203,4.304,0.28,80,400,10
3.814,0.308,4.054,0.4,80,400,10
4.441,0.44,4.295,0.365,80,400,10
4.576,0.455,4.261,0.241,80,400,10
3.951,0.262,3.887,0.181,80,400,10
4.755,0.524,4.083,0.336,80,400,10
3.925,0.346,4.077,0.232,80,400,10
4.205,0.286,4.371,0.259,80,400,10
3.863,0.412,3.807,0.29,80,400,10
4.411,0.558,4.193,0.476,80,400,10
3.426,0.345,3.575,0.25,80,400,10
4.918,0.783,4.085,0.431,80,400,10
3.216,0.369,3.308,0.28,80,400,10
4.623,0.493,4.051,0.283,80,400,10
5.159,0.776,4.641,0.454,80,400,10
3.831,0.403,3.554,0.272,80,400,10
4.197,0.368,4.214,0.286,80,400,10
4.183,0.438,3.943,0.353,80,400,10
3.331,0.335,3.565,0.288,80,400,10
4.024,0.576,3.979,0.448,80,400,10
4.384,0.534,4.179,0.363,80,400,10
4.091,0.515,4.045,0.462,80,400,10
3.609,0.262,3.777,0.297,80,400,10
4.501,0.351,4.4,0.378,80,400,10
3.583,0.194,3.529,0.198,80,400,10
3.955,0.302,3.963,0.291,80,400,10
3.597,0.236,3.674,0.278,80,400,10
4.02,0.488,3.573,0.306,80,400,10
4.403,0.464,4.307,0.38,80,400,10
4.645,0.823,3.868,0.399,80,400,10
4.392,0.686,3.928,0.372,80,400,10
4.31,0.295,4.494,0.288,80,400,10
5.144,0.715,4.476,0.411,80,400,10
3.964,0.547,3.779,0.42,80,400,10
3.978,0.389,3.774,0.223,80,400,10
3.952,0.358,3.944,0.288,80,400,10
3.96,0.203,4.18,0.279,80,400,10
4.162,0.241,4.048,0.26,80,400,10
4.126,0.276,4.148,0.271,80,400,10
3.731,0.273,4.079,0.452,80,400,10
4.98,0.602,4.341,0.346,80,400,10
4.381,0.616,4.403,0.474,80,400,10
3.657,0.39,3.51,0.258,80,400,10
3.694,0.362,4.212,0.414,80,400,10
4.326,0.51,3.757,0.276,80,400,10
4.432,0.346,4.619,0.333,80,400,10
5.129,0.982,4.24,0.476,80,400,10
4.076,0.371,3.868,0.309,80,400,10
3.727,0.494,3.965,0.4,80,400,10
4.2,0.328,3.918,0.216,100,500,8
3.964,0.442,3.793,0.353,100,500,8
3.917,0.15,3.991,0.151,100,500,8
4.422,0.553,4.145,0.532,100,500,8
4.257,0.286,4.026,0.253,100,500,8
4.202,0.436,3.87,0.293,100,500,8
3.559,0.446,3.873,0.405,100,500,8
3.602,0.329,3.857,0.21,100,500,8
3.457,0.358,3.823,0.315,100,500,8
3.333,0.257,3.484,0.194,100,500,8
3.447,0.424,3.814,0.384,100,500,8
4.897,0.62,4.37,0.431,100,500,8
3.72,0.496,3.965,0.509,100,500,8
3.949,0.396,4.29,0.31,100,500,8
3.891,0.432,3.598,0.361,100,500,8
4.7,0.57,4.139,0.39,100,500,8
3.534,0.235,3.505,0.23,100,500,8
3.957,0.246,4.244,0.294,100,500,8
3.755,0.466,3.513,0.256,100,500,8
3.921,0.475,3.754,0.401,100,500,8
1 change: 1 addition & 0 deletions manifold_sampler/data/haussdorf_spinor_free_2.csv
Original file line number Diff line number Diff line change
Expand Up @@ -258,3 +258,4 @@ d_H_ws, d_H_err_ws, d_H, d_H_err,size_min,size_max,n_sizes,,,,,
4.228,0.356,4.179,0.202,80,400,10,,,,,
3.991,0.382,3.888,0.271,80,400,10,,,,,
3.417,0.249,3.488,0.193,80,400,10,,4.07985,,4.0156,0.062310107
,,,,,,,,4.102964286,,,
Binary file modified manifold_sampler/data/pics/dist_ising_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified manifold_sampler/data/pics/dist_ising_10.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified manifold_sampler/data/pics/dist_ising_11.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified manifold_sampler/data/pics/dist_ising_12.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified manifold_sampler/data/pics/dist_ising_13.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified manifold_sampler/data/pics/dist_ising_14.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified manifold_sampler/data/pics/dist_ising_15.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified manifold_sampler/data/pics/dist_ising_16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified manifold_sampler/data/pics/dist_ising_17.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified manifold_sampler/data/pics/dist_ising_18.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified manifold_sampler/data/pics/dist_ising_19.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified manifold_sampler/data/pics/dist_ising_2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified manifold_sampler/data/pics/dist_ising_20.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified manifold_sampler/data/pics/dist_ising_3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified manifold_sampler/data/pics/dist_ising_4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified manifold_sampler/data/pics/dist_ising_5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified manifold_sampler/data/pics/dist_ising_6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified manifold_sampler/data/pics/dist_ising_7.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified manifold_sampler/data/pics/dist_ising_8.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified manifold_sampler/data/pics/dist_ising_9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified manifold_sampler/data/pics/dist_spinor_free_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified manifold_sampler/data/pics/dist_spinor_free_10.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified manifold_sampler/data/pics/dist_spinor_free_11.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified manifold_sampler/data/pics/dist_spinor_free_12.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified manifold_sampler/data/pics/dist_spinor_free_13.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified manifold_sampler/data/pics/dist_spinor_free_14.png
Binary file modified manifold_sampler/data/pics/dist_spinor_free_15.png
Binary file modified manifold_sampler/data/pics/dist_spinor_free_16.png
Binary file modified manifold_sampler/data/pics/dist_spinor_free_17.png
Binary file modified manifold_sampler/data/pics/dist_spinor_free_18.png
Binary file modified manifold_sampler/data/pics/dist_spinor_free_19.png
Binary file modified manifold_sampler/data/pics/dist_spinor_free_2.png
Binary file modified manifold_sampler/data/pics/dist_spinor_free_20.png
Binary file modified manifold_sampler/data/pics/dist_spinor_free_3.png
Binary file modified manifold_sampler/data/pics/dist_spinor_free_4.png
Binary file modified manifold_sampler/data/pics/dist_spinor_free_5.png
Binary file modified manifold_sampler/data/pics/dist_spinor_free_6.png
Binary file modified manifold_sampler/data/pics/dist_spinor_free_7.png
Binary file modified manifold_sampler/data/pics/dist_spinor_free_8.png
Binary file modified manifold_sampler/data/pics/dist_spinor_free_9.png
Binary file modified manifold_sampler/data/profiles_spinor_1.npz
Binary file not shown.
4 changes: 2 additions & 2 deletions manifold_sampler/main.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from Analysis_utils import *

N = 6 ### needs to be multiple of 4 + 2
n_sweeps = 1
N = 10
n_sweeps = 100

beta = 0.63
l = Manifold(N)
Expand Down
6 changes: 3 additions & 3 deletions manifold_sampler/main_hpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
from scipy.interpolate import CubicSpline

# params for the lattice-matter system and sampling
size_min, size_max, n_sizes = 200, 1000, 10
size_min, size_max, n_sizes = 80, 400, 10
sizes = [(int(i) // 4) * 4 + 2 for i in np.geomspace(size_min, size_max, n_sizes)]
beta = 0.216
matter = 'ising'
matter = 'spinor_free'
strategy = ['gravity', matter]
eq_sweeps, meas_sweeps, n_measurements = 50, 2, 600 ### Try longer decorr time
eq_sweeps, meas_sweeps, n_measurements = 50, 2, 200 ### Try longer decorr time

# getting the array index of the hpc batch
array_id = os.getenv('SLURM_ARRAY_TASK_ID')
Expand Down
Loading

0 comments on commit 9b60091

Please sign in to comment.