Module: cirq.protocols.apply_unitary_protocol

A protocol for implementing high performance unitary left-multiplies.

Classes

class ApplyUnitaryArgs: Arguments for performing an efficient left-multiplication by a unitary.

class SupportsConsistentApplyUnitary: An object that can be efficiently left-multiplied into tensors.

Functions

apply_unitaries(...): Apply a series of unitaries onto a state tensor.

apply_unitary(...): High performance left-multiplication of a unitary effect onto a tensor.

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