Skip to content

Support noise models #89

@speller26

Description

@speller26

Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.

In Amazon Braket, you can add a Braket noise models to the local or on-demand density-matrix simulators. Analogously, in Qiskit, it is possible to add a Qiskit noise model to a simulator device so that the noise model is applied to any circuit run on the device.

We request a feature that, with qiskit-braket-provider, users can build circuits and a noise model with Qiskit and perform noise simulation with Braket backends.

What is the expected behavior?

The Braket backend from qiskit-braket-provider should be able to take Qiskit circuits and Qiskit noise models to run noise simulation. Possible implementation include, but not limited to, translating Qiskit noise model to Braket noise model, or adding noise operation directly to the Braket circuit when sending to Braket backends.

Acceptance criteria

  • Adding a noise_model kwarg to the Braket provider's get_backend method that attaches a noise model to be applied to every circuit run
  • Adding noise_model properties to the Braket backends that allow users to inspect the noise model.
dm1 = provider.get_backend("DM1", noise_model=noise_bit_flip)

# Run noisy circuit
circuit = ...  # noiseless circuit
task = dm1.run(circuit, shots=100)  # circuit run with noise model

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions