Skip to content

Commit

Permalink
use linalg.expm
Browse files Browse the repository at this point in the history
  • Loading branch information
jcmgray committed Jun 12, 2024
1 parent 847e0e9 commit 1fbf2dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quimb/tensor/tensor_arbgeom_tebd.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ def _expm_cached(self, x, y):
cache = self._op_cache["expm"]
key = (id(x), y)
if key not in cache:
cache[key] = do("scipy.linalg.expm", x * y)
cache[key] = do("linalg.expm", x * y)
# el, ev = do("linalg.eigh", x)
# cache[key] = ev @ do("diag", do("exp", el * y)) @ dag(ev)
return cache[key]
Expand Down

0 comments on commit 1fbf2dd

Please sign in to comment.