Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2022 Jul 11;24(7):963.
doi: 10.3390/e24070963.

Gaussian Amplitude Amplification for Quantum Pathfinding

Affiliations

Gaussian Amplitude Amplification for Quantum Pathfinding

Daniel Koch et al. Entropy (Basel). .

Abstract

We study an oracle operation, along with its circuit design, which combined with the Grover diffusion operator boosts the probability of finding the minimum or maximum solutions on a weighted directed graph. We focus on the geometry of sequentially connected bipartite graphs, which naturally gives rise to solution spaces describable by Gaussian distributions. We then demonstrate how an oracle that encodes these distributions can be used to solve for the optimal path via amplitude amplification. And finally, we explore the degree to which this algorithm is capable of solving cases that are generated using randomized weights, as well as a theoretical application for solving the Traveling Salesman problem.

Keywords: amplitude amplification; quantum algorithms; quantum computing.

PubMed Disclaimer

Conflict of interest statement

The authors declare no conflict of interest.

Figures

Figure A1
Figure A1
Fidelity results as defined in Equation (A2), for the case N=2, L2,3,4,5, performed on IBM’s superconducting qubits.
Figure A2
Figure A2
Illustration of the classical simulation technique used to determine the optimal ps value at each step by maximizing the distance between |Pmin and the mean point.
Figure 1
Figure 1
Quantum circuit for implementing UG2. Boxes with θ and π are phase gates, both single and controlled. For the controlled operations, black dots indicate a |1 control state, and similarly white dots for |0.
Figure 2
Figure 2
An illustration of UG2|s. A unit circle of radius 1/2N is shown by the blue-dashed line, along with the point of average amplitude with a red ‘X’. The parameter θ controls the phase acquired by the cluster of states |Gθ and |Gθ, which in turn dictates the location of the mean point along the real axis.
Figure 3
Figure 3
A plot of θ vs. peak probability PM for the states |0N (orange-dashed) and |1N (blue-solid). Approximate forms for the two plots are given in Equations (5) and (6).
Figure 4
Figure 4
A geometry composed of sequentially connected bipartite directed graphs with weighted edges for which we are interested in finding the optimal path from layer S to layer F, touching exactly 1 node per layer. N denotes the number of nodes per layer, while L is the total number of layers. With full connectivity between nearest neighboring layers, each geometry has a total of N2·(L1) edges, yielding NL possible paths from layer S to F.
Figure 5
Figure 5
A layer by layer example of a classical approach to finding Wmin or Wmax, for the case of N=3 and L=4. The blue-dashed, green-solid, and red-dotted lines each represent possible solutions for the optimal path ending on each of the three nodes per layer.
Figure 6
Figure 6
(top) An example geometry of size N=2, L=4. For the case of N=2, a single qubit is sufficient for representing all possible node choices per layer via the states |0 and |1. (bottom) An example geometry of size N=4, L=4, requiring two qubits for representing the nodes in each layer.
Figure 7
Figure 7
An example path (red-dashed) for a graph of size N=2, L=4. The quantum state |0100 represents the path shown in red, using the single qubit states |0 and |1 for bottom and top row nodes respectively.
Figure 8
Figure 8
(top) Illustration of layers i and j for an N=2 graph, and the four weighted edges shared between them. (bottom) Quantum circuit for achieving the Uij operation outlined in Equation (15).
Figure 9
Figure 9
The complete circuit design for UP, for the case of N=2. Each Uij operation applies the four ϕi phases corresponding to the ωi weights connecting layers i and j. Because of the way in which phases add exponentially, the order in which a total weight Wi is applied to a state |Pi can be done in two sets of parallel operations, shown by the dashed-grey line.
Figure 10
Figure 10
(top) A sequential bipartite graph of varying N at each layer. (bottom) A mixed qudit quantum state capable of representing all possible paths through the geometry.
Figure 11
Figure 11
Quantum circuits for Uij connecting two layers of N=4 nodes. (top) A qubit-based quantum circuit (bottom) A d=4 qudit-based quantum circuit. More information on qudit unitary operations and circuits can be found in the review study by Wang et al. [54], such as the Xd operator shown here.
Figure 12
Figure 12
Histograms of Wi for randomly generated graphs of various N and L sizes, with R=100. As N and L increase while keeping R constant, the profile of these W distributions approach perfect gaussians, given by Equation (18).
Figure 13
Figure 13
(black circles/blue lines) A histogram of W for a randomly generated graph with parameters: N=6, L=10, R=100. (red dash) A best-fit gaussian plot of the form given in Equation (18), minimizing Equation (19) (Rcorr ≈ 3.981), with gaussian parameter values reported in the top-right.
Figure 14
Figure 14
(left) An example histogram of all Wi paths for the case of N=4, L=10, R=100. (right) The same distribution mapped to a complete 2π cycle of phases via the cost oracle UP acting on the equal superposition state |s. Additionally, the resulting mean (red ‘X’) and |Pmin/|Pmax states (blue diamond) are shown. An accompanying color scale is provided on the far right, illustrating the percentile distribution of states for both plots.
Figure 15
Figure 15
Examples of amplitude amplification, comparing the use of UP vs. UG for five iterations, both with the same number of total states N = 24,000. In both plots, the origin (0,0) (black ‘+’), the mean point (red ‘x’), the desired boosted state (blue diamond), and all other points (black circles) are shown. For scale, the radius of the equal superposition state |s (blue circle) is also shown (1/N), as well as the probability of measuring the blue diamond state (which can be used to infer distance to the origin).
Figure 16
Figure 16
A comparison of probability boosting using UG (blue-dashed) vs. UP (red-solid) as a function of steps (oracle + diffusion iterations), both acting on a quantum system of 610 states. For UG we track the probability of the marked state, while the UP case tracks the probability of measuring |Pmin.
Figure 17
Figure 17
(1–3) Illustrations of how our python-based simulator creates gaussian W distributions for testing. In step 1, we pick a standard deviation σ and create a continuous gaussian from 0 to 2π, with α=1 and μ=π. In step 2 we select how many unique Wi phases we want to model, and use this number to discretize the continuous gaussian into two discrete arrays Gx and Gy. In step 3 we select a target Hilbert space size N to model, and scale all of the values in Gy up to integers, such that the sum(Gy) is as close to N as possible. And finally in step 4 we similuate amplitude amplification using Gx and Gy, tracking the probability of |Pmin.
Figure 18
Figure 18
(top) An example distribution created from our simulator, before rounding in stage 3, with properties of the distribution given on the left. (bottom) Two different UP interpretations of the distribution shown on top. (left) The long tail model, whereby all values of Gy are rounded up to the nearest integer. Grey dashes indicate the region where pop(Wi) =1. (right) The short tail model where all values are rounded down, causing pop(Wi) values near the tails to be zero for small σ.
Figure 19
Figure 19
Results for simulated gaussian distributions of Hilbert space size N=60·106, following the long tail model, as a function of standard deviation σ. (top) Black data points indicate the highest achievable probabilities PM for |Pmin, while the red-dashed line shows PM·pop(Wmin) for cases with multiple Wmin solutions. (bottom) The number of required iterations SM in order to reach PM.
Figure 20
Figure 20
(top left) An example distribution created from our simulator following the short tail model, causing Wmin and Wmax to be located away from 0 and 2π. (top right) The same distribution scaled by ps to a full 2π range. (bottom) Below each histogram distribution is an amplitude space plot of UP|s, tracking the location of |Pmin (blue diamond) and the mean point (red ‘X’).
Figure 21
Figure 21
Results for simulated gaussian distributions of various Hilbert space sizes (blue = 60·106, orange = 10·106, and green = 2·106), following the short tail model, as a function of initial standard deviation σ. (left) PM and SM plots for boosting |Pmin. (top right) The standard deviation σ after rescaling each distribution by the ps value which maximizes PM (see Figure 20). (bottom right) The total number of unique Wi phases modeled by each distribution.
Figure 22
Figure 22
A plot of ps vs. achievable probabilities via amplitude amplification, for the W distribution shown in Figure 13. The state |Pmin represents the solution to the pathfinding problem Wmin, while |Pmin corresponds to the next smallest Wi.
Figure 23
Figure 23
(top) An example W histogram distribution for the case N=30, L=4, R=200. (bottom) A plot of all ps values used at each step in order to optimized the probability of measuring |Pmin. Note the small black arrow, marking the ps value at step 1. To the right of each plot are accompanying details about the success of each amplitude amplification process for each approach.
Figure 24
Figure 24
Results from testing on 100 randomly generated W distributions, for N=6, L=10, R=100. For each trial, we report the highest PM probability found for the state |Pmin using (light blue) a step-varying ps approach, (green) a single optimal ps approach, and (dark red) an average ps approach. Reported on the right side of the figure are the averages found for all three approaches.
Figure 25
Figure 25
(left) Geometric structure for the Traveling Salesman Problem, for the case N=8. Each edge contains a weighted value wjk, where j and k are the two connected nodes. (right) An example path, touching each node exactly once. Each path Pi is defined by a unique ordering of all N nodes (N! in total), with Wi corresponding to the sum of all weighted edges composing the path.
Figure 26
Figure 26
(left) Geometric illustrations for 12 of the possible solution paths for an N=4 TSP weighted graph. (right) Quantum state representations for the 12 paths shown, plus 12 additional states with opposite direction.
Figure 27
Figure 27
Spanning tree representation of all possible paths for an N=4 Traveling Salesman problem.
Figure 28
Figure 28
(leftmost) Initial mapping of an N=5 TSP to the quantum states |0|4, and their accompanying city names. (panels 1–4) Step by step outline of two different paths through the geometry, illustrating the ‘clockwise’ nomenclature outlined in this section. At each step, the path thus far is illustrated in solid black lines/states, while potential next nodes are shown in blue arrows/states.
Figure 29
Figure 29
Results from using a single optimal ps for randomly generated TSP weighted graphs as a function of problem size N, R=100. (dots) Average values for σ (black) and PM (blue). (bars) Intervals indicating the top 90% of all PM values found.

References

    1. Grover L.K. A fast quantum mechanical algorithm for database search. arXiv. 19969605043
    1. Boyer M., Brassard G., Hoyer P., Tapp A. Tight bounds on quantum searching. Fortschr. Phys. 1998;46:493–506. doi: 10.1002/(SICI)1521-3978(199806)46:4/5<493::AID-PROP493>3.0.CO;2-P. - DOI
    1. Bennett C.H., Bernstein E., Brassard G., Vazirani U. Strengths and Weaknesses of Quantum Computing. Siam J. Comput. 1997;26:1510–1523. doi: 10.1137/S0097539796300933. - DOI
    1. Farhi E., Gutmann S. Analog analogue of a digital quantum computation. Phys. Rev. A. 1998;57:2403. doi: 10.1103/PhysRevA.57.2403. - DOI
    1. Brassard G., Hoyer P., Tapp A. Quantum Counting; Proceedings of the LNCS 1443: 25th International Colloquium on Automata, Languages, and Programming (ICALP); Aalborg, Denmark. 13–17 July 1998; pp. 820–831.

LinkOut - more resources