Module: cirq.protocols.kraus_protocol

Protocol and methods for obtaining Kraus representation of quantum channels.


class SupportsKraus: An object that may be describable as a quantum channel.


has_kraus(...): Returns whether the value has a Kraus representation.

kraus(...): Returns a list of matrices describing the channel for the given value.

RaiseTypeErrorIfNotProvided (array([], dtype=float64),)
TDefault Instance of typing.TypeVar