transpile_quantum_error#

transpile_quantum_error(error: QuantumError, **transpile_kwargs) QuantumError[source]#

Return a new quantum error containin transpiled circuits.

This returns a new QuantumError containing the circuits resulting from transpiling all error circuits using qiskit.transpile() with the passed keyword agruments.

Parameters:
  • error – the quantum error to be transformed.

  • transpile_kwargs – kwargs for passing to qiskit transpile function.

Returns:

The transformed quantum error.

Raises:

NoiseError – if the transformation failed.