When I load noise_model to inititial quantum device, it went wrong. Following are the code and error messages.
from qiskit.providers.aer.noise.device import basic_device_noise_model
noise_model = basic_device_readout_errors
dev = qml.device(‘qiskit.aer’, wires= n_w, noise_model=noise_model)
AttributeError: ‘function’ object has no attribute ‘basis_gates’
Any help with this would be greatly appreciated!
Thanks!