Skip to content

Commit

Permalink
fix rel import
Browse files Browse the repository at this point in the history
  • Loading branch information
jcmgray committed Jan 29, 2025
1 parent 80360c8 commit 7e6108a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions quimb/linalg/approx_spectral.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def lazy_ptr_linop(psi_ab, dims, sysa, **linop_opts):
sysa : int or sequence of int, optional
Index(es) of the 'a' subsystem(s) to keep.
"""
from .tensor.tensor_core import Tensor
from ..tensor.tensor_core import Tensor

sysa = int2tup(sysa)

Expand Down Expand Up @@ -113,7 +113,7 @@ def lazy_ptr_ppt_linop(psi_abc, dims, sysa, sysb, **linop_opts):
Index(es) of the 'b' subsystem(s) to keep, with respect to all
the dimensions, ``dims``, (i.e. pre-partial trace).
"""
from .tensor.tensor_core import Tensor
from ..tensor.tensor_core import Tensor

sysa, sysb = int2tup(sysa), int2tup(sysb)
sys_ab = sorted(sysa + sysb)
Expand Down

0 comments on commit 7e6108a

Please sign in to comment.