time_propagation_compute#

cuquantum.bindings.cudensitymat.time_propagation_compute(
intptr_t handle,
intptr_t time_propagation,
double time_step_real,
double time_step_imag,
double time,
int64_t batch_size,
int32_t num_params,
intptr_t params,
intptr_t state_in,
intptr_t state_out,
intptr_t workspace,
intptr_t stream,
)[source]#

Computes the time propagation of a quantum state under the action of the operator.

Parameters:
  • handle (intptr_t) – Library handle.

  • time_propagation (intptr_t) – Time propagation object.

  • time_step_real (double) – Real part of time step for propagation.

  • time_step_imag (double) – Imaginary part of time step for propagation.

  • time (double) – Time value.

  • batch_size (int64_t) – Batch size (>=1).

  • num_params (int32_t) – Number of variable parameters defined by the user.

  • params (intptr_t) – GPU-accessible pointer to an F-order 2d-array of user-defined real parameter values: params[num_params, batch_size].

  • state_in (intptr_t) – Input quantum state (can be batched).

  • state_out (intptr_t) – Time propagated output quantum state (can be batched).

  • workspace (intptr_t) – Allocated workspace descriptor.

  • stream (intptr_t) – CUDA stream.