Module: cirq.contrib.graph_device

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

Modules

graph_device module

hypergraph module

uniform_graph_device module

Classes

class FixedDurationUndirectedGraphDeviceEdge: An edge of an undirected graph device on which every operation is allowed and has the same duration.

class UndirectedGraphDevice: A device whose properties are represented by an edge-labelled graph.

class UndirectedHypergraph

Functions

is_crosstalk_graph(...)

is_undirected_device_graph(...)

uniform_undirected_graph_device(...): An undirected graph device all of whose edges are the same.

uniform_undirected_linear_device(...): A uniform , undirected graph device whose qubits are arranged on a line.

UnconstrainedUndirectedGraphDeviceEdge Instance of cirq.contrib.graph_device.graph_device._UnconstrainedUndirectedGraphDeviceEdge