![]() |
Computes the dot/matrix product of a sequence of values.
cirq.linalg.dot(
*values
) -> Union[float, complex, np.ndarray]
Performs the computation in serial order without regard to the matrix sizes. If you are using this for matrices of large and differing sizes, consider using np.lingalg.multi_dot for better performance.
Args | |
---|---|
*values
|
The values to combine with the dot/matrix product. |
Returns | |
---|---|
The resulting value or matrix. |