cuquantum.custatevec.sub_sv_migrator_create

cuquantum.custatevec.sub_sv_migrator_create(intptr_t handle, intptr_t device_slots, int sv_data_type, int n_device_slots, int n_local_index_bits) intptr_t[source]

Create sub state vector migrator descriptor.

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

  • device_slots (intptr_t) – pointer to sub state vectors on device.

  • sv_data_type (int) – data type of state vector.

  • n_device_slots (int) – the number of sub state vectors in device_slots.

  • n_local_index_bits (int) – the number of index bits of sub state vectors.

Returns

pointer to a new migrator descriptor.

Return type

intptr_t