SlideShare a Scribd company logo
1 of 9
量子フーリエ
変換
磐田南高校 理数科 2年 田野拓実
量子フーリエ変換とは
量子回路上で離散フーリエ変換、つまり基底変換を行う
|𝑥⟩ 𝑥 =
1
𝑁 𝑦=0
𝑁−1
𝜔𝑁
𝑥𝑦
|𝑦⟩
計算基底 フーリエ基底
例 𝑄𝐹𝑇 00 = 00 =
1
2
(𝜔𝑁
0
|0⟩ + 𝜔𝑁
0
|1⟩ + 𝜔𝑁
0
|2⟩ + 𝜔𝑁
0
|3⟩)
𝑄𝐹𝑇 01 = 01 =
1
2
(𝜔𝑁
0
|0⟩ + 𝜔𝑁
1
|1⟩ + 𝜔𝑁
2
|2⟩ + 𝜔𝑁
3
|3⟩)
𝑄𝐹𝑇 10 = 10 =
1
2
(𝜔𝑁
0
|0⟩ + 𝜔𝑁
2
|1⟩ + 𝜔𝑁
4
|2⟩ + 𝜔𝑁
6
|3⟩)
𝑄𝐹𝑇 11 = 11 =
1
2
(𝜔𝑁
0
|0⟩ + 𝜔𝑁
3
|1⟩ + 𝜔𝑁
6
|2⟩ + 𝜔𝑁
9
|3⟩)
(𝑁 = 4)
𝑄𝐹𝑇
ただし𝜔𝑁
𝑥𝑦
= 𝑒
2𝜋𝑖𝑥𝑦
𝑁
𝑦
2𝑛 = (𝑦1× 2n−1 + 𝑦2 × 2𝑛−2+….+𝑦𝑛−1 × 2 + 𝑦𝑛)/2𝑛
= 𝑦1/2 + 𝑦2/22
+ ⋯ + 𝑦𝑛−1/2𝑛−1
+ 𝑦𝑛/2𝑛
= 𝑘=1
𝑛
(
𝑦𝑘
2𝑘)
𝑒
2𝜋𝑖 𝑘=1
𝑛 𝑦𝑘
2𝑘 𝑥
= 𝑒2𝜋𝑖 𝑦1/2+𝑦2/22+⋯+𝑦𝑛−1/2𝑛−1+𝑦𝑛/2𝑛 𝑥
= 𝑒
2𝜋𝑖𝑥𝑦1
2 × 𝑒
2𝜋𝑖𝑥𝑦2
22
× ⋯ × 𝑒
2𝜋𝑖𝑥𝑦𝑛
2𝑛
=
𝑘=1
𝑛
𝑒
2𝜋𝑖𝑥𝑦𝑘/2k
𝑸𝑭𝑻𝑵(𝑵 = 𝟐𝒏
)が|𝒙⟩に作用するときの変換について
𝑵 = 𝟐(𝒏 = 𝟏)、つまり1量子ビットの時
𝑄𝐹𝑇2 =
1
2
0 + 𝑒
2𝜋𝑖
2
𝑥
|1⟩ 𝑥 = 0のとき
1
2
0 + |1⟩ 𝑥 = 1のとき
1
2
0 − |1⟩
よってアダマールゲートで表せる。
回路は である
(n量子ビットの場合は回路の量子状態を 𝑞0 𝑞1 … |𝑞𝑛⟩とかく。)
よって
𝑄𝐹𝑇𝑁 =
1
𝑁
0 + 𝑒
2𝜋𝑖
2
𝑥
|1⟩ ⊗ 0 + 𝑒
2𝜋𝑖
22 𝑥
|1⟩ ⊗ ⋯ ⊗ 0 + 𝑒
2𝜋𝑖
2𝑛 𝑥
|1⟩
|𝜓1⟩ = 𝑞0 0 + 𝑒2𝜋𝑖
𝑞1
2 |1⟩
|𝜓2⟩ = 𝑞0 0 + 𝑒2𝜋𝑖
𝑞0
4 𝑒2𝜋𝑖
𝑞1
2 |1⟩
|𝜓3⟩ = 0 + 𝑒2𝜋𝑖
𝑞0
2 |1⟩ 0 + 𝑒2𝜋𝑖
𝑞0
4 𝑒2𝜋𝑖
𝑞1
2 |1⟩ = 0 + 𝑒2𝜋𝑖
𝑥
2|1⟩ 0 + 𝑒2𝜋𝑖
𝑥
4|1⟩
|𝜓1⟩ |𝜓2⟩ |𝜓3⟩
(𝑥 = 2𝑞1 + 𝑞0を用いた)
2量子ビットの場合 𝑥 = 2𝑞1 + 𝑞0と2進数表示を定義する
|𝜓1⟩ |𝜓2⟩ |𝜓3⟩ |𝜓4⟩ |𝜓5⟩ |𝜓6⟩
𝜓1 = |𝑞0⟩|𝑞1⟩(|0⟩ + 𝑒2𝜋𝑖
𝑞2
2 |1⟩)
𝜓2 = 𝑞0 |𝑞1⟩(|0⟩ + 𝑒2𝜋𝑖
𝑞1
4 𝑒2𝜋𝑖
𝑞2
2 |1⟩)
𝜓3 = 𝑞0 |𝑞1⟩(|0⟩ + 𝑒2𝜋𝑖(
𝑞0
8
+
𝑞1
4
+
𝑞2
2
)
|1⟩)
𝜓4 = 𝑞0 0 + 𝑒2𝜋𝑖
𝑞1
2 |1⟩ (|0⟩ + 𝑒2𝜋𝑖(
𝑞0
8
+
𝑞1
4
+
𝑞2
2
)
|1⟩)
𝜓5 = 𝑞0 0 + 𝑒2𝜋𝑖(
𝑞1
2 +
𝑞0
4 )
|1⟩ (|0⟩ + 𝑒2𝜋𝑖(
𝑞0
8 +
𝑞1
4 +
𝑞2
2 )
|1⟩)
𝜓6 = 0 + 𝑒2𝜋𝑖
𝑞0
2 |1⟩ 0 + 𝑒2𝜋𝑖(
𝑞1
2
+
𝑞0
4
)
|1⟩ (|0⟩ + 𝑒2𝜋𝑖(
𝑞0
8
+
𝑞1
4
+
𝑞2
2
)
|1⟩)
= 0 + 𝑒2𝜋𝑖
𝑥
2|1⟩ 0 + 𝑒
2𝜋𝑖(
𝑥
22)
|1⟩ (|0⟩ + 𝑒
2𝜋𝑖
𝑥
23
|1⟩)
3量子ビットの場合 𝑥 = 22
𝑞2 + 2𝑞1 + 𝑞0と2進数表示を定義する
N量子ビットの場合
𝑄𝐹𝑇𝑁 =
1
𝑁
0 + 𝑒
2𝜋𝑖
2
𝑥
|1⟩ ⊗ 0 + 𝑒
2𝜋𝑖
22 𝑥
|1⟩ ⊗ ⋯ ⊗ 0 + 𝑒
2𝜋𝑖
2𝑛−1𝑥
|1⟩ ⊗ 0 + 𝑒
2𝜋𝑖
2𝑛 𝑥
|1⟩
最終状態は
qiskit textbookより引用
逆の確認
においてすべての量子ビットが 0 と|1⟩の等しい重ね合わせ状態にある。
そのため実際には測定結果において0と1が均一に出てきてしまい、
単純な測定では𝑄𝐹𝑇の動作が確認できない。
そのため|𝑥⟩に逆𝑄𝐹𝑇を実行し|𝑥⟩になることを確かめ、𝑄𝐹𝑇の動作が正しいことを確認する。
3量子ビットで𝑥 = 4の場合
まず|4⟩ = 0 + 𝑒4𝜋𝑖
|1⟩ 0 + 𝑒2𝜋𝑖
|1⟩ (|0⟩ + 𝑒𝜋𝑖
|1⟩)の状態を作る
𝑄𝐹𝑇𝑁 =
1
𝑁
0 + 𝑒
2𝜋𝑖
2
𝑥
|1⟩ ⊗ 0 + 𝑒
2𝜋𝑖
22 𝑥
|1⟩ ⊗ ⋯ ⊗ 0 + 𝑒
2𝜋𝑖
2𝑛−1𝑥
|1⟩ ⊗ 0 + 𝑒
2𝜋𝑖
2𝑛 𝑥
|1⟩
|4⟩に逆𝑄𝐹𝑇の回路をかけることで
回路が完成する。
実際に測定してみると100となる。10進数に変換させると
4となり確かに𝑄𝐹𝑇 4 = |4⟩となっていることがわかる。
逆𝑄𝐹𝑇の回路

More Related Content

What's hot

What's hot (19)

Orthogonal Vector Spaces
Orthogonal Vector Spaces Orthogonal Vector Spaces
Orthogonal Vector Spaces
 
Inner product spaces
Inner product spacesInner product spaces
Inner product spaces
 
ORTHOGONAL, ORTHONORMAL VECTOR, GRAM SCHMIDT PROCESS, ORTHOGONALLY DIAGONALI...
ORTHOGONAL, ORTHONORMAL  VECTOR, GRAM SCHMIDT PROCESS, ORTHOGONALLY DIAGONALI...ORTHOGONAL, ORTHONORMAL  VECTOR, GRAM SCHMIDT PROCESS, ORTHOGONALLY DIAGONALI...
ORTHOGONAL, ORTHONORMAL VECTOR, GRAM SCHMIDT PROCESS, ORTHOGONALLY DIAGONALI...
 
Analysis of a self-sustained vibration of mass-spring oscillator on moving belt
Analysis of a self-sustained vibration of mass-spring oscillator on moving beltAnalysis of a self-sustained vibration of mass-spring oscillator on moving belt
Analysis of a self-sustained vibration of mass-spring oscillator on moving belt
 
Differential Calculus- differentiation
Differential Calculus- differentiationDifferential Calculus- differentiation
Differential Calculus- differentiation
 
