Place to move
PlaceToMove
dataclass
PlaceToMove(
layout_heuristic: LayoutHeuristicABC,
placement_strategy: PlacementStrategyABC,
insert_initialize: bool = False,
)
Shared place → move compilation stage for both pipelines.
The only difference between the physical and logical pipelines at this
stage is whether InsertInitialize is included in the rewrite rules.
Pass insert_initialize=True for the logical pipeline.
This stage only adds the move dialect — place stays in the group
on purpose, since place.ConvertToPhysicalMeasurements carries the
measurement dataflow past this point (see circuit2place). The
dialect-group check at the end is therefore a cheap invariant here rather
than a discard guard.