© Johnny Hooyberghs 2022
J. HooyberghsIntroducing Microsoft Quantum Computing for Developershttps://doi.org/10.1007/978-1-4842-7246-6_7

7. Testing and Debugging Your Quantum Programs

Johnny Hooyberghs1  
(1)
Willebroek, Belgium
 

Writing your quantum programs should not be a whole lot different from writing your classical programs. To be able to check that your quantum programs are running as intended, you are able to watch their behavior and check their inner workings.

This chapter will guide you through some testing and debugging features, provided by the Microsoft Quantum Development Kit.

Simulators

When you are running your quantum applications on your local PC and not on an actual quantum computer, you are running them in a simulated environment. ...

Get Introducing Microsoft Quantum Computing for Developers: Using the Quantum Development Kit and Q# 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.