Orthogonal porjection in statistics
Orthogonal porjection in statisticsOrthogonal porjection in statistics
Orthogonal porjection in statistics
 
A Non Local Boundary Value Problem with Integral Boundary Condition
A Non Local Boundary Value Problem with Integral Boundary ConditionA Non Local Boundary Value Problem with Integral Boundary Condition
A Non Local Boundary Value Problem with Integral Boundary Condition
 
B.Tech-II_Unit-IV
B.Tech-II_Unit-IVB.Tech-II_Unit-IV
B.Tech-II_Unit-IV
 
PROBABILITY DISTRIBUTION OF SUM OF TWO CONTINUOUS VARIABLES AND CONVOLUTION
PROBABILITY DISTRIBUTION OF SUM OF TWO CONTINUOUS VARIABLES AND CONVOLUTIONPROBABILITY DISTRIBUTION OF SUM OF TWO CONTINUOUS VARIABLES AND CONVOLUTION
PROBABILITY DISTRIBUTION OF SUM OF TWO CONTINUOUS VARIABLES AND CONVOLUTION
 
Study Material Numerical Differentiation and Integration
Study Material Numerical Differentiation and IntegrationStudy Material Numerical Differentiation and Integration
Study Material Numerical Differentiation and Integration
 
A0240103
A0240103A0240103
A0240103
 
Linear regression, costs & gradient descent
Linear regression, costs & gradient descentLinear regression, costs & gradient descent
Linear regression, costs & gradient descent
 
