French
Languages
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

ProgramBackend

class ProgramBackend(configuration, provider=None, **fields)[source]

Bases : BackendV1, ABC

Base class for a program backend.

This is a Backend class for runtime programs to submit circuits.

Initialize a backend class

Paramètres
  • 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.

Lève

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.

Renvoie

A options object with

default values set

Type renvoyé

qiskit.providers.Options

Methods

configuration

Return the backend configuration.

name

Return the backend name.

properties

Return the backend properties.

provider

Return the backend Provider.

run

Run on the backend.

set_options

Set the options fields for the backend

status

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