sub_sv_migrator_migrate#

cuquantum.bindings.custatevec.sub_sv_migrator_migrate(
intptr_t handle,
intptr_t migrator,
int device_slot_ind_ex,
intptr_t src_sub_sv,
intptr_t dst_sub_sv,
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_slot_ind_ex (int) – the index to specify sub state vector to migrate.

  • src_sub_sv (intptr_t) – a pointer to a sub state vector that is migrated to deviceSlots.

  • dst_sub_sv (intptr_t) – a pointer to a sub state vector that is migrated from deviceSlots.

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

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