communicator_create#

cuquantum.bindings.custatevec.communicator_create(
intptr_t handle,
int communicator_type,
soname,
) intptr_t[source]#

Create communicator.

Parameters:
  • handle (intptr_t) – the handle to cuStateVec library.

  • communicator_type (CommunicatorType) – the communicator type.

  • soname (str) – the shared object name.

Returns:

a pointer to the communicator.

Return type:

intptr_t