The present disclosure generally relates to a method of performing computation in a hybrid quantum-classical computing system, and more specifically, to a method of solving a combinatorial optimization problem in a hybrid computing system that includes a classical computer and quantum computer that includes a group of trapped ions.
In quantum computing, quantum bits or qubits, which are analogous to bits representing a “0” and a “1” in a classical (digital) computer, are required to be prepared, manipulated, and measured (read-out) with near perfect control during a computation process. Imperfect control of the qubits leads to errors that can accumulate over the computation process, limiting the size of a quantum computer that can perform reliable computations.
Among physical systems upon which it is proposed to build large-scale quantum computers, is a group of ions (e.g., charged atoms), which are trapped and suspended in vacuum by electromagnetic fields. The ions have internal hyperfine states which are separated by frequencies in the several GHz range and can be used as the computational states of a qubit (referred to as “qubit states”). These hyperfine states can be controlled using radiation provided from a laser, or sometimes referred to herein as the interaction with laser beams. The ions can be cooled to near their motional ground states using such laser interactions. The ions can also be optically pumped to one of the two hyperfine states with high accuracy (preparation of qubits), manipulated between the two hyperfine states (single-qubit gate operations) by laser beams, and their internal hyperfine states detected by fluorescence upon application of a resonant laser beam (read-out of qubits). A pair of ions can be controllably entangled (two-qubit gate operations) by qubit-state dependent force using laser pulses that couple the ions to the collective motional modes of a group of trapped ions, which arise from their Coulombic interaction between the ions. In general, entanglement occurs when pairs or groups of ions (or particles) are generated, interact, or share spatial proximity in ways such that the quantum state of each ion cannot be described independently of the quantum state of the others, even when the ions are separated by a large distance.
In current state-of-the-art quantum computers, control of qubits is imperfect (noisy) and the number of qubits used in these quantum computers generally range from a hundred qubits to thousands of qubits. The number of quantum gates that can be used in such a quantum computer (referred to as a “noisy intermediate-scale quantum device” or “NISQ device”) to construct circuits to run an algorithm within a controlled error rate is limited due to the noise.
For solving some optimization problems, a NISQ device having shallow circuits can be used in combination with a classical computer (referred to as a hybrid quantum-classical computing system). In particular, in finding an approximate solution to combinatorial optimization problems, a quantum subroutine, which is run on a NISQ device, can be run as part of a classical optimization routine, which is run on a classical computer. The classical computer (also referred to as a “classical optimizer”) instructs a controller to prepare the NISQ device (also referred to as a “quantum processor”) in an N-qubit state, execute quantum gate operations, and measure an outcome of the quantum processor. Subsequently, the classical optimizer instructs the controller to prepare the quantum processor in a slightly different N-qubit state, and repeats execution of the gate operation and measurement of the outcome. This cycle is repeated until the approximate solution can be extracted. Such hybrid quantum-classical computing system having a NISQ device may outperform classical computers in finding approximate solutions to such combinatorial optimization problems. However, time and resource required for the classical optimization routine based on conventional stochastic optimization methods increases exponentially as the targeted accuracy increases. Due to inefficiencies in these conventional methods cause the outcomes of these processes to be too slow to be useful and too resource intensive.
Therefore, there is a need for an efficient method for the classical optimization routine in a hybrid quantum-classical computing system.
Embodiments of the present disclosure provide a method of performing computation in a hybrid quantum-classical computing system including a classical computer and a quantum processor. The method includes selecting, by a classical computer, a problem to be solved and computing a model Hamiltonian onto which the selected problem is mapped, selecting, by the classical computer, a set of variational parameters, setting a quantum processor in an initial state, where the quantum processor includes a group of trapped ions, each of which has two frequency-separated states, transforming the quantum processor from the initial state to a trial state based on the computed model Hamiltonian and the selected set of variational parameters, measuring a population of the two frequency-separated states of each trapped ion in the quantum processor, and determining if a difference between the measured population and a previously measured population of the two frequency-separated states of each trapped ion in the quantum processor is more or less than a predetermined value. The classical computer either selects another set of variational parameters based on a chaotic map if it is determined that the difference is more than the predetermined value and then sets the quantum processor in the initial state, transforms the quantum processor from the initial state to a new trial state, and measures a population of the two frequency-separated states of each trapped ion in the quantum processor after transforming the quantum processor to the new trial state, or outputting the measured population as an optimized solution to the selected problem if it is determined that the difference is less than the predetermined value. Embodiments of the disclosure may also provide a hybrid quantum-classical computing system comprising non-volatile memory having a number of instructions stored therein which, when executed by one or more processors, causes the hybrid quantum-classical computing system to perform operations of the method described above, and also other methods described herein.
Embodiments of the present disclosure also provide a hybrid quantum-classical computing system. The hybrid quantum-classical computing system includes a quantum processor comprising a group of trapped ions, each of the trapped ions having two hyperfine states defining a qubit, one or more lasers configured to emit a laser beam, which is provided to trapped ions in the quantum processor, a classical computer configured to select a problem to be solved, compute a model Hamiltonian onto which the selected problem is mapped, and select a set of variational parameters, and a system controller configured to set the quantum processor in an initial state, transform the quantum processor from the initial state to a trial state based on the computed model Hamiltonian and the selected set of variational parameters, and measure an expectation value of the model Hamiltonian on the quantum processor. The classical computer is further configured to determine if a difference between the measure population and a previously measured population of the two frequency-separated states of each trapped ion in the quantum processor is less than a predetermined value. The classical computer selects another set of variational parameters based on a chaotic map if it is determined that the difference is more than the predetermined value and then sets the quantum processor in the initial state, transforms the quantum processor from the initial state to a new trial state, measures an expectation value of the model Hamiltonian on the quantum processor after transforming the quantum processor to the new trial state, or output the measured expectation value of the model Hamiltonian as an optimized solution to the selected problem if it is determined that the difference is less than the predetermined value. Embodiments of the disclosure may also provide a hybrid quantum-classical computing system comprising non-volatile memory having a number of instructions stored therein which, when executed by one or more processors, causes the hybrid quantum-classical computing system to perform operations of the method described above.
Embodiments of the present disclosure also provide a hybrid quantum-classical computing system comprising non-volatile memory having a number of instructions stored therein. The number of instructions, when executed by one or more processors, causes the hybrid quantum-classical computing system to perform operations including select a problem to be solved and computing a model Hamiltonian onto which the selected problem is mapped, select a set of variational parameters, set a quantum processor in an initial state, wherein the quantum processor comprises a plurality of qubits, transform the quantum processor from the initial state to a trial state based on the computed model Hamiltonian and the selected set of variational parameters, measure an expectation value of the model Hamiltonian on the quantum processor, and determine if a difference between the measured expectation value of the model Hamiltonian is more or less than a predetermined value. The computer program instructions further cause the information processing system to either select another set of variational parameters based on a chaotic map if it is determined that the difference is more than the predetermined value and then set the quantum processor in the initial state, transform the quantum processor from the initial state to a new trial state, and measure an expectation value of the model Hamiltonian on the quantum processor after transforming the quantum processor to the new trial state; or output the measured population as an optimized solution to the selected problem if it is determined that the difference is less than the predetermined value. Embodiments of the disclosure may also provide a hybrid quantum-classical computing system comprising non-volatile memory having a number of instructions stored therein which, when executed by one or more processors, causes the hybrid quantum-classical computing system to perform operations of the method described above.
So that the manner in which the above-recited features of the present disclosure can be understood in detail, a more particular description of the disclosure, briefly summarized above, may be had by reference to embodiments, some of which are illustrated in the appended drawings. It is to be noted, however, that the appended drawings illustrate only typical embodiments of this disclosure and are therefore not to be considered limiting of its scope, for the disclosure may admit to other equally effective embodiments.
To facilitate understanding, identical reference numerals have been used, where possible, to designate identical elements that are common to the figures. In the figures and the following description, an orthogonal coordinate system including an X-axis, a Y-axis, and a Z-axis is used. The directions represented by the arrows in the drawing are assumed to be positive directions for convenience. It is contemplated that elements disclosed in some embodiments may be beneficially utilized on other implementations without specific recitation.
Embodiments described herein are generally related to a method and a system for performing a computation using a hybrid quantum-classical computing system, and, more specifically, to providing an approximate solution to a combinatorial optimization problem using a hybrid quantum-classical computing system that includes a group of trapped ions.
A hybrid quantum-classical computing system that is able to provide a solution to a combinatorial optimization problem may include a classical computer, a system controller, and a quantum processor. The classical computer performs supporting and system control tasks including selecting a combinatorial optimization problem to be run by use of a user interface, running a classical optimization routine, translating the series of logic gates into pulses to apply on the quantum processor, and pre-calculating parameters that optimize the pulses by use of a central processing unit (CPU). A software program for performing the tasks is stored in a non-volatile memory within the classical computer.
The quantum processor includes trapped ions that are coupled with various hardware, including lasers to manipulate internal hyperfine states (qubit states) of the trapped ions and an acousto-optic modulator to read-out the internal hyperfine states (qubit states) of the trapped ions. The system controller receives from the classical computer instructions for controlling the quantum processor, controls various hardware associated with controlling any and all aspects used to run the instructions for controlling the quantum processor, and returns a read-out of the quantum processor and thus output of results of the computation(s) to the classical computer.
The methods and systems described herein include an efficient method for an optimization routine executed by the classical computer in solving a problem in a hybrid quantum-classical computing system, which can provide improvement over the conventional method for an optimization by conventional stochastic optimization methods.
An imaging objective 108, such as an objective lens with a numerical aperture (NA), for example, of 0.37, collects fluorescence along the Y-axis from the ions and maps each ion onto a multi-channel photo-multiplier tube (PMT) 110 for measurement of individual ions. Non-copropagating Raman laser beams from a laser 112, which are provided along the X-axis, perform operations on the ions. A diffractive beam splitter 114 creates an array of static Raman beams 116 that are individually switched using a multi-channel acousto-optic modulator (AOM) 118 and is configured to selectively act on individual ions. A global Raman laser beam 120 illuminates all ions at once. The system controller (also referred to as a “RF controller”) 104 controls the AOM 118 and thus controls laser pulses to be applied to trapped ions in the group 106 of trapped ions. The system controller 104 includes a central processing unit (CPU) 122, a read-only memory (ROM) 124, a random access memory (RAM) 126, a storage unit 128, and the like. The CPU 122 is a processor of the system controller 104. The ROM 124 stores various programs and the RAM 126 is the working memory for various programs and data. The storage unit 128 includes a nonvolatile memory, such as a hard disk drive (HDD) or a flash memory, and stores various programs even if power is turned off. The CPU 122, the ROM 124, the RAM 126, and the storage unit 128 are interconnected via a bus 130. The system controller 104 executes a control program which is stored in the ROM 124 or the storage unit 128 and uses the RAM 126 as a working area. The control program will include software applications that include program code that may be executed by processor in order to perform various functionalities associated with receiving and analyzing data and controlling any and all aspects of the methods and hardware used to create the ion trap quantum computer system 100 discussed herein.
During operation, a sinusoidal voltage V1 (with an amplitude VRF/2) is applied to an opposing pair of the electrodes 202, 204 and a sinusoidal voltage V2 with a phase shift of 180° from the sinusoidal voltage V1 (and the amplitude VRF/2) is applied to the other opposing pair of the electrodes 206, 208 at a driving frequency ωRF, generating a quadrupole potential. In some embodiments, a sinusoidal voltage is only applied to one opposing pair of the electrodes 202, 204, and the other opposing pair 206, 208 is grounded. The quadrupole potential creates an effective confining force in the X-Y plane perpendicular to the Z-axis (also referred to as a “radial direction” or “transverse direction”) for each of the trapped ions, which is proportional to a distance from a saddle point (i.e., a position in the axial direction (Z-direction)) at which the RF electric field vanishes. The motion in the radial direction (i.e., direction in the X-Y plane) of each ion is approximated as a harmonic oscillation (referred to as secular motion) with a restoring force towards the saddle point in the radial direction and can be modeled by spring constants kx and ky, respectively, as is discussed in greater detail below. In some embodiments, the spring constants in the radial direction are modeled as equal when the quadrupole potential is symmetric in the radial direction. However, undesirably in some cases, the motion of the ions in the radial direction may be distorted due to some asymmetry in the physical trap configuration, a small DC patch potential due to inhomogeneity of a surface of the electrodes, or the like and due to these and other external sources of distortion the ions may lie off-center from the saddle points.
An individual qubit state of each trapped ion may be manipulated by, for example, a mode-locked laser at 355 nanometers (nm) via the excited 2P1/2 level (denoted as |e). As shown in
It should be noted that the particular atomic species used in the discussion provided herein is just one example of atomic species which has stable and well-defined two-level energy structures when ionized and an excited state that is optically accessible, and thus is not intended to limit the possible configurations, specifications, or the like of an ion trap quantum computer according to the present disclosure. For example, other ion species include alkaline earth metal ions (Be+, Ca+, Sr+, Mg+, and Ba+) or transition metal ions (Zn+, Hg+, Cd+).
It should be noted that the particular configuration described above is just one among several possible examples of a trap for confining ions according to the present disclosure and does not limit the possible configurations, specifications, or the like of traps according to the present disclosure. For example, the geometry of the electrodes is not limited to the hyperbolic electrodes described above. In other examples, a trap that generates an effective electric field causing the motion of the ions in the radial direction as harmonic oscillations may be a multi-layer trap in which several electrode layers are stacked and an RF voltage is applied to two diagonally opposite electrodes, or a surface trap in which all electrodes are located in a single plane on a chip. Furthermore, a trap may be divided into multiple segments, adjacent pairs of which may be linked by shuttling one or more ions, or coupled by photon interconnects. A trap may also be an array of individual trapping regions arranged closely to each other on a micro-fabricated ion trap chip. In some embodiments, the quadrupole potential has a spatially varying DC component in addition to the RF component described above.
In an ion trap quantum computer, the motional modes may act as a data bus to mediate entanglement between two qubits and this entanglement is used to perform an XX gate operation. That is, each of the two qubits is entangled with the motional modes, and then the entanglement is transferred to an entanglement between the two qubits by using motional sideband excitations, as described below.
By controlling and/or directing transformations of the combined qubit-motional states as described above, an XX-gate operation may be performed on two qubits (i-th and j-th qubits). In general, the XX-gate operation (with maximal entanglement) respectively transforms two-qubit states |0i|0j, |0i|1j, |1i|0j, and as follows:
|0i|0j→|0i|0j−i|1i|1j
|0i|1j→|0i|1j−i|1i|0j
|1i|0j→−i|0i|1j+|1i|0j
|1i|1j→−i|0i|0j+|1i|1j.
For example, when the two qubits (i-th and j-th qubits) are both initially in the hyperfine ground state |0 (denoted as |0i|0j) and subsequently a π/2-pulse on the blue sideband is applied to the i-th qubit, the combined state of the i-th qubit and the motional mode |0i|nphm is transformed into a superpositin of |0i|nphm and |1inph+1m, and thus the combined state of the two qubits and the motional mode is transformed into a superposition of |0i|0j|nphm and |1j|nph+1m. When a π/2-pulse on the red sideband is applied to the j-th qubit, the combined state of the j-th qubit and the motional mode |0j|nphm is transformed to superposition of |0j|nphm and |1j|nph−|1m and the combined state |0j|nph+1m is transformed into a superposition of |0j|nph+1m and |1j|nphp.
Thus, applications of a π/2-pulse on the blue sideband on the i-th qubit and a π/2-pulse on the red sideband on the j-th qubit may transform the combined state of the two qubits and the motional mode |0i|0j|nphm into a superposition of |0i|0j|nphm and |1i|1j|nphm, the two qubits now being in an entangled state. For those of ordinary skill in the art, it should be clear that two-qubit states that are entangled with motional mode having a different number of phonon excitations from the initial number of phonon excitations nph (i.e., |1i|0j|nph+1m and |0i|1j|nph−|1m) can be removed by a sufficiently complex pulse sequence, and thus the combined state of the two qubits and the motional mode after the XX-gate operation may be considered disentangled as the initial number of phonon excitations nph in the m-th motional mode stays unchanged at the end of the XX-gate operation. Thus, qubit states before and after the XX-gate operation will be described below generally without including the motional modes.
More generally, the combined state of i-th and j-th qubits transformed by the application of pulses on the sidebands for duration τ (referred to as a “gate duration”), having amplitudes Ω(i) and Ω(i) and detuning frequency μ, can be described in terms of an entangling interaction X(i,j)(τ) as follows:
|0i|0j→cos(2χ(i,j)(τ)|0i|0j−i sin(2χ(i,j)(τ))|1i|1j
|0i|1j→cos(2χ(i,j)(τ))|0i|1j−i sin(2χ(i,j)(τ))|1i|0j
|1i|0j→−i sin(2χ(i,j)(τ))|0i|1nj+cos(2χ(i,j)(τ))|1i|0j
|1i|1j→−i sin(2χ(i,j)(τ))|0i|0j+cos(2χ(i,j)(τ))|1i|1j
where,
and ηm(i) is the Lamb-Dicke parameter that quantifies the coupling strength between the i-th ion and the m-th motional mode having the frequency ωm, and M is the number of the motional modes (equal to the number N of ions in the group 106).
The entanglement interaction between two qubits described above can be used to perform an XX-gate operation. The XX-gate operation (XX gate) along with single-qubit operations (R gates) forms a set of gates {R, XX} that can be used to build a quantum computer that is configured to perform desired computational processes. Among several known sets of logic gates by which any quantum algorithm can be decomposed, a set of logic gates, commonly denoted as {R, XX}, is native to a quantum computing system of trapped ions described herein. Here, the R gate corresponds to manipulation of individual qubit states of trapped ions, and the XX gate (also referred to as an “entangling gate”) corresponds to manipulation of the entanglement of two trapped ions.
To perform an XX-gate operation between i-th and j-th qubits, pulses that satisfy the condition χ(i,j)(τ)=θ(i,j) (0<θ(i,j)≤π/8) (i.e., the entangling interaction χ(i,j)(τ) has a desired value θ(i,j), referred to as condition for a non-zero entanglement interaction) are constructed and applied to the i-th and the j-th qubits. The transformations of the combined state of the i-th and the j-th qubits described above corresponds to the XX-gate operation with maximal entanglement when θ(i,j)=π/8. Amplitudes Ω(i)(t) and Ω(j)(t) of the pulses to be applied to the i-th and the j-th qubits are control parameters that can be adjusted to ensure a non-zero tunable entanglement of the i-th and the j-th qubits to perform a desired XX gate operation on i-th and j-th qubits.
While currently available quantum computers may be noisy and prone to errors, a combination of both quantum and classical computers, in which a quantum computer is a domain-specific accelerator, may be able to solve optimization problems that are beyond the reach of classical computers. An example of such optimization problems is in solving combinatorial optimization problems, where Quantum Approximate Optimization Algorithm (QAOA) perform search for optimal solutions from a set of possible solutions according to some given criteria, using a quantum computer and a classical computer. The combinatorial optimization problems that can be solved by the methods described herein may include the PageRank (PR) problem for ranking web pages in search engine results and the maximum-cut (MaxCut) problem with applications in clustering, network science, and statistical physics. The MaxCut problem aims at grouping nodes of a graph into two partitions by cutting across links between them in such a way that a weighted sum of intersected edges is maximized. The combinatorial optimization problems that can be solved by the methods described herein may further include the travelling salesman problem for finding shortest and/or cheapest round trips visiting all given cities. The travelling salesman problem is applied to scheduling a printing press for a periodical with multi-editions, scheduling school buses minimizing the number of routes and total distance while no bus is overloaded or exceeds a maximum allowed policy, scheduling a crew of messengers to pick up deposit from branch banks and return the deposit to a central bank, determining an optimal path for each army planner to accomplish the goals of the mission in minimum possible time, designing global navigation satellite system (GNSS) surveying networks, and the like. Another combinatorial optimization problem is the knapsack problem to find a way to pack a knapsack to get the maximum total value, given some items. The knapsack problem is applied to resource allocation given financial constraints in home energy management, network selection for mobile nodes, cognitive radio networks, sensor selection in distributed multiple radar, or the like.
A combinatorial optimization problem is modeled by an objective function (also referred to as a cost function) that maps events or values of one or more variables onto real numbers representing “cost” associated with the events or values and seeks to minimize the cost function. In some cases, the combinatorial optimization problem may seek to maximize the objective function. The combinatorial optimization problem is further mapped onto a simple physical system described by a model Hamiltonian (corresponding to the sum of kinetic energy and potential energy of all particles in the system) and the problem seeks the low-lying energy state of the physical system.
This hybrid quantum-classical computing system has at least the following advantages. First, an initial guess is derived from a classical computer, and thus the initial guess does not need to be constructed in a quantum processor that may not be reliable due to inherent and unwanted noise in the system. Second, a quantum processor performs a small-sized (e.g., between a hundred qubits and a few thousand qubits) but accelerated operation (that can be performed using a small number of quantum logic gates) between an input of a guess from the classical computer and a measurement of a resulting state, and thus a NISQ device can execute the operation without a significant amount of accumulating errors. Thus, the hybrid quantum-classical computing system may allow challenging problems to be solved, such as small but challenging combinatorial optimization problems, which are not practically feasible on classical computers, or suggest ways to speed up the computation with respect to the results that would be achieved using the best known classical algorithm.
The Approximate Optimization Algorithm (QAOA) relies on a variational search by a well-known variational method. The variational method consists of iterations that include choosing a “trial state” of the quantum processor depending on a set of one or more parameters (referred to as “variational parameters”) and measuring an expectation value of the model Hamiltonian (e.g., energy) of the trial state. A set of variational parameters (and thus a corresponding trial state) is adjusted and an optimal set of variational parameters are found that minimizes the expectation value of the model Hamiltonian (the energy). The resulting energy is an approximation to the exact lowest energy state.
In block 802, by the classical computer 102, a combinatorial optimization problem to be solved is selected, for example, by use of a user interface of the classical computer 102, or retrieved from the memory of the classical computer 102, and a model Hamiltonian HC, to which the selected combinatorial optimization problem is mapped, is computed.
In a combinatorial optimization problem defined on a set of N binary variables with t constrains (α=1, 2, . . . t), the objective function is the number of satisfied clauses C(z)=Σα=1tCα (z) or a weighted sum of satisfied clauses C(z)=τα=1thαCα (z) (hα corresponds to a weight for each constraint α), where z=z1 z2 . . . zN is a N-bit string and Cα(z)=1 if z satisfies the constraint α. The clause Cα(z) that describes the constraint α typically includes a small number of variables zi. The goal is to minimize the objective function. Minimizing this objective function can be converted to finding a low-lying energy state of a model Hamiltonian HC=τα=1thα Pα by mapping each binary variable zi to a quantum spin σiz and the constraints to the couplings among the quantum spins σiz, where Pα is a Pauli string (also referred to as a Pauli term) Pα=σ1α
The quantum processor 106 has N qubits and each quantum spin σiz (i=1, 2, . . . , N) is encoded in qubit i (i=1, 2, . . . , N) in the quantum processor 106. For example, the spin-up and spin-down states of the quantum spin σiz are encoded as |0 and |1 of the qubit i.
In block 804, following the mapping of the selected combinatorial optimization problem onto a model Hamiltonian HC=Σα=1thα Pα, a set of variational parameters ({right arrow over (γ)}=γ1, γ2, . . . , γp, {right arrow over (β)}=β1, β2, . . . , βp) is selected, by the classical computer 102, to construct a sequence of gates (also referred to a “trial state preparation circuit”) A({right arrow over (γ)}, {right arrow over (β)}), which prepares the quantum processor 106 in a trial state |Ψ({right arrow over (γ)}, {right arrow over (β)}). For the initial iteration, a set of variational parameters {right arrow over (γ)}, {right arrow over (β)} may be randomly chosen. This trial state |Ψ({right arrow over (γ)}, {right arrow over (β)}) is used to provide an expectation value of each Pauli term Pα (α=1, 2, . . . , t) of the model Hamiltonian HC. The trial state preparation circuit A({right arrow over (γ)}, {right arrow over (β)}) includes p layers (i.e., p-time repetitions) of a model-Hamiltonian circuit U(γl)=e−iγ
as
A({right arrow over (γ)},{right arrow over (β)})=UMix(βp)U(γp)UMix(βp−1)U(γp−1) . . . UMix(β1)U(γ1).
Each term in the mixing term HB corresponds to an orthogonal Pauli matrix to σiα
In block 806, following the selection of a set of variational parameters {right arrow over (γ)}, {right arrow over (β)}, the quantum processor 106 is set in an initial state |Ψ0 by the system controller 104. The initial state |Ψ0 may be in the hyperfine ground state of the quantum processor 106. A qubit can be set in the hyperfine ground state |0 by optical pumping and in the superposition state |0+|1 by application of a proper combination of single-qubit operations (denoted by “H” in
In block 808, following the preparation of the quantum processor 106 in the initial state |Ψ0, the trial state preparation circuit A({right arrow over (γ)}, {right arrow over (β)}) is applied to the quantum processor 106, by the system controller 104, to construct the trial state |Ψ({right arrow over (γ)}, {right arrow over (β)}). The trial state preparation circuit A({right arrow over (γ)}, {right arrow over (β)}) is decomposed into series of XX-gate operations (XX gates) and single-qubit operations (R gates) and optimized by the classical computer 102. The series of XX-gate operations (XX gates) and single-qubit operations (R gates) can be implemented by application of a series of laser pulses, intensities, durations, and detuning of which are appropriately adjusted by the classical computer 102 on the set initial state |Ψ0 and transform the quantum processor from the initial state |Ψ0 to trial state |Ψ({right arrow over (γ)}, {right arrow over (β)}).
In block 810, following the construction of the trial state |Ψ({right arrow over (γ)}, {right arrow over (β)}) on the quantum processor 106, the expectation value Fα({right arrow over (γ)}, {right arrow over (β)})=Ψ({right arrow over (γ)}, {right arrow over (β)})|Pα|Ψ({right arrow over (γ)}, {right arrow over (β)}) of the Pauli term Pα (α=1, 2, . . . , m) is measured by the system controller 104. In one embodiment, appropriate basis changes are made to individual qubits for a given Pα prior to measurement so that repeated measurements of populations of the trapped ions in the group 106 of trapped ions (by collecting fluorescence from each trapped ion and mapping onto the PMT 110) yield the expectation value the Pauli term Pα of the trial state |Ψ({right arrow over (γ)}, {right arrow over (β)}).
In block 812, following the measurement of the expectation value of the Pauli term Pα (α=1, 2, . . . , m), blocks 806 to 810 for another Pauli term Pα (α=1, 2, . . . , m) until the expectation values of all the Pauli terms Pα (α=1, 2, . . . , m) of the model Hamiltonian HC=Σα=1mhα Pα have been measured by the system controller 104.
In block 814, following the measurement of the expectation values of all the Pauli terms Pα (α=1, 2, . . . , m), a sum of the measured expectation values of all the Pauli terms Pα (α=1, 2, . . . , m) of the model Hamiltonian HC=Σα=1mhα Pα (that is, the measured expectation value of the model Hamiltonian HC, F({right arrow over (γ)}, {right arrow over (β)})=Σα=1m Fα({right arrow over (γ)}, {right arrow over (β)})=Σα=1mΨ({right arrow over (γ)}, {right arrow over (β)})|Pα|Ψ({right arrow over (γ)}, {right arrow over (β)})) is computed, by the classical computer 102.
In block 816, following the computation of the measured expectation value of the model Hamiltonian HC, the measured expectation value F({right arrow over (γ)}, {right arrow over (β)}) of the model Hamiltonian HC is compared to the measured expectation value of the model Hamiltonian HC in the previous iteration, by the classical computer 102. If a difference between the two values is less than a predetermined value (i.e., the expectation value sufficiently converges towards a fixed value), the method proceeds to block 820. If the difference between the two values is more than the predetermined value, the method proceeds to block 818.
In block 818, another set of variational parameters {right arrow over (γ)}, {right arrow over (β)} for a next iteration of blocks 806 to 816 is computed by the classical computer 102, in search for an optimal set of variational parameters {right arrow over (γ)}, {right arrow over (β)} to minimize the expectation value of the model Hamiltonian HC, F({right arrow over (γ)}, {right arrow over (β)})=Σα=1mΨ({right arrow over (γ)}, {right arrow over (β)})|PαΨ({right arrow over (γ)}, {right arrow over (β)}). That is, the classical computer 102 will execute a classical optimization routine to find the optimal set of variational parameters {right arrow over (γ)}, {right arrow over (β)} (F({right arrow over (γ)}, {right arrow over (β)})). As the number of layers p increases, the accuracy of the measured expectation value of the model Hamiltonian HC is improved. However, with increasing p, circuit depth of the trial state preparation circuit A ({right arrow over (γ)}, {right arrow over (β)}) increases and errors due to the noise in a NISQ device will be accumulated. Furthermore, a variational search space in which the optimal variational parameters (the number of which is 2p) is searched by a conventional classical stochastic optimization algorithm, such as simultaneous perturbation stochastic approximation (SPSA), particle swarm optimization (PSO), Bayesian optimization (BO), and Nelder-Mead (NM), generally increases exponentially and thus the optimization becomes generally exponentially difficult as the number of p increases.
In the embodiments described herein, a set of variational parameters {right arrow over (γ)}, {right arrow over (β)} for a next iteration is computed by replacing all or some of γ1, γ2, . . . , γp and β1, β2, . . . , βp according to the functions ƒ(γl, p, M, r, s) and g(βl, p, M, r, s), respectively, where the functions ƒ(γl, p, M, r, s) and g(βl, p, M, r, s) are well-known chaotic maps that update given the variational parameters γl, βl, to the variational parameters γ′l, β′l, for a next iteration as γ′l=ƒ(γl, p, M, r, s) and β′l=g(βl, p, M, r, s), respectively, based on a chaotic map M. Here, r represents a tuning parameter, and s represents the number of evaluations of the chaotic map M. In some embodiments, the processes performed during block 818 include the use of a chaotic map, such as, for example, a one-dimensional chaotic map for independently updating γl to γ′l and βl to β′l. Examples of one-dimensional chaotic maps include a logistic map, Kent map, Bernoulli shift map, sine map, ICMIC map, circle map, Chebyshev map, and Gaussian map. Alternatively, a two-dimensional chaotic map may be used to map a set of γl and βl to another set of γ′l and β′l by mapping gamma (γl) and beta (βl) to the first and second dimensions in the chaotic map, respectively. In some embodiments, the variational parameters γl, βl are updated at every iteration (in a discrete manner in time domain) and thus chaotic maps that are discrete in time domain are used. However, in some embodiments, the variational parameters γl, βl may be updated in a continuous manner in time domain (e.g., based on a differential equation) and chaotic maps that are continuous in time domain may be used. However, in general, different chaotic maps that have different properties in the time domain, space domain, space dimensions, or number of parameters may be used to perform the combinatorial optimization process. The chaotic maps (i.e., the functions ƒ(γl, p, M, r, s) and g(βl, p, M, r, s)) may be tuned (i.e., meta-optimized by adjusting the tuning parameter r) by another optimization method by well-known methods such as meta-evolution, super-optimization, automated parameter calibration, hyper-heuristics, and the like. Properly tuned chaotic maps increase the accuracy of the solution of the selected combinatorial optimization.
For example, the logistic map may be used to update a set of variational parameters γl and βl, to γl′=rγl(1−γl) and β′l=rβl(1−βl), respectively, during block 818. The tuning parameter r influences performance of the search algorithm (often referred to as the exploration-exploitation tradeoff). Exploration is the ability to explore various regions in the search space to locate a minimum, preferably a global minimum of the expectation value of the model Hamiltonian HC. Exploitation is the ability to concentrate the search around a promising candidate solution in order to locate the minimum of the expectation value of the model Hamiltonian HC precisely. The logistic map is most chaotic when the tuning parameter r=4, allowing one to explore the largest search area to locate a good minimum (i.e., close to the global minimum) of the expectation value of the model Hamiltonian HC. The minimum of the expectation value of the model Hamiltonian HC thus found is an approximate solution to the exact lowest energy of the model Hamiltonian HC. In one example, in which a simulation using a Gaussian noise source to mimic general noise characteristics of a hybrid quantum-classical computing system was used, it was found that when the logistic map with tuning parameter r=4 was used, the approximation ratio of the approximate solution relative to the exact lowest energy of the model Hamiltonian HC for a MAXCUT problem with 7 nodes ranges between 0.68 and 0.72. With the tuning parameter r=2.5, the approximation ratio drops at about 0.58. In this example, blocks 806 to 818 are iterated 100,000 times (i.e., the number of times of the set of variational parameters {right arrow over (γ)}, {right arrow over (β)} was updated s=100,000) until the measured expectation value of the model Hamiltonian HC sufficiently converges.
The Kent map may also be used to update a set of variational parameters γl and
respectively, during block 818. The Kent map is in the most chaotic regime when the tuning parameter r is the farthest from 0.5. Similar to the example above, a simulation using a Gaussian noise source was used, in which it was found that when the Kent map with the tuning parameter r=0.99 was used, the approximation ratio ranges between 0.68 and 0.77 for a MAXCUT problem with 7 nodes. With the tuning parameter r=0.5, the approximation ratio was found to drop to about 0.59. In this example, blocks 806 to 818 are iterated 100 times (i.e., the number of times the set of variational parameters {right arrow over (γ)}, {right arrow over (β)} was updated s=100) until the measured expectation value of the model Hamiltonian HC sufficiently converges. Therefore, in this example, by making the selection of the Kent chaotic map versus the logistic chaotic map provided a significant decrease in the number of iterations that were required to solve the MAXCUT problem, leading to a significant decrease in the total processing time due to this selection. One will note that non-Gaussian noise sources can occur in hybrid quantum-classical computing systems and the selection of a preferred chaos map can vary depending on the characteristics of the noisy source. Thus, depending on the characteristics of the variational parameters, the chaotic map, and noise exhibited in the hybrid quantum-classical computing system one skilled in the art (or the classical computer itself) may select a preferred chaotic map and tuning parameters.
The functions ƒ(γl, p, M, r, s) and g(βl, p, M, r, s) may include different chaotic maps or the same chaotic maps that are differently tuned in different iterations, depending on the structures of the selected combinatorial optimization problem and/or desired optimization strategies.
With the chaotic mapping, optimization of 2p parameters by a conventional classical stochastic optimization algorithm is effectively converted into optimization of a parameters, where the number a is less than 2p, resulting in an exponentially smaller variational search space. A smaller variational search space reduces iterations of measuring expectation values of the model Hamiltonian HC, and thus the total number of quantum circuits to run on the quantum processor 106, which brings down the time and cost of solving a problem in a hybrid quantum-classical computing system.
In block 820, the classical computer 102 will typically output the results of the variational search to a user interface of the classical computer 102 and/or save the results of the variational search in the memory of the classical computer 102. The results of the variational search will include the measured expectation value of the model Hamiltonian HC in the final iteration corresponding to the minimized value of the objective function C(z)=Σα=1thαCα (z) of the selected combinatorial optimization problem (e.g., a shortest distance for all of the trips visiting all given cities in a travelling salesman problem) and the measurement of the trail state |Ψα({right arrow over (γ)}, {right arrow over (β)}) in the final iteration corresponding to the solution to the N-bit string (z=z1 z2 . . . zN) that provides the minimized value of the objective function C(z)=Σα=1thαCα (z) of the selected combinatorial optimization problem (e.g., a route of the trips to visit all of the given cities that provides the shortest distance for a travelling salesman).
It should be noted that the particular example embodiments described above are just some possible examples of a hybrid quantum-classical computing system according to the present disclosure and do not limit the possible configurations, specifications, or the like of hybrid quantum-classical computing systems according to the present disclosure. For example, a quantum processor within a hybrid quantum-classical computing system is not limited to a group of trapped ions described above. For example, a quantum processor may be a superconducting circuit that includes micrometer-sized loops of superconducting metal interrupted by a number of Josephson junctions, functioning as qubits (referred to as flux qubits). The junction parameters are engineered during fabrication so that a persistent current will flow continuously when an external magnetic flux is applied. As only an integer number of flux quanta are allowed to penetrate in each loop, clockwise or counter-clockwise persistent currents are developed in the loop to compensate (screen or enhance) a non-integer external magnetic flux applied to the loop. The two states corresponding to the clockwise and counter-clockwise persistent currents are the lowest energy states; differ only by the relative quantum phase. Higher energy states correspond to much larger persistent currents, thus are well separated energetically from the lowest two eigenstates. The two lowest eigenstates are used to represent qubit states |0 and |1. An individual qubit state of each qubit device may be manipulated by application of a series of microwave pulses, frequency and duration of which are appropriately adjusted.
The variational search with chaotic maps described herein provides an improved method for optimizing variational parameters by a classical computer within the Quantum Approximate Optimization Algorithm (QAOA) performed on a hybrid quantum-classical computing system. Thus, the feasibility that a hybrid quantum-classical computing system may allow solving problems, which are not practically feasible on classical computers, or suggest a considerable speed up with respect to the best known classical algorithm even with a noisy intermediate-scale quantum device (NISQ) device.
While the foregoing is directed to specific embodiments, other and further embodiments may be devised without departing from the basic scope thereof, and the scope thereof is determined by the claims that follow.
This application claims the benefit to U.S. Provisional Application No. 62/890,413, filed Aug. 22, 2019, which is incorporated by reference herein.
Number | Date | Country | |
---|---|---|---|
62890413 | Aug 2019 | US |