cuquantum.bindings.custatevec.create

cuquantum.bindings.custatevec.create() intptr_t[source]

This function initializes the cuStateVec library and creates a handle on the cuStateVec context. It must be called prior to any other cuStateVec API functions. If the device has unsupported compute capability, this function could return CUSTATEVEC_STATUS_ARCH_MISMATCH.

Returns

the pointer to the handle to the cuStateVec context.

Return type

intptr_t