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

BaseSpinBackend.options

Return the options for the backend

BaseSpinBackend.version

Methods

BaseSpinBackend.configuration()

Return the backend configuration.

BaseSpinBackend.draw(qc, **draw_options)

Modified circuit drawer to better display atomic mixture quantum circuits.

BaseSpinBackend.get_empty_circuit()

Convenience function to set up an empty circuit with the right QuantumRegisters.

BaseSpinBackend.name()

Return the backend name.

BaseSpinBackend.properties()

Return the backend properties.

BaseSpinBackend.provider()

Return the backend Provider.

BaseSpinBackend.run(run_input, **options)

Run on the backend.

BaseSpinBackend.set_options(**fields)

Set the options fields for the backend

BaseSpinBackend.status()

Return the backend status.