Predicting quantum advantage by quantum walk with convolutional neural networks
Alexey A. Melnikov, Leonid E. Fedichkin, Alexander Alodjants

TL;DR
This paper introduces a machine learning approach using convolutional neural networks to predict quantum advantage in graph-based quantum walks, eliminating the need for extensive simulations and enabling faster identification of beneficial quantum algorithms.
Contribution
The authors develop a CNN model that learns to predict quantum advantage from graph features, providing a novel method to identify graphs with quantum speedup without simulation.
Findings
CNN accurately predicts quantum advantage on line and random graphs
Model outperforms random guessing in classifying quantum advantage
Approach enables scalable analysis of quantum walk benefits
Abstract
Quantum walks are at the heart of modern quantum technologies. They allow to deal with quantum transport phenomena and are an advanced tool for constructing novel quantum algorithms. Quantum walks on graphs are fundamentally different from classical random walks analogs, in particular, they walk faster than classical ones on certain graphs, enabling in these cases quantum algorithmic applications and quantum-enhanced energy transfer. However, little is known about the possible advantages on arbitrary graphs not having explicit symmetries. For these graphs one would need to perform simulations of classical and quantum walk dynamics to check if the speedup occurs, which could take a long computational time. Here we present a new approach for the solution of the quantum speedup problem, which is based on a machine learning algorithm that predicts the quantum advantage by just looking at a…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
††thanks: Corresponding author, e-mail: [email protected],
website: melnikov.info
Predicting quantum advantage by quantum walk with convolutional neural networks
Alexey A. Melnikov
ITMO University, Kronverksky prospekt 49, 197101 St. Petersburg, Russia
Valiev Institute of Physics and Technology, Russian Academy of Sciences, Nakhimovskii prospekt 36/1, 117218 Moscow, Russia
Leonid E. Fedichkin
Valiev Institute of Physics and Technology, Russian Academy of Sciences, Nakhimovskii prospekt 36/1, 117218 Moscow, Russia
Moscow Institute of Physics and Technology, Institutskii pereulok 9, 141700 Dolgoprudny, Moscow Region, Russia
Alexander Alodjants
ITMO University, Kronverksky prospekt 49, 197101 St. Petersburg, Russia
Abstract
Quantum walks are at the heart of modern quantum technologies. They allow to deal with quantum transport phenomena and are an advanced tool for constructing novel quantum algorithms. Quantum walks on graphs are fundamentally different from classical random walks analogs, in particular, they walk faster than classical ones on certain graphs, enabling in these cases quantum algorithmic applications and quantum-enhanced energy transfer. However, little is known about the possible advantages on arbitrary graphs not having explicit symmetries. For these graphs one would need to perform simulations of classical and quantum walk dynamics to check if the speedup occurs, which could take a long computational time. Here we present a new approach for the solution of the quantum speedup problem, which is based on a machine learning algorithm that predicts the quantum advantage by just “looking” at a graph. The convolutional neural network, which we designed specifically to learn from graphs, observes simulated examples and learns complex features of graphs that lead to a quantum advantage, allowing to identify graphs that exhibit quantum advantage without performing any quantum walk or random walk simulations. The performance of our approach is evaluated for line and random graphs, where classification was always better than random guess even for the most challenging cases. Our findings pave the way to an automated elaboration of novel large-scale quantum circuits utilizing quantum walk based algorithms, and to simulating high-efficiency energy transfer in biophotonics and material science.
Computational speedup is one of the keystone problems both in classical and quantum computer sciences Montanaro2016 ; Lidar2014 . Although quantum parallelism, in general, represents necessary ingredient for an acceleration of computational algorithms on quantum “hardware”, sufficient criterion is still unknown in many cases. Strictly speaking, speedup problem might be recognized for certain computational tasks for which definite classical and/or quantum algorithms are used, cf. Cirac2018 ; Boixo2018 . In the paper we attack the speedup problem with random and quantum walks in a quite general form by using advanced machine learning approaches.
Random walks on graphs are widely used as subroutines in computational algorithms rajeev1995randomized ; landau2001efficient ; szummer2002partially ; grady2006random ; gkantsidis2006random , and as a model for processes in nature kac1947random ; sottinen2001fractional ; bartumeus2005animal ; brockmann2006scaling ; codling2008random . Quantum walks PhysRevA.48.1687 ; doi:10.1080/00107151031000110776 ; venegas2008quantum ; venegas2012quantum , quantum analogs of classical walks, replace a classical particle with a quantum one. This change makes a fundamental difference in the walker’s dynamics due to quantum interference. Due to interference, quantum walks of single and multiple particles can be employed as a tool for quantum information processing and quantum algorithms doi:10.1142/S0219749903000383 ; Ambainis:2007:QWA:1328722.1328730 ; Childs1 ; doi:10.1137/090745854 ; Childs2 ; portugal2013quantum ; melnikov2016quantum ; chakraborty1016spatial , for quantum machine learning briegel2012projective ; paparo2014quantum , and as a part of a model of photosynthetic energy transfer engel2007evidence ; mohseni2008environment . Especially in the energy transport problem, see, e.g., scholak2011efficient ; manzano2012quantum ; asadian2013heat , it is important that quantum particles hit target vertices of certain graphs faster than classical particles.
It is, however, not clear on which graphs and for which target vertices quantum advantage will be present. Given a graph, a standard approach would be to simulate quantum and classical dynamics, and observe in which case a particle would reach a target vertex faster. However, this approach has several limitations. First, although the propagation time scales polynomially in the size of the graph lawler86expected ; lovsz2002random , the simulations can become computationally difficult for large graphs. Second, one is usually interested in a set of graphs rather than in a single graph, which makes the simulations limited by the set size. Third, results of the simulations do not reveal any pattern, or general laws, of quantum advantage in stochastic propagation. Given the results of the simulations on one set of graphs, it is not clear how particles propagate on another set of graphs. To overcome these limitations, one can follow a different approach of theoretically investigating the walk dynamics and obtaining analytical results. This was done, e.g., for line ambainis2001one , cycle aharonov2001quantum ; solenov2006continuous ; fedichkin2006mixing , hypercube kempe2005discrete ; PhysRevA.73.032341 , complete SANTOS_QUANTUM_2010 , and glued trees graphs Childs:2003:EAS:780542.780552 , for certain target vertices. Knowing that one of these graph types is embedded in a larger graph structure can also give information about possible quantum speedups makmal2014quantum ; makmal2016quantum . This analytical approach is, however, limited to known cases, which is only a tiny subset of all labeled connected graphs slone1964online .
Combining the two described approaches to predict quantum advantage is potentially possible. An expert, looking at a graph, might recognize a known structure (e.g., a hypercube), and with a help of a limited number of simulations, draw a conclusion about a possibility of a quantum speedup. But an expert cannot possibly analyze a large number of graphs. Could a machine be able to do that and predict quantum speedups? We answer this question in the affirmative and extend the list of new machine learning techniques successfully applied in physics biamonte2017quantum ; dunjko2018machine ; carleo2017solving ; carrasquilla2017machine ; chng2017machine ; melnikov2018active ; bukov2018reinforcement ; fosel2018reinforcement ; odriscoll2019hybrid ; nautrup2018optimizing ; iten2018discovering ; wallnofer2019machine .
In this paper we take a supervised learning approach to predict a quantum speedup: a convolutional neural network (CNN) lecun1998gradient ; lecun2015deep learns from examples to recognize quantum speedup. CNNs are widely used for image classification krizhevsky2012imagenet , visual document analysis simard2003best , face recognition lawrence1997face , and video classification karpathy2014large . Here we use a CNN for graph features extraction and learning the most relevant features, which we apply to a classification problem defined within the quantum walk framework. CNNs were recently used with graph adjacently matrix input for predicting clinical neurodevelopmental outcomes from brain networks kawahara2017brainnetcnn and for classifying and predicting the presence of super-diffusion in multiplex networks leli2018deep .
Our results of using the CNN of special architecture, which we call classical-quantum convolutional neural network (CQCNN), demonstrate that the network can to represent the quantum speedup by quantum walk. CQCNN is able to generalize and correctly predict quantum speedup for unseen line graphs and random graphs with up to vertices. The quantitative classification results differ depending on the type of a graph, on the type and quantity of training examples, and on the number of training epochs. Independent of the scenario and the difficulty, however, we observe that the CQCNN is better than a random guess. Importantly, we show that it is possible to extract the logic behind a classifier function constructed by the neural network, which lets us understand and verify how the classification works on small graphs.
We believe that the proposed learning model will be of a particular significance for physical implementations of quantum-enhanced transport systems. A physical implementation of quantum walks is not unique: it depends on measurement procedure properties, as well as on particular properties of the physical system including experimental imperfections111Current photonic technologies fulvio2018photonic represent versatile platform for experimental studies of bosonic quantum walks and speedup prediction on the graphs with desirable sizes and topology Walther2012 ; Szameit2018 . Moreover, a design of CMOS-compatible large scale quantum photonic devices gives hope to a realization of quantum walks based algorithms in nearest future Brein2018 .. In the case of such a quantum experiment, only a limited number of data points can be realistically obtained, which will make the proposed autonomous learning algorithm essential for successful implementation of the quantum-enhanced transport systems.
Results
Quantum and classical random walk processes have different dynamics, which leads to a difference in how fast particles traverse graphs from an initial vertex to a target vertex. This difference depends not only on the nature of the particles, but also on the graph on which the particles walk. Importantly, the graph is specified not only by the way vertices are connected, but also by the positions of the initial and the target vertices. It is known that, e.g., quantum particles on line graphs reach target vertices on distance quadratically faster in ambainis2001one . But if initial and target vertex are not far from each other, it is not easy to determine which particle is faster. To give an instructive example, let us consider line graphs, as random walks on lines are one of the simplest and most extensively studied stochastic processes rajeev1995randomized . In the case of three vertices, there are three inequivalent graphs shown in the first row of Fig. 1(a). Complementary to graphs , two additional rows of graphs are depicted: and . These graphs are modifications of , and correspond to the physical implementation of for quantum () and classical () walks. In the classical case, the target vertex is connected to the neighboring vertices by directed edges. In the quantum case, the sink vertex connected to the target vertex is used to measure the quantum particle, the rest of the graph is unchanged. The measurement process hence changes the dynamics of the quantum system.
Figure 1(b) represents the results on quantum (solid lines) and classical (dashed lines) random walk simulations for all three graphs (blue, green, and gray). We can see that in two cases the classical walker is faster than the quantum one (green and gray cases), and the quantum particle is faster in one case (blue). From this toy example it is clear that the quantum transport speedup is only present in case of the initial and the target vertices being on opposite sites of the graph; and the classical particles are faster if these two vertices are directly connected.
We next describe how the neural network, CQCNN, can learn this for larger graphs and show the results of the learning processes. The learning setup that we use in the paper is depicted in Fig. 2. Fig. 2(a) shows schematically how CQCNN is trained using examples of graphs. CQCNN at each step takes a graph as an input in the form of an adjacency matrix, and outputs a prediction about the class this graph belongs to (quantum or classical). Having a correct label, the loss value is computed. Fig. 2(b) depicts the testing procedure. The difference from the training process is that CQCNN does not receive any feedback on its prediction. In the testing process the network is not modified. The neural network architecture is shown in Fig. 2(c). CQCNN has a layout with convolutional and fully connected layers, and two output neurons that specify two possible output classes. The convolutional layers are used to extract features from graphs, and decrease the dimensionality of the input. By trying different approaches, we observed that relevant features are not in the small local blocks of the adjacency matrices, but in the rows and columns of these matrices. We therefore constructed filters in the form of “crosses” shown in Fig. 2(c) to capture a weighted sum of column and row elements. These filters act as functions of a weighted total number of neighboring vertices of each vertex. As we will show next, the cross “edge-to-edge” and “edge-to-vertex” filters demonstrate that the convolutional network can predict the quantum advantage by quantum walk.
Predicting quantum advantage for line graphs
We apply the described machine learning methodology to different sets of graphs. In order to understand how our approach works in a systematic way, we first analyze the neural network performance on line graphs. We take the simplest design of CQCNN in Fig. 2 and apply it to line graphs with up to vertices. We trained CQCNN over epochs with a single batch of examples per epoch. The results of these simulations are shown in Fig. 3. Eight lines of four different colors in Fig. 3(a) demonstrate the results of training the neural network on line graphs; each color corresponds to a specific size of a graph with vertices. For the simulations we used datasets with all possible line graph labeling: of which is used to train (dashed lines) CQCNN, and are used to test (solid lines) its generalization capabilities. The performance of CQCNN on the training graphs is defined by the cross entropy loss function. The loss on a test example is defined relative to the correct class (classical or quantum, [math] or ) of this example:
[TABLE]
where is the total fraction of examples from this class in the dataset, and are the values of the output neurons. In Fig. 3(a) one can see that CQCNN learns to represent the training graphs as the loss defined by Eq. (1) goes down (dashed curves). But most importantly CQCNN constructed a function that generalizes over seen graphs to unseen graphs, as the classification accuracy222Classification accuracy is the fraction of correct predictions. goes up (solid curves).
Our results in Fig. 3(a) demonstrate that it is possible for CQCNN to learn a function that maps graphs to their quantum walk properties. In order to understand the predictive capacity of CQCNN, we analyze the weights of the fully connected layer of the simple CQCNN employed for this classification problem. These weights are visualized in Fig. 3(b) as bars for different number and of vertices. In total, one can see bars corresponding to weights in the last layer of the neural network. These weights form a feature vector which we divide into parts, each corresponding to a specific vertex of the graph and labeled as “vertex label” in Fig. 3(b). Each vertex has features labeled as , the zero-th component of the feature vector is the bias. All these features are outputs of the convolutional layers, and their values have, up to some learned coefficients, the following meaning. The first feature for each vertex corresponds to the number of edges this vertex has, the second feature – to the total number of neighboring edges of all edges leading to the vertex. The third feature gives one if the vertex is connected to the initial vertex by an edge, and zero otherwise. The fourth feature does the same relative to the target vertex. Note that some weights are learned to be zero for vertices that are not present in smaller graphs.
By looking at the weights of CQCNN, we observe that the designed neural network learned several properties of the quantum advantage on these line graphs. First, we observe that the contributions to the quantum (blue) and classical (red) classes are symmetric: whatever is a positive indication of the quantum class – it is a negative indication of the classical class. Second, the weights are different for different vertices, and this difference explains the classification outcome as we describe next. The graph shows no quantum advantage if the initial vertex is connected to the target vertex (the feature for the vertex , and the feature for the vertex ). It is also discouraged if the target vertex is well connected to the rest of the graph (the features and for the vertex ). And, although the weights of the other features do not strongly define the role of these features, the more connected these vertices – the better for the quantum speedup.
The landscape of weights changes when the graph size grows (growing in Fig. 3(b)), but not drastically. The described correlations hold for all studied graph sizes. In addition to this consistency, we see that the deviation of weights from their average is quite small – all CQCNNs learned very similar weights. By looking at vertices , and , we observe that the weights are almost identical: all these vertices contribute identically to the classification. Indeed, as it turns out, the dynamics of particles is invariant under relabelling of the vertices apart from the initial and the target vertices. Hence CQCNN autonomously realized that many graph examples are isomorphic.
Learning all these graph properties helps the network to correctly classify graphs of the same size which were not seen previously. CQCNN can go a step further, and apply the learned data representation to graphs of larger sizes. This can be seen in Fig. 3(c) where the training is done on line graphs with and , but tested on graphs with vertices. The classification accuracy on larger graph sizes is between and , which is significantly better than a random guess. Note that the generalization performance is not , as we observed that for different graph sizes there are always new cases that are not derived from the smaller graphs. It is also the case that generalization performance goes down with relatively fast, hence suggesting that at least more training examples will be needed for graphs of larger size. Importantly, as proven by the results in Fig. 3(c), the CQCNN approach is flexible to a change of graph sizes without being trained on all sizes.
Predicting quantum advantage for random graphs
CQCNN was shown to be able to classify line graphs. Next, we estimate how well the presented methodology works on other graphs. In general, the more symmetries the graph has – the better we would expect CQCNN’s performance is, as there are more ways to learn graph properties from examples. For this reason, random graphs should be one of the most challenging sets for our method. Especially for random graphs, we do not expect that training examples generalize well to test examples as both sets could be very independent. Even given enough training examples, we expect there always will be graphs that do not share common properties with any other graph.
We simulated CQCNN’s learning process for random graphs, each sampled uniformly from the set of all possible graphs with vertices and edges. The learning performance results are shown in Fig. 4 for and , is chosen uniformly from to . In our simulations we observe that the loss after training is close to zero (below ) for all these random graphs. In Fig. 4(a) we see that both recall and precision333Recall quantifies the fraction of correct predictions in a particular class, whereas precision identifies the fraction of a particular class predictions that turned out to be correct. are for the “classical” part of the set, and is in the range of for the “quantum” part of the set. Overall, we see that our method made it possible to classify random graphs correctly much better than a random guess444The random guess will guess “classical” (or “quantum”) class correctly in of the cases. without performing any quantum walk dynamics simulations. Examples of correctly classified graphs are shown in Fig. 4(b)-(c).
Discussion
Recently speedup problem extensively has been discussed in the framework of quantum computation purposed to accelerate the solution of familiar optimization problems by using quantum hardware Kechedzhi2016 ; Albash2018 . However, predicting a quantum speedup in this hardware represents a complex problem that depends on many physical parameters including size and topology of the system Alodjants2017 ; Lewenstein2017 ; Hamze2014 ; Smolin2014 . In this paper we proposed a new machine learning method to predict a speedup of quantum transport. This method is based on training a discriminative classifier, that is, a specially designed convolutional neural network (CQCNN). We have generated the training examples, each consisting of an adjacency matrix and a corresponding label (“classical” or “quantum”), by simulating the random walk dynamics of classical and quantum particles. The generated examples were used to train CQCNN with a stochastic gradient descent algorithm.
By training CQCNNs we demonstrated in Fig. 3 that the neural network is able to learn to classify the quantum speedup, and to match the results obtained by our simulations. First, CQCNN learns to approximate given examples very well by representing the quantum and classical properties of graphs in its weights: CQCNN compresses up to adjacency matrices with entries each555Which is the case for line graphs with vertices as the training set consisted of of the total number of line graphs, see Fig. 3(b) for . into just real parameters. Second, CQCNN automatically learns what graph features are important for quantum speedup. We identified that for line graphs these correlations correspond to well-explainable graph properties. Additionally, the neural network learns that many graphs are isomorphic, with no indication of over-fitting on adjacency matrix features. Third, we demonstrated good generalization capacity of the constructed CNN. The neural network was correctly classifying not only previously unseen graphs of the same size, but also of sizes that were never given to train the network. For the line graphs of the same size the average accuracy was shown to be above , and in the case of the larger graph sizes. We believe that this performance is strong as we know that test examples do not necessarily share any structural similarities with training examples.
Finally, the presented approach was applied to random graphs with up to vertices. Although the space of possible labeled graphs is more than graphs (see Ref. slone1964online for vertices), with only randomly generated training examples we proved that it is possible to significantly improve over the random guess. We, however, believe that this classification performance can be further improved by using more training examples and by optimizing over CQCCN’s hyperparameters.
The presented machine learning methodology can be used to find novel topologically large-scale graphs and circuits which exhibit maximal quantum speedup. At the same time our results might be specifically important in material science and biophotonics for a deeper understanding and designing of novel materials with unique quantum transport properties.
Methods
In this section we give additional details on the machine learning methodology and the learning methods.
Quantum walks on graphs
In the following, we describe the quantum walk dynamics on graphs, and give more details on simulations that were performed in this paper.
We consider adjacency matrices that describe undirected connected graphs with vertices on which classical and quantum walks are simulated. A graph is specified by the set of vertices and the set of edges . All edges are described by a pair of vertices . As the graphs that we consider are undirected, and all matrices are symmetric: . Without the loss of generality, we label the vertices and as the “initial” and the “target” vertices. Given an adjacency matrix , we simulate classical and quantum continuous-time walks during the time , which depends on the probability of detecting a particle. The results of the simulations are classical and quantum dependencies of the probability of detecting a particle in at time . From these two dynamics we obtain the information about the time particle is in with threshold probability . Given the two time values we can predict if there exists some quantum advantage of using a quantum particle for reaching on a given graph.
The classical continuous-time random walk (CTRW) is simulated by solving the following differential equation
[TABLE]
where is a vector of probabilities of detecting a classical particle in vertices of the graph; is the identity matrix of size . The transition matrix is a matrix of probabilities for a particle to jump from to . As we would like to “catch” the particle in , the edges that lead to are made directed. This modification is implemented by introducing a new adjacency matrix which is equal to apart from the column : , , and . The transition matrix can be obtained from the corresponding adjacency matrix by dividing all entries in a -th column of by the in-degree of the vertex , for all . This introduced modification of effectively makes the underlying graph directed such that a classical particle cannot escape once it is there.
The solution of the differential equation in Eq. (2) is
[TABLE]
where is a probability vector corresponding to a classical particle initially located in . The dynamics in Eq. (3) is known as node-centric CTRW aldous2002reversible ; masuda2017random . Node-centric CTRWs have a property that a particle leaves a vertex with the same rate for all vertices . In the considered case the trajectories are statistically the same as those of the discrete-time random walk (DTRW), hense the dynamics of in Eq. (2) can be viewed as a “continuization” of the DTRW dymanics.
The continuous-time quantum walk (CTQW) dynamics is simulated by solving the Gorini-Kossakowski-Sudarshan-Lindblad (GKSL) equation
[TABLE]
with the Hamiltonian . is an adjacency matrix of size and is equal to apart from adding an -th row and an -th column of zeros: . The new matrix corresponds to a graph with an additional “sink” vertex . This sink vertex serves as an auxilary vertex where a quantum particle is kept captured once it ends there. The only way the particle can end there is by decaying from , this process is mathematically taken care of by the operator . Physically, introduces incoherence in the unitary CTQW dynamics described by , by moving the quantum particle from to with rate . In general, the rate dramatically influences the CTQW dynamics: if – the dynamics is coherent and we will never observe the particle in , if the value of is large (e.g., ) – we might never observe the particle in 666This effect is known as the Zero effect, a vertex is measured to frequently so the particle never appears there.. Because there is no universally best value for the parameter for all graphs , we use throughout the paper.
We solve to the GKSL equation numerically with the initial condition and observe the dynamics of that is equal to the population in at time . The function is a positive and an increasing function of time. Note that, opposite to the case of the CTRW, in the CTQW the probability of detecting the particle does not necessarily go to one with time.
We next compare and against . The time at which or is called the hitting time for quantum or classical particle, respectively.
Convolutional neural network architecture
In this section we describe in detail how the convolutional neural network, which is used in this paper, is constructed.
We are using a specifically designed convolutional neural network, CQCNN, to learn from different graphs. The architecture of this neural network is shown in Fig. 2(c). CQCNN, which we specifically designed to work with graphs, consists of a two-dimensional input layer that takes one graph represented by an adjacency matrix . This layer is connected to several convolutional layers, the number of which depends on the number of vertices of the input graph. The first convolutional layer consists of six filters (or, feature detectors) that define three different ways of processing the input graph. These three ways are marked by different colors (green, red, blue) in Fig. 2(c). The weights and types of filters determine what specific features are detected. The first type of filters detects how well the vertex is connected to the rest of the graph by extracting features from the matrices, where are integer numbers. The second type of convolutions detects the same, but for the vertex. The third filter type looks at connectivities within the graph and detects how well each vertex is connected to other vertices. These three filter types are applied in several layers together with identity filters that propagate extracted features further. These layers are followed by a filter that deletes symmetric parts of all the matrices. It is done to eliminate redundant information, as all the matrices are still symmetric after being processed by all these fixed filters. At the next layer we apply filters of the fixed size with variable parameters in order to find relations between different edges. The last layer of filters summarizes all the information about the edges in the vertices description, by that decreasing the number of neuron values to a polynomially smaller number of next layer’s neuron values. The extracted features are next flattened and connected to two fully connected layers on neurons. Neurons in the first fully connected layer have a rectified linear unit (ReLU) activation function, which helps to construct a nonlinear function, and let the last layer map the learned features to [math] or label (two output neurons in Fig. 2(c)).
CQCNN makes a choice between classical and quantum classes based on the values of two output neurons. The predicted class is defined as an index of a neuron with the largest output value:
[TABLE]
The network learns by stochastic gradient descent algorithm that takes the cross entropy loss function in Eq. (1).
The filters that we constructed in the described neural network architecture are essential to the success of learning. First, the edge-to-edge (ETE) filter allows the network to see how many neighboring edges each edge has. The process of obtaining a feature map from an input “image” using the edge-to-edge filter is shown in Fig. 5(a). Given an input matrix the ETE filter outputs the following matrix with components:
[TABLE]
The second important filter is the edge-to-vertex (ETV) filter. This filter allows summarizing information about the edges in the vertices. The filtering procedure takes an input matrix and outputs a vector with components:
[TABLE]
The working principle of this filter is visualized in Fig. 5(b).
Acknowledgment
This work was financially supported by the Government of the Russian Federation, Grant 08-08, and by RFBR grants No. 19-52-52012 MHT-a and No. 17-07-00994-a.
Data Availability
The developed algorithms and the generated datasets are available from the corresponding author on a reasonable request.
Author Contributions
A.A.M., L.E.F., and A.A. designed and performed research. A.A.M. performed the simulations and wrote the initial manuscript. A.A.M., L.E.F., and A.A. discussed the results and contributed to the manuscript.
Additional Information
Competing Interests: The authors declare no competing financial or non-financial interests.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1(1) A. Montanaro, “Quantum algorithms: an overview,” npj Quantum Inf. , vol. 2, p. 15023, 2016.
- 2(2) T. F. Ronnow, Z. Wang, J. Job, S. Boixo, S.V.Isakov, D. Wecker, J. M. Martinis, D. A. Lidar, and M. Troyer, “Defining and detecting quantum speedup,” Science , vol. 345, no. 6195, pp. 420–424, 2014.
- 3(3) V. Dunjko, Y. Ge, and J. I. Cirac, “Computational speedups using small quantum devices,” Phys. Rev. Lett. , vol. 121, p. 250501, 2018.
- 4(4) S. Boixo, S. V. Isakov, V. N. Smelyanskiy, R. Babbush, N. Ding, M. B. Zhang Jiang, J. Martinis, and H. Neven, “Characterizing quantum supremacy in near-term devices,” Nat. Phys. , vol. 14, no. 11, p. 595–600, 2018.
- 5(5) R. Motwani and P. Raghavan, Randomized Algorithms , ch. 6. New York, USA: Cambridge University Press, 1995.
- 6(6) F. Wang and D. P. Landau, “Efficient, multiple-range random walk algorithm to calculate the density of states,” Phys. Rev. Lett. , vol. 86, pp. 2050–2053, 2001.
- 7(7) M. Szummer and T. Jaakkola, “Partially labeled classification with Markov random walks,” in Adv. Neural. Inf. Process. Syst. (T. G. Dietterich, S. Becker, and Z. Ghahramani, eds.), vol. 14, pp. 945–952, MIT Press, 2002.
- 8(8) L. Grady, “Random walks for image segmentation,” IEEE Trans. Pattern Anal. Mach. Intell. , vol. 28, no. 11, pp. 1768–1783, 2006.
