transpile_noise_model#

transpile_noise_model(noise_model: NoiseModel, **transpile_kwargs) NoiseModel[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 – the noise model to be transformed.

  • transpile_kwargs – kwargs for passing to qiskit transpile function.

Returns:

The transpiled noise model.

Raises:

NoiseError – if the transformation failed.