You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the partial trace function of the tensor_1d module contains a bug that causes it to fail when the kept subsystem is the last site of the system. This can be fixed by adding the lines
# if single site a single tensor is produced
if isinstance(rho, Tensor):
rho = TensorNetwork([rho])
in the location below
for i in self.gen_site_coos():
if i in keep:
# |
# -o- |
# ... -o- ... -> ... -O- ...
# i| i|
# ADD CODE HERE
rho ^= self.site_tag(i)
What did you expect to happen?
No response
Minimal Complete Verifiable Example
No response
Relevant log output
No response
Anything else we need to know?
No response
Environment
quimb 1.3.0+393.g28dc9dd
The text was updated successfully, but these errors were encountered:
What happened?
the partial trace function of the tensor_1d module contains a bug that causes it to fail when the kept subsystem is the last site of the system. This can be fixed by adding the lines
in the location below
What did you expect to happen?
No response
Minimal Complete Verifiable Example
No response
Relevant log output
No response
Anything else we need to know?
No response
Environment
quimb 1.3.0+393.g28dc9dd
The text was updated successfully, but these errors were encountered: