Skip to content

Commit

Permalink
Fix 1tdvp example code so the enery will not be calculate twice.
Browse files Browse the repository at this point in the history
  • Loading branch information
hunghaoti committed May 2, 2024
1 parent 45a1dd4 commit 6de99e9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion example/TDVP/tdvp1_dense.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,6 @@ def get_energy(A, M):

for k in range(1, time_step+1):
print('time:', k)
get_energy(A, M)
E = get_energy(A, M)
Es.append(E)

Expand Down

0 comments on commit 6de99e9

Please sign in to comment.