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

Better BaseLayerIterator #15

Open
robinhundt opened this issue Apr 23, 2024 · 0 comments
Open

Better BaseLayerIterator #15

robinhundt opened this issue Apr 23, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@robinhundt
Copy link
Collaborator

Currently, we have a BaseLayerIterator type which calculates partitions of a base circuit for each distinct use of a base (sub) circuit. However, I think we can do better by this by employing the visitor pattern. The benefit of this would be that we don't need to construct an intermediate collection which holds all the information for the current layer.

An open question is how to handle the interactive gates, as we need to iterate twice over these, once to construct the msg and once after exchanging the message.

@robinhundt robinhundt added the enhancement New feature or request label Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant