qit.utils.cdot

qit.utils.cdot(v, A)

Real dot product of a vector and a tuple of operators.

Parameters
  • v (array) – vector

  • A (Iterable[array]) – arrays of equal shape

Returns

\(\sum_k v_k A_k\)

Return type

array