Skip to content

Index

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

ValidateChannels

ValidateChannels()

Bases: BloqadeIRVisitor

Checks to make sure the given sequence can be compiled to hardware.

This check looks at the spatial modulations and the level coupling to determine if the sequence can be compiled to hardware.

Source code in src/bloqade/compiler/analysis/hardware/channels.py
def __init__(self):
    self.field_name = None