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
-
$\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$– Shravan PatelCommented May 17 at 13:28
1 Answer
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:
First define what errors you want to model and on what gates you want to apply these errors.
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.
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.