Module: cirq.protocols.kraus_protocol

Protocol and methods for quantum channels.

Classes

class SupportsChannel: THIS CLASS IS DEPRECATED.

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

Functions

channel(...): THIS FUNCTION IS DEPRECATED.

has_channel(...): THIS FUNCTION IS DEPRECATED.

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