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
When create a diagonal UniTensor with shape [3,3] and then call truncate(idx=0, dim=2) to truncate the bond dimension for first bond. Currently, it will return a diagonal UniTensor with shape [2,2]. Is it expected or a bug ?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
When create a diagonal UniTensor with shape [3,3] and then call truncate(idx=0, dim=2) to truncate the bond dimension for first bond. Currently, it will return a diagonal UniTensor with shape [2,2]. Is it expected or a bug ?
The related unit test is and see line #L4562
Cytnx/tests/DenseUniTensor_test.cpp
Lines 4545 to 4566 in f62f0ce
Beta Was this translation helpful? Give feedback.
All reactions