bloqade.analog.compiler.analysis.hardware.lattice.BasicLatticeValidation
← Module overview
class
method
method
source
classBasicLatticeValidation¶source
bloqade.analog.compiler.analysis.hardware.lattice.BasicLatticeValidation
Bases: BloqadeIRVisitor
This visitor checks that the AtomArrangement is within the bounds of the lattice and that the number of sites is within the maximum number of sites.
class BasicLatticeValidation(capabilities: QuEraCapabilities)Parameters
| Name | Type | Description |
|---|---|---|
capabilities | QuEraCapabilities |
Attributes
| Name | Type | Default | Description |
|---|---|---|---|
capabilities | — | capabilities |
methodgeneric_visit¶source
bloqade.analog.compiler.analysis.hardware.lattice.BasicLatticeValidation.generic_visit
methodvisit_register¶source
bloqade.analog.compiler.analysis.hardware.lattice.BasicLatticeValidation.visit_register
def visit_register(node: location.AtomArrangement)Parameters
| Name | Type | Description |
|---|---|---|
node | location.AtomArrangement |