ITensor / ITensor/ITensorNetworks.jl

Use `PartitionedGraph` in `contract_approx`

Open
#179 0 comments 1 reaction 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.