cirq.matrix_from_basis_coefficients

cirq.matrix_from_basis_coefficients(expansion: cirq.value.linear_dict.LinearDict[str], basis: Dict[str, numpy.ndarray]) → numpy.ndarray[source]

Computes linear combination of basis vectors with given coefficients.