Module: cirq.protocols.decompose_protocol

Classes

class SupportsDecompose: An object that can be decomposed into simpler operations.

class SupportsDecomposeWithQubits: An object that can be decomposed into operations on given qubits.

Functions

decompose(...): Recursively decomposes a value into cirq.Operations meeting a criteria.

decompose_once(...): Decomposes a value into operations, if possible.

decompose_once_with_qubits(...): Decomposes a value into operations on the given qubits.

Type Aliases

DecomposeResult: The central part of internal API.

OpDecomposer: The central part of internal API.

RaiseTypeErrorIfNotProvided ([],)
TDefault Instance of typing.TypeVar
TError Instance of typing.TypeVar
TYPE_CHECKING False