About cookies on this site Our websites require some cookies to function properly (required). In addition, other cookies may be used with your consent to analyze site usage, improve the user experience and for advertising. For more information, please review your options. By visiting our website, you agree to our processing of information as described in IBM’sprivacy statement. To provide a smooth navigation, your cookie preferences will be shared across the IBM web domains listed here.
qiskit_aer.utils.insert_noise
insert_noise(circuits, noise_model, transpile=False)
Return a noisy version of a QuantumCircuit.
Parameters
- circuits (QuantumCircuit or list[QuantumCircuit]) – Input noise-free circuits.
- noise_model (NoiseModel) – The noise model containing the errors to add
- transpile (Boolean) – Should the circuit be transpiled into the noise model basis gates
Returns
The new circuit with the Kraus noise instructions inserted.
Return type
Additional Information:
The noisy circuit return by this function will consist of the original circuit with Kraus
instructions inserted after all instructions referenced in the noise_model
. The resulting circuit cannot be ran on a quantum computer but can be executed on the QasmSimulator
.
Was this page helpful?
Report a bug or request content on GitHub.