bloqade.lanes.heuristics.logical.placement.LogicalPlacementMethods
← Module overview
class
method
sourcemethod
source
classLogicalPlacementMethods¶source
bloqade.lanes.heuristics.logical.placement.LogicalPlacementMethods
class LogicalPlacementMethods(arch_spec: ArchSpec)Parameters
| Name | Type | Description |
|---|---|---|
arch_spec | ArchSpec |
Attributes
| Name | Type | Description |
|---|---|---|
arch_spec | ArchSpec |
methoddesired_cz_layout¶source
bloqade.lanes.heuristics.logical.placement.LogicalPlacementMethods.desired_cz_layout
Signature
def desired_cz_layout(state: ConcreteState, controls: tuple[int, ...], targets: tuple[int, ...]) -> ConcreteStateParameters
| Name | Type | Description |
|---|---|---|
state | ConcreteState | |
controls | tuple[int, ...] | |
targets | tuple[int, ...] |
Returns
ConcreteState
methodvalidate_initial_layout¶source
bloqade.lanes.heuristics.logical.placement.LogicalPlacementMethods.validate_initial_layout
Signature
def validate_initial_layout(initial_layout: tuple[LocationAddress, ...]) -> NoneParameters
| Name | Type | Description |
|---|---|---|
initial_layout | tuple[LocationAddress, ...] |