Contractions of several UniTensors with Z2 x U(1) symmetry fail:
bond_a = cytnx.Bond(
cytnx.BD_IN, [cytnx.Qs(0,0)>>1],
[cytnx.Symmetry.Zn(2), cytnx.Symmetry.U1()])
bond_b = bond_a.redirect()
uT = cytnx.UniTensor([bond_a, bond_b],dtype=cytnx.Type.Double)
[Sf,Uf,Vtf] = cytnx.linalg.Svd(uT,True)
Tfnew = cytnx.Contract([Uf,Sf,Vtf])
If I run this in python, the kernel crashes.
A sequential contraction as follows works fine:
Tnew = cytnx.Contract(Uf,Sf)
Tnew = cytnx.Contract([Tnew,Vtf])
Contractions of several
UniTensors with Z2 x U(1) symmetry fail:If I run this in python, the kernel crashes.
A sequential contraction as follows works fine: