get_state_fitting_scope_split_als_config_attribute_dtype#

cuquantum.bindings.cudensitymat.get_state_fitting_scope_split_als_config_attribute_dtype(int attr)[source]#

Get the Python data type of the corresponding StateFittingScopeSplitALSConfigAttribute attribute.

Parameters:

attr (StateFittingScopeSplitALSConfigAttribute) – 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 state_fitting_scope_split_als_config_get_attribute(), state_fitting_scope_split_als_config_set_attribute().