cirq.google.LinePlacementStrategy

Choice and options for the line placement calculation method.

Currently two methods are available: cirq.line.GreedySequenceSearchMethod and cirq.line.AnnealSequenceSearchMethod.

Methods

place_line

View source

Runs line sequence search.

Args
device Chip description.
length Required line length.

Returns
Linear sequences found on the chip.