time_propagation_configure#

cuquantum.bindings.cudensitymat.time_propagation_configure(
intptr_t handle,
intptr_t time_propagation,
int attribute,
intptr_t attribute_value,
size_t attribute_size,
)[source]#

Configures the time propagation object with a configuration attribute.

Parameters:
  • handle (intptr_t) – Library handle.

  • time_propagation (intptr_t) – Time propagation object.

  • attribute (TimePropagationAttribute) – Attribute to set.

  • attribute_value (intptr_t) – Pointer to the attribute value.

  • attribute_size (size_t) – Size of the attribute value in bytes.

Note

To compute the attribute size, use the itemsize of the corresponding data type, which can be queried using get_time_propagation_attribute_dtype().