Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement a grid template #244

Closed
nelimee opened this issue Jun 6, 2024 · 0 comments · Fixed by #245
Closed

Implement a grid template #244

nelimee opened this issue Jun 6, 2024 · 0 comments · Fixed by #245
Assignees
Labels
backend Issue pertaining to the Python backend (tqec package) enhancement New feature or request, may not be in the task flow

Comments

@nelimee
Copy link
Contributor

nelimee commented Jun 6, 2024

Is your feature request related to a problem? Please describe.
For the moment, we can limit ourselves to regular grids of templates (that will likely represent logical qubits). There is nothing in the code that is explicitly here to build such a grid.

Describe the solution you'd like
Constructing a GridTemplate should be quite easy with the ComposedTemplate class.

Describe alternatives you've considered
Having a specific implementation for a grid, just like StackedTemplate and ShiftedTemplate are not implemented using ComposedTemplate (because it does not provide the necessary features) but rather directly as a subclass of Template with a specific behaviour. Turns out that a grid should be describable quite easily with a ComposedTemplate, so this alternative has not been explored.

@nelimee nelimee added enhancement New feature or request, may not be in the task flow backend Issue pertaining to the Python backend (tqec package) labels Jun 6, 2024
@nelimee nelimee self-assigned this Jun 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Issue pertaining to the Python backend (tqec package) enhancement New feature or request, may not be in the task flow
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant