time_propagation_prepare#

cuquantum.bindings.cudensitymat.time_propagation_prepare(
intptr_t handle,
intptr_t time_propagation,
intptr_t state_in,
intptr_t state_out,
int compute_type,
size_t workspace_size_limit,
intptr_t workspace,
intptr_t stream,
)[source]#

Prepares the time propagation object for computation.

Parameters:
  • handle (intptr_t) – Library handle.

  • time_propagation (intptr_t) – Time propagation object.

  • state_in (intptr_t) – Representative input quantum state for the time propagation.

  • state_out (intptr_t) – Representative output quantum state for the time propagation.

  • compute_type (ComputeType) – Desired compute type.

  • workspace_size_limit (size_t) – Workspace buffer size limit (bytes).

  • workspace (intptr_t) – Empty workspace descriptor on entrance. The workspace size required for the computation will be set on exit.

  • stream (intptr_t) – CUDA stream.