amazon-braket/qiskit-braket-provider

Support noise models

Open

#89 创建于 2023年5月23日

在 GitHub 查看
 (12 评论) (0 反应) (0 负责人)Python (75 fork)auto 404
good first issuehelp wantedunitaryhack

仓库指标

Star
 (83 star)
PR 合并指标
 (PR 指标待抓取)

描述

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

贡献者指南