iqm.cirq_iqm.serialize

iqm.cirq_iqm.serialize#

Helper functions for serializing and deserializing quantum circuits between Cirq and IQM Circuit formats.

Functions

deserialize_circuit(circuit)

Deserializes a quantum circuit from the IQM data transfer format to a Cirq Circuit.

serialize_circuit(circuit)

Serializes a quantum circuit into the IQM data transfer format.