|View source on GitHub|
A uniform , undirected graph device whose qubits are arranged on a line.
cirq.contrib.graph_device.uniform_undirected_linear_device( n_qubits: int, edge_labels: Mapping[int, Optional[UndirectedGraphDeviceEdge]] ) ->
Uniformity refers to the fact that all edges of the same size have the same label.
||The number of qubits.|
||The labels to apply to all edges of a given size.|
||keys to edge_labels are not all at least 1.|