cuquantum.bindings.custatevec.get_math_mode

cuquantum.bindings.custatevec.get_math_mode(intptr_t handle) int[source]

Get the current compute precision mode.

Parameters

handle (intptr_t) – Opaque handle holding cuStateVec’s library context.

Returns

the compute precision mode.

Return type

int