File tree 1 file changed +8
-2
lines changed
1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -64,7 +64,10 @@ def calculate_correlation_length(unitcell: PEPS_Unit_Cell):
64
64
initial_vector_bottom = initial_vector_bottom .reshape (- 1 )
65
65
66
66
eig_right , eigvec_right = eigs (
67
- full_transfer_right , k = 5 , v0 = initial_vector_right , which = "LM"
67
+ np .asarray (full_transfer_right ),
68
+ k = 5 ,
69
+ v0 = np .asarray (initial_vector_right ),
70
+ which = "LM" ,
68
71
)
69
72
70
73
eig_right = np .abs (eig_right )
@@ -73,7 +76,10 @@ def calculate_correlation_length(unitcell: PEPS_Unit_Cell):
73
76
corr_len_right = - 1 / np .log (eig_right [1 ])
74
77
75
78
eig_bottom , eigvec_bottom = eigs (
76
- full_transfer_bottom , k = 5 , v0 = initial_vector_bottom , which = "LM"
79
+ np .asarray (full_transfer_bottom ),
80
+ k = 5 ,
81
+ v0 = np .asarray (initial_vector_bottom ),
82
+ which = "LM" ,
77
83
)
78
84
79
85
eig_bottom = np .abs (eig_bottom )
You can’t perform that action at this time.
0 commit comments