cuquantum.custatevec.set_stream

cuquantum.custatevec.set_stream(intptr_t handle, intptr_t stream)[source]

Set the stream to be used by cuStateVec.

Parameters
  • handle (intptr_t) – The library handle.

  • stream (intptr_t) – The CUDA stream handle (cudaStream_t as Python int).