Module: cirq.devices.named_topologies

Classes

class LineTopology: A 1D linear topology.

class NamedTopology: A topology (graph) with a name.

class TiltedSquareLattice: A grid lattice rotated 45-degrees.

Functions

dataclass_json_dict(...)

draw_gridlike(...): Draw a grid-like graph using Matplotlib.

draw_placements(...): Draw a visualization of placements from small_graph onto big_graph using Matplotlib.

get_placements(...): Get 'placements' mapping small_graph nodes onto those of big_graph.

TYPE_CHECKING False