ITensor / ITensor/DataGraphs.jl

Remove `underlying_graph` from the `AbstractDataGraph` interface.

Open
#104 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Julia
Stars
13
Forks
4
Avg merge
5d 13h
Merged PRs (30d)
2

Description

An AbstractDataGraph should implement the AbstractNamedGraph and AbstractDataGraph interface.

  • Rename IsUnderlyingGraph trait to something more informative. e.g. IsDatafullGraph (name tbd)
  • An AbstractNamedGraph should be assumed to not have data by default (https://github.com/ITensor/DataGraphs.jl/pull/94#discussion_r3117632795)
  • Add function dataless_graph to construct a similar graph, but without data.
  • Consider if it is worth removing underlying_graph from the concrete DataGraph.

Related: https://github.com/ITensor/DataGraphs.jl/issues/102

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 reading the AbstractDataGraph, AbstractNamedGraph, IsUnderlyingGraph, and DataGraph interfaces, then review related issue #102 and the linked discussion in pull request #94. Define the replacement trait name, the default data behavior, dataless_graph construction, and whether underlying_graph should be removed before considering the work complete.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia
Domain
data
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.