Skip to content

Commit

Permalink
SU unit test: use deterministic ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
jcmgray committed Apr 10, 2024
1 parent 24b21dd commit c2d6e3e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tests/test_tensor/test_tensor_2d_tebd.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,12 @@ def to_backend(x):
ham.apply_to_arrays(to_backend)

su = qtn.SimpleUpdate(
psi0, ham, progbar=True, keep_best=True, compute_energy_every=10
psi0,
ham,
progbar=True,
keep_best=True,
compute_energy_every=10,
ordering="largest_first",
)

su.evolve(33, tau=0.3)
Expand Down

0 comments on commit c2d6e3e

Please sign in to comment.