cuquantum.custatevec.get_stream

cuquantum.custatevec.get_stream(intptr_t handle) intptr_t[source]

This function gets the cuStateVec library stream used to execute all calls from the cuStateVec library functions.

Parameters

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

Returns

the stream to be used by the library.

Return type

intptr_t