Module: cirq_google.serialization.op_serializer


class CircuitOpSerializer: Describes how to serialize CircuitOperations.

class GateOpSerializer: Describes how to serialize a GateOperation for a given Gate type.

class OpSerializer: Generic supertype for operation serializers.

class SerializingArg: Specification of the arguments for a Gate and its serialization.

Type Aliases


Gate Instance of typing.TypeVar
SUPPORTED_SYMPY_OPS (<class 'sympy.core.symbol.Symbol'>, <class 'sympy.core.add.Add'>, <class 'sympy.core.mul.Mul'>, <class 'sympy.core.power.Pow'>)