Japanese
言語
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

Options

class Options(**kwargs)[ソース]

ベースクラス: object

Base options object

This class is the abstract class that all backend options are based on. The properties of the class are intended to be all dynamically adjustable so that a user can reconfigure the backend on demand. If a property is immutable to the user (eg something like number of qubits) that should be a configuration of the backend class itself instead of the options.

Methods

get

Get an option value for a given key.

set_validator

Set an optional validator for a field in the options

update_options

Update options with kwargs

Attributes

validator