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

Allow array sizes other than 2 in circuit rendering #2069

Open
DmitryVasilevsky opened this issue Dec 18, 2024 · 0 comments
Open

Allow array sizes other than 2 in circuit rendering #2069

DmitryVasilevsky opened this issue Dec 18, 2024 · 0 comments
Labels

Comments

@DmitryVasilevsky
Copy link
Contributor

Currently circuit tries to pass 2-qubit array into the operation that takes and array argument. Some operations aren't expecting 2-qubit arrays, or 2-qubit arrays aren't representative of a typical argument. I want to allow different array sizes. Try rendering circuit with 2-qubit arrays (BTW, it may fail). Then add input box for the array size next to the rendered circuit, about the same place as the zoom selector is. If user inputs different number of qubits - redraw the diagram.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants