get_eigen_decomposition_attribute_dtype#
-
cuquantum.
bindings. cudensitymat. get_eigen_decomposition_attribute_dtype(int attr)[source]# Get the Python data type of the corresponding EigenDecompositionAttribute attribute.
- Parameters:
attr (EigenDecompositionAttribute) – The attribute to query.
- Returns:
The data type of the queried attribute.
Note
This API has no C counterpart and is a convenient helper for allocating memory for
eigen_decomposition_configure().