Quantum Computing: Entry into Microsoft’s Quantum Language Q #

Quantum Computing: Entry into Microsoft's Quantum Language Q #

Table of Contents

Microsoft supplies the Q # programming language as part of its Quantum Development Kit. It is available as open source software – contributions to expansion and improvement are welcome. A Q # quantum program is made up of subroutines that perform calculations by interacting with a quantum computer. It cannot model the quantum state directly, but describes how a classic computer interacts with the qubits of a quantum computer. This allows developers to write programs that are agnostic to the quantum state on the computer, as the computer can have different interpretations depending on the machine in question.

Therefore, with Q # you cannot see the status or the properties of a qubit directly, but only with operations such as Measure() initiate a measurement in order to extract classical information such as the state | 0⟩ and | 1⟩ from a qubit. Intrinsic operations like X() and H() define the direct actions with a qubit. Your implementation does not provide Q #, but the respective target quantum computer. So Q # developers do not know what exactly is happening physically on the target machine during an operation.

On the one hand, a Q # program can be executed directly as a stand-alone application, with Q # as the only language. This is done either via the command line or in a Q # enabled Jupyter notebook. On the other hand, Q # programs can be called by a host program written in Python or a .NET language, to which they return results for further processing.

  • Access to all heise + content
  • exclusive tests, advice & background: independent, critically well-founded
  • Read c’t, iX, MIT Technology Review, Mac & i, Make, c’t photography directly in your browser
  • register once – read on all devices – can be canceled monthly
  • first month free, thereafter € 12.95 per month
  • Weekly newsletter with personal reading recommendations from the editor-in-chief

Start FREE month

Start your FREE month now

Already subscribed to heise +?

Sign up and read

Register now and read articles right away

More information about heise +

Article Source