Skip to content

Spatial

Uniform

Uniform(parent=None)

Bases: SpatialModulation

The node specify a uniform spacial modulation. Which is ready to apply waveform (See Waveform for available waveform options)

Examples:

- To hit this node from the start node:

>>> reg = bloqade.start.add_position([(0,0),(1,1),(2,2),(3,3)])
>>> loc = reg.rydberg.detuning.uniform

- Apply Linear waveform:

>>> wv = bloqade.ir.Linear(start=0,stop=1,duration=0.5)
>>> reg = bloqade.start.add_position([(0,0),(1,1),(2,2),(3,3)])
>>> loc = reg.rydberg.detuning.uniform.apply(wv)
Source code in src/bloqade/builder/base.py
def __init__(
    self,
    parent: Optional["Builder"] = None,
) -> None:
    self.__parent__ = parent