cuquantum.bindings.cudensitymat.get_proc_rank

cuquantum.bindings.cudensitymat.get_proc_rank(intptr_t handle) int32_t[source]

Returns the rank of the current process in the distributed configuration associated with the given library context.

Parameters

handle (intptr_t) – Library handle.

Returns

Rank of the current distributed process.

Return type

int32_t