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

Basic Circuit Editor for .qviz files #2187

Open
wants to merge 66 commits into
base: main
Choose a base branch
from
Open

Conversation

ScottCarda-MS
Copy link
Contributor

@ScottCarda-MS ScottCarda-MS commented Feb 18, 2025

This PR adds a custom editor view in the VS Code extension for files with the .qviz extension. The editor makes use of the same library code that is used to draw circuit diagrams elsewhere in the VS Code extension. The editor provides basic drag-and-drop editing of circuits with a simple gate set, including the ability to have controlled gates, and gates with arguments.
The circuit files are included in Q# projects and can be called into from Q# as if they were Q# operations. This is done by generating Q# files for circuit files when compiling.

@ScottCarda-MS ScottCarda-MS changed the title WIP Circuit Editor Basic Circuit Editor for .qviz files Feb 24, 2025
@ScottCarda-MS ScottCarda-MS marked this pull request as ready for review February 25, 2025 00:42
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

Successfully merging this pull request may close these issues.

2 participants