Skip to content

Commit

Permalink
Add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
tinaoberoi committed Oct 30, 2023
1 parent 671216f commit a71b7db
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions scratchpad/qtensor_MPS/evolution.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,13 @@
from gates import *
import matplotlib.pyplot as plt

cutoff = 1e-8
tau = 0.1
ttotal = 2.0
# Take cutoff into consideration

gates = []
cutoff = 1e-8
N = 10
n = N
mps = MPS("q", N+1, 2)
evolution_range = np.linspace(0, 1, 5)
js = np.arange(0, n)
js = np.arange(0, N)

magnetization = []
for t in evolution_range:
Expand Down

0 comments on commit a71b7db

Please sign in to comment.