sub_sv_migrator_migrate#

cuquantum.bindings.custatevec.sub_sv_migrator_migrate(
intptr_t handle,
intptr_t migrator,
int device_slice_index,
intptr_t src_sub_sv_slice,
intptr_t dst_sub_sv_slice,
int64_t begin,
int64_t end,
)[source]#

Sub state vector migration.

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

  • migrator (intptr_t) – the migrator descriptor.

  • device_slice_index (int) – the index to specify sub state vector slice to migrate.

  • src_sub_sv_slice (intptr_t) – a pointer to a sub state vector slice that is migrated to deviceSlices.

  • dst_sub_sv_slice (intptr_t) – a pointer to a sub state vector slice that is migrated from deviceSlices.

  • begin (int64_t) – the index to start migration.

  • end (int64_t) – the index to end migration.