bloqade.lanes.heuristics.physical.movement.solve_options_from_traversal
← Module overview
function
source
functionsolve_options_from_traversal¶source
bloqade.lanes.heuristics.physical.movement.solve_options_from_traversal
Signature
def solve_options_from_traversal(traversal: RustPlacementTraversal, *, collect_entropy_trace: bool | None = None) -> tuple[_native.SolveOptions, _native.EntropyOptions]Build (SolveOptions, EntropyOptions) from a RustPlacementTraversal.
Shared by PhysicalPlacementStrategy and move_synthesis so the
two callsites cannot drift on default knob values. collect_entropy_trace
overrides the traversal’s flag when set; this is used by
_cz_placements_rust to gate trace capture by stage.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
traversal | RustPlacementTraversal | required | |
collect_entropy_trace | bool | None | None |
Returns
tuple[_native.SolveOptions, _native.EntropyOptions]