What is Q# written in?

Programming language.

Programming language Year 2017 Paradigm functional, imperative Typing static
The Q# compiler is written in C# (documented).

Quick Facts

Designed by
Microsoft Research
Developer
Microsoft Quantum Architectures and Computation group and Microsoft
First released
2017
Typing
static
License
MIT License
Filename extension
.qs

About Q#

Q# is a programming language. It is a statically typed and garbage-collected language that is just-in-time compiled to machine code as it runs. It supports functional and imperative programming. A just-in-time (JIT) compiler translates hot code paths to native machine code while the program runs, trading a slower start for faster steady-state speed.

Q# first appeared in 2017 and was designed by Microsoft Research at Microsoft. Q# is now used mainly in specialized niches and by dedicated communities.

How Q# is implemented

In the Language Lineage dataset, its compiler is written in C#.

Q# in the language family tree

Q# drew on ideas from C# and F#.

Sources: Wikipedia · Wikidata · Official site

Relationship Graph

All directly connected languages. Click any node to navigate to its page.

Compiler Implementation

LanguageConfidenceNotesSource
C# 85% The Q# compiler is implemented on .NET in C#. Source

Influenced By

Frequently Asked Questions

What language is Q# written in?
Q# is primarily implemented in C#. See the implementation section above for details and source references.
What languages influenced Q#?
Q# was influenced by C#, F# among others. See the influence section above for the full list.
When was Q# first released?
Q# was first released in 2017. It was designed by Microsoft Research.

Evidence Sources

Discover More

Explore Q# in Graph →