Grover's Algorithm

From wikiluntti
Revision as of 18:43, 26 November 2020 by Mol (talk | contribs) (→‎References)

Introduction

Theory

Oracle Function

Amplitude Amplification

The uniform superposition: , where Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle H} is the Hadamard gate.

Apply the oracle reflection Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle U_w |u\rangle = |u'\rangle} .

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

Repeat .

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