Module: cirq.contrib

Functionality that is not part of core supported Cirq apis.

Any contributions not ready for full production can be put in a subdirectory in this package.

Modules

acquaintance module: Tools for creating and using acquaintance strategies.

circuitdag module: Tools for representing a Circuit as a directed acyclic graph.

graph_device module: Tools for representing a device as an edge-labelled graph.

json module: Functions for JSON serialization and de-serialization for classes in Contrib.

qcircuit module: Converts cirq circuits into latex using qcircuit.

quirk module: Converts cirq circuits into quirk circuits.

Classes

class CircuitDag: A representation of a Circuit as a directed acyclic graph.

class Unique: A wrapper for a value that doesn't compare equal to other instances.

Functions

circuit_to_latex_using_qcircuit(...): Returns a QCircuit-based latex diagram of the given circuit.