ITensor / ITensor/ITensorNetworks.jl
Add index combining features
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 128
- Forks
- 23
- Avg merge
- 4d 7h
- Merged PRs (30d)
- 7
Description
Add tools for combining and uncombining all or some of the link/site indices of a tensor network.
An interface I could imagine is the following for combining the link indices of a network:
tnc, combiners = combine_linkinds(tn)
tnc would be a tensor network with the same graph structure as tn but with the link indices merged. combiners would be a DataGraph with the combiners as metadata on the edges. Then the graph could be uncombined like:
tn = uncombineinds(tn, combiners)
This could be a wrapper around or more general function:
tnc, combiners = combineinds(tn; links=:, sites=[])
i.e. where you can choose a subset of link or site indices to combine.
@JoeyT1994
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.
Research direction
Start by locating the existing tensor-network index utilities and the combineinds, combine_linkinds, and uncombineinds entry points described in the issue. Determine how link and site indices are represented and how DataGraph edge metadata is handled; done means selected indices can be combined and restored for all or some links and sites.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- backend-api-design
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100