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. ...