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 an optimization problem in a hybrid computing system that includes a classical computer and quantum computer that includes a series of Josephson junctions.
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 series of Josephson junctions, each of which is formed by separating two superconducting electrodes with an insulating layer that is thin enough to allow pairs of electrons (Cooper pairs) to tunnel between the superconducting electrodes. Thus, current (referred to as Josephson current or persistent current) flows between the superconducting electrodes in the absence of a bias voltage applied between. A Josephson junction may be modelled as a non-linear resonator formed from a non-linear current-dependent inductance LJ (I) in parallel with a capacitance CJ. The capacitance CJ is determined by a ratio of the area of the Josephson junction to the thickness of the insulating layer. The inductance LJ (I) is determined by the Joseph current through the insulating layer, Thus, two lowest energy states of the non-linear resonator can be used as computational states of a qubit (referred to as “qubit states”). These states can be controlled via microwave irradiation of the superconducting circuit.
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 (with small number of gate operations to be executed in time-sequence) can be used in combination with a classical computer (referred to as a hybrid quantum-classical computing system). In particular, finding low-energy states of a many-particle quantum system, such as large molecules, or 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 an NISQ device may outperform classical computers in finding low-energy states of a many-particle quantum system and in finding approximate solutions to such combinatorial optimization problems. However, the number of quantum gate operations required within the quantum routine increases rapidly as the problem size increases, leading to accumulated errors in the NISQ device and causing the outcomes of these processes to be not reliable.
Therefore, there is a need for a procedure to construct shallow circuits that require a minimum number of quantum gate operations to perform computation and thus reduce noise in a hybrid quantum-classical computing system.
A method of performing computation in a hybrid quantum-classical computing system includes computing, by a classical computer, a model Hamiltonian including a plurality of sub-Hamiltonian onto which a selected problem is mapped, setting a quantum processor in an initial state, where the quantum processor comprises a plurality of trapped ions, each of which has two frequency-separated states defining a qubit, transforming the quantum processor from the initial state to a trial state based on each of the plurality of sub-Hamiltonians and an initial set of variational parameters by applying a reduced trial state preparation circuit to the quantum processor, measuring an expectation value of each of the plurality of sub-Hamiltonians on the quantum processor, and determining, by the classical computer, if a difference between the measured expectation values of the model Hamiltonian in the current iteration and the previous iteration is more or less than a predetermined value. If it is determined that the difference is more than the predetermined value, the classical computer either selects another set of variational parameters based on a classical optimization method, sets the quantum processor in the initial state, transforms the quantum processor from the initial state to a new trial state based on each of the plurality of sub-Hamiltonians and the another set of variational parameters by applying a new reduced trial state preparation circuit to the quantum processor, and measures an expectation value of the each of the plurality of sub-Hamiltonians on the quantum processor after transforming the quantum processor to the new trial state. If it is determined that the difference is less than the predetermined value, the classical computer outputs the measured expectation value of the model Hamiltonian as an optimized solution to the selected problem.
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 an optimization problem using a hybrid quantum-classical computing system that includes a series of Josephson junctions.
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. In some embodiments, the system controller is housed within the classical computer. 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 a series of Josephson junctions that are coupled with various hardware, including microwave generators, synthesizers, mixers, and resonators to manipulate and to read-out the states of superconducting qubits. 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 constructing quantum gate operations executed by the quantum processor in solving a problem in a hybrid quantum-classical computing system.
General Hardware Configurations
The system controller 104 controls a microwave waveform generator 110 that includes synthesizers, waveform generators, and mixers to generate microwave pulses. These microwave pulses are filtered by a filter 112 and attenuated by an attenuator 114, and provided to the quantum processor 106 to perform operations within the quantum processor 106. Analog readout signals from the quantum processor 106 are then amplified by an amplifier 116 and digitally processed either on classical computers or in customized field programmable gate arrays (FPGAs) 118 for fast processing. The system controller 104 includes a central processing unit (CPU) 120, a read-only memory (ROM) 122, a random access memory (RAM) 124, a storage unit 126, and the like. The CPU 120 is a processor of the system controller 104. The ROM 122 stores various programs and the RAM 124 is the working memory for various programs and data. The storage unit 126 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 120, the ROM 122, the RAM 124, and the storage unit 126 are interconnected via a bus 128. The system controller 104 executes a control program which is stored in the ROM 122 or the storage unit 126 and uses the RAM 124 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 superconducting qubit-based quantum computer system 100 discussed herein.
A Josephson junction 202 (a non-linear resonator) can provide three qubit archetypes, charge qubits, flux qubits, and phase qubits, and their variants (e.g., Fluxonium, Transmon, Xmon, Quantronium) depending on a circuit 310 to which the Josephson junction 202 is connected. For any qubit archetypes, qubit states are mapped to different states of the non-linear resonator, for example, discrete energy states of the non-linear resonator or to their quantum superpositions. For example, in a charge qubit as shown in
Superconducting qubits can be coupled with their neighboring superconducting qubits. In the charge qubits, neighboring qubits can be coupled capacitively, either directly or indirectly mediated by a resonator, which generates interaction between the neighboring charge qubits. The strength of the interaction between the neighboring charge qubits can be tuned by changing the strength of the capacitive coupling, and in case of the indirect mediation, a frequency detuning between the qubits and the resonator.
In the flux qubits, neighboring qubits can be coupled inductively resulting in interaction between the neighboring flux qubits. The strength of the interaction between the neighboring flux qubits can be tuned by dynamically tuning frequency between qubit states of the flux qubits or frequency of some separate sub-circuit, or by using microwave pulses. Example methods known in the art for tuning of the strength of interaction between neighboring superconducting qubits include the direct-resonant iSWAP, the higher-level resonance induced dynamical c-Phase (DP), the resonator sideband induced iSWAP, the cross-resonance (CR) gate, the Bell-Rabi, the microwave activated phase gate, and the driven resonator induced c-Phase (RIP).
By controlling the interaction between two neighboring superconducting qubits (i-th and j-th qubits) as described above in combination with single qubit gates, a two-qubit entanglement gate operation, such as a controlled-NOT operation, or a controlled-Z operation, may be performed on the two neighboring superconducting qubits (i-th and j-th qubits).
The entanglement interaction between two qubits described above can be used to perform a two-qubit entanglement gate operation. The two-qubit entanglement gate operation (entangling gate) along with single-qubit operations (R gates) forms a set of gates that can be used to build a quantum computer that is configured to perform desired computational processes. Here, the R gate corresponds to manipulation of individual states of superconducting qubits, and the two-qubit entanglement gate (also referred to as an “entangling gate”) corresponds to manipulation of the entanglement of two neighboring superconducting 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 quantum chemistry, where Variational Quantum Eigensolver (VQE) algorithms perform a search for the lowest energy (or an energy closest to the lowest energy) of a many-particle quantum system and the corresponding state (e.g. a configuration of the interacting electrons or spins) by iterating computations between a quantum processor and a classical computer. A many-particle quantum system in quantum theory is described by a model Hamiltonian and the energy of the many-particle quantum system corresponds to the expectation value of the model Hamiltonian. In such algorithms, a configuration of electrons or spins that is best known approximation calculated by the classical computer is input to the quantum processor as a trial state and the energy of the trial state is estimated using the quantum processor. The classical computer receives this estimate, modifies the trial state by a known classical optimization algorithm, and returns the modified trial state back to the quantum processor. This iteration is repeated until the estimate received from the quantum processor is within a predetermined accuracy. A trial function (i.e., a possible configuration of electrons or spins of the many-particle quantum system) would require exponentially large resource to represent on a classical computer, as the number of electrons or spins of the many-particle quantum system of interest, but only require linearly-increasing resource on a quantum processor. Thus, the quantum processor acts as an accelerator for the energy estimation sub-routine of the computation. By solving for a configuration of electrons or spins having the lowest energy under different configurations and constraints, a range of molecular reactions can be explored as part of the solution to this type of optimization problem for example.
Another example optimization problem 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, as in the case of the Variational Quantum Eigensolver (VQE) algorithm.
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 an 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 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 VQE algorithm relies on a variational search by the well-known Rayleigh-Ritz variational principle. This principle can be used both for solving quantum chemistry problems by the VQE algorithm and combinatorial optimization problems solved by the QAOA. 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. As the processes for obtaining a solution to an optimization problem by the VQE algorithm and by the QAOA, the both processes are described in parallel below.
In block 602, by the classical computer 102, an optimization problem to be solved by the VQE algorithm or the QAOA 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, which describes a many-particle quantum system in the quantum chemistry problem, or to which the selected combinatorial optimization problem is mapped, is computed.
In a quantum chemistry problem defined on an N-spin system, the system can be well described by a model Hamiltonian that includes quantum spins (each denoted by the third Pauli matrix σiz) (i=1, 2, . . . , N) and couplings among the quantum spins σiz, HC=Σα=1t hα Pα, where Pα is a Pauli string (also referred to as a Pauli term) Pα=σ1α
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)=Σα=1t Cα (z) or a weighted sum of satisfied clauses C(z)=Σα=1t hαCα (z) (hα corresponds to a weight for each constraint α), where z=z1z2 . . . 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=Σα1t hα 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 604, following the mapping of the selected combinatorial optimization problem onto a model Hamiltonian HC=Σα1t hα Pα, a set of variational parameters ({right arrow over (θ)}=θ1, θ2, . . . , θN for the VQE algorithm, ({right arrow over (γ)}=γ1, . . . γ2, . . . , γp, {right arrow over (β)}=β1, β2, . . . , βp) for the QAOA) 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 (θ)}) for the VQE or A({right arrow over (γ)}, {right arrow over (β)}) for the QAOA, which prepares the quantum processor 106 in a trial state |Ψ({right arrow over (θ)}) for the VQE or |({right arrow over (γ)}, {right arrow over (β)}) for the QAOA. For the initial iteration, a set of variational parameters {right arrow over (θ)} in the VQE may be chosen randomly. In the QAOA, a set of variational parameters {right arrow over ((γ)}, {right arrow over (β)}) may be randomly chosen for the initial iteration.
This trial state |Ψ({right arrow over (θ)}), |Ψ({right arrow over (γ)}, {right arrow over (β)}) is used to provide an expectation value of the model Hamiltonian HC.
In the VQE algorithm, the trial state preparation circuit A({right arrow over (θ)}) may be constructed by known methods, such as the unitary coupled cluster method, based on the model Hamiltonian HC and the selected set of variational parameters {right arrow over (θ)}.
In the QAOA, the trial state preparation circuit A({right arrow over (γ)}, {right arrow over (β)}) includes p layers (i.e., p-time repetitions) of an entangling circuit U(γl) that relates to the model Hamiltonian HC (U(γl)=e−iγ
A({right arrow over (γ)},{right arrow over (β)})=UMix(βp)UMix(βp-1)U(βp-1) . . . UMix(β1)U(γ1).
Each term σiX (in the mixing term HB corresponds to a π/2-pulse (as described above in relation to
To allow the application of the trial state preparation circuit A({right arrow over (θ)}), A({right arrow over (γ)}, {right arrow over (β)}) on a NISQ device, the number of the quantum gate operations need to be small (i.e., shallow circuits) such that errors due to the noise in the NISQ device are not accumulated. However, as the problem size increases, the complexity of the trial state preparation circuit A({right arrow over (θ)}), A({right arrow over (γ)}, {right arrow over (β)}) may increase rapidly, leading to deep circuits (i.e., an increased number of time steps required to execute gate operations in circuits to construct) required to construct the trial state preparation circuit A({right arrow over (θ)}), A({right arrow over (γ)}, {right arrow over (β)}). Furthermore, some trial state preparation circuit A({right arrow over (θ)}), A({right arrow over (γ)}, {right arrow over (β)}) that are designed hardware-efficiently with shallow circuits (i.e., a decreased number of time steps required to execute gate operations) may not provide a large enough variational search space to find the lowest energy of the model Hamiltonian HC. In the embodiments described herein, the terms in the model Hamiltonian HC are grouped into sub-Hamiltonians Hλ=1, 2, . . . , u), where u is the number of sub-Hamiltonians (i.e., HC=Σλ=1u Hλ), and the trial state preparation circuit A({right arrow over (θ)}), A({right arrow over (γ)}, {right arrow over (β)}) is replaced with a reduced state preparation circuit APCCλ({right arrow over (θ)}), APCCλ({right arrow over (γ)}, {right arrow over (β)}) to evaluate an expectation value of each sub-Hamiltonian Hλ. The reduced state preparation circuit APCCλ({right arrow over (θ)}), APCCλ({right arrow over (γ)}, {right arrow over (β)}) for a sub-Hamiltonian Hλ is constructed by a set of gate operations that can influence an expectation value of the sub-Hamiltonian Hλ (referred to as the past causal cone (PCC) of the sub-Hamiltonian). Other gate operations (that do not influence the expectation value of the sub-Hamiltonian Hλ) in the trial state preparation circuit A({right arrow over (θ)}), A({right arrow over (γ)}, {right arrow over (β)}) are removed in the reduced state preparation circuits APCCλ({right arrow over (θ)}) APCCλ({right arrow over (γ)}, {right arrow over (β)}). In some embodiments, sub-Hamiltonians Hλ of the model Hamiltonian HC may respectively correspond to Pauli terms Pα in the model Hamiltonian HC. In some embodiments, a sub-Hamiltonian Hλ is a collection of more than one Pauli terms Pα in the model Hamiltonian HC.
For example, the model Hamiltonian HC=σ1Z⊗σ2Z+σ2Z⊗σ3Z+σ3Z⊗σ4Z+σ1Z⊗σ4Z may be grouped into four sub-Hamiltonians, H1=σ1Z⊗σ2Z, H2=σ2Z⊗σ3Z, H3=σ3Z⊗σ4Z, and H4=σ1Z⊗σ4Z. This model Hamiltonian may be defined on a system of five superconducting qubits (qubit 1, 2, . . . , 5) aligned in a one dimensional array, in which two-qubit gates can be applied between neighboring pairs of qubits (1, 2), (2, 3), (3, 4), (4, 5).
With the reduced trial state preparation circuit APCCλ({right arrow over (θ)}), APCCλ({right arrow over (γ)}, {right arrow over (β)}) for a sub-Hamiltonian Hλ, a trial state |Ψλ({right arrow over (θ)}), |Ψλ({right arrow over (γ)}, {right arrow over (β)}) is prepared on the quantum processor 106 to evaluate an expectation of the sub-Hamiltonian HA. This step is repeated for all of the sub-Hamiltonians Hλ (λ=1, 2, . . . , u). The expectation value of the model Hamiltonian HC is a sum of the expectation values of all of the sub-Hamiltonians Hλ (λ=1, 2, . . . , u). The use of the reduced trial state preparation circuit APCCλ({right arrow over (θ)}), APCCλ({right arrow over (γ)}, {right arrow over (β)}) reduces the number of gate operations to apply on the quantum processor 106. Thus, a trial state |Ψλ({right arrow over (θ)}), |Ψλ({right arrow over (γ)}, {right arrow over (β)}) can be constructed without accumulating errors due to the noise in the NISQ device.
In block 606, following the selection of a set of variational parameters {right arrow over (θ)}, ({right arrow over (γ)}, {right arrow over (β))}, the quantum processor 106 is set in an initial state |Ψ0 by the system controller 104. In the VQE algorithm, the initial state |Ψ0 may correspond to an approximate ground state of the system that is calculated by a classical computer or an approximate ground state that is empirically known to one in the art. In the QAOA algorithm, the initial state |Ψ0 may be in the hyperfine ground state of the quantum processor 106 (in which all qubits are in the uniform superposition over computational basis states (in which all qubits are in the superposition of |0 and |1|0+|1). 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 608, following the preparation of the quantum processor 106 in the initial state |Ψ0, the trial state preparation circuit A({right arrow over (θ)}), 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 (γ)}, {right arrow over (β)}) for evaluating an expectation of the sub-Hamiltonian. The reduced trial state preparation circuit APCCλ({right arrow over (θ)}), APCCλ({right arrow over (γ)}, {right arrow over (β)}) is decomposed into series of two-qubit entanglement gate operations (entangling gates) and single-qubit operations (R gates) and optimized by the classical computer 102. The series of two-qubit entanglement gate operations (entangling gates) and single-qubit operations (R gates) can be implemented by application of a series of 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 (γ)}, {right arrow over (β)}).
In block 610, following the construction of the trial state |Ψλ({right arrow over (θ)}), |Ψλ({right arrow over (γ)}, {right arrow over (β)}) on the quantum processor 106, the expectation value Fλ({right arrow over (θ)})=Ψλ({right arrow over (θ)})|Hλ|Ψλ({right arrow over (θ)}), Fλ({right arrow over (γ)}, {right arrow over (β)})=Ψλ({right arrow over (γ)}, {right arrow over (β)})|Hλ({right arrow over (γ)}, {right arrow over (β)}) of the sub-Hamiltonian Hλ (λ=1, 2, . . . , u) is measured by the system controller 104. Repeated measurements of states of the superconducting qubits in the quantum processor 106 in the trial state |Ψλ ({right arrow over (θ)}), |Ψλ ({right arrow over (γ)}, {right arrow over (β)}) yield the expectation value the sub-Hamiltonian Hλ.
In block 612, following the measurement of the expectation value of the sub-Hamiltonian Hλ (λ=1, 2, . . . , u), blocks 606 to 610 for another sub-Hamiltonian Hλ (λ=1, 2, . . . , u) until the expectation values of all the sub-Hamiltonian Hλ (λ=1, 2, . . . , u) in the model Hamiltonian HC=Σλ1u Hλ have been measured by the system controller 104.
In block 614, following the measurement of the expectation values of all the sub-Hamiltonian Hλ (λ=1, 2, . . . , u), a sum of the measured expectation values of all the sub-Hamiltonian Hλ (λ=1, 2, . . . , u) of the model Hamiltonian HC=Σλ=1u Hλ (that is, the measured expectation value of the model Hamiltonian HC, F({right arrow over (θ)})=Σλ1u Fλ({right arrow over (θ)}), F({right arrow over (γ)}, {right arrow over (β)})=Σλ=1u Fλ ({right arrow over (γ)}, {right arrow over (β)}) is computed, by the classical computer 102.
In block 616, 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 in the current iteration 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 620. If the difference between the two values is more than the predetermined value, the method proceeds to block 618.
In block 618, another set of variational parameters {right arrow over (θ)}, ({right arrow over (γ)}, {right arrow over (β))}, for a next iteration of blocks 606 to 616 is computed by the classical computer 102, in search for an optimal set of variational parameters {right arrow over (θ)}, {right arrow over ((γ)}, {right arrow over (β))} to minimize the expectation value of the model Hamiltonian HC, F({right arrow over (θ)})=Σλ=1u Fλ ({right arrow over (θ)}), F({right arrow over (γ)}, {right arrow over (β)})=Σλ=1u Fλ({right arrow over (γ)}, {right arrow over (β)}). That is, the classical computer 102 will execute a classical optimization method to find the optimal set of variational parameters {right arrow over (θ)},
Example of conventional classical optimization methods include simultaneous perturbation stochastic approximation (SPSA), particle swarm optimization (PSO), Bayesian optimization (BO), and Nelder-Mead (NM).
In block 620, 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 energy of the system in the selected quantum chemistry problem, or the minimized value of the objective function C(z)=Σα=1t hα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 (γ)}, {right arrow over (β)}) in the final iteration corresponding to the configuration of electrons or spins that provides the lowest energy of the system, or the solution to the N-bit string (z=z1z2 . . . zN) that provides the minimized value of the objective function C(z)=Σα=1t hα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).
The variational search reduced trial state preparation circuits described herein provides an improved method for obtaining a solution to an optimization problem by the Variational Quantum Eigensolver (VQE) algorithm or the Quantum Approximate Optimization Algorithm (QAOA) 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 is a divisional application of U.S. patent application Ser. No. 16/867,332, filed May 5, 2020, which claims the benefit of U.S. Provisional Application No. 62/852,269, filed May 23, 2019, each of which is incorporated by reference herein.
Number | Date | Country | |
---|---|---|---|
62852269 | May 2019 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 16867332 | May 2020 | US |
Child | 17981939 | US |