Skip to content

Feature/chimera quotient search - #54

Draft
jackraymond wants to merge 38 commits into
dwavesystems:mainfrom
jackraymond:feature/chimera_quotient_search
Draft

jackraymond wants to merge 38 commits into
dwavesystems:mainfrom
jackraymond:feature/chimera_quotient_search

Conversation

@jackraymond

Copy link
Copy Markdown
Contributor

Expanded functionality to support Chimera and Pegasus quotient search alongside Zephyr (already implement).

Some refactorization of functions.

Expansion of the example to plot results, and use quotient search over a defect (rather than fully yielded) lattice.

@jackraymond

jackraymond commented Jun 8, 2026

Copy link
Copy Markdown
Contributor Author

TO DO:

  • Example is failing for some seeds. Seems to be related to casting numpy integers to/from regular integers within tuples (can fix).
  • Instead of using (m,t) and casting to (m,m,t) and (m,) respectively for Pegasus and Chimera, it might be tidier to use either a shape tuple for the graph [e.g. the output of qpu.properties['topology']['shape']] == first ordered parameters for graph generators and other graph-family specific functions]
  • (done) The zephyr example doesn't show the rails nicely due to too many overlapping edges, edges can be reordered so blue is plotted on top.

Comment thread dwave/experimental/embedding_methods/quotient_embedding_search.py

@VolodyaCO VolodyaCO left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

I've given a first complete pass at this PR and it looks good overall. I just have a few minor comments. I'm also triggering copilot review to catch other nuisances.

Edit: I should also mention that I ran the example and tests locally and they worked.

Comment thread dwave/experimental/embedding_methods/quotient_embedding_search.py Outdated
Comment thread dwave/experimental/embedding_methods/quotient_embedding_search.py Outdated
Comment thread dwave/experimental/embedding_methods/quotient_embedding_search.py Outdated
Comment thread dwave/experimental/embedding_methods/quotient_embedding_search.py
Comment thread dwave/experimental/embedding_methods/quotient_embedding_search.py Outdated
Comment thread dwave/experimental/embedding_methods/quotient_embedding_search.py
Comment thread examples/processor_subgraph_embedding_search.py
Comment thread tests/test_quotient_search.py Outdated
Comment thread tests/test_quotient_search.py Outdated
Comment thread requirements.txt
Comment thread dwave/experimental/embedding_methods/quotient_embedding_search.py Outdated

@thisac thisac left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Some early comments. Still have to go through it in more detail.

Comment thread dwave/experimental/automorphism/automorphism_composite.py
Comment thread dwave/experimental/embedding_methods/quotient_embedding_search.py
Comment thread dwave/experimental/embedding_methods/quotient_embedding_search.py Outdated
Comment thread dwave/experimental/embedding_methods/quotient_embedding_search.py Outdated
Comment thread dwave/experimental/embedding_methods/quotient_embedding_search.py Outdated
Comment thread dwave/experimental/embedding_methods/quotient_embedding_search.py Outdated
Comment thread examples/processor_subgraph_embedding_search.py
Comment thread .gitignore Outdated

@VolodyaCO VolodyaCO left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Apart from Theo's comments, I think this looks good. Thanks Jack!

Comment thread dwave/experimental/embedding_methods/quotient_embedding_search.py Outdated
Comment thread dwave/experimental/embedding_methods/quotient_embedding_search.py Outdated
Comment thread dwave/experimental/embedding_methods/quotient_embedding_search.py Outdated
Comment thread dwave/experimental/embedding_methods/quotient_embedding_search.py Outdated
Comment thread dwave/experimental/embedding_methods/quotient_embedding_search.py Outdated
Comment thread dwave/experimental/embedding_methods/quotient_embedding_search.py Outdated
Comment thread dwave/experimental/embedding_methods/quotient_embedding_search.py Outdated
Comment thread dwave/experimental/embedding_methods/quotient_embedding_search.py Outdated
Comment thread dwave/experimental/embedding_methods/quotient_embedding_search.py Outdated
Comment thread tests/test_quotient_search.py
Comment thread dwave/experimental/embedding_methods/quotient_embedding_search.py Outdated
Comment thread dwave/experimental/embedding_methods/quotient_embedding_search.py Outdated
Comment thread dwave/experimental/embedding_methods/quotient_embedding_search.py Outdated
Comment thread dwave/experimental/embedding_methods/quotient_embedding_search.py Outdated
Comment thread dwave/experimental/embedding_methods/quotient_embedding_search.py Outdated
Comment thread dwave/experimental/embedding_methods/quotient_embedding_search.py
Comment thread dwave/experimental/embedding_methods/quotient_embedding_search.py
Comment thread dwave/experimental/embedding_methods/quotient_embedding_search.py Outdated
Comment thread dwave/experimental/embedding_methods/quotient_embedding_search.py Outdated
@jackraymond

Copy link
Copy Markdown
Contributor Author

Review elements are all implemented. However, per recommendations we should do the following:

  1. Rebase to an updated dwave-experimental not using the deprecated networkx routines (any reason we can't do this for our other repos, minorminer has to be done for 2.).
  2. Move the labeled_subgraph.py module and tests to a pull request on minorminer.
  3. After completing 1 and 2, make a pull request on dwave-experimental where file/git history is tidied up and superficial changes are minimized (otherwise same code).

@jackraymond

jackraymond commented Sep 2, 2026

Copy link
Copy Markdown
Contributor Author

Pull request is deprecated by this PR: dwavesystems/minorminer#292
Conditioned on this being accepted I'll follow up with a more specific dwave-experimental pull request. Changing this PR to draft

@jackraymond
jackraymond marked this pull request as draft September 2, 2026 17:41
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.

4 participants