cirq_google.line.placement.greedy.GreedySequenceSearch

Base class for greedy search heuristics.

Specialized greedy heuristics should implement abstract _sequence_search method.

device Chip description.
start Starting qubit.

ValueError When start qubit is not part of a chip.

Methods

View source

Starts the search or gives previously calculated sequence.

Returns
The linear qubit sequence found.