Hi!
Given an ITensor of N dimensions, how can I extract the first N-1 dimensions, at a fixed index for the last one?
I have a tensor:
ITensor ord=5 (dim=1|id=960|"Link,l=11") (dim=8|id=661|"Boson,Site,n=11") (dim=8|id=538|"Boson,Site,n=10") (dim=1|id=530|"Link,l=9") (dim=64|id=712|"Link,eigen")
NDTensors.Dense{Float64, Vector{Float64}}
and I would want:
ITensor ord=4 (dim=1|id=960|"Link,l=11") (dim=8|id=661|"Boson,Site,n=11") (dim=8|id=538|"Boson,Site,n=10") (dim=1|id=530|"Link,l=9")
NDTensors.Dense{Float64, Vector{Float64}}
at a given index of Link,eigen index.
Thank you!