NVIDIA / NVIDIA/cuda-quantum

[Braket] Allow enabling Debias error mitigation when submitting tasks to IonQ via Braket

Open
#2,935 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

ecosystem enhancement stale-notified
Dominant language
C++
Stars
1.1k
Forks
456
Avg merge
1d 22h
Merged PRs (30d)
165

Description

Required prerequisites
  • Search the issue tracker to check if your feature has already been mentioned or rejected in other issues.
Describe the feature

Braket allows enabling Debias error mitigation when submitting tasks to IonQ. For details, and an example of how this is done in the Braket Python SDK, see here: https://docs.aws.amazon.com/braket/latest/developerguide/error-mitigation-ionq.html#error-mitigation-ionq-debiasing

The CUDA-Q code which constructs the CreateQuantumTask request to Braket begins here:
https://github.com/NVIDIA/cuda-quantum/blob/43c635ea6a06712cb47c153c8b4e4a4b89125782/runtime/cudaq/platform/default/rest/helpers/braket/BraketExecutor.cpp#L200-L203

That code does not currently include any logic to set deviceParameters in the request (see API reference here).

The feature request here is to plumb through an option to allow the user to specify general deviceParameters when submitting tasks to Braket, so that Debias error mitigation (and any other features that can be enabled via deviceParameters) can be enabled for these tasks.

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 in runtime/cudaq/platform/default/rest/helpers/braket/BraketExecutor.cpp around the CreateQuantumTask request construction, then review the AWS CreateQuantumTask API and the linked Braket Python SDK example. Trace how task submission options reach this request and define completion as allowing user-specified deviceParameters, including IonQ Debias configuration, to be submitted.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, cpp
Domain
api, cloud, quantum-computing
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.