dist_index_bit_swap_scheduler_create#

cuquantum.bindings.custatevec.dist_index_bit_swap_scheduler_create(
intptr_t handle,
uint32_t n_global_index_bits,
uint32_t n_local_index_bits,
) intptr_t[source]#

Create distributed index bit swap scheduler.

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

  • n_global_index_bits (uint32_t) – the number of global index bits.

  • n_local_index_bits (uint32_t) – the number of local index bits.

Returns:

a pointer to a batch swap scheduler.

Return type:

intptr_t