eigen_decomposition_scope_split_dmrg_config_set_attribute#

cuquantum.bindings.cudensitymat.eigen_decomposition_scope_split_dmrg_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 DMRG configuration.

Parameters:
  • handle (intptr_t) – Library handle.

  • config (intptr_t) – DMRG configuration object.

  • attribute (EigenDecompositionScopeSplitDMRGConfigAttribute) – 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_eigen_decomposition_scope_split_dmrg_config_attribute_dtype().