  This paper introduces a process framework for debugging quantum circuits,
focusing on three distinct types of circuit blocks: Amplitude Permutation,
Phase Modulation, and Amplitude Redistribution circuit blocks. Our research
addresses the critical need for specialized debugging approaches tailored to
the unique properties of each circuit type. For Amplitude Permutation Circuits,
we propose techniques to correct amplitude permutations mimicking classical
operations. In phase modulation circuits, our proposed strategy targets the
precise calibration of phase alterations essential for quantum computations.
The most complex Amplitude Redistribution Circuits demand advanced methods to
adjust probability amplitudes. This research bridges a vital gap in current
methodologies and lays the groundwork for future advancements in quantum
circuit debugging. Our contributions are twofold: We present a comprehensive
unit testing tool (Cirquo) and debugging approaches tailored to the unique
demands of quantum computing, and we provide empirical evidence of its
effectiveness in optimizing quantum circuit performance. This work is a crucial
step toward realizing robust quantum computing systems and their applications
in various domains.
