microsoft / microsoft/azure-quantum-python
Cannot set memory = True for Qiskit backends
Nobody has claimed this yet.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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