# cirq.has_mixture_channel¶

cirq.has_mixture_channel(val: Any) → bool[source]

Returns whether the value has a mixture channel representation.

In contrast to has_mixture this method falls back to checking whether
the value has a unitary representation via has_channel.
Returns: If val has a _has_mixture_ method and its result is not NotImplemented, that result is returned. Otherwise, if val has a _has_unitary_ method and its results is not NotImplemented, that result is returned. Otherwise, if the value has a _mixture_ method that is not a non-default value, True is returned. Returns False if none of these functions.