qrisp.interface.Backend.update_options#

Backend.update_options(**kwargs) None[source]#

Update existing runtime options for the backend.

Only keys that were present at initialisation (i.e. defined in _default_options() or the options argument passed to the constructor) may be updated. Attempting to set an unknown key raises an AttributeError.

This method is atomic: all keys are validated before any value is written. If one key is invalid, no options are changed.

Parameters:
**kwargs

Key-value pairs to update in the backend’s runtime options.