qiskit.providers.aer.utils.transpile_quantum_error
transpile_quantum_error(error, **transpile_kwargs)
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 (
QuantumError
) – the quantum error to be transformed. - transpile_kwargs – kwargs for passing to qiskit transpile function.
Return type
QuantumError
Returns
The transformed quantum error.
Raises
NoiseError – if the transformation failed.
Was this page helpful?
Report a bug or request content on GitHub.