cuquantum.bindings.custatevec.set_math_mode

cuquantum.bindings.custatevec.set_math_mode(intptr_t handle, int mode)[source]

Set the compute precision mode.

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

  • mode (MathMode) – the compute precision mode.