cirq_google.line.placement.chip.chip_as_adjacency_list

Gives adjacency list representation of a chip.

The adjacency list is constructed in order of above, left_of, below and right_of consecutively.

device Chip to be converted.

Map from nodes to list of qubits which represent all the neighbours of given qubit.