qimpy.mpi.all_gather_scalars

all_gather_scalars(send, group)

Gather scalars send along group into an array.

Parameters:
  • send (float | int)

  • group (ProcessGroup | None)

Return type:

ndarray