cuquantum.custatevec.accessor_set_extra_workspace

cuquantum.custatevec.accessor_set_extra_workspace(intptr_t handle, intptr_t accessor, intptr_t extra_workspace, size_t extra_workspace_size_in_bytes)[source]

Set the external workspace to the accessor.

Parameters
  • handle (intptr_t) – the handle to the cuStateVec library.

  • accessor (intptr_t) – the accessor descriptor.

  • extra_workspace (intptr_t) – extra workspace.

  • extra_workspace_size_in_bytes (size_t) – extra workspace size.