time_propagation_scope_split_tdvp_config_set_attribute#

cuquantum.bindings.cudensitymat.time_propagation_scope_split_tdvp_config_set_attribute(
intptr_t handle,
intptr_t config,
int attribute,
intptr_t attribute_value,
size_t attribute_size,
)[source]#

Sets an attribute of the TDVP configuration.

Parameters:
  • handle (intptr_t) – Library handle.

  • config (intptr_t) – TDVP configuration object.

  • attribute (TimePropagationScopeSplitTDVPConfigAttribute) – 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_scope_split_tdvp_config_attribute_dtype().