Support retrieving jobs/results by Leap problem id

Open
#9 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
48/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
python
Domain
api, backend

Research direction

Start with the QCDLJob lifecycle around run() and the DWaveProvider entry point, then compare the cloud-client API's Client.retrieve_answer(problem_id). Trace how submitted problems and answers are currently assembled into a QCDLResult. Done means a later process can retrieve a job or result using a Leap problem id after the original run() process exits.

Written by the indexing model from the issue text.

Description

enhancement

Currently a QCDLJob exists only in the process that called run(); once it exits, the submitted problems' answers can no longer be assembled into a QCDLResult.

We could follow cloud-client's API: Client.retrieve_answer(problem_id), e.g. DWaveProvider.retrieve_job(job_id | problem_id).

Dominant language
Python
Stars
39
Forks
22
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from dwavesystems/dwave-qiskit-plugin

All issues in dwavesystems/dwave-qiskit-plugin

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.