ProgramBackend¶
-
class
ProgramBackend
(configuration, provider=None, **fields)[source]¶ Bases:
qiskit.providers.backend.BackendV1
,abc.ABC
Base class for a program backend.
This is a
Backend
class for runtime programs to submit circuits.Initialize a backend class
- Parameters
configuration (BackendConfiguration) – A backend configuration object for the backend object.
provider (qiskit.providers.Provider) – Optionally, the provider object that this Backend comes from.
fields – kwargs for the values to use to override the default options.
- Raises
AttributeError – if input field not a valid options
In addition to the public abstract methods, subclasses should also implement the following private methods:
-
abstract classmethod
_default_options
()¶ Return the default options
This method will return a
qiskit.providers.Options
subclass object that will be used for the default options. These should be the default parameters to use for the options of the backend.- Returns
- A options object with
default values set
- Return type
Methods
Return the backend configuration.
Return the backend name.
Return the backend properties.
Return the backend Provider.
Run on the backend.
Set the options fields for the backend
Return the backend status.
Attributes
-
options
¶ Return the options for the backend
The options of a backend are the dynamic parameters defining how the backend is used. These are used to control the
run()
method.
-
version
= 1¶