Grover's Algorithm: Difference between revisions

From wikiluntti
Line 13: Line 13:
Apply an other reflection about the state <math>|u\rangle</math>, also <math>U_u = 2 |u\rangle \langle u| - 1</math>. Thus we are at state <math>U_u U_w |u></math>. This amplifies by two the amplitude of state <math>|w\rangle</math>.
Apply an other reflection about the state <math>|u\rangle</math>, also <math>U_u = 2 |u\rangle \langle u| - 1</math>. Thus we are at state <math>U_u U_w |u></math>. This amplifies by two the amplitude of state <math>|w\rangle</math>.


Repeat <math>t<a/math> times, where <math>t\approx \sqrt N</math>.
Repeat <math>t</math> times, where <math>t\approx \sqrt N</math>.
 
== Application: Stop the Lights ==
 
We solve the <math>3\times3</math> tiling game using superposition (instead of Gaussian elimination). Thus, we need a function that flips the lights:
 
 


=== References ===
=== References ===

Revision as of 10:11, 27 November 2020

Introduction

Theory

Oracle Function

Amplitude Amplification

The uniform superposition: , where is the Hadamard gate.

Apply the oracle reflection .

Apply an other reflection about the state , also . Thus we are at state . This amplifies by two the amplitude of state .

Repeat times, where .

Application: Stop the Lights

We solve the tiling game using superposition (instead of Gaussian elimination). Thus, we need a function that flips the lights:


References

https://medium.com/swlh/grovers-algorithm-quantum-computing-1171e826bcfb

https://quantumcomputinguk.org/tutorials/grovers-algorithm-with-code

https://jonathan-hui.medium.com/qc-grovers-algorithm-cd81e61cf248

https://arxiv.org/pdf/1804.03719.pdf

https://www.quantum-inspire.com/kbase/grover-algorithm/

http://davidbkemp.github.io/animated-qubits/grover.html

https://quantum-computing.ibm.com/docs/iqx/guide/grovers-algorithm

https://qudev.phys.ethz.ch/static/content/courses/QSIT12/presentations/Grover_superconducting.pdf

https://quantumcomputing.stackexchange.com/questions/2110/grovers-algorithm-where-is-the-list

https://qudev.phys.ethz.ch/static/content/QSIT16/talks/Grover_QSIT.pdf

https://grove-docs.readthedocs.io/en/latest/grover.html

https://thequantumdaily.com/2019/11/13/quantum-programming-101-grovers-algorithm/