eigen_decomposition_configure#

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

Configures the eigen-decomposition object with a configuration attribute.

Parameters:
  • handle (intptr_t) – Library handle.

  • eigen_decomposition (intptr_t) – Eigen-decomposition computation object.

  • attribute (EigenDecompositionAttribute) – Attribute to configure.

  • 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_attribute_dtype().