ITensor / ITensor/NamedGraphs.jl
Introduce `cartesian_graph(...)`
Open
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 10
- Forks
- 5
- Avg merge
- 6h 43m
- Merged PRs (30d)
- 17
Description
Introduce cartesian_graph(dims...) for making a NamedGraph with cartesian vertex names, i.e.:
cartesian_graph(2, 2)
would have vertices [(1, 1), (1, 2), (2, 1), (2, 2)].
Additionally,
cartesian_graph(grid((2, 2)), (2, 2))
to wrap a SimpleGraph in a NamedGraph with cartesian vertices.
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 existing NamedGraph and SimpleGraph constructors and the grid((2, 2)) API. Implement the two requested cartesian_graph forms, then verify that the generated NamedGraph has the expected cartesian vertex names and that wrapping a SimpleGraph preserves its structure.
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
- 55/100