Skip to content

A few missing exports in the grid dialect #55

@cduck

Description

@cduck

Some kernels defined in https://github.com/QuEraComputing/bloqade-geometry/blob/main/src/bloqade/geometry/dialects/grid/_interface.py are not exported in https://github.com/QuEraComputing/bloqade-geometry/blob/main/src/bloqade/geometry/dialects/grid/__init__.py. Please export all of them.

Version: bloqade-geometry==0.5.1

Expected this to work:

from bloqade.geometry.dialects import grid

# In a kernel:
new_grid = grid.shift_subgrid_x(old_grid, x, y);

But I am forced to use this workaround:

# In a kernel:
new_grid = grid._interface.shift_subgrid_x(old_grid, x, y);

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions