cuquantum.custatevec.get_default_workspace_size

cuquantum.custatevec.get_default_workspace_size(intptr_t handle) size_t[source]

This function returns the default workspace size defined by the cuStateVec library.

Parameters

handle (intptr_t) – the handle to the cuStateVec context.

Returns

default workspace size.

Return type

size_t