qiskit_neko.aer_plugin.AerBackendPlugin.get_backend#

AerBackendPlugin.get_backend(backend_selection=None)[source]#

Return the Backend object to run tests on.

Parameters:

backend_selection (str) – An optional selection string to specify the backend object returned from this method. This can be used in two different ways. Either it can be used to specify a fake backend name from qiskit.test.mock in qiskit-terra such as fake_quito which will return that fake backend object or alternatively if the string starts with method= an ideal AerSimulator object with that method will be set. If this is not specified a AerSimulator will be returned with the defailt settings.

Raises:

ValueError – If an invalid backend selection string is passed in