permute result shows unexpected result
hi, I found something strange when doing cytnx permute:
If we have repeated index while doing permute
, it would still return a Unitensor.
And I think it may be more intuitive to return some error message :)
PermuteIssue.ipynb