Microsoft Quantum Development Kit for Visual Studio Code Preview
Thank you for your interest in Microsoft's Quantum Development Kit for Visual Studio Code preview.
The development kit contains the tools you'll need to build your own quantum computing programs and experiments.
Assuming some experience with Visual Studio Code, beginners can write their first quantum program, and experienced researchers can quickly and efficiently develop new quantum algorithms.
NOTE: The simulator included with the Quantum Development Kit requires a 64-bit operating system to run.
To jump right in, start with Installation and validation to create and validate your development environment.
Then use Quickstart - your first computer program to learn about the structure of a Q# project and how to write the quantum equivalent of "Hello, world!" -- a quantum teleport application.
If you'd like more general information about Microsoft's quantum computing initiative, see Microsoft Quantum.
Your feedback about all parts of the Quantum Development Kit is important. We ask you to provide feedback by joining our community of developers at Microsoft Quantum - Feedback. Sign in and share your experience in one of the following forums.
- Q# Language
- Debugging and Simulation
- Samples and Documentation
- Setup and IDE Integration
- General Ideas and Feature Requests
You will need a Microsoft Account to provide feedback.
Microsoft Quantum Development Kit components
The Quantum Development Kit preview provides a complete development and simulation environment that contains the following components.
|Q# language and compiler||Q# is a domain-specific programming language used for expressing quantum algorithms. It is used for writing sub-programs that execute on an adjunct quantum processor under the control of a classical host program and computer.|
|Q# standard library||The library contains operations and functions that support both the classical language control requirement and the Q# quantum algorithms.|
|Local quantum machine simulator||A full state vector simulator optimized for accurate vector simulation and speed.|
|Quantum computer trace simulator||The trace simulator does not simulate the quantum environment like the local quantum simulator. It is used to estimate the resources required to execute a quantum program and also allow faster debugging of the non-Q# control code.|
|Visual Studio Code extension||The extension contains syntax highlighting and code snippets.|
Quantum Development Kit documentation
The current documentation includes the following topics.
- Quantum computing concepts includes topics such as the relevance of linear algebra to quantum computing, the nature and use of a qubit, how to read a quantum circuit, and more.
- Installation and validation describes how to quickly set up Visual Studio Code for quantum development.
- Quickstart - your first quantum program walks you through how to create the Teleport application in Visual Studio Code. You'll learn how to define a Q# operation, call the Q# operation using C#, and how to execute your quantum algorithm.
- Managing quantum machines and drivers describes how quantum algorithms are executed, what quantum machines are available, and how to write a non-Q# driver for the quantum program.
- Quantum development techniques specifies the core concepts used to create quantum programs in Q#. Topics include file structures, operations and functions, working with qubits, and some advanced topics.
- Q# standard libraries describes the operations and functions that support both the classical language control requirement and the Q# quantum algorithms. Topics include control flow, data structures, error correction, testing, and debugging.
- Q# language reference details the Q# language including the type model, expressions, statements, and compiler use.
- For more information contains specially selected references to deep coverage of quantum computing topics.
- Quantum trace simulator reference contains reference material about trace simulator entities and exceptions.
- Q# library reference contains reference information about library entities by namespace.
VS Code collects usage data and sends it to Microsoft to help improve our products and services. Read our Privacy Statement to learn more. If you don't wish to send usage data to Microsoft, you can set the
telemetry.enableTelemetry setting to
false. Learn more in our FAQ.