Skip to content

statements

move

move(grid: Grid[Nx, Ny]) -> None

Move the aod from its current location to the given location.

Source code in src/bloqade/shuttle/dialects/action/_interface.py
51
52
53
@_wraps(Move)
def move(grid: Grid[Nx, Ny]) -> None:
    """Move the aod from its current location to the given location."""

set_loc

set_loc(grid: Grid[Nx, Ny]) -> None

Set the location of the aod using a grid.

Source code in src/bloqade/shuttle/dialects/action/_interface.py
46
47
48
@_wraps(Set)
def set_loc(grid: Grid[Nx, Ny]) -> None:
    """Set the location of the aod using a grid."""

turn_off

turn_off(x_tones: slice, y_tones: slice) -> None
turn_off(
    x_tones: slice,
    y_tones: ilist.IList[int, Any] | list[int],
) -> None
turn_off(
    x_tones: ilist.IList[int, Any] | list[int],
    y_tones: slice,
) -> None
turn_off(
    x_tones: ilist.IList[int, Any] | list[int],
    y_tones: ilist.IList[int, Any] | list[int],
) -> None
turn_off(x_tones, y_tones)

Turn on tones at the given x and y locations.

Source code in src/bloqade/shuttle/dialects/action/_interface.py
37
38
39
@_wraps(TurnOff)
def turn_off(x_tones, y_tones):
    """Turn on tones at the given x and y locations."""

turn_on

turn_on(x_tones: slice, y_tones: slice) -> None
turn_on(
    x_tones: slice,
    y_tones: ilist.IList[int, Any] | list[int],
) -> None
turn_on(
    x_tones: ilist.IList[int, Any] | list[int],
    y_tones: slice,
) -> None
turn_on(
    x_tones: ilist.IList[int, Any] | list[int],
    y_tones: ilist.IList[int, Any] | list[int],
) -> None
turn_on(x_tones, y_tones)

Turn on tones at the given x and y locations.

Source code in src/bloqade/shuttle/dialects/action/_interface.py
21
22
23
@_wraps(TurnOn)
def turn_on(x_tones, y_tones):
    """Turn on tones at the given x and y locations."""