BaseSpinBackend¶
- class BaseSpinBackend(configuration, provider=None, **fields)[source]¶
Abstract base class for atomic mixture backends.
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:
qiskit.providers.Options
Attributes
Return the options for the backend
Methods
Return the backend configuration.
BaseSpinBackend.draw
(qc, **draw_options)Modified circuit drawer to better display atomic mixture quantum circuits.
Convenience function to set up an empty circuit with the right QuantumRegisters.
Return the backend name.
Return the backend properties.
Return the backend Provider.
BaseSpinBackend.run
(run_input, **options)Run on the backend.
BaseSpinBackend.set_options
(**fields)Set the options fields for the backend
Return the backend status.