16. Using the gates to describe
• Optimized Traveling Salesman Problem 5 Cities:
Details: Phys. Rev. A 95, 032323 – Published 22 March 2017
17. Using the gates to describe
• Optimized Traveling Salesman Problem 5 Cities:
Details: Phys. Rev. A 95, 032323 – Published 22 March 2017
Homework, lets use a simpler version for now …
44. Model the stairs
choice1 choice2 “Location”
One
(Up)
One
(Up)
Roof
One
(Up)
Zero
(Down)
Bedroom
Zero
(Down)
Down
(Up)
Bedroom
Zero
(Down)
Zero
(Down)
Basement
51. Put the basement back
choice1 choice2 “Location”
One
(Up)
Zero
(Down)
Bedroom
Zero
(Down)
One
(Up)
Bedroom
Zero
(Down)
Zero
(Down
Basement
52. Keep on going
• For this example, still pretty simple (2 paths)
• Real version of my house is more complex
Choice 1 Choice 2 Choice 3 Choice 4 Choice 5 Choice 6 …
One
(Up)
Zero
(Down)
Zero
(Down)
Zero
(Down)
One
(Up)
One
(Up)
…
Zero
(Down)
Zero
(Down)
One
(Up)
One
(Up)
One
(Up)
Zero
(Down)
…
…. …. …. … … … …
53. This gives us our state space
Now we need to tune the frequency
Our Oracle function
61. Grover (and other amplifications)
Original Amplitudes Negate Amplitude
Average of all Amplitudes Flip all Amplitudes around Avg
Grover execution:
informally 𝑠𝑡𝑎𝑡𝑒𝑠
62. Chance amplification
• When you have more options than 2 and places than 4
Choice 1 Choice 2 Choice 3 Chance
Zero Zero … 0.00.. %
Zero One … 49.99.. %
One Zero … 49.99.. %
One One … 0.00… %
Simplification
63. The real device is not the same
• Real vs Simulated for x + y = 1
64. Many hours and code lines later
Traditional Quantum
Naive O(𝑛!) O( 𝑛!)
With effort O(2n*2n) O(( 𝑛)!)
65. Many hours and code lines later
Traditional Quantum
Naive O(𝑛!) O( 𝑛!)
With effort O(2n*2n) O(( 𝑛)!)
Choice 1 Choice 2 Choice 3 Choice 4 …
… … … … …
Zero One One Zero …
… … … … …
68. Conclusions
•Quantum Computing
1. If you want a challenge,
2. And change the world,
3. Because its cool to program for
4. And it works on real hardware ☺
69. So be part of the quantum future !
• Rolf Huisman
• Rolf.Huisman@infosupport.com
• @rlrhuisman
Questions ?
• For more internals, please visit the stand