Commit 85f8a12c authored by mgassner's avatar mgassner
Browse files

..

parent 2d63f341
...@@ -43,7 +43,7 @@ def MI_vs_Entropy(): ...@@ -43,7 +43,7 @@ def MI_vs_Entropy():
dim = 14#[8, 10, 12, 14]#, 16, 18] dim = 14#[8, 10, 12, 14]#, 16, 18]
periodic = False periodic = False
spin_inversion = None spin_inversion = None
params = np.linspace(-1.5, 1.5, 51) params = np.linspace(-1.5, 1.5, 31)
sub_dim = 4 sub_dim = 4
first_trace_spin = 4 first_trace_spin = 4
...@@ -68,6 +68,6 @@ def MI_vs_Entropy(): ...@@ -68,6 +68,6 @@ def MI_vs_Entropy():
Entropies.append(compute_entropy(rho_half)) Entropies.append(compute_entropy(rho_half))
plt.figure() plt.figure()
plt.plot(params, entropies) plt.plot(params, Entropies)
plt.plot(params, MIs) plt.plot(params, MIs)
plt.savefig('test.jpg') plt.savefig('test.jpg')
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment