Approaching graph problems with continuous variable quantum computing
Micha{\l} St\k{e}ch{\l}y, Ntwali Bashige, Przemys{\l}aw Chojecki

TL;DR
This paper presents a novel quantum computing method using continuous variables and variational algorithms to solve the Max-Cut problem, analyzing the impact of non-Gaussian gates and framing the circuit as a machine learning model.
Contribution
It introduces a new continuous-variable quantum approach for Max-Cut, combining graph embedding and variational circuits, with analysis of non-Gaussian gate effects.
Findings
Non-Gaussian gates influence optimization performance
Proposed a machine learning perspective for quantum circuits
Numerical simulations demonstrate potential effectiveness
Abstract
We introduce a method for solving the Max-Cut problem using a variational algorithm and a continuous-variables quantum computing approach. The quantum circuit consists of two parts: the first one embeds a graph into a circuit using the Takagi decomposition and the second is a variational circuit which solves the Max-Cut problem. We analyze how the presence of different types of non-Gaussian gates influences the optimization process by performing numerical simulations. We also propose how to treat the circuit as a machine learning model.
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.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsQuantum Computing Algorithms and Architecture · Neural Networks and Reservoir Computing · Quantum Information and Cryptography
††affiliationtext: Bohr Technology Inc.
Approaching graph problems with continuous variable quantum computing
Michał Stechł[email protected]
Ntwali Bashige
Przemysław Chojecki
Abstract
We introduce a method for solving the Max-Cut problem using a variational algorithm and a continuous-variables quantum computing approach. The quantum circuit consists of two parts: the first one embeds a graph into a circuit using the Takagi decomposition and the second is a variational circuit which solves the Max-Cut problem. We analyze how the presence of different types of non-Gaussian gates influences the optimization process by performing numerical simulations. We also propose how to treat the circuit as a machine learning model.
1 Introduction
In recent years there has been a boom in quantum computing. Different models of hardware have been proposed, with the most dominant being based on superconducting circuits or trapped ions (cf. IBM, Rigetti, IonQ). All these architectures use discrete values (qubits) as the basis for computation. However, this is not the only possible approach — one might also create a quantum computer based on qudits or even continuous variables [1]. The later is the approach that the Canadian company Xanadu is pursuing, building a photonic quantum computer utilizing the continuous variable paradigm. They have built the open-source libraries Strawberry Fields and PennyLane which provide tools for simulating photonic circuits and perfoming machine learning experiments.
Our goal in this paper is to take a hands-on approach towards optimization problems on continuous-variable quantum computers. This type of problem has already been researched both for discrete quantum computing and quantum annealing in [2], [3], and [4]. In particular, we consider a solution to the Max-Cut problem on weighted graphs. We embed a graph into a quantum state, and then we optimize the parametrizable part of the circuit using a well-chosen cost function. For readers new to continuous-variable quantum computing, the appendices can serve as a quick introduction to the terminology and foundations of the field.
1.1 Related work
In recent years, researchers started to use a new approach for creating quantum algorithms, namely variational circuits [5]. Algorithms like Variational Quantum Eigensolver (VQE) [6] or Quantum Approximate Optimization Algorithm (QAOA) [2] have been succesfully employed to graph problems like the Max-Cut [2] and the traveling salesman problems [7]. However, these algorithms use the discrete variable quantum computing paradigm and there has not been much work done to solve this type of problems with continuous-variable quantum computing; with the notable recent exception of [8]. Among all the graph problems, the Max-Cut problem has thus far gotten much more attention than others as can be found in [2], [3], and [9]. Since many researchers use it as the first problem for testing and benchmarking their variational optimization algorithms, we decided to follow this trend.
We have based our work on the methods described in [10] and [11] and developed them further to solve the Max-Cut problem on a simulator of a photonic quantum computer.
1.2 Acknowledgements
We would like to thank Nathan Killoran and Josh Izaac for their help and guidance, Maria Schuld for help with the QMLT package and Nicolás Quesada for help with understanding the Takagi decomposition. We would also like to acknowledge Wayne Nixalo and Witold Kowalczyk for their contribution at the initial stage of this research.
1.3 Organization
This paper is organized as follows: in section 2 we present the theoretical framework we used in this research. We introduce two ways of representing a graph as a quantum state using either a Gaussian covariance matrix or the Takagi decomposition.
In section 3, we present results of the simulation made on graphs of different sizes and offer preliminary results for extending the research to a machine learning model.
In section 4, we conclude the paper and give directions for further research.
Appendices A, B, C and D introduce the reader to the continuous-variables quantum computing paradigm.
2 Theoretical framework
2.1 Representation of a graph as a quantum state
Let be a weighted graph where is a graph with vertices and edges , and is a weight function which attaches to each edge between vertices and a real number . We set if there is no edge connecting and .
We write for the weighted adjacency matrix, that is we set for each . Inspired by [12] and [10], we match with a Gaussian covariance matrix (i.e. a matrix describing a state created by a Gaussian quantum circuit). We can either calculate it directly or perform the Takagi decomposition, which allows us to omit direct calculations. We describe both methods, but we use only the second one for the numerical simulations.
2.1.1 Gaussian covariance matrix
We assume that has vertices. Let be the identity matrix. We define
[TABLE]
The Gaussian covariance matrix associated with is defined to be
[TABLE]
Let be an auxilary real number which will be our parameter to be determined for each graph separately. We choose such that is symplectic and positive definite, if that is possible. The reason we need to scale is because does not always give a proper Gaussian covariance matrix222That is, it cannot be always represented by a gaussian quantum state (cf. [10], especially Appendix A). For arbitrary , the above might not work. That is why we introduce to be another auxilary positive real, which we use as a parameter. Adopting the method in [10] we define
[TABLE]
and set
[TABLE]
where here is defined with . Pursuant to Appendix A in [10] for any there are always such that is symplectic and positive definite.
Now, using Strawberry Fields we are able to associate a quantum circuit with if that is possible, or with if not. Note that we try to avoid using as it doubles the dimensions and the number of qumodes we need to use.
The result is a quantum circuit for which the output probability distribution depends on matrix .
This method introduces additional parameters and requires choosing them in such a way that all the matrices meet the required conditions. However, the same result can be achieved by using the Takagi decomposition, as described in the section below. In this research we have used the later approach.
2.1.2 Takagi decomposition
Let’s take a set of squeezed states, with a squeezing parameter , followed by an interferometer described by a matrix (see fig. 2.1.2). If the matrices meet the condition:
[TABLE]
where is a diagonal matrix with elements (which are the eigenvalues of ) on the diagonal and , then the probability distribution of such a state depends on matrix [12].
Therefore, if we want to embed a weighted graph described by a distance matrix in a circuit, we do not need to calculate the covariance matrix; it’s enough to perform the Takagi decomposition which is given by the equation 1 and to set the parameters of the gates accordingly.
There are two restrictions on matrix : it has to be symmetrical and its eigenvalues must be from the interval so that it fits the function. Matrix is always symmetrical, but it can have arbitrary eigenvalues. Therefore in order to embed it, we need to rescale it by multipling it by a constant, so that it meets the second condition.
This method has several advantages over the previous one: it does not require calculating the covariance matrix explicitly, it does not introduce any parameters and it is much simpler. Those reasons make it an attractive method for state preparation as we do in this paper.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] Weedbrook, Christian and Pirandola, Stefano and García-Patrón, Raúl and Cerf, Nicolas J. and Ralph, Timothy C. and Shapiro, Jeffrey H. and Lloyd, Seth ”Gaussian Quantum Information”. Rev. Mod. Phys. . 84 , 621–669 (2012) https://link.aps.org/doi/10.1103/Rev Mod Phys.84.621
- 2[2] Edward Farhi, Jeffrey Goldstone, ”A Quantum Approximate Optimization Algorithm”, https://arxiv.org/abs/1509.04279
- 3[3] Gavin E. Crooks, ”Performance of the Quantum Approximate Optimization Algorithm on the Maximum Cut Problem”, http://arxiv.org/abs/1811.08419
- 4[4] Ryan Hamerly et al. ”Experimental investigation of performance differences between coherent Ising machines and a quantum annealer”. Science Advances . 5 (2019) https://advances.sciencemag.org/content/5/5/eaau 0823
- 5[5] Jarrod R. Mc Clean, Jonathan Romero, Ryan Babbush, Alán Aspuru-Guzik, ”The theory of variational hybrid quantum-classical algorithms” New Journal of Physics . 18 (2016) https://iopscience.iop.org/article/10.1088/1367-2630/18/2/023023
- 6[6] Alberto Peruzzo, Jarrod Mc Clean, Peter Shadbolt, Man-Hong Yung, Xiao-Qi Zhou Peter J. Love,4 Alán Aspuru-Guzik and Jeremy L. O’Brien, ”A variational eigenvalue solver on a quantum processor” Nature Communications . 5 (2014) https://www.nature.com/articles/ncomms 5213
- 7[7] Stuart Hadfield, Zhihui Wang, Bryan O’Gorman, Eleanor G. Rieffel, Davide Venturelli and Rupak Biswas, ”From the Quantum Approximate Optimization Algorithm to a Quantum Alternating Operator Ansatz” Algorithms . 12 (2019) https://www.mdpi.com/1999-4893/12/2/34
- 8[8] Guillaume Verdon, Juan Miguel Arrazola, Kamil Brádler and Nathan Killoran, ”A Quantum Approximate Optimization Algorithm for continuous problems”, http://arxiv.org/abs/1902.00409 .
