cirq.hilbert_schmidt_inner_product

cirq.hilbert_schmidt_inner_product(m1: numpy.ndarray, m2: numpy.ndarray) → complex[source]

Computes Hilbert-Schmidt inner product of two matrices.

Linear in second argument.