cuquantum.bindings.cudensitymat.state_compute_scaling

cuquantum.bindings.cudensitymat.state_compute_scaling(intptr_t handle, intptr_t state, intptr_t scaling_factors, intptr_t stream)[source]

Initializes the quantum state to a random value.

Parameters
  • handle (intptr_t) – Library handle.

  • state (intptr_t) – Quantum state (or a batch of quantum states).

  • scaling_factors (intptr_t) – CUDA stream.

  • stream (intptr_t) – Library handle.