operator_action#

cuquantum.densitymat.jax.operator_action(
op: Operator,
state_in_bufs: Array | Sequence[Array],
device: Device | None = None,
) Array | list[Array][source]#

Compute the action of an operator on a state.

Parameters:
  • op – Operator to compute the action of.

  • state_in_bufs – Buffers of the input state components.

  • device – Device to use for the operator action.

Returns:

Buffers of the output state components.