state_compute_accumulation#
-
cuquantum.
bindings. cudensitymat. state_compute_accumulation( - intptr_t handle,
- intptr_t state_in,
- intptr_t state_out,
- intptr_t scaling_factors,
- intptr_t stream,
Computes accumulation of a quantum state(s) into another quantum state(s) of compatible shape.
- Parameters:
handle (intptr_t) – Library handle.
state_in (intptr_t) – Accumulated quantum state (or a batch of quantum states).
state_out (intptr_t) – Accumulating quantum state (or a batch of quantum states).
scaling_factors (intptr_t) – Array of scaling factor(s) of dimension equal to the batch size in the GPU-accessible RAM (same data type as used by the quantum state).
stream (intptr_t) – CUDA stream.