PauliMatrices.dot_product
- PauliMatrices.dot_product(alpha)[source]
Computes the standard dot product of alpha with the paulis.
- Parameters:
alpha (
RealVector
) – The pauli coefficients.- Returns:
Sum of element-wise multiplication of alpha and self.paulis.
- Return type:
np.ndarray
- Raises:
ValueError – If alpha and self.paulis are incompatible.