state_vector_get_state#
-
cuquantum.
bindings. custatevecEx. state_vector_get_state( - intptr_t state_vector,
- intptr_t state,
- int data_type,
- int64_t begin,
- int64_t end,
- int32_t max_num_concurrent_copies,
Copy state vector elements to host buffer.
- Parameters:
state_vector (intptr_t) – state vector instance.
state (intptr_t) – pointer to a host buffer that receives state vector elements.
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.
See also