1
$\begingroup$

I have a question about how to Add my own Noise like depolarising errors to Quantum gates like $H$ gate, $R_y$ gate and $R_{zz}$ gates in Qiskit SDK 1.0 and count it through qiskit_ibm_runtime and BasicSimulator in Qiskit SDK 1.0

$\endgroup$
1
  • $\begingroup$ If you are happy with the answer then you should accept this answer so other future visitors know that this response helped you. $\endgroup$ Commented May 17 at 13:28

1 Answer 1

1
$\begingroup$

You can add measurement error, reset errors, depolarizing error, etc. by making a custom noise model by using the NoiseModel() function from the qiskit_aer.noise module.

Here is a high-level overview of how you can achieve this:

  1. First define what errors you want to model and on what gates you want to apply these errors.

  2. Then you add these errors to a noise model, and here you get to pick if you want to apply the noise models to all the qubits or just some specific qubits.

  3. After doing this, you can use your noise model in the AerSimulator() to simulate your circuit on the simulator or you can specify your custom backend to transpile and run your circuit.

Here is the link to the documentation for building noise models.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.