From 6de99e9030a1d400f8b09c34e3d90518330cceaf Mon Sep 17 00:00:00 2001 From: hunghaoti Date: Thu, 2 May 2024 16:38:40 +0800 Subject: [PATCH] Fix 1tdvp example code so the enery will not be calculate twice. --- example/TDVP/tdvp1_dense.py | 1 - 1 file changed, 1 deletion(-) diff --git a/example/TDVP/tdvp1_dense.py b/example/TDVP/tdvp1_dense.py index f6c51001..cfee17a5 100644 --- a/example/TDVP/tdvp1_dense.py +++ b/example/TDVP/tdvp1_dense.py @@ -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)