-
Notifications
You must be signed in to change notification settings - Fork 51
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
large neighborhood local search lattice components introduced #252
Conversation
… of docstrings with sphinx-build
…umentation. Made problem_dims an optional arugment for SublatticeSolver. Renamed exclude_dimensions to exclude_dims (for compatibility with problem_dims). Implemented pull request review suggestions by JoelP.
Codecov Report
@@ Coverage Diff @@
## master #252 +/- ##
==========================================
+ Coverage 89.52% 89.54% +0.01%
==========================================
Files 17 17
Lines 1872 2009 +137
==========================================
+ Hits 1676 1799 +123
- Misses 196 210 +14
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work Jack.
The only thing missing are some tests of the make_origin_embeddings
function.
…t tests for make_origin_embeddings
…embedding for pegasus
🎉 |
New Features --- - `make_origin_embeddings` problem decomposing utility that creates optimal embeddings for a lattice. Embeddings are compatible with the topology and shape of D-Wave QPU samplers (#252). - `SublatticeDecomposer` that produces lattice-structured subproblems (#252). Fixes --- - `SteepestDescentProblemSampler` now actually uses `greedy.SteepestDescentSolver` (#250).
The Class SublatticeDecomposer() and the function make_origin_embeddings() are introduced for creation of lattice workflows. make_origin_embeddings() has several helper functions. This code is introduced in decomposers.py
Two unit tests are currently present for SublatticeDecomposer, tests pass locally. More tests will be added shortly.
A reference example has been added to docs/reference/decomposers.rst , visual inspection of compiled docstrings and examples looks fine.
This pull request relates to a QUBITS2021 presentation scheduled for October 6th 2021.