3 capitulo-iii-matriz-asociada-sem-11-t-l-a (1)
3 capitulo-iii-matriz-asociada-sem-11-t-l-a (1)3 capitulo-iii-matriz-asociada-sem-11-t-l-a (1)
3 capitulo-iii-matriz-asociada-sem-11-t-l-a (1)
 
Skewed plate problem
Skewed plate problemSkewed plate problem
Skewed plate problem
 
Periodic Solutions for Nonlinear Systems of Integro-Differential Equations of...
Periodic Solutions for Nonlinear Systems of Integro-Differential Equations of...Periodic Solutions for Nonlinear Systems of Integro-Differential Equations of...
Periodic Solutions for Nonlinear Systems of Integro-Differential Equations of...
 
3 capitulo-iii-matriz-asociada-sem-13-t-l-c
3 capitulo-iii-matriz-asociada-sem-13-t-l-c3 capitulo-iii-matriz-asociada-sem-13-t-l-c
3 capitulo-iii-matriz-asociada-sem-13-t-l-c
 
On the Analysis of the Finite Element Solutions of Boundary Value Problems Us...
On the Analysis of the Finite Element Solutions of Boundary Value Problems Us...On the Analysis of the Finite Element Solutions of Boundary Value Problems Us...
On the Analysis of the Finite Element Solutions of Boundary Value Problems Us...
 
Ladder operator
Ladder operatorLadder operator
Ladder operator
 
Flip bifurcation and chaos control in discrete-time Prey-predator model
Flip bifurcation and chaos control in discrete-time Prey-predator model Flip bifurcation and chaos control in discrete-time Prey-predator model
Flip bifurcation and chaos control in discrete-time Prey-predator model
 

Similar to Quantum fourier transformation

Similar to Quantum fourier transformation (20)

07-Convolution.pptx signal spectra and signal processing
07-Convolution.pptx signal spectra and signal processing07-Convolution.pptx signal spectra and signal processing
07-Convolution.pptx signal spectra and signal processing
 
numericai matmatic matlab uygulamalar ali abdullah
numericai matmatic  matlab  uygulamalar ali abdullahnumericai matmatic  matlab  uygulamalar ali abdullah
numericai matmatic matlab uygulamalar ali abdullah
 
Quantum Computing 101, Part 2 - Hello Entangled World
Quantum Computing 101, Part 2 - Hello Entangled WorldQuantum Computing 101, Part 2 - Hello Entangled World
Quantum Computing 101, Part 2 - Hello Entangled World
 
B.tech ii unit-5 material vector integration
B.tech ii unit-5 material vector integrationB.tech ii unit-5 material vector integration
B.tech ii unit-5 material vector integration
 
Matlab lab manual
Matlab lab manualMatlab lab manual
Matlab lab manual
 
lec32.ppt
lec32.pptlec32.ppt
lec32.ppt
 
lec14.ppt
lec14.pptlec14.ppt
lec14.ppt
 
Periodic Solutions for Non-Linear Systems of Integral Equations
Periodic Solutions for Non-Linear Systems of Integral EquationsPeriodic Solutions for Non-Linear Systems of Integral Equations
Periodic Solutions for Non-Linear Systems of Integral Equations
 
A05330107
A05330107A05330107
A05330107
 
Sistempertidaksamaanduavariabel2122
Sistempertidaksamaanduavariabel2122Sistempertidaksamaanduavariabel2122
Sistempertidaksamaanduavariabel2122
 
Development of implicit rational runge kutta schemes for second order ordinar...
Development of implicit rational runge kutta schemes for second order ordinar...Development of implicit rational runge kutta schemes for second order ordinar...
Development of implicit rational runge kutta schemes for second order ordinar...
 
FOURIER SERIES Presentation of given functions.pptx
FOURIER SERIES Presentation of given functions.pptxFOURIER SERIES Presentation of given functions.pptx
FOURIER SERIES Presentation of given functions.pptx
 
