qiskit-aer
qiskit-aer copied to clipboard
Request: Ability to add list of noise errors through add_all_qubit_quantum_error(...):
What is the expected behavior?
Allow a user to add a list of quantum noise errors (depolarizing, thermal...) to all qubits with one function call.
Proposed solution:
In noise_modely.py: https://github.com/Qiskit/qiskit-aer/blob/master/qiskit/providers/aer/noise/noise_model.py
define a new method (notice errors instead of error):
add_all_qubit_quantum_errors(self, *errors, instructions, warnings=True)
which accepts an (iterable) of quantum errors and applies all of them to all the qubits