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

qiskit formatting of circuit separate from compilation #6

Open
Keelando opened this issue Dec 16, 2021 · 1 comment
Open

qiskit formatting of circuit separate from compilation #6

Keelando opened this issue Dec 16, 2021 · 1 comment
Assignees

Comments

@Keelando
Copy link
Member

I was thinking it would be nice to have the circuit layout formatting separated from the main compilation so that the circuit can be viewed in the UI prior to the compilation.

As a first iteration, rather than rewriting the main compilation block, set up a new api method called render_circuit_layout so that when an example circuit is selected from the dropdown, the circuit diagram gets rendered before the compilation request is submitted. I would fire the axios request on the dropdown select onChange.

Can elaborate further

@gwwatkin
Copy link
Member

It would definitely be nice to see the circuit before submitting.

In the past we though about having the user be able to edit the circuit with Algassert in latticesurgery-com/web-ui#1 directly in browser. Using Algassert to render directly in browser, without API calls is an avenue worth considering.

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

No branches or pull requests

2 participants