cirq.google.LinePlacementStrategy.place_line

abstract LinePlacementStrategy.place_line(device: cirq.google.XmonDevice, length: int) → cirq.google.line.placement.sequence.GridQubitLineTuple[source]

Runs line sequence search.

Parameters
  • device – Chip description.

  • length – Required line length.

Returns

Linear sequences found on the chip.