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

Design and implement idealized CLI for user-experience #56

Closed
vprusso opened this issue Dec 3, 2024 · 1 comment
Closed

Design and implement idealized CLI for user-experience #56

vprusso opened this issue Dec 3, 2024 · 1 comment
Labels
feature New functionality refactor Code restructuring
Milestone

Comments

@vprusso
Copy link
Contributor

vprusso commented Dec 3, 2024

We presently dispatch specific benchmarking jobs like this (for instance):

python metriq_gym/dispatch_qv.py --shots 1 --backend ibm_nazca --trials 1 --n 5 --provider ibmq

Likewise, we poll specific benchmarking jobs like this (for instance):

python metriq_gym/poll_qv.py  

However, we would ideally like to provide "dispatch" and "poll" as agnostic options that can be supplied as arguments via the CLI and not necessarily tie them to specific benchmarks. So, for example, one might instead do this for dispatching:

metriq-gym -dispatch --benchmark quantum_volume --provider ibmq --backend ibm_nazca --num_qubits 5 --shots 1

This would generate a specific metriq-gym job ID. This ID could then be used to retrieve the job status and (if finished) the results of the job.

metriq-gym -retrieve --id 1234
@vprusso vprusso added refactor Code restructuring feature New functionality labels Dec 3, 2024
@vprusso vprusso added this to the Release 0.1.0 milestone Dec 3, 2024
@vprusso vprusso changed the title Design idealized CLI for user-experience Design and implement idealized CLI for user-experience Dec 3, 2024
@cosenal
Copy link
Contributor

cosenal commented Jan 14, 2025

Fixed by #81

@cosenal cosenal closed this as completed Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New functionality refactor Code restructuring
Projects
None yet
Development

No branches or pull requests

2 participants