ITensor / ITensor/ITensorNetworks.jl
Use `PartitionedGraph` in `contract_approx`
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 128
- Forks
- 23
- Avg merge
- 4d 7h
- Merged PRs (30d)
- 7
Description
contract_approx has a lot of partitioned tensor network/graph logic, but uses an older format based on a DataGraph with subgraphs stored as the vertex data. It would clean up that part of the code to switch to the new PartitionedGraph type.
@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
Locate the contract_approx entry point and inspect how its partitioned tensor network and graph logic currently uses DataGraph. Read the definition and existing usages of PartitionedGraph before comparing the two representations. Done means contract_approx uses PartitionedGraph and its existing behavior remains covered by the relevant test suite.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- data
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100