Module: cirq_google.serialization

Classes for serializing circuits into protocol buffers.


arg_func_langs module

circuit_serializer module: Support for serializing and deserializing cirq_google.api.v2 protos.

op_deserializer module

op_serializer module

serializer module


class CircuitOpDeserializer: Describes how to serialize CircuitOperations.

class CircuitOpSerializer: Describes how to serialize CircuitOperations.

class CircuitSerializer: A class for serializing and deserializing programs and operations.

class Serializer: Interface for serialization.


arg_from_proto(...): Extracts a python value from an argument value proto.

CIRCUIT_SERIALIZER Instance of cirq_google.serialization.CircuitSerializer