cuquantum.custatevec.get_stream

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

Get the stream used by cuStateVec.

Parameters

handle (intptr_t) – The library handle.

Returns

The CUDA stream handle (cudaStream_t as Python int).

Return type

intptr_t