time_propagation_approach_krylov_config_set_attribute#
-
cuquantum.
bindings. cudensitymat. time_propagation_approach_krylov_config_set_attribute( - intptr_t handle,
- intptr_t config,
- int attribute,
- intptr_t attribute_value,
- size_t attribute_size,
Sets an attribute of the Krylov configuration.
- Parameters:
handle (intptr_t) – Library handle.
config (intptr_t) – Krylov configuration object.
attribute (TimePropagationApproachKrylovConfigAttribute) – 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_time_propagation_approach_krylov_config_attribute_dtype().