ITensor / ITensor/ITensorMPS.jl
Generically support MPS/MPO with multiple site indices and link indices per tensor
@mtfishman is already working on this.
Since Feb 15, 2021.
- Dominant language
- Julia
- Stars
- 85
- Forks
- 27
- Avg merge
- 22m
- Merged PRs (30d)
- 1
Description
Not all MPS/MPO functions support MPS/MPO with multiple (or no) site indices and link indices, and often assume there are exactly one site index/link index. An example is that by default, calling:
siteinds(psi)
linkinds(psi)
return Vector{Index}, where in general it would be better if they returned Vector{IndexSet}, allowing for the possibility of zero/more than two site or link indices. This would allow much more general MPS/MPO to be used with built-in ITensor functions (imagine for example Choi matrices with multiple site indices or treating a column or row of a PEPS as an MPS that might get gauged or have gates applied to it).
Supporting this generally could be done fairly easily, but some changes may be breaking like the above change to siteinds/linkinds.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.