Chimera and Pegasus generators don't allow for Chimera/Pegasus indices when node/edge lists are passed in
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
Research direction
Start by reproducing the two chimera_graph() calls in the issue, then compare the corresponding behavior of pegasus_graph() when coordinates=True and node or edge lists are supplied. Done means both generators use Chimera/Pegasus index labels consistently with and without explicit node and edge lists.
Written by the indexing model from the issue text.
Description
Description
chimera_graph() and pegasus_graph() have a parameter 'coordinates' that, if true, should mean that the node labels are 4-tuple chimera/pegasus indices. If false, they'll be linear integer indices.
This is currently not true when the user passes in node and edge lists (the node labels remain as linear integers even when coordinates=True). This seems like unwanted behaviour.
To Reproduce
The following two snippets will result in different indexing schemes.
G = dnx.chimera_graph(*shape,
node_list=nodelist,
edge_list=edgelist,
coordinates=True)
G = dnx.chimera_graph(*shape,
coordinates=True)
Additional context
May want to also consider this adjacent issue: https://github.com/dwavesystems/dwave-system/issues/289
- Dominant language
- Python
- Stars
- 95
- Forks
- 62
- Avg merge
- 8h 49m
- Merged PRs (30d)
- 3
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
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.
More from dwavesystems/dwave-graphs
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
dwavesystems/dwave-graphs#232 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 55/100
dwavesystems/dwave-graphs#260 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
dwavesystems/dwave-graphs#258 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 52/100
dwavesystems/dwave-graphs#256 ·
-
bug/fix
Difficulty 3/5 1-2 days Newbie friendliness 35/100
dwavesystems/dwave-graphs#255 · 8 comments ·
All issues in dwavesystems/dwave-graphs
Similar issues
-
bug needs-triage priority:medium
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
yeongseon/azure-functions-logging-python#583 ·
Maintainers usually reply within 1 day
-
documentation needs-triage priority:medium
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
yeongseon/azure-functions-validation-python#546 ·
Maintainers usually reply within 1 day
-
PHP workflow streaming requests buffer the full SSE responsePossibly taken @Winoren claimed this today. Openreview: medium
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
langgenius/dify#44270 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day
-
P4: low
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
jeffknupp/association#523 ·
-
bug help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
DarkStarSystems/pcons#229 ·
Maintainers usually reply within 1 day