Skip to content

Lattice

BasicLatticeValidation

BasicLatticeValidation(capabilities)

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.

Source code in src/bloqade/compiler/analysis/hardware/lattice.py
def __init__(self, capabilities: QuEraCapabilities):
    self.capabilities = capabilities