Chapter 16

Working with Q#

Chapter Objectives

After reading this chapter and completing the review questions, you will be able to do the following:

  • Understand the fundamentals of Q#

  • Write Q# programs

  • Create quantum simulations with Q#

Microsoft developed Q# as a relatively easy-to-use quantum programming language. Microsoft first announced Q# in September 2018, and by December 2018 it was released. Q# is based on C# for syntax structure but includes the ability to create quantum logic gates as well as to simulate entanglement.

If you have no experience in programming, do not be overly concerned. In the section “Getting Started with Q#,” we will approach a basic Q# program assuming you have no experience programming at all. There is also a ...

Get Quantum Computing Fundamentals now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.