cirq.google.LinePlacementStrategy.place_line

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.