cuquantum.custatevec.set_workspace¶
- cuquantum.custatevec.set_workspace(intptr_t handle, intptr_t workspace, size_t workspace_size_in_bytes)[source]¶
This function sets the workspace used by the cuStateVec library.
- Parameters
handle (intptr_t) – the handle to the cuStateVec context.
workspace (intptr_t) – device pointer to workspace.
workspace_size_in_bytes (size_t) – workspace size.
See also