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.mockinqiskit-terrasuch asfake_quitowhich will return that fake backend object or alternatively if the string starts withmethod=an idealAerSimulatorobject with that method will be set. If this is not specified aAerSimulatorwill be returned with the defailt settings.- Raises:
ValueError – If an invalid backend selection string is passed in