PauliMatrices.dot_product

PauliMatrices.dot_product(alpha)[source]

Computes the standard dot product of alpha with the paulis.

Parameters:

alpha (Sequence[float] | float64 | float32) – The pauli coefficients.

Returns:

Sum of element-wise multiplication of alpha and self.paulis.

Return type:

complex128

Raises:

ValueError – If alpha and self.paulis are incompatible.