Module: cirq.protocols.commutes_protocol

Protocol for determining commutativity.

Classes

class SupportsCommutes: An object that can determine commutation relationships vs others.

Functions

commutes(...): Determines whether two values commute.

definitely_commutes(...): Determines whether two values definitely commute.

RaiseTypeErrorIfNotProvided Instance of numpy.ndarray
TDefault Instance of typing.TypeVar