operator_configure_action#

cuquantum.bindings.cudensitymat.operator_configure_action(
intptr_t handle,
intptr_t superoperator,
intptr_t state_in,
intptr_t state_out,
intptr_t attribute_value,
size_t attribute_size,
)[source]#

Configures the operator action on a quantum state.

Parameters:
  • handle (intptr_t) – Library handle.

  • superoperator (intptr_t) – Operator.

  • state_in (intptr_t) – Representative input quantum state on which the operator is supposed to act. The actual quantum state acted on during computation may be different, but it has to be of the same shape, kind, and factorization structure (topology, bond dimensions, etc).

  • state_out (intptr_t) – Representative output quantum state produced by the action of the operator on the input quantum state. The actual quantum state acted on during computation may be different, but it has to be of the same shape, kind, and factorization structure (topology, bond dimensions, etc).

  • attribute_value (intptr_t) – Configuration attribute.

  • attribute_size (size_t) – Pointer to the configuration attribute value (type-erased).