Skip to content

bloqade.lanes.heuristics.physical.target_generator.DefaultTargetGenerator

← Module overview

classDefaultTargetGeneratorsource

bloqade.lanes.heuristics.physical.target_generator.DefaultTargetGenerator

Bases: TargetGeneratorABC

Default rule: control qubit moves to the CZ partner of the target's location.

class DefaultTargetGenerator

methodgeneratesource

bloqade.lanes.heuristics.physical.target_generator.DefaultTargetGenerator.generate

def generate(ctx: TargetContext) -> list[dict[int, LocationAddress]]

Parameters

NameTypeDescription
ctxTargetContext

Returns

list[dict[int, LocationAddress]]

source