You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# When overlap matrix is ill-conditioned, the eigenvalues (i.e. band) can suffer from significant roundoff errors.
190
+
ifself.eigh_method==1:
191
+
L=torch.linalg.cholesky(overlap)
192
+
trans_matrix=torch.linalg.inv(L).mT
193
+
# Substitute cholesky with eigen decomposition.
194
+
# This modification effectively reorders the entries of symm_h, placing larger values towards the upper left-hand corner, thereby enhancing the precision in computing smaller eigenvalues
0 commit comments