sv_updater_apply#
-
cuquantum.
bindings. custatevecEx. sv_updater_apply( - intptr_t sv_updater,
- intptr_t state_vector,
- randnums,
- int32_t num_randnums,
Apply queued operations.
- Parameters:
sv_updater (intptr_t) – SVUpdater instance.
state_vector (intptr_t) – state vector instance.
randnums (object) –
a host pointer to an array of random numbers in the range [0, 1). It can be:
an
intas the pointer address to the array, ora Python sequence of
float.
num_randnums (int32_t) – the number of random numbers.
See also