Commit 11cc8ffe authored by mgassner's avatar mgassner
Browse files

minor changes

parent a1a1f281
......@@ -40,10 +40,10 @@ def test_mutual_information():
def MI_vs_Entropy():
model_name = 'xxz'
dim = 14#[8, 10, 12, 14]#, 16, 18]
dim = 18#[8, 10, 12, 14]#, 16, 18]
periodic = False
spin_inversion = None
params = np.linspace(-1.5, 1.5, 31)
params = np.linspace(-2.0, 2.0, 41)
sub_dim = 4
first_trace_spin = 4
......@@ -66,6 +66,7 @@ def MI_vs_Entropy():
MIs.append(MI)
rho_half = reduced_dm(dim // 2, dim, hamming_weight, gs, basis_states)
Entropies.append(compute_entropy(rho_half))
del model
plt.figure()
plt.plot(params, Entropies)
......
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