Fitxer:Quantum Fourier transform on n qubits.svg

Fitxer original(fitxer SVG, nominalment 563 × 200 píxels, mida del fitxer: 76 Ko)

Descripció a Commons

Resum

Descripció
English: Quantum Fourier transform on n qubits.
Font Created in LaTeX using Q-circuit. Source code below.
Autor Self
\documentclass[10pt]{article}

\usepackage[hang,small,bf]{caption}    % fancy captions

\usepackage{tikz}	
\usetikzlibrary{backgrounds,fit,decorations.pathreplacing}  % TikZ libraries

\newcommand{\ket}[1]{\ensuremath{\left|#1\right\rangle}} % Dirac Kets
\begin{document}

\begin{figure}[h]  
\centerline{     
\begin{tikzpicture}[thick]     
%     
% `operator' will only be used by Hadamard (H) gates here.     
% `phase' is used for controlled phase gates (dots).     
% `surround' is used for the background box.     
\tikzstyle{operator} = [draw,fill=white,minimum size=1.5em]      
\tikzstyle{phase} = [fill,shape=circle,minimum size=5pt,inner sep=0pt]  
%\tikzstyle{surround} = [fill=red!10,thick,draw=white,rounded corners=2mm] 	
\tikzstyle{phase1} = [draw=black,shape=circle,minimum size=8pt,inner sep=0pt]  
\tikzstyle{phase3} = [fill,shape=circle,minimum size=0pt,inner sep=0pt]  
%
% columna     
\node at (-2,0) (q1) {\ket{x_{1}}};     
\node at (-2,-1) (q2) {\ket{x_{2}}}; 
\node at (-2,-2) (q3) {\vdots}; 
\node at (-2,-3) (q5) {\ket{x_{n-1}}};     
\node at (-2,-4) (q6) {\ket{x_{n}}}; 
%        
% Column 1 
\node[operator] at (-1,0) (q7) {H} edge [-] (q1);     
% Columna 2
\node at (0,-2) (q4) {\vdots};
\node[operator] at (0,0) (q8) {$R_{2}$} edge [-] (q7);
\node[phase] at (0,-1) (q9) {} edge [-] (q8) edge [-] (q2);
%
%Columna 3
\node at (1,0) (q10) {\dots} edge [-] (q8); 
\node at (1,-1) (q11) {\dots} edge [-] (q9); 
%
%          
%    
% Column 4  
\node[operator] at (2,0) (q12) {$R_{n-1}$} edge [-] (q10);
\node[phase] at (2,-3) (q13) {} edge [-] (q12) edge [-] (q5);
\node[phase3] at (2,-1) (q14) {} edge [-] (q11);  
%Columna 5
\node[operator] at (3.2,0) (q15) {$R_{n}$} edge [-] (q12);
\node[phase] at (3.2,-4) (q16) {} edge [-] (q15) edge [-] (q6);
%Columna 6
\node[operator] at (4,-1) (q17) {H} edge [-] (q11);
%columna 7
\node at (5,-1) (q18) {\dots} edge [-] (q17); 
%columna 8
\node[operator] at (6,-1) (q19) {$R_{n-2}$} edge [-] (q18);
\node[phase] at (6,-3) (q20) {} edge [-] (q19) edge [-] (q13);
%columna 9/10
\node[operator] at (7.5,-1) (q21) {$R_{n-1}$} edge [-] (q19);
\node[phase] at (7.5,-4) (q22) {} edge [-] (q21) edge [-] (q16);
%columna 11
\node at (9,-1) (q23) {\dots} edge [-] (q21); 
\node at (9,-3) (q24) {\dots} edge [-] (q20);
\node at (9,-4) (q25) {\dots} edge [-] (q22);
%columna 12
\node[operator] at (10,-3) (q26) {H} edge [-] (q24);
% columna 13
\node[operator] at (11,-3) (q27) {$R_{2}$} edge [-] (q26);
\node[phase] at (11,-4) (q28) {} edge [-] (q27) edge [-] (q25);
%columna 14
\node[operator] at (12,-4) (q29) {H} edge [-] (q28);
%columna 15
\node at (14.2,0) (q31) {\ket{0}+$e^{2\pi i0.x_{1}x_{2}..x_{n}}$\ket{1}} edge [-] (q15);     
\node at (14.2,-1) (q32) {\ket{0}+$e^{2\pi i0.x_{2}..x_{n}}$\ket{1}} edge [-] (q23); 
\node at (14.2,-2) (q33) {\vdots}; 
\node at (14.2,-3) (q35) {\ket{0}+$e^{2\pi i0.x_{n-1}..x_{n}}$\ket{1}} edge [-] (q27);     
\node at (14.2,-4) (q36) {\ket{0}+$e^{2\pi i0.x_{n}}$\ket{1}} edge [-] (q29);
%
\end{tikzpicture}  
} 
\end{figure}
\end{document}

Llicència

Jo, el titular dels drets d'autor d'aquest treball, el public sota les següents llicències:
w:ca:Creative Commons
reconeixement compartir igual
Aquest fitxer està subjecte a la llicència de Creative Commons Reconeixement i Compartir Igual 3.0 No adaptada.
Sou lliure de:
  • compartir – copiar, distribuir i comunicar públicament l'obra
  • adaptar – fer-ne obres derivades
Amb les condicions següents:
  • reconeixement – Heu de donar la informació adequada sobre l'autor, proporcionar un enllaç a la llicència i indicar si s'han realitzat canvis. Podeu fer-ho amb qualsevol mitjà raonable, però de cap manera no suggereixi que l'autor us dóna suport o aprova l'ús que en feu.
  • compartir igual – Si modifiqueu, transformeu, o generareu amb el material, haureu de distribuir les vostres contribucions sota una llicència similar o una de compatible com l'original
w:ca:Creative Commons
reconeixement
Aquest fitxer està subjecte a la llicència de Creative Commons Reconeixement 3.0 No adaptada.
Sou lliure de:
  • compartir – copiar, distribuir i comunicar públicament l'obra
  • adaptar – fer-ne obres derivades
Amb les condicions següents:
  • reconeixement – Heu de donar la informació adequada sobre l'autor, proporcionar un enllaç a la llicència i indicar si s'han realitzat canvis. Podeu fer-ho amb qualsevol mitjà raonable, però de cap manera no suggereixi que l'autor us dóna suport o aprova l'ús que en feu.
Podeu seleccionar la llicència que vulgueu.

Llegendes

Afegeix una explicació d'una línia del que representa aquest fitxer

Elements representats en aquest fitxer

representa l'entitat

Historial del fitxer

Cliqueu una data/hora per veure el fitxer tal com era aleshores.

Data/horaMiniaturaDimensionsUsuari/aComentari
actual23:53, 28 març 2011Miniatura per a la versió del 23:53, 28 març 2011563 × 200 (76 Ko)Bender2k14Using the undocumented pureghost command of Q-circuit, removed an unnecessary wire.
06:10, 11 març 2011Miniatura per a la versió del 06:10, 11 març 2011562 × 200 (84 Ko)Bender2k14{{Information |Description ={{en|1=Quantum Fourier transform on ''n'' qubits.}} |Source =Created in LaTeX using [http://www.cquic.org/Qcircuit/ Q-circuit]. Source code below. |Author =Self |Date = |Permission = |other_vers

La pàgina següent utilitza aquest fitxer:

Ús global del fitxer

Utilització d'aquest fitxer en altres wikis: