atomiq.arguments¶
Submodules¶
Classes¶
Package Contents¶
- class atomiq.arguments.ArgumentProvider[source]¶
- static_arguments¶
- abstractmethod _build_arguments(target_class, arguments=None)[source]¶
Build the argument dict.
This is intended to be overwritten by subclasses to implement the logic for the respective backend
- Parameters:
target_class (type) -- The class of the target for which to build the arguments
arguments (Optional[dict]) -- arguments to be considered additionally
- Return type:
dict
- class atomiq.arguments.NativeArgumentProvider[source]¶
Bases:
ArgumentProvider- _build_arguments(target_class, arguments=None)[source]¶
Build the argument dict from the arguments attribute of the target class.
This enables to just write a dict with the argument definition in the experiment class
- Parameters:
target_class (type) -- The class of the target for which to build the arguments
arguments (Optional[dict]) -- arguments to be considered additionally
- Return type:
dict