cirq_google.line.LinePlacementStrategy

Choice and options for the line placement calculation method.

Main aliases

cirq_google.LinePlacementStrategy, cirq_google.line.placement.LinePlacementStrategy, cirq_google.line.placement.place_strategy.LinePlacementStrategy

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.