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 a cuStateVec sub state vector migrator.
- Parameters
handle (intptr_t) – The library handle.
device_slots (intptr_t) – The pointer address to a device slots.
sv_data_type (cuquantum.cudaDataType) – The data type of the device slots
n_device_slots (int) – The number of device slots
n_local_index_bits (int) – The number of index bits of sub state vectors.
- Returns
An instance of the opaque migrator descriptor (as Python
int
).
See also