cirq_google.line.line_on_device

Searches for linear sequence of qubits on device.

device Google Xmon device instance.
length Desired number of qubits making up the line.
method Line placement method. Defaults to cirq.greedy.GreedySequenceSearchMethod.

Line sequences search results.