All Projects → microsoft → Qsharp Runtime

microsoft / Qsharp Runtime

Licence: mit
Runtime components for Q#

Labels

Projects that are alternatives of or similar to Qsharp Runtime

Quantum Benchmarks
benchmarking quantum circuit emulators for your daily research usage
Stars: ✭ 70 (-61.11%)
Mutual labels:  quantum
Qmlt
The Quantum Machine Learning Toolbox (QMLT) is a Strawberry Fields application that simplifies the optimization of variational quantum circuits (also known as parametrized quantum circuits).
Stars: ✭ 106 (-41.11%)
Mutual labels:  quantum
Quantum Core
⌚ Cron-like job scheduler for Elixir
Stars: ✭ 1,905 (+958.33%)
Mutual labels:  quantum
Pyepr
Powerful, automated analysis and design of quantum microwave chips & devices [Energy-Participation Ratio and more]
Stars: ✭ 81 (-55%)
Mutual labels:  quantum
Q
Quantum Computation Simulator written in golang
Stars: ✭ 99 (-45%)
Mutual labels:  quantum
Teach Me Quantum
⚛ 10 week Practical Course on Quantum Information Science and Quantum Computing - with Qiskit and IBMQX
Stars: ✭ 118 (-34.44%)
Mutual labels:  quantum
Java Trader
Java Future trader CTP FEMAS XTP
Stars: ✭ 54 (-70%)
Mutual labels:  quantum
Q.js
Quantum computing in your browser.
Stars: ✭ 158 (-12.22%)
Mutual labels:  quantum
Awesome Quantum Computing
A curated list of awesome quantum computing learning and developing resources.
Stars: ✭ 1,350 (+650%)
Mutual labels:  quantum
Awesome Quantum Machine Learning
Here you can get all the Quantum Machine learning Basics, Algorithms ,Study Materials ,Projects and the descriptions of the projects around the web
Stars: ✭ 1,940 (+977.78%)
Mutual labels:  quantum
Quantum Learning
This repository contains the source code used to produce the results presented in the paper "Machine learning method for state preparation and gate synthesis on photonic quantum computers".
Stars: ✭ 89 (-50.56%)
Mutual labels:  quantum
Awesome Low Code
Awesome Low-Code Application Platforms | 全球低代码平台开发资源大全
Stars: ✭ 90 (-50%)
Mutual labels:  quantum
Quantum Nc
Microsoft Quantum Computing Libraries for noncommercial use
Stars: ✭ 126 (-30%)
Mutual labels:  quantum
Qrack
Comprehensive, GPU accelerated framework for developing universal virtual quantum processors
Stars: ✭ 79 (-56.11%)
Mutual labels:  quantum
Learnquantum
Repo of resources to help learn about quantum computing.
Stars: ✭ 143 (-20.56%)
Mutual labels:  quantum
Qpga
Simulations of photonic quantum programmable gate arrays
Stars: ✭ 68 (-62.22%)
Mutual labels:  quantum
Enterprise
🦄 The Enterprise™ programming language
Stars: ✭ 1,493 (+729.44%)
Mutual labels:  quantum
Quimb
A python library for quantum information and many-body calculations including tensor networks.
Stars: ✭ 170 (-5.56%)
Mutual labels:  quantum
Quantum Circuit
Quantum Circuit Simulator implemented in JavaScript
Stars: ✭ 157 (-12.78%)
Mutual labels:  quantum
Qpanda 2
QPanda 2 is an open source quantum computing framework developed by OriginQC that can be used to build, run, and optimize quantum algorithms.
Stars: ✭ 128 (-28.89%)
Mutual labels:  quantum

Microsoft Quantum Development Kit: Q# runtime

Welcome to the Microsoft Quantum Development Kit!

This repository contains the runtime components for the Quantum Development Kit. It consists of the libraries and packages needed to create and simulate quantum applications using Q#.

  • Azure/: Source for client package to create and manage jobs in Azure Quantum.
  • Simulation/: Source for Q# simulation. Includes code generation, full-state and other simulators.
  • xUnit/: Source for the xUnit's Q# test-case discoverer.

New to Quantum?

See the introduction to quantum computing provided with the Quantum Development Kit.

Installing the Quantum Development Kit

If you're looking to use Q# to write quantum applications, please see the instructions on how to get started with using the Quantum Development Kit including the Q# compiler, language server, and development environment extensions.

Please see the installation guide for further information on how to get started using the Quantum Development Kit to develop quantum applications. You may also visit our Quantum repository, which offers a wide variety of samples on how to write quantum based programs.

Building from Source

Build Status

Note that when building from source, this repository is configured so that .NET Core will automatically look at the Quantum Development Kit prerelease feed in addition to any other feeds you may have configured.

Building QIR Runtime isn't enabled by default yet. Please see its readme for details.

Windows

To build on Windows:

  1. Install the pre-reqs:
    • Install CMake
    • Install Visual Studio 2019 (version 16.3 or later). Make sure you install the following workloads:
      • Desktop development with C++
      • From the Individual Components tab in VS Installer add Spectre-mitigated libs that match your C++ build tools version
      • .NET Core 3 cross-platform development
  2. Run bootstrap.ps1 from PowerShell
    • pre-req (in PowerShell): Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
    • The script might install additional tools (a specific compiler, build tools, etc)
    • Then it builds release flavor of the native (C++) full-state simulator and debug flavor of the Simulation solution.
    • You only need to run it once.
  3. Open and build the Simulation.sln solution in Visual Studio.

The Simulation.sln solution does not include the full-state quantum simulator. To change it, you can open the quantum-simulator.sln solution created during bootstrap in the src\Simulation\Native\build. To integrate your changes with the rest of the simulation components, you must manually build it.

macOS/Linux

To build on other platforms:

  1. Install the pre-reqs:
  2. Run bootstrap.ps1
    • The script might install additional tools (a specific compiler, build tools, etc)
    • Then it builds release flavor of the native (C++) full-state simulator and debug flavor of the Simulation solution.
    • You only need to run it once.
  3. From the command line, run:
    • dotnet build Simulation.sln

The Simulation.sln solution does not include the full-state simulator. To integrate any changes with the rest of the simulation components, you need to manually build it using make in the src\Simulation\Native\build folder.

Testing

All unit tests are part of the Simulation.sln solution. To run the tests:

  • From Visual Studio:
    • Open Test Explorer by choosing Test > Windows > Test Explorer from the top menu bar.
    • Run your unit tests by clicking Run All.
  • From the command line, run:
    • dotnet test Simulation.sln

Feedback

If you have feedback about the Q# simulators or any other runtime component, please let us know by filing a new issue! If you have feedback about some other part of the Microsoft Quantum Development Kit, please see the contribution guide for more information.

Reporting Security Issues

Security issues and bugs should be reported privately, via email, to the Microsoft Security Response Center (MSRC) at [email protected]. You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message. Further information, including the MSRC PGP key, can be found in the Security TechCenter.

Legal and Licensing

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.

When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

For more details, please see CONTRIBUTING.md, or the contribution guide.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].