qiskit.providers.aer.utils.transpile_noise_model¶
- transpile_noise_model(noise_model, **transpile_kwargs)[source]¶
Return a new noise model with transpiled QuantumErrors.
This returns a new noise model containing the resulting errors from transpiling all QuantumErrors in the noise model using
transpile_quantum_error()
function with the passed keyword agruments.- Parameters
noise_model (
NoiseModel
) – the noise model to be transformed.transpile_kwargs – kwargs for passing to qiskit transpile function.
- Return type
- Returns
The transpiled noise model.
- Raises
NoiseError – if the transformation failed.