state_fitting_scope_split_als_config_set_attribute#
-
cuquantum.
bindings. cudensitymat. state_fitting_scope_split_als_config_set_attribute( - intptr_t handle,
- intptr_t config,
- int attribute,
- intptr_t attribute_value,
- size_t attribute_size,
Sets an attribute of the variational ALS split-scope state-fitting configuration.
- Parameters:
handle (intptr_t) – Library handle.
config (intptr_t) – ALS split-scope state-fitting configuration object.
attribute (StateFittingScopeSplitALSConfigAttribute) – Attribute to set.
attribute_value (intptr_t) – Pointer to the attribute value.
attribute_size (size_t) – Size of the attribute value in bytes.
Note
To compute the attribute size, use the itemsize of the corresponding data type, which can be queried using
get_state_fitting_scope_split_als_config_attribute_dtype().