bloqade.lanes.heuristics.physical.target_generator.TargetGeneratorABC
← Module overview
class
method
source
classTargetGeneratorABC¶source
bloqade.lanes.heuristics.physical.target_generator.TargetGeneratorABC
Bases: abc.ABC
Plugin interface for choosing the target configuration of a CZ stage.
class TargetGeneratorABCImplementations return an ordered list of candidate target
placements. The strategy framework appends the default candidate
(DefaultTargetGenerator) as a guaranteed last-resort, so a plugin
may return [] to defer entirely to the default.
methodgenerate¶source
bloqade.lanes.heuristics.physical.target_generator.TargetGeneratorABC.generate
def generate(ctx: TargetContext) -> list[dict[int, LocationAddress]]Parameters
| Name | Type | Description |
|---|---|---|
ctx | TargetContext |
Returns
list[dict[int, LocationAddress]]