cirq.google.XmonDevice.neighbors_of

XmonDevice.neighbors_of(qubit: cirq.devices.grid_qubit.GridQubit)[source]

Returns the qubits that the given qubit can interact with.