CRdot#

CRdot(v1, v2)[source]#

Compute the inner product of two complex vectors over a real field.

In other words, the vectors have complex values but linear combination coefficients have to be real. This is the vector space for the complex QCQP constraints since Lagrangian multipliers are real.

Parameters:
  • v1 (np.ndarray) – vector1

  • v2 (np.ndarray) – vector2

Return type:

The inner product