-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chimera_graph mxn lattice is flattened #190
Comments
@boothby, the output of |
You can get that subgraph as follows: g = dnx.chimera_graph(16)
c4_nodes = [v for v, d in g.nodes(data=True) if all(x < 4 for x in d['chimera_index'][:2])]
c4 = g.subgraph(c4_nodes) |
Thanks, @boothby, I just changed the first line to |
Description
I expected that
chimera_graph(m)
orchimera_graph(m,m)
would have be a m-by-m lattice but instead am getting a row of length mxm.To Reproduce
This gives:
Expected behavior
I expected:
Environment:
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: