communicator_get_size_and_rank#

cuquantum.bindings.custatevecEx.communicator_get_size_and_rank() tuple[source]#

Get the global size and rank.

Returns:

  • int32_t: global number of processes.

  • int32_t: global rank of the calling process.

  • int: status from communicator operations.

Return type:

A 3-tuple containing