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

Nicer interface for browsing captured problems #43

Open
randomir opened this issue Feb 3, 2020 · 0 comments
Open

Nicer interface for browsing captured problems #43

randomir opened this issue Feb 3, 2020 · 0 comments
Labels
feature New feature or request

Comments

@randomir
Copy link
Member

randomir commented Feb 3, 2020

Sometimes the problem/solution is not explicitly available in user's code. Thanks to low-level data capturing we still have access to these (in dwave.inspector.storage), but the interface is quite awkward. For example to visualize one QMI:

dwave.inspector.storage.index_resolved_problems()
problem_id = list(dwave.inspector.storage.problemdata.keys())[0]
dwave.inspector.show(problem_id)

Few fixes possible:

  • order all problems in time
  • write interface for browsing problems, without the need for explicit indexing
  • extend show to accept problem_index: int (or maybe even strings like "last" and "first"?)

Note this can handle only QMIs for now. For fully automated logical problem inspection, we need to extend data capture to samplesets.

@randomir randomir added the feature New feature or request label Feb 3, 2020
@randomir randomir changed the title Nicer interface for browsing of captured problems Nicer interface for browsing captured problems Feb 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant