ITensor / ITensor/NamedGraphs.jl
`named_*(vertices)`
Open
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
- 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
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