Study Material Numerical Solution of Odinary Differential Equations
Study Material Numerical Solution of Odinary Differential EquationsStudy Material Numerical Solution of Odinary Differential Equations
Study Material Numerical Solution of Odinary Differential Equations
 
A System of Estimators of the Population Mean under Two-Phase Sampling in Pre...
A System of Estimators of the Population Mean under Two-Phase Sampling in Pre...A System of Estimators of the Population Mean under Two-Phase Sampling in Pre...
A System of Estimators of the Population Mean under Two-Phase Sampling in Pre...
 
Fieldtheoryhighlights2015 setb 16jan18
Fieldtheoryhighlights2015 setb 16jan18Fieldtheoryhighlights2015 setb 16jan18
Fieldtheoryhighlights2015 setb 16jan18
 
Numeros reales, inecuaciones y desigualdades
Numeros reales, inecuaciones y desigualdadesNumeros reales, inecuaciones y desigualdades
Numeros reales, inecuaciones y desigualdades
 
Solving Partial Integro Differential Equations using Modified Differential Tr...
Solving Partial Integro Differential Equations using Modified Differential Tr...Solving Partial Integro Differential Equations using Modified Differential Tr...
Solving Partial Integro Differential Equations using Modified Differential Tr...
 
Detailed Description on Cross Entropy Loss Function
Detailed Description on Cross Entropy Loss FunctionDetailed Description on Cross Entropy Loss Function
Detailed Description on Cross Entropy Loss Function
 
Fourier series
Fourier series Fourier series
Fourier series
 
Taller 1 parcial 3
Taller 1 parcial 3Taller 1 parcial 3
Taller 1 parcial 3
 

Recently uploaded

Pests of cotton_Sucking_Pests_Dr.UPR.pdf
Pests of cotton_Sucking_Pests_Dr.UPR.pdfPests of cotton_Sucking_Pests_Dr.UPR.pdf
Pests of cotton_Sucking_Pests_Dr.UPR.pdf
PirithiRaju
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
The Mariana Trench remarkable geological features on Earth.pptx
The Mariana Trench remarkable geological features on Earth.pptxThe Mariana Trench remarkable geological features on Earth.pptx
The Mariana Trench remarkable geological features on Earth.pptx
seri bangash
 
Pests of mustard_Identification_Management_Dr.UPR.pdf
Pests of mustard_Identification_Management_Dr.UPR.pdfPests of mustard_Identification_Management_Dr.UPR.pdf
Pests of mustard_Identification_Management_Dr.UPR.pdf
PirithiRaju
 
development of diagnostic enzyme assay to detect leuser virus
development of diagnostic enzyme assay to detect leuser virusdevelopment of diagnostic enzyme assay to detect leuser virus
development of diagnostic enzyme assay to detect leuser virus
NazaninKarimi6
 
Asymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 b
Asymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 bAsymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 b
Asymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 b
Sérgio Sacani
 

Recently uploaded (20)

Pests of cotton_Sucking_Pests_Dr.UPR.pdf
Pests of cotton_Sucking_Pests_Dr.UPR.pdfPests of cotton_Sucking_Pests_Dr.UPR.pdf
Pests of cotton_Sucking_Pests_Dr.UPR.pdf
 
Justdial Call Girls In Indirapuram, Ghaziabad, 8800357707 Escorts Service
Justdial Call Girls In Indirapuram, Ghaziabad, 8800357707 Escorts ServiceJustdial Call Girls In Indirapuram, Ghaziabad, 8800357707 Escorts Service
Justdial Call Girls In Indirapuram, Ghaziabad, 8800357707 Escorts Service
 
chemical bonding Essentials of Physical Chemistry2.pdf
chemical bonding Essentials of Physical Chemistry2.pdfchemical bonding Essentials of Physical Chemistry2.pdf
chemical bonding Essentials of Physical Chemistry2.pdf
 
module for grade 9 for distance learning
module for grade 9 for distance learningmodule for grade 9 for distance learning
module for grade 9 for distance learning
 
Introduction to Viruses
Introduction to VirusesIntroduction to Viruses
Introduction to Viruses
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Zoology 5th semester notes( Sumit_yadav).pdf
Zoology 5th semester notes( Sumit_yadav).pdfZoology 5th semester notes( Sumit_yadav).pdf
Zoology 5th semester notes( Sumit_yadav).pdf
 
The Mariana Trench remarkable geological features on Earth.pptx
The Mariana Trench remarkable geological features on Earth.pptxThe Mariana Trench remarkable geological features on Earth.pptx
The Mariana Trench remarkable geological features on Earth.pptx
 
Forensic Biology & Its biological significance.pdf
Forensic Biology & Its biological significance.pdfForensic Biology & Its biological significance.pdf
Forensic Biology & Its biological significance.pdf
 
GBSN - Microbiology (Unit 2)
GBSN - Microbiology (Unit 2)GBSN - Microbiology (Unit 2)
GBSN - Microbiology (Unit 2)
 
9999266834 Call Girls In Noida Sector 22 (Delhi) Call Girl Service
9999266834 Call Girls In Noida Sector 22 (Delhi) Call Girl Service9999266834 Call Girls In Noida Sector 22 (Delhi) Call Girl Service
9999266834 Call Girls In Noida Sector 22 (Delhi) Call Girl Service
 
Pests of mustard_Identification_Management_Dr.UPR.pdf
Pests of mustard_Identification_Management_Dr.UPR.pdfPests of mustard_Identification_Management_Dr.UPR.pdf
Pests of mustard_Identification_Management_Dr.UPR.pdf
 
Vip profile Call Girls In Lonavala 9748763073 For Genuine Sex Service At Just...
Vip profile Call Girls In Lonavala 9748763073 For Genuine Sex Service At Just...Vip profile Call Girls In Lonavala 9748763073 For Genuine Sex Service At Just...
Vip profile Call Girls In Lonavala 9748763073 For Genuine Sex Service At Just...
 
Connaught Place, Delhi Call girls :8448380779 Model Escorts | 100% verified
Connaught Place, Delhi Call girls :8448380779 Model Escorts | 100% verifiedConnaught Place, Delhi Call girls :8448380779 Model Escorts | 100% verified
Connaught Place, Delhi Call girls :8448380779 Model Escorts | 100% verified
 
development of diagnostic enzyme assay to detect leuser virus
development of diagnostic enzyme assay to detect leuser virusdevelopment of diagnostic enzyme assay to detect leuser virus
development of diagnostic enzyme assay to detect leuser virus
 
Factory Acceptance Test( FAT).pptx .
Factory Acceptance Test( FAT).pptx       .Factory Acceptance Test( FAT).pptx       .
Factory Acceptance Test( FAT).pptx .
 
FAIRSpectra - Enabling the FAIRification of Analytical Science
FAIRSpectra - Enabling the FAIRification of Analytical ScienceFAIRSpectra - Enabling the FAIRification of Analytical Science
FAIRSpectra - Enabling the FAIRification of Analytical Science
 
Clean In Place(CIP).pptx .
Clean In Place(CIP).pptx                 .Clean In Place(CIP).pptx                 .
Clean In Place(CIP).pptx .
 
Asymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 b
Asymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 bAsymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 b
Asymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 b
 
Human & Veterinary Respiratory Physilogy_DR.E.Muralinath_Associate Professor....
Human & Veterinary Respiratory Physilogy_DR.E.Muralinath_Associate Professor....Human & Veterinary Respiratory Physilogy_DR.E.Muralinath_Associate Professor....
Human & Veterinary Respiratory Physilogy_DR.E.Muralinath_Associate Professor....
 

Quantum fourier transformation