Popis: |
In this paper, we present a general quantum computation compiler, which maps any given quantum algorithm to a quantum circuit consisting a sequential set of elementary quantum logic gates based on recursive cosine-sine decomposition. The resulting quantum circuit diagram is provided by directly linking the package output written in LaTex to Qcircuit.tex $<$http://www.cquic.org/Qcircuit$>$. We illustrate the use of the Qcompiler package through various examples with full details of the derived quantum circuits. Besides its generality and simplicity, Qcompiler produces quantum circuits which reflect the symmetry of the systems under study. |