cuquantum.custatevec.set_stream

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

This function sets the stream to be used by the cuStateVec library to execute its routine.

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

  • stream_id (intptr_t) – the stream to be used by the library.