Options
class Options
Bases: types.SimpleNamespace
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
Options.get(field, default=None)
Get an option value for a given key.
update_options
Options.update_options(**fields)
Update options with kwargs
Was this page helpful?
Report a bug or request content on GitHub.