Q-Sharp

from Wikipedia, the free encyclopedia
Q #
Paradigms : multiparadigmatic: quantum , imperative , functional
Publishing year: 2017
Designer: Microsoft Research (quantum architectures and computation group; QuArC)
Developer: Microsoft
Current  version 99045   (November 11, 2019)
Typing : static , strong
Influenced by: C # , F #
License : MIT license
Microsoft Quantum ( GitHub )

Q # ( English Q sharp [ quːˈʃɑːp ]) is a domain-specific programming language from Microsoft that is used to express quantum algorithms . It was originally released to the public by Microsoft as part of the Quantum Development Kit .

Q # is used to write subroutines that run on a complementary quantum processor. A classic host program and a computer are used for control. Until quantum processors are generally available, Q # subroutines will be executed on a simulator.

Q # provides some primitive types, and there are two ways ( arrays and tuples ) to create new structured types. A simple procedural model for writing programs with loops and If/ Thenstatements is supported. The top-level constructs in Q # are user-defined types, operations, and functions.

Individual evidence

  1. Release 99045 . November 11, 2019 (accessed November 12, 2019).
  2. Q # programming language. Microsoft, accessed December 11, 2017 .