Commit 016d002d authored by mgassner's avatar mgassner
Browse files

mi

parent 79d6a663
......@@ -9,10 +9,10 @@ if __name__ == "__main__":
#test_area_law()
#test_area_law_tfim()
#test_tfim()
test_symmetries('xxz')
#test_symmetries('xxz')
#test_mutual_information()
# MI_vs_Entropy()
MI_vs_Entropy()
"""print('------------------------------------------------')
print('---With symmetries and spin inversion---')
github_test()
......@@ -30,4 +30,4 @@ if __name__ == "__main__":
print('---With symmetries, but no spin inversion---')
github_test(spin_inversion=None)
print('---Without symmetries and spin inversion---')
github_test(spin_inversion=None, use_symmetries=False)"""
\ No newline at end of file
github_test(spin_inversion=None, use_symmetries=False)"""
......@@ -43,7 +43,7 @@ def MI_vs_Entropy():
dim = 18#[8, 10, 12, 14]#, 16, 18]
periodic = False
spin_inversion = None
params = np.linspace(-2.0, 2.0, 41)
params = np.linspace(-2.0, 2.0, 101)
sub_dim = 4
first_trace_spin = 4
......@@ -71,4 +71,4 @@ def MI_vs_Entropy():
plt.figure()
plt.plot(params, Entropies)
plt.plot(params, MIs)
plt.savefig('test.jpg')
\ No newline at end of file
plt.savefig('test2.jpg')
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