sub_sv_migrator_create#
-
cuquantum.
bindings. custatevec. sub_sv_migrator_create( - intptr_t handle,
- intptr_t device_slices,
- int sv_data_type,
- int n_device_slices,
- int n_slice_local_index_bits,
Create sub state vector migrator descriptor.
- Parameters:
handle (intptr_t) – the handle to the cuStateVec library.
device_slices (intptr_t) – pointer to sub state vector slices on device.
sv_data_type (int) – data type of state vector.
n_device_slices (int) – the number of sub state vector slices in device_slices.
n_slice_local_index_bits (int) – the number of index bits of sub state vector slices.
- Returns:
pointer to a new migrator descriptor.
- Return type:
intptr_t
See also