Skip to content

Conversation

Krishn1412
Copy link
Contributor

We are testing the structural property of cycle graph by ensuring:

Node count is exactly n

Edge count is:

n for directed, non-bidirectional
2n for directed, bidirectional
n for undirected

All expected edges are present

In bidirectional mode: for every (u, v) edge, there’s also a (v, u) edge

We are testing the structural property of cycle graph by ensuring:

Node count is exactly n

Edge count is:

n for directed, non-bidirectional
2n for directed, bidirectional
n for undirected

All expected edges are present

In bidirectional mode: for every (u, v) edge, there’s also a (v, u) edge
Copy link
Collaborator

@IvanIsCoding IvanIsCoding left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@IvanIsCoding IvanIsCoding added this pull request to the merge queue Jul 1, 2025
Merged via the queue into Qiskit:main with commit ba6d65b Jul 1, 2025
59 of 60 checks passed
SILIZ4 pushed a commit to SILIZ4/rustworkx that referenced this pull request Jul 4, 2025
We are testing the structural property of cycle graph by ensuring:

Node count is exactly n

Edge count is:

n for directed, non-bidirectional
2n for directed, bidirectional
n for undirected

All expected edges are present

In bidirectional mode: for every (u, v) edge, there’s also a (v, u) edge
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants