cuquantum.custatevec.set_workspace¶
- cuquantum.custatevec.set_workspace(intptr_t handle, intptr_t workspace, size_t workspace_size)[source]¶
Set the workspace to be used by cuStateVec.
- Parameters
handle (intptr_t) – The library handle.
workspace (intptr_t) – The pointer address (as Python
int
) to the workspace (on device).workspace_size (size_t) – The workspace size (in bytes).
See also