state_vector_get_resources_from_unstaged_sub_sv_slice_view#
-
cuquantum.
bindings. custatevecEx. state_vector_get_resources_from_unstaged_sub_sv_slice_view( - intptr_t state_vector,
- int32_t sub_sv_index,
- int32_t slice_index,
Get resources from unstaged sub state vector slice (read-only view).
- Parameters:
state_vector (intptr_t) – The state vector descriptor.
sub_sv_index (int32_t) – Sub state vector index.
slice_index (int32_t) – Slice index.
- Returns:
intptr_t: host memory pointer to the slice data (read-only view; accessible from the GPU).
int: memory placement of the slice (a
MemoryPlacementvalue).int32_t: device id associated with the slice.
intptr_t: CUDA stream associated with the slice.
- Return type:
A 4-tuple containing