cuquantum.bindings.cutensornet.tensor_svd_algo_status_get_dtype

cuquantum.bindings.cutensornet.tensor_svd_algo_status_get_dtype(int svd_algo)[source]

Get the Python data type of the corresponding tensor SVD status attribute.

Parameters

svd_algo (TensorSVDAlgo) – The SVD algorithm to query.

Returns

The data type of algorithm status for the queried SVD algorithm. The returned dtype is always a valid NumPy dtype object.

Note

This API has no C counterpart and is a convenient helper for allocating memory for CUTENSORNET_TENSOR_SVD_INFO_ALGO_STATUS.