-
Notifications
You must be signed in to change notification settings - Fork 130
Circuit Diagrams from Q# Code
The VS Code extension and qsharp
Python package both provide the ability to synthesize circuit diagrams from Q# code.
These diagrams capture the quantum operations (gates) that have been applied during the execution of a Q# program.
You can use the "Circuit" Code Lens to synthesize a circuit diagram for a Q# program.
You can use the "Circuit" Code Lens above an operation declaration to synthesize a circuit for that operation.
See circuits.ipynb for a walkthrough of circuit diagrams in Python. (Note that the GitHub web viewer does not display the circuit images in this notebook. Open the notebook in VS Code or Jupyter to display the circuits).
Q# Wiki
Overview
Q# language & features
- Q# Structs
- Q# External Dependencies (Libraries)
- Differences from the previous QDK
- V1.3 features
- Curated list of Q# libraries
- Advanced Topics and Configuration
OpenQASM support
VS Code
Python
Circuit diagrams
Azure Quantum
For contributors