File:General QFT.svg
From testwiki
Jump to navigation
Jump to search
Original file (SVG file, nominally 734 × 180 pixels, file size: 54 KB)
Contents
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
| DescriptionGeneral QFT.svg |
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:
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/Time | Thumbnail | Dimensions | User | Comment | |
|---|---|---|---|---|---|
| current | 22:11, 11 December 2025 | 734 × 180 (54 KB) | wikimediacommons>Sjoerd Terlouw | Uploaded while editing "Quantum Fourier transform" on en.wikipedia.org |
File usage
There are no pages that use this file.
Retrieved from "https://en.wiki.beta.math.wmflabs.org/wiki/File:General_QFT.svg"