microsoft / microsoft/azure-quantum-python

Cannot set memory = True for Qiskit backends

Open
#225 11 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

azure-quantum bug python qiskit
Dominant language
Python
Stars
160
Forks
113
Avg merge
6d 23h
Merged PRs (30d)
1

Description

@Saketh-Chandra tried to submit a job to the Honeywell API validator and was not able to run the below code:

backend.run(circuit, memory=True)

This threw an error saying that JobDetails has no parameter memory.
We need to add memory as an input argument to HoneywellBackend.run, or pop these configuration parameters from the kwargs.

A potential workaround would be to override backend.configuration:

backend._configuration.memory = True

@Saketh-Chandra, could you verify if the above workaround works for you?

Contributor guide

Open the contributing guide

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.

Research direction

Start at HoneywellBackend.run and trace how its arguments become JobDetails. Reproduce the shown backend.run(circuit, memory=True) call, then verify that memory is accepted without the JobDetails parameter error and that the Honeywell API job can be submitted.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, python
Domain
api, backend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.