File:General QFT.svg

From testwiki
Jump to navigation Jump to search
    Original file (SVG file, nominally 734 × 180 pixels, file size: 54 KB)

    This file is from Wikimedia Commons and may be used by other projects. The description on its file description page there is shown below.

    Summary

    Description
    English: Quantum circuit for Quantum-Fourier-Transform with n qubits using fractional binary notation
    Date
    Source Own work
    Author Sjoerd Terlouw
    \documentclass[svg]{standalone}
    \usepackage{quantikz}
    \begin{document}
         \begin{quantikz}[column sep=0.3cm]
              \lstick{\ket{x_1}}       & \gate{H}     & \gate{R_2} &&\setwiretype{n} \dots &&  \setwiretype{q}  & \gate{R_{n-1}} & \gate{R_n}    &           &             &&\setwiretype{n} \dots &&  \setwiretype{q} &              &                  &              &              & \swap{4}     &              & \rstick{$\ket{0}+e^{2\pi i[0.x_{n}]}\ket{1}$}\\
              \lstick{\ket{x_2}}       &              & \ctrl{-1}  &&\setwiretype{n} \dots &&  \setwiretype{q}  &                &               & \gate{H}  & \gate{R_2}  &&\setwiretype{n} \dots &&  \setwiretype{q} &\gate{R_{n-1}}&                  &              &              &              & \swap{2}     & \rstick{$\ket{0}+e^{2\pi i[0.x_{n-1}x_{n}]}\ket{1}$} \\[-0.4 cm]
              \setwiretype{n}          & \vdots       & \vdots     &&                      &&                   &                &               &           & \ctrl{-1}   && \vdots               &&                  &              &                  &              &              &              &              & \vdots \\[-0.3 cm]  
              \lstick{\ket{x_{n-1}}}   &              &            &&                      &&                   & \ctrl{-3}      &               &           &             &&\setwiretype{n} \dots &&  \setwiretype{q} &              & \gate{H}         & \gate{R_2}   &              &              & \swap{-2}    & \rstick{$\ket{0}+e^{2\pi i[0.x_{2}\dots x_{n}]}\ket{1}$}\\
              \lstick{\ket{x_n}}       &              &            &&                      &&                   &                & \ctrl{-4}     &           &             &&\setwiretype{n} \dots &&  \setwiretype{q} & \ctrl{-3}    &                  & \ctrl{-1}     & \gate{H}    & \swap{-4}    &              & \rstick{$\ket{0}+e^{2\pi i[0.x_{1}\dots x_{n}]}\ket{1}$}\\
        \end{quantikz}
    \end{document}
    

    Licensing

    I, the copyright holder of this work, hereby publish it under the following license:
    w:en:Creative Commons
    attribution share alike
    This file is licensed under the Creative Commons Attribution-Share Alike 4.0 International license.
    You are free:
    • to share – to copy, distribute and transmit the work
    • to remix – to adapt the work
    Under the following conditions:
    • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
    • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.

    Captions

    Add a one-line explanation of what this file represents

    Items portrayed in this file

    depicts

    55,622 byte

    image/svg+xml

    a2065578b518519fb27357bda79742c32e1c70fe

    File history

    Click on a date/time to view the file as it appeared at that time.

    Date/TimeThumbnailDimensionsUserComment
    current22:11, 11 December 2025Thumbnail for version as of 22:11, 11 December 2025734 × 180 (54 KB)wikimediacommons>Sjoerd TerlouwUploaded while editing "Quantum Fourier transform" on en.wikipedia.org

    There are no pages that use this file.