ITensor / ITensor/NamedGraphs.jl

`named_*(vertices)`

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

Nobody has claimed this yet.

Dominant language
Julia
Stars
10
Forks
5
Avg merge
6h 43m
Merged PRs (30d)
17

Description

Add support in functions like named_path_graph, named_grid, etc. for specifying custom vertex names with a function, dictionary, array, etc.

For example:

named_path_graph(["a", "b", "c"])
named_path_graph(v -> "v$v", 3)
named_grid(["a" "b"; "c" "d"])
named_grid(v -> "v$(v[1]),$(v[2])", (2, 2))

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 locating the named_path_graph, named_grid, and related named_* entry points, then inspect how their vertex arguments are currently handled. Support the function, dictionary, and array forms shown in the issue, and verify that the provided examples produce graphs with the requested vertex names.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia
Domain
data
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.