pyUni10.
contract
Contract out the bonds with common labels in UniTensors Ta and Tb. Ta and Tb are not copied and are permuted in-place, thus the process uses less memory than (Ta * Tb).
a new UniTensor with remaining bonds
UniTensor