state_vector_set_state#

cuquantum.bindings.custatevecEx.state_vector_set_state(
intptr_t state_vector,
intptr_t state,
int data_type,
int64_t begin,
int64_t end,
int32_t max_num_concurrent_copies,
)[source]#

Set complex value array on host to state vector.

Parameters:
  • state_vector (intptr_t) – state vector instance.

  • state (intptr_t) – pointer to a complex vector on host.

  • data_type (int) – data_type of the state vector elements.

  • begin (int64_t) – index of state vector element where the copy begins.

  • end (int64_t) – index of state vector element where the copy ends.

  • max_num_concurrent_copies (int32_t) – Max number of parallel copies.