Skip to content
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

BQM-generating functions should specify the shape of the BQM #110

Open
arcondello opened this issue Apr 8, 2019 · 1 comment
Open

BQM-generating functions should specify the shape of the BQM #110

arcondello opened this issue Apr 8, 2019 · 1 comment

Comments

@arcondello
Copy link
Member

In #105 we added some lines to the travelling_salesman_qubo that specify the shape (number of variables, number of interactions) of the generated qubo relative to the original graph. We should do this for all of the generating functions.

These should also come with tests.

Example
https://github.com/dwavesystems/dwave_networkx/blob/dae190a5530d9f06fca89bf7e3737c06c7e6ab5a/dwave_networkx/algorithms/tsp.py#L113

@arcondello
Copy link
Member Author

Also, for some of these algorithms the gap can be determined analytically, this information should also be exposed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant