ITensor / ITensor/ITensorNetworks.jl

`iterate` for `ITensorNetwork`s

Open
#32 0 comments 0 reactions 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

What would be the desirable behavior for iterating over general ITensorNetworks? In #18 I just defaulted to iterating over the vertex_data of the network, since currently concrete AbstractITensorNetwork subtypes only have tensors living on the vertices of the network. Will there ever be ITensorNetworks with data on the edges, in which case iteration becomes a lot less straightforward, or would this be implemented as a different type altogether if something like this is ever needed?

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

Start by reviewing issue #18 and the current AbstractITensorNetwork subtypes, especially their vertex_data. Determine whether iteration should cover only vertex data or support edge data as well, and whether that belongs on ITensorNetwork or another type. Done means the iteration contract is decided and documented or implemented consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia
Domain
data
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.