Microsoft taps LLVM for quantum computing

Microsoft has released an intermediate illustration for quantum plans, named QIR (Quantum Intermediate Representation), to provide as a typical interface amongst programming languages for gate-based mostly quantum computing and target quantum computation platforms.

Launched September 23 and based mostly on the LLVM intermediate language, QIR specifies regulations to stand for quantum constructs in LLVM. No extensions or modifications to LLVM are vital.

QIR supports Microsoft’s open supply Q# language for creating quantum algorithms but is not precise to Q#. Any language for gate-based mostly quantum computing can be represented. QIR also is components-agnostic, not specifying a quantum instruction or gate established.

1 software cited as getting enabled by QIR will involve making use of the LLVM-based mostly Clang compiler to compile QIR into executable machine code for a classical target, supplying a route to create a simulator in C or C++ by applying quantum instruction established features.

Microsoft has made the draft QIR specification accessible in the new Q# language repository on GitHub. The business has also rolled out a compiler extension that generates QIR from Q# it can be located in the feature/QIR branch of the Q# compiler repository. Directions for making use of the extension have been posted, as nicely.

Microsoft mentioned that as quantum computing capabilities experienced, most big-scale quantum programs will choose benefit of each classical and quantum means performing collectively. LLVM offers QIR capabilities for describing loaded classical computation built-in with quantum computation. LLVM also supports integration with a lot of classical languages and applications now supported by the LLVM device chain. 

Copyright © 2020 IDG Communications, Inc.