Method and System for solving problems with multiple conflicting objectives

Information

  • Patent Application
  • 20250013717
  • Publication Number
    20250013717
  • Date Filed
    June 27, 2024
    6 months ago
  • Date Published
    January 09, 2025
    2 days ago
Abstract
A computer implemented method for obtaining a set of Pareto-optimal solutions to a given multi-objective optimization problem with different objectives. The method generates a set of parameters on a classical computation component using the classical optimization algorithm. Based on the set of parameters, a quantum component generates a quantum state by executing a parameterized quantum circuit. A set of basis states is selected from the one quantum state The classical computation component calculates a set of objective values consisting of the objective values for each solution in the set of classical solutions, and a new estimate for the Pareto set of solutions and the corresponding Pareto front by the classical optimizer is generated. The internal state of the classical optimization algorithm is updated based on the current set of solutions and the Pareto set and their corresponding sets of objective values.
Description
CROSS-REFERENCE TO RELATED APPLICATION

This application claims the priority benefits of European application no. 23 181 719.8, filed on Jun. 27, 2023. The entirety of the above-mentioned patent application is hereby incorporated by reference herein and made a part of this specification.


The invention relates to a computer implemented method for obtaining a set of Pareto-optimal solutions to a given multi-objective optimization problem and a hybrid quantum-classical computer system implementing such method.


Quantum optimization is a very active field of research. The current generation of quantum computing hardware devices is still limited in sizes and subject to noise. The usefulness of these so-called noisy intermedia scale quantum (NISQ) devices for application problems is currently being tested and evaluated on many real-world application problems.


The current state of the art approaches for solving optimization problems with quantum computers are hybrid quantum-classical algorithms as described for example in “Noisy intermediate-scale quantum (NISQ) algorithms, Rev. Mod. Phys. 94, 015004”. Examples are variational quantum eigensolver (VQE) described in “The variational quantum eigensolver: a review of methods and best practices. Physics Reports, 986, 1-128”, quantum approximate optimization algorithm (QAOA) described in “A Quantum Approximate Optimization Algorithm, arXiv: 1411.4028 (2014)” or “From the quantum approximate optimization algorithm to a quantum alternating operator ansatz, Algorithms 12 (2019)” or the like as in “Quantum machine learning beyond kernel methods”, arXiv preprint arXiv: 2110.13162 (2021)”. All these approaches consider problems where the goal is to find the optimal solution(s) which minimize a predefined cost function. Technically, they target to solve single objective optimization tasks.


What is still missing is an equivalent quantum approach which targets the solutions of a multi-objective optimization problem.


There are a few approaches which actually utilize quantum hardware and consider multi-objective problems. In “Multiobjective variational quantum optimization for constrained problems: an application to Cash Management, arXiv: 2302.04196, https://doi.org/10.48550/arXiv.2302.04196”, a VQE quantum circuit and a coupled classical NSGAII algorithm is applied to it. From the quantum state prepared by the quantum apparatus, they calculate classically two objective functions: the cost function, which implements the actual goal when minimized and the probability to find feasible solutions in the final state. The target is not to map a full Pareto front, but arrive at one optimal solutions point, where the probability to find feasible solutions is very close to one and the cost function is minimized. In effect, this method is a constraint handling method, where a classical multi-objective optimization is used to efficiently explore the search space of feasible and infeasible solutions. No quantum aspect of the quantum computation is utilized to arrive at the solution of a multi-objective problem.


Despite the problems being attacked becoming more realistic in nature, one central feature of real-world problems is still not much considered: realistic problems often deal with multiple conflicting objectives such cost (which should be as low as possible), quality (which should be as high as possible), user satisfaction (which should be as large as possible), CO2 footprint (which should be as low as possible), . . . . These objectives are usually in a tradeoff relation where solutions which have very good values in one objective, c.g., high quality, are not very good in another objective, i.c., also have high cost. Therefore, the target of multi-objective optimization is to find a whole set of solutions (not only one) which give a good approximation to the so-called Parcto Front (PF), which is the best achievable set of trade-off set of solutions. Each solution in the PF is equal or better in at least one objective and at the same time worse in at least one other objective than any other solution in the PF.


“Multi-Objective Routing Optimization for 6G Communication Networks Using a Quantum Approximate Optimization Algorithm”, Sensors 22 (19), 7570 (2022) doi: 10.3390/s22197570 describes solving a multi-objective problem by iteratively solving many constrained single-objective problems. The quantum computer is only used to solve single-objective problems. Each single-objective problem optimizes only one objective while imposing constraints on the other objectives. It does not utilize the quantum computer to get a population of solutions directly.


Several papers exist which utilize so-called nondominated quantum optimization (NDQO) and modifications thereof like multi-objective decomposition quantum optimization (MODQO) or non-dominated quantum iterative optimization (NDQIO) described in “Quantum-Assisted Routing Optimization for Self-Organizing Networks”, IEEE Access 2, 614-632 (2014) doi: 10.1109/ACCESS.2014.2327596, “Non-Dominated Quantum Iterative Routing Optimization for Wireless Multihop Networks”, IEEE Access 3, 1704-1728 (2015) doi: 10.1109/ACCESS.2015.2478793 or “Quantum-Assisted Joint Multi-Objective Routing and Load Balancing for Socially-Aware Networks”, IEEE Access 4, 9993-10028 (2016) doi: 10.1109/ACCESS.2016.2629671. All these approaches target to find the Pareto optimal solution set to a multi-objective problem. They do so by utilizing a quantum computing apparatus. They specifically design a quantum circuit that evaluates Pareto dominance relations between individual solutions with the help of auxiliary qubits. Then they use variants/extensions of Grover search to search for novel good candidate solutions which they then can possibly insert into the current approximation of the Pareto front. These algorithms are specifically tailored to solve one single problem and use complex circuits to evaluate Pareto-dominance relations between sets of solutions. They cannot be applied to general multi-objective optimization problems directly, and in particular they cannot be executed on NISQ devices but require fully fault tolerant and error corrected quantum hardware not available in the near-to mid-term future.


However, there is still a need to directly address optimization of multiple conflicting objectives to enable an efficient calculation of a plurality of optimized solutions of the problem. The current state of art does not allow for handling multi-objective optimization problems natively on quantum hardware devices.


It is to be noted that in the following explanation, “classical computing component” may be a classical computer, and the “quantum computing component” or “quantum component” may be a universal or special-purpose purpose quantum computing device.


The current invention addresses the above mentioned problem to find solutions of realistic real world problems, specifically known from the energy management domain, on current and future quantum hardware devices employing a quantum-native multi-objective quantum optimization approach according to the method and computer system defined in the independent claims.


The dependent claims define advantageous aspects and features.


The invention encompasses the utilization of the quantum superposition, which is inherent to quantum states, as a resource to encode a complete population of solutions of a multi-objective optimization algorithm. The quantum circuit is designed in such a way as to increase the diversity in the population and also improve all objectives such that they give a good approximation to the Pareto front.


The method and apparatus for obtaining a preferably complete set of NPFcustom-character+ Parcto-optimal solutions, custom-charactercustom-character={xi}i=1NPF, to a given multi-objective optimization problem with M different objectives {right arrow over (C)}(x)={Cα}α=1M=(C1(x), C2(x), . . . , CM(x))T where x represents a classical solution of the multi-objective optimization problem, which is comprised of the following components and method steps:

    • a hybrid quantum-classical computer apparatus, with a quantum computing component and a classical component. The quantum computing component and the classical computing component may be realized as two separate entities, which are capable of exchanging information. Alternatively, they may be integrated into one device. The quantum computing component realizes a parametrized quantum circuit (PQC) by implementing a unitary quantum operation U(γ) which is parametrized by freely choosable parameters γ and which generates a N-qubit or qudit quantum state |ψγcustom-character by applying the unitary operator to a previously defined N-qubit or qudit initial state |ψ0custom-character, i.e. |ψγcustom-character=U(γ)|ψ0custom-character, which can be decomposed into the measurement basis of the quantum device, |ψγcustom-characterc=1dHξγ,c|xccustom-character with dH the dimensionality of the Hilbert space, and each measurement basis state |xccustom-character encodes one classical solution xc,. The classical computing component is able to run a classical optimization algorithm by providing parameters values γ to the quantum computing component, initializing the execution of the PQC and the preparation of the state |ψγcustom-character, and then receiving a set of classical solutions from the quantum component as a result and calculating the cost functions for each solution. In essence, both components together are used to solve a multi-objective optimization problem by iteration. At each iteration t the following steps are performed:
    • a. generating a set of parameters γt on the classical computing component using the classical optimization algorithm and sending them to the quantum component,
    • b. on the quantum computing component, generating a quantum state |ψγtcustom-character=U(γt)|ψ0custom-character by executing the PQC with the set of parameters γt, where the one quantum state |ψγtcustom-character represents a (whole) set of different NS solutions to the original problem, since it is naturally represented as a quantum mechanical superposition of many measurements basis states, i.e. |ψγtcustom-characterc=1dHξγt,c|xccustom-character and each measurement basis state |xcustom-character corresponds to one classical solution x of the original optimization problem,
    • c. using a basis-state selection method to select a set of NS≥NPF basis states {|xicustom-character}i=1NS from the one quantum state |ψγtcustom-character and sending the information of which basis states where selected, i.e., the set of classical solutions custom-charactert={xi}i=1NS, to the classical computing component,
    • d. on the classical computing component calculating a set of objective values consisting of the objective values for each solution in the set of classical solutions, i.e. custom-charactert={{right arrow over (C)}(xi)}i=1NS≡{right arrow over (C)}(custom-charactert),
    • e. generating a new estimate for the Pareto set of solutions, custom-charactercustom-charactert={xi}i=1NPF, and the corresponding Pareto front, custom-charactercustom-charactert={{right arrow over (C)}(xi)}i=1NPF, by the classical optimizer incorporating the set of solutions custom-charactert and the corresponding set of objectives values custom-charactert. According to a preferred embodiment, all those values from previous iterations, {custom-charactert′}t′=1t-1 and {custom-charactercustom-charactert′}t′=1t-1 which are retrieved from an archive custom-character are additionally used.
    • f. Based on the current set of solutions and the Pareto set and their corresponding sets of objective values, updating the internal state of the classical optimization algorithm and, in case that values from previous iterations shall be used in the generation of a new estimate, updating the archive custom-character=custom-character+{t, γt, custom-charactercustom-charactert, custom-charactercustom-charactert}
    • g. checking a convergence criterion as a stopping criterion, and if the stopping criterion is not satisfied, repeating the process from step a. onwards, until the stopping criterion is fulfilled.


The final results after the iterations have been completed is a good set of Pareto optimal solutions custom-charactercustom-characterFinal={xi}i=1NPF where the corresponding set of objective value vectors custom-charactercustom-characterFinal={{right arrow over (C)}(xi)}i=1NPF is an efficient and good approximation to the true Pareto front.


The invention uses quantum superpositions to encode a whole population of solutions into one quantum state. The quantum computing component is designed such that the quantum circuit layout achieves multi-objective evolution of Pareto-optimal solutions as a whole with a true quantum encoding.


According to a preferred embodiment, the quantum component realizes a parametrized quantum circuit (PQC) by implementing a unitary quantum operation U(γ) which is composed of NL layers with different choosable sets of parameters as







U

(
γ
)

=




l
=
1


N
L




U
l

(

γ
l

)






and where each layer l comprises multiple mixing and phase operators with separately choosable parameter sets γl={yX;lP;l}, and the unitary in each layer has the form








U
l

(

γ
l

)

=




α
=
1

M



e


-
i




X
α

(

γ


X
;

l

,

α


)





e


-
i



γ


H
;

l

,

α





α









where the phase unitaries in each layer ˜custom-character have freely choosable parameters γH;l,αcustom-character and are generated by the M cost Hamiltonians custom-characterα and α=1, . . . , M, where each cost Hamiltonian custom-characterα represents one classical objective function Cα, in the sense that the measurement basis states |xcustom-character are simultaneous eigenstates of all problem Hamiltonians and the eigenvalues of the problem Hamiltonians are given by the value of the corresponding classical objective function of the corresponding classical solutions, x, i.e.












α





"\[LeftBracketingBar]"

x




=



C
α

(
x
)





"\[LeftBracketingBar]"

x








and where the mixing unitaries in each layer, ˜e−iXα(γX;l,α), have freely choosable parameters γX;l,α and are generated by M parametrized mixing operators XαX;l,α) with α=1, . . . , M, where the mixing operators do not commute with the cost Hamiltonians, i.e., [XβX;l,β), Hα]≠0, ∀α, β, and therefore the mixing operators generate transitions between the measurement basis states, XβX;l,β)βxicustom-characterjζβ,ij|xjcustom-character with ζβ,ijcustom-character.


According to another preferred embodiment, the quantum component realizes parametrized quantum circuit (PQC) by implementing a unitary quantum operation U(γ) which is composed of NL layers with different choosable sets of parameters as









U

(
γ
)

=




l
=
1


N
L




U
l

(

γ
l

)







and where each layer l comprises multiple mixing and phase operators with separately choosable parameter sets γl∈{γX;l, γP;l},, and which has the form










U
l

(

γ
l

)

=




k
=
1


N
P




e






-


iX
k

(

γ


X
;
l

,
k


)






e







-
i




γ


P
;
l

,
k




P
k










where the phase unitaries in each layer ˜e−iγP;l,kPk have freely choosable parameters γP;l,kcustom-character and are generated by specific sums over the cost Hamiltonians custom-characterα









P
k

=




α
=
1

M



a

k
,
α





α








The coefficients in these sums aK,αcustom-character may specify reference vectors {right arrow over (a)}k which have to fulfill Σαak,α2={right arrow over (a)}kT·{right arrow over (a)}k=1 and ak,α≥0 for each k, and for each k, define a certain direction in the space of objective values and thus can either reflect one user preference and are determined in the beginning as part of the problem definition, or determined by the state of the art procedure for reference vectors as described in “A Reference Vector Guided Evolutionary Algorithm for Many-Objective Optimization”, IEEE Transactions on Evolutionary Computation 20(5), 773-791 (2016)doi 10.1109/TEVC.2016.2519378 or “.Adaptation of Reference Vectors for Evolutionary Many-objective Optimization of Problems with Irregular Pareto Fronts”, IEEE Congress on Evolutionary Computation (CEC), 1726-1733 (2019) doi 10.1109/CEC.2019.8790214, which can either be fixed reference vectors determined prior to iteration of the hybrid quantum-classical algorithms or adapted during the iterations in each iteration step t.


Each cost Hamiltonian custom-characterα represents one classical objective function Cα, in the sense that the measurement basis states |xcustom-character are simultaneous eigenstates of all cost Hamiltonians and the eigenvalues of the problem Hamiltonians are given the value of the corresponding classical objective function of the corresponding classical solutions, x, i.e.












α





"\[LeftBracketingBar]"

x




=



C
α

(
x
)





"\[LeftBracketingBar]"

x








and where the mixing unitaries in each layer, e−iXkX;l,k), have freely choosable parameters γX;l,k and are generated by M parametrized mixing operators XαX;l,k) with k=1, . . . , NP, where the mixing operators do not commute with the cost Hamiltonians, i.e., [XkX;l,k),custom-characterα]≈0, ∀k, α, and therefore the mixing operators generate transitions between the measurement basis states, XkX;l,k)|xicustom-characterjζk,ij|xjcustom-character with ζk,ijcustom-character. and where the NS basis states which represent the set of solutions and which are encoded in the quantum state |ψγcustom-character as superpositions, are extracted at each iteration by estimating the full state tomography, i.e., by estimating the spectral weight ξγ,i with which each basis state |xicustom-character contributes to the final state |ψγcustom-character, which is given by the absolute square of the overlap, i.e. ξγ,i=|custom-characterxiγcustom-character|2, and then selecting those NS classical solutions states which have the largest spectral weights, and adding those to the set of selected solutions custom-charactert={xi}i=1NS obtained in this iteration t.


According to another preferred embodiment the quantum component realizes parametrized quantum circuit (PQC) by implementing a unitary quantum operation U(γ) which is composed of NL layers with different choosable sets of parameters as









U

(
γ
)

=




l
=
1


N
L




U
l

(

γ
l

)







and where each layer l comprises multiple mixing and phase operators with separately choosable parameter sets γl∈{γX;lV;l}, and which has the form






U
ll)=e−iXlX;l)e−iγV;lV


where the phase unitaries in each layer e−iγV;lV have freely choosable parameters γV;lcustom-character and are generated by the operator V which estimates the hypervolume in objective space which is spanned by a population of states as it is encoded by a quantum superposition of states, i.e.








V







"\[LeftBracketingBar]"

ψ



=


f

(


{

ξ
i

}


i
=
1


N
S


)



HV

(


{


C


"\[Rule]"


(

x
i

)

}


i
=
1


N
s


)





"\[LeftBracketingBar]"

ψ










where the function HV({{right arrow over (C)}(xi)}iNS gives the hypervolume which is spanned by the objective value vectors {right arrow over (C)}(xi)={Cα(xi)}α=1M of the set of solutions {xi}i=1NS and the function f({ξi}i=1NS) has function values between zero and one, i.e. 0≤f({ξi}i=1NS)≤1, and allows for a down-scaling of the hypervolume of a particular set of solutions in case the individual amplitudes of some of the contributing states are unfavorably small or the distribution of the amplitudes is too inhomogeneous, and where each cost Hamiltonian custom-characterα represents one classical objective function Cα, in the sense that the measurement basis states |xcustom-character are simultaneous eigenstates of all cost Hamiltonians and the eigenvalues of the problem Hamiltonians are given the value of the corresponding classical objective function of the corresponding classical solutions, x, i.e.






custom-character
α
|x
custom-character
=C
α(x)|xcustom-character


and where the mixing unitaries in each layer e−iXlX;l), haves freely choosable parameters γX;lcustom-character and are generated by the parametrized mixing operator XlX;l), where the mixing operators do not commute with the cost Hamiltonians, i.e., [XlX;l), custom-characterα]≈0, ∀α, l, and therefore the mixing operators generate transitions between the measurement basis states, XkX;l)|xicustom-characterjζk,ij|xjcustom-character with ζk,ijcustom-character


It is further preferred that the mixing operator in each layer is given by a sum over all x-angular momentum operators of each qudit variable and where the coefficient of each individual angular momentum operators is given by the freely choosable parameter γX;kcustom-character, i.e.,











X
k

(

γ

X
;
k


)

=




i
=
1

N



γ


X
;
k

,
i




L

x
;
i





,





where Lx;i is the x-angular momentum operators of the ith qubit or qudit with i=1, . . . , N, representing the ith classical search variable and N the total number of qubits/qudits.


As an alternative embodiment, the mixing operator in each layer is given by a sum over all generalized Pauli X operators of each qudit variable as, for example, described in Y. Wang, Z. Hu, B. C. Sanders, and S. Kais, Qudits and High-Dimensional Quantum Computing, Frontiers in Physics 8 (2020), and where there is one coefficient for each physical qudit which are given by the freely choosable parameters γX;l,icustom-character, i.e.,










X
k

(

γ


X
;
l

,
i


)

=




i
=
1

N



γ


X
;
l

,
i




𝒳
i








where χi is the generalized Pauli X operator of the ith qubit or qudit with i=1, . . . , N, and is given by χiz=0L-1|(z+1)mod Lcustom-charactercustom-characterz| and local qudit dimension L.


In a preferred embodiment the NS basis states which represent the set of solutions and which are encoded in the quantum state |ψγcustom-character, as superpositions, are extracted at each iteration by sampling from the quantum state |ψγcustom-character, i.e. sampling x from the Born rule probability P(x, γ)=|custom-characterx|ψγcustom-character|2 which is realized by repeatedly measuring the quantum state, and adding for each measured state |xmcustom-character the corresponding classical solution xm to the set of selected states, custom-character until NS different states have been measured and added to the set of selected states, custom-character={xi}i=1NS.


The method and apparatus may further be applied to solve a multi-objective bi-directional electric vehicle charging problem where the target is to find a set custom-charactercustom-character={xi}i=1NPF of Pareto optimal configurations of discrete integer variables x=(custom-character0, custom-character1, . . . , custom-characterNtot), which encode a full charging and service schedule for a fleet of electric vehicles and where multiple objectives such as electricity cost for fulfilling all charging demands, customer satisfaction, maximizing utilization of renewable energies, minimizing electricity drawn from the grid, minimizing the peak electricity power consumption, etc are considered such that a good approximation of the Pareto front, custom-charactercustom-character is obtained.


The method and apparatus according to one of the above described configurations may be applied to obtain an efficient frontier of possible portfolio compositions as formulated by the Markowitz model of Modern portfolio theory by finding the compositions of a portfolio over time as specified by integer variables x={ωn,s} which specify the investment amount into asses n at time s and where the efficient frontier is spanned by those portfolio compositions which have optimal tradeoffs between maximizing return and minimizing risk and thus pose a two-objective optimization problem.





The invention will now be further described with reference to the attached drawing, in which



FIG. 1 shows a schematic of a hybrid quantum-classical computer system illustrating the method steps according to a preferred implementation of the invention.





The proposed computer implemented method and hybrid quantum-classical computer system target to solve combinatorial integer multi-objective optimization problems with two or more objectives to be minimized. Typically, these objectives cannot be minimized simultaneously by some optimal solutions since they are in tradeoff relations to each other. Therefore, the target of the multi-objective optimization approach is to find a whole set of different solutions, called the Pareto set, where each solution realizes one optimal tradeoff between the objectives. The set of solutions therefore should map all possible tradeoff between the objectives, which is called the Pareto front.


The proposed inventive method and apparatus enables the treatment of such problems natively on current NISQ quantum hardware. The crucial aspect of the present invention is provided by representing a full population of candidate solutions to the optimization problem as one quantum state and extracting whole sets of Pareto-optimal solutions from this one quantum state.


According to the invention, the quantum circuits of the proposed computer implemented method and hybrid quantum-classical computer system increase the diversity of the population by utilization of all the cost function Hamiltonians corresponding to all classical objectives.


According to this description, the expression “classical” always refers to known computation as performed in the past using digital computer systems only.


The proposed computer implemented method and hybrid computer system comprises a classical computing component and a quantum computing component. Both components are configured to transfer and receive information from the respective other component such that a shared computation can be achieved in order to solve the multi objective integer optimization problem. A set of integer variables of the multi-objective integer optimization problem, x=(a1, a2, . . . , aN), where ai∈[0, . . . , L−1] are finite integers, are represented by the qubit (for L=2) or qudit (for L>2) degrees of freedom of the quantum hardware device, i.e.,












"\[LeftBracketingBar]"

x



=



"\[LeftBracketingBar]"



a
1

,

a
n

,
...

,

a
N






.




Each of those states is a basis state in the measurement basis and fulfils the orthonormality conditions












x












"\[LeftBracketingBar]"

x




=





a
1








,

a
2








,


,


a
N












"\[LeftBracketingBar]"



a
1

,

a
2

,


,

a
N







=


δ


a
1








,

a
1









δ


a
N








,

a
N










where δb,a is the Kronecker delta,









δ

b
,
a


=

{




1




if


a

=
b





0




if


a


b




.







This encoding means that all possible solutions to the original multi objective integer optimization problem are represented by the measurement basis states of the quantum computing component. One advantage of using a quantum computer for approaching this problem is given by the fact that a general quantum state is naturally a superposition of all basis states, i.e. a superposition of all possible solutions to the problem,












"\[LeftBracketingBar]"

ϕ



=




c
=
1


d
H




ξ
c





"\[LeftBracketingBar]"


x
c










with complex coefficient ξccustom-character and where ΣCc|2=1 and where c=1, . . . , dH enumerates all basis states of the Hilbert space of dimensions dH=LN for N variables (i.e. qubits or qudits) with L states per variable (i.e. qubits or qudits).


The invention utilizes a parametrized quantum circuit on the quantum computing component, which employs unitary gate operations that are applied to a predefined fixed initial state |ψ0custom-character. Such application of the unitary gate operations leads to the final quantum state





custom-character=U(γ)|ψ0custom-character.


According to the invention, this state encodes a full population of NS solutions candidates of the original problem,














"\[LeftBracketingBar]"

ψ



=




i
=
1


N
s




ξ
i





"\[LeftBracketingBar]"


x
i







+




j
=


N
S

+
1



d
H




δ
j





"\[LeftBracketingBar]"


x
j










where the first sum are those basis states with large weights and which represents the full population, custom-character={xi}i=1NS, and the second sum is negligibly small, i.e. Σi=1NSi|2=1−ϵ and Σj=NS+1dHj|2=ϵ<<1, respectively, such that the final state truly encodes the solution population,












"\[LeftBracketingBar]"

ψ








i
=
1


N
s




ξ
i





"\[LeftBracketingBar]"


x
i










A state selection mechanism, such as full state tomography, classical shadows or measurement-based sampling allows the full set of solutions to be extracted from the quantum state,












"\[LeftBracketingBar]"

ψ




𝕊

=



{

x
m

}


m
=
1


N
S


.





Suitable techniques are described in “Efficient quantum state tomography”, Nat Commun 1, 149 (2010) doi 10.1038/ncomms114, “Predicting many properties of a quantum system from very few measurements”, Nat. Phys. 16, 1050-1057 (2020) doi 10.1038/s41567-020-0932-7 or “Quantum Computation and Quantum Information”, Cambridge: Cambridge University Press. (2010) doi 10.1017/CBO9780511976667. The unitaries of the current invention are specifically designed to increase the contributions to the superposition from different states, which provide the optimal trade-off solutions. That means, the population of candidate solutions represented by one quantum state will provide a good approximation to the Pareto set of solutions custom-charactercustom-character,















"\[LeftBracketingBar]"

ψ



=




i
=
1


N
PF



ξ
i






"\[RightBracketingBar]"






x
i






ℙ𝕊

=



{

x
i

}


i
=
1


N
PF


.





In the proposed invention, the set of solutions will be sent from the quantum computing component to the classical computing component, where for each solution the vector of objective values will be calculated which generates the Pareto front,






ℙ𝔽
=



{


C
→︀

(

x
i

)

}


i
=
1


N
PF


.





Here, the vector {right arrow over (C)}(x) represents the classical M objective functions of the original problem,








C
→︀

(
x
)

=



{

C
α

}


α
=
1

M

=



(



C
1

(
x
)

,


C
2

(
x
)

,


,


C
M

(
x
)


)

T

.






The final result after executing the proposed method using the inventive hybrid quantum-classical computing system is the Pareto set of solutions custom-charactercustom-character, which approximate the Pareto front custom-charactercustom-character={{right arrow over (C)}(xi)}i=1NPF. In that way, the user can inspect the Pareto optimal solutions and then select the best tradeoff solutions for their application in mind. The proposed method and apparatus utilizing the PQC is effective in producing a good approximation to the Pareto front since all possible solutions are typically present in the superposition of the initial state |ψ0custom-character of the quantum computing component. The proposed phase operators in the PQC do assign different phases to each individual basis state |ψcustom-character. In that way, the classical optimizer can tune the parameters of the PQC to give the largest diversity and include mostly non-dominated solutions in the quantum state, which maximize hypervolume indicator which implies a good approximation to the true Pareto front.


Hereinafter, the invention will be described for two different implementation examples, which are typical for multi objective problems:


The operation of a fleet of electric vehicles (EVs) constitutes an archetypical optimization problem with several challenges. The central aspect of this operation is to provide a service to the customer such that for all vehicles, the requests of the customers can be fulfilled while at the same time reducing the electricity cost for charging all EVs as much as possible.


In one formulation of the problem, the target is to find the optimal charging schedule of a fleet of NEV electric vehicles (EVs) over NT time slots. The search variable x defines the charging schedule of the complete EV fleet. A schedule consists of NEV·NT discrete integer variables,





x=(custom-character1,1, custom-character2,1, . . . , custom-characterEV,1, custom-character2,1, . . . , custom-charactern,s, . . . , custom-characterNEV,NT)


where each integer variable can have only one of L values, custom-charactern,s∈[0,1, . . . , L−1]. The value of the integer custom-charactern,s determines the charging power level of vehicle n in time slot s, i.e. p (s, n) =p0custom-charactern,s where the p0 is the conversion constant and thus defines the spacing between the charging levels. There are four common objectives, which should all be simultaneously minimized. These are expressed by the following four objective functions:











C
1



(
x
)


=


1

N
1







s
=
1


N
T



𝒫


(
s
)



(





n
=
1


N
EV




p
0





n
,
s




-

PV

(
s
)


)




(


OBJ

1

,

total


cost


)













C
2



(
x
)


=


1

N
2







n
=
1


N
EV





(





s
=
1


N
T




p
0





n
,
s




-

E

tot
,
n



)

2



(


OBJ

2

,
fairness

)





,









C
3



(
x
)


=


1

N
3







s
=
1


N
T





(





n
=
1


N
EV




p
0





n
,
s




-

PV

(
s
)


)

2



(


OBJ

3

,

PV


usage


)





,








C
4



(
x
)


=


1

N
4







s
=
1


N
T





(




n
=
1


N
EV




p
0





n
,
s




)

2




(


OBJ

4

,

power


variations


)

.











with the normalization constants N1=NTNEVcustom-charactermax/p0, N2=NT2NEV(L−1)/p02, N3=NTNEV2/p02, and N4=NTNEV2/p02 to ensure that the numerical values of the objectives are of approximately the same order of magnitude.


The first objective (OBJ1) represents to total electricity cost for the complete charging schedule. PV(s) denotes the surplus energy produced by a photo-voltaic (PV) system at time slot s which is available for charging the EVs, and the function custom-character(s) gives the price for buying or selling energy from or to the grid at time slot s. custom-charactermax denotes the maximal unit-price for electricity. When the total electricity demand is larger than the PV surplus, energy needs to be bought from the grid, while when is smaller the term in brackets reverses sign end energy is sold to the grid leading to a negative cost, i.e. income.


The second objective (OBJ2) represents a measure for fairness between the different


EVs/customers by minimizing the difference between the desired energy of each vehicle, Etot,n, and the energy provided to each EV/customer. This is achieved since this term is proportional to the variance of the difference between the charging energy provided to each EV n and its desired value, Etot,n, which strongly favors equal distribution.


The third objective (OBJ3) tries to only use the PV surplus energy for charging the EVs at each time slot s, and consequently the objective function tries to minimize the difference between used surplus PV energy and current total charging energy at each time slot. Minimizing this objective is a means to make the service operation independent of the electricity grid.


The fourth objective (OBJ4) targets the equal distribution of the charging power over the time slots, and in particular tries to reduce peaks in the charging power at all time slots. The reasoning behind this is two-fold: (i) for company settings, the peak electricity power over a billing period has a direct influence on the charged electricity bill and therefore strong demand peaks need to be avoided (ii) strong variations in the electricity demand generally put a lot of pressure on the energy grid provider which needs to balance these out. Both aspects are met by reducing the overall variation over time of the total energy demand, i.e. the variance, as formulated in this objective.


The problem characterized by the objectives (OBJ1)-(OBJ4) of the above described example defines a combinatorial integer multi-objective optimization problem with M=4 objectives, which all need to be minimized. However, the present invention is not limited to four objectives and less or more objectives may define the multi objective optimization problem. These objectives typically cannot be minimized simultaneously by some optimal solutions since they are in tradeoff relations to each other. Therefore, the target of the multi-objective optimization approach according to the invention is to provide a computationally efficient way to find a whole set of different solutions, called the Pareto set, where each solution realizes one optimal tradeoff between the objectives. The set of solutions therefore should map all possible tradeoff between the objectives which is called the Pareto front.


For the EV charging problem the discrete search variables are given by the variables x=(custom-character1,1,custom-character2,1, . . . , custom-charactern,1,custom-character2,1, . . . ,custom-charactern,s, . . . ,custom-characterNEV,NT) with custom-charactern,s∈[0,1, . . . , L−1] which encode the full charging schedule of all EVs. The classical cost functions, i.e. the objectives to be minimized are expressed with those variables, as is exemplarily done in (OBJ1)-(OBJ4).


In the EV charging problem the encoding into the quantum formulation is as follows: each qudit of the quantum computing component represents one charging power level custom-charactern,s∈[0, . . . , L−1] of one Ev n∈[1, . . . , NEV] in one time slot s∈[1, . . . , NT]. The quantum states of the measurement basis are given by

















"\[LeftBracketingBar]"

x



=




"\[RightBracketingBar]"







1
,
1



,



2
,
1


,


,




N
EV

,
1


,



2
,
1


,


,



n
,
s


,


,




N
EV

,

N
T









(
ENC
)







with custom-charactern,s∈[0,1, . . . , L−1] which represent all the different possibilities for the charging schedule of the whole EV fleet. This encoding implies that all possible solutions to the EV charging problem are represented by the measurement basis states of the quantum circuit. One advantage of using a quantum computer for approaching this problem is given by the fact that a general quantum state in this basis is naturally a superposition of all basis states, i.e. a superposition of all possible solutions to the problem,













"\[LeftBracketingBar]"

ϕ



=



x


c
x






"\[RightBracketingBar]"




x






with complex coefficient cxcustom-character and where Σx|cx|2=1.


The classical M objective functions C1(x) to C4(x) as defined above are represented by M cost Hamiltonians. Their functional form is given by a quadratic polynomial in the search variables. This directly allows to formulate the corresponding quantum Hamiltonians for each objective by taking the classical objective functions C1(x) to C4(x) and replacing the search variables custom-charactern,s which specify the charging level of EV n in times slot s with the corresponding z—angular momentum operator Lz;n,s of the qudit encoding the corresponding variable, i.e. by using the replacement rule









n
,
s





L


z
;
n

,
s


+



L
-
1

2

.






This leads to cost Hamiltonians custom-character1 to custom-character4 which are also quadratic polynomials in the angular momentum operators, which therefore can be directly implemented with the elementary gate- or pulse-operators on current quantum hardware without further pre-processing or approximation. The quadratic form is therefore the starting point for current state of the art quantum approaches, as it can be found for example in “Encoding-Independent Optimization Problem Formulation for Quantum Computing”, arXiv: 2302.03711 (2023) or “Noisy intermediate-scale quantum (NISQ) algorithms”, Rev. Mod. Phys. 94, 015004.


The measurement basis states are eigenstates to the z—angular momentum operators Lz;n,s and the eigenvalues are the charging levels, i.e.














(


L


z
;
n

,
s


+


L
-
1

2


)







"\[LeftBracketingBar]"






1
,
1


,


,



n
,
s


,


,




N
EV

,

N
T








=




n
,
s







"\[RightBracketingBar]"







1
,
1



,





,



n
,
s


,


,




N
EV

,

N
T








.




With this, the explicit form of the corresponding cost Hamiltonians representing the objective functions are











1

=


1

N
1







s
=
1


N
T




𝒫

(
s
)



(





n
=
1


N
EV




p
0

·

(


L


z
;
n

,
s


+


L
-
1

2


)



-

PV

(
s
)


)




(


HAM

1

,

total


cost


)















2

=


1

N
2







n
=
1


N
EV





(





s
=
1


N
T




p
0

·

(


L


z
;
n

,
s


+


L
-
1

2


)



-

E

tot
,
n



)

2



(


HAM

2

,
fairness

)





,











3

=


1

N
3







s
=
1


N
T





(


PV

(
s
)

-




n
=
1


N
EV




p
0

·

(


L


z
;
n

,
s


+


L
-
1

2


)




)

2



(


HAM

3

,

PV


usage


)





,










4

=


1

N
4







s
=
1


N
T





(




n
=
1


N
EV




p
0

·

(


L


z
;
n

,
s


+


L
-
1

2


)



)

2




(


HAM

4

,

power


variations


)

.











The measurement basis states are also simultaneous eigenstates of these cost Hamiltonians (since the latter are polynomials in the Lz;n,s), and the eigenvalues are given by the value of the objective functions of the corresponding configuration,












α





"\[LeftBracketingBar]"





1
,
1


,
...

,



n
,
s


,
...

,




N
EV

,

N
T








=



C
α

(




1
,
1


,
...

,



n
,
s


,
...

,




N
EV

,

N
T




)





"\[LeftBracketingBar]"





1
,
1


,
...

,



n
,
s


,
...

,




N
EV

,

N
T









.




The quantum computing component, which executes the parametrized quantum circuit (PQC), prepares the state,
















"\[LeftBracketingBar]"

ψ



=




l
=
1


N
L




U
l



(

γ
l

)







"\[RightBracketingBar]"





ψ
0







(

P

Q

C

)







which consists of NL different unitary operations Ul called layers and where each unitary operator is freely parametrizable with a set of parameters γl (l=1, . . . , NL). The initial state of the circuit is given by the equal superposition of all possible states,














"\[LeftBracketingBar]"


ψ
0




=


1


d
H





x







"\[RightBracketingBar]"




x



,




where dH=LNEVNT is the dimensionality of the Hilbert space for NEV EVs, NT time slots, and where each time slot can be in one of L charging levels, encoded by NEV·NT qudits with local dimensionality L. In the current example, the unitary operation in each layer l has the form








U
l



(

γ
l

)


=




k
=
1


N
P




e


-
i




X

(

γ


X
;
l

,
k


)





e


-
i




γ


P
;
l

,
k





P
k









which is a product over Np different terms and each product term consists of a so-called mixing term, ˜e−iX(γx;l,k) and a phase operator ˜e−iγP;l,kPk.


The mixing unitary has NPNEVNT freely choosable parameters γX;l,k,n,scustom-character and it is generated by the Hermitian mixing operator X. The mixing operator in this example is given by the sum over all x-angular momentum operators of each physical qudit, i.e.,











X


(

γ


X
;
l

,
k


)


=




s
=
1


N
T






n
=
1


N
EV




γ


X
;
l

,
k
,
n
,
s





L


x
;

n

,
s







,




(
MIXEX
)







where Lx;n,s is the usual x-angular momentum operator of the physical qudit encoding the charging power at time slot s of EV n. The action of Lx;n,s is given by the standard action of angular momentum operators,

















L


x
;
n

,
s







"\[LeftBracketingBar]"






1
,
1


,


,



n
,
s


,


,




N
EV

,

N
T








=


1
2





(

L
-



n
,
s


-
2

)



(




n
,
s


+
2

)








"\[RightBracketingBar]"










1
,
1



,


,





n
,
s


+
1

,


,




N
EV

,

N
T






+


1
2





(

L
-



n
,
s



)






n
,
s







|



1
,
1



,


,




n
,
s


-
1

,


,




N
EV

,

N
T









and as such generates transitions between and creates superpositions of basis states, i.e. different solutions.


Each of the NP phase terms in each layer comes with one freely chooseable parameter, γP;l,kcustom-character and each term is generated by a Hermitian operator which is one specific sum over the four cost Hamiltonians of (HAM1)-(HAM4), i.e.











P
k

=




α
=
1

4



a

k
,
α






α
,





,




(
PHASEEX
)







The coefficients ak,α≥0 define reference vectors {right arrow over (a)}k which need to fulfill the condition Σα=14ak,α2={right arrow over (a)}kT·{right arrow over (a)}k=1, i.e., the vectors {right arrow over (a)}k be unit vectors and thus each {right arrow over (a)}k defines a direction in the objective space. These are the quantum analog of the reference vectors in classical multi-objective optimization as described in “A Reference Vector Guided Evolutionary Algorithm for Many-Objective Optimization”, IEEE Transactions on Evolutionary Computation 20(5), 773-791 (2016) doi 10.1109/TEVC.2016.2519378. In the current example it is assumed that NP=5 (i.e. k=1, . . . ,5) reference vectors are used and the reference vectors {right arrow over (a)}k are determined by one of the standard approaches from literature as described in, for example, “A Reference Vector Guided Evolutionary Algorithm for Many-Objective Optimization”, IEEE Transactions on Evolutionary Computation 20(5), 773-791 (2016) doi 10.1109/TEVC.2016.2519378, or “.Adaptation of Reference Vectors for Evolutionary Many-objective Optimization of Problems with Irregular Pareto Fronts”, IEEE Congress on Evolutionary Computation (CEC), 1726-1733 (2019) doi 10.1109/CEC.2019.8790214.


In a simple but representative case the quantum circuit has only one layer, NL=1, in which case the quantum circuit prepares the following state,














"\[LeftBracketingBar]"


ψ

(


{


γ

X
;
k


,

γ

P
;
k



}


k
=
1



N
P

=
5


)




=




k
=
1

5




e


-
i






s
=
1


N
T






n
=
1


N
EV




γ


X
;
k

,
n
,
s




L


x
;
n

,
s









e


-
i



γ

P
;
k







α
=
1

4



a

k
,
α





α









"\[LeftBracketingBar]"


ψ
0











(
PQCEX
)








with the reference vectors ak,α and the cost Hamiltonians of (HAM1)-(HAM4). This parametrized quantum state depends on 5(NTNEV+1) parameters {{γX;k,n,s}n,sNEV,NT, γP;k}k=1NP=5 which need to be optimally determined by a classical optimization algorithm.


The claimed method executed on the claimed hybrid quantum-classical computer system comprises the following steps. A classical optimization algorithm custom-charactercustom-charactercustom-character such as a stochastic gradient descent (SGD) is initiated on the classical computing component. The search parameters of this classical optimizer are given by the 10 parameters of the PQC, i.e., γ={{γX;k,n,s}n,sNEV,NT, γP;k}k=1NP=5custom-characterD with D=5(NTNEV+1).


Additionally, an archive custom-character may be initiated on the classical computing component where search parameters, candidate solutions and corresponding values of the objective functions will be stored. Further, the quantum apparatus is configured such that the measurement basis represents classical solutions as depicted in (ENC) and the quantum circuit produces the parametrized quantum state (PQCEX) with the corresponding gate operations (MIXEX) and (PQCEX) and (HAM1)-(HAM4). Then, an iteration counter is initialized with t=0 and the following steps are iterated:

    • i) Based on its internal state, the classical optimizer algorithm generates a set of search parameter values,







𝒞𝒪𝒜


γ
t


=


{



{

γ

X
;

k
.
n
.
s


t

}


n
,
s



N
EV

,

N
T



,

γ

P
;
k

t


}


k
=
1



N
P

=
5






and the classical computing components sends these parameter values to the quantum apparatus.

    • ii) The quantum apparatus receives the parameter set γt={{γX;k,n,st}n,sNEV,NT, γP;kt}k=1NP=5 from the classical computing component and adjusts its unitary gate operators such that it produces the quantum state specified by (PQCEX), i.e.












"\[LeftBracketingBar]"


ψ

(

γ
t

)




=




k
=
1



N
P

=
5





e


-
i






s
=
1


N
T






n
=
1


N
EV




γ

X
;

k
.
n
.
s


t



L


x
;
n

,
s









e


-
i



γ

P
;
k

t






α
=
1

4



a

k
,
α





α









"\[LeftBracketingBar]"


ψ
0







,




when it is executed.


Then the quantum apparatus executes the quantum circuit. The one resulting quantum state |ψ(γt)custom-character then encodes a whole population of NS candidate solutions as superposition,













"\[LeftBracketingBar]"


ψ

(

γ
t

)




=




i
=
1


N
s






ξ
i

(

γ
t

)





"\[LeftBracketingBar]"


x
i







+




j
=


N
S

+
1



d
H






δ
j

(

γ
t

)





"\[LeftBracketingBar]"


x
j










where the first sum are those basis states with large weights and which represents the full population, custom-character={xi}i=1NS, and the second sum is negligibly small, i.e. Σi=1NSit)|2=1−ϵ and Σj=NS+1dHjt)|2=ϵ with ϵ much smaller than 1, respectively, such that the final state truly encodes the solution population,












"\[LeftBracketingBar]"


ψ

(

γ
t

)









i
=
1


N
s






ξ
i

(

γ
t

)





"\[LeftBracketingBar]"


x
i







.




The set of NS solutions custom-charactert at iteration t, is extracted from one quantum state as those Ns basis states which have the largest amplitudes.


One way to extract those solutions from the quantum state practically can be through repeated sampling. There, the quantum state is prepared and measured with the same parameters γt a plurality of times (i.e., Nmeasure>NS), where each measurement results in one basis state, i.e., one solution,











|

ψ

(

γ
t

)







measurement


#

m



|

x
m






readout


x
m





and collecting the measurement results in a list, from which the NS most frequent measurement results are then selected. For large enough number of measurements, this sampling procedure indeed selects those basis states with the largest amplitudes, as each individual measurement selects a basis state according to the standard Born-rule probability,





Probability of measuring |xcustom-character: P(x, γt)=|custom-characterx|ψ(γt)custom-character|2.


Another way could be to perform a full state tomography protocol or classical shadow tomography (see e.g. “Efficient quantum state tomography” Nat Commun 1, 149 (2010), doi 10.1038/ncomms1147, or “Predicting many properties of a quantum system from very few measurements”, Nat. Phys. 16, 1050-1057 (2020). https://doi.org/10.1038/s41567-020-0932-7) and explicitly selecting the basis states with the largest probabilities.


In any case, the procedure is such that the with the present invention, the quantum computing component extracts a whole population custom-charactert={xm}m=1NS, of solutions from the one quantum state |ψ(γt)custom-character and then sends it to the classical computing apparatus for further processing.

    • iii) The classical computing component receives the population of solutions custom-charactert={xm}m=1NS from the quantum computing component and stores it for further processing in an archive custom-character. Then, all objective function values from equations (OBJ1) to (OBJ4) are computed for each of the solutions in the population, which results in a set of objective value vectors custom-charactert={{right arrow over (C)}(xm)∀xmcustom-charactert}. From this set of objective value vectors, the set of non-dominated solutions are selected, custom-charactercustom-charactert={{right arrow over (C)}(xi)}i=1NPF. This represents the approximation of the Pareto front at iteration t and the corresponding set of solutions is an estimate of the Pareto set custom-charactercustom-charactert={xi}i=1NPF.


Form this set of nondominated solutions, the hypervolume indicator HV(custom-charactercustom-charactert) is calculated, which in turn is used to calculate the fitness value f associated with the parameters of the PQC,








f
t



f

(

γ
t

)


=

-


HV

(

ℙ𝔽
t

)

.






The fitness value ft is then fed back into the classical optimization algorithm_






custom-character
custom-character
custom-character←f(γt)


and the optimizer updates its internal state accordingly.


Additionally, the search parameters γt, the corresponding fitness value f(γt), the current estimate of the Pareto front custom-charactercustom-charactert, and the corresponding Pareto set of candidate solutions custom-charactercustom-charactert, are added to the archive,






custom-charactercustom-character+{t, γt, f(γt), custom-charactercustom-charactert, custom-charactercustom-charactert}

    • iv) Thereafter, a convergence criterion is checked on the classical computing component. This can be, for example, whether the maximally allowed number of cost function evaluations has been reached, or if the improvement of the fitness value f(γt) over the last couple of iterations was not enough compared to a given threshold.
      • a. If the convergence criterion is met the optimization is stopped and as the final result the final Pareto front and corresponding Pareto set are obtained by selecting all the non-dominated solutions from all approximations of the Pareto front of each iteration custom-charactercustom-characterFinal=NonDominatedSolutions({custom-charactercustom-charactert′}t′=1t).
      • b. If the convergence criterion is not met, the process is repeated from step i). above.


The final result is the Pareto set of solutions custom-charactercustom-characterFina={xi}i=1NPF which approximate the Pareto from custom-charactercustom-characterFinal={{right arrow over (C)}(xi)}i=1NPF, which is output for further evaluation or control of a charging system.


The proposed method and hybrid computer system utilizing the PQC is effective in producing a good approximation to the Pareto front since all possible solutions are typically present in the superposition of the initial state of the quantum apparatus. The phase operators in the PQC do assign different phases to each individual basis state based on the values of the reference vectors used in the phase operators of Eq. (PQCEX). In that way, the classical optimizer can tune the parameters of the PQC to give the largest diversity and include mostly non-dominated solutions in the quantum state which maximize hypervolume indicator.


The set of Pareto optimal solutions serves as a basis for implementing an efficient control of the EV charging and scheduling service. A solution selection routine can be implemented, where the best fitting solutions are automatically determined from the whole set of Pareto optimal solutions. The natural solution selection routine is to utilize state of the art knee point detection methods as, for example, described in “Performance Analysis on Knee Point Selection Methods for Multi-Objective Sparse Optimization Problems”, IEEE Congress on Evolutionary Computation, 1-8 (2018) doi 10.1109/CEC.2018.8477915 or “A Multi-objective Evolutionary Algorithm for “Finding Knee Regions Using Two Localized Dominance Relationships”, IEEE Transactions on Evolutionary Computation 25(1), 145-158 (2021) doi 10.1109/TEVC.2020.3008877. Knee-points naturally provide the preferred best tradeoff solutions.


The second application example regards a Markowitz portfolio optimization. The target of Markowitz portfolio optimization is to manage a portfolio of financial assets over a period of time such that the expected return is maximized, while at the same time the risk is minimized (see e.g., “Computational aspects of alternative portfolio selection models in the presence of discrete asset choice constraints”, Quantitative finance 1(5), 489-501 (2001), “Solving the Optimal Trading Trajectory Problem Using a Quantum Annealer”, IEEE Journal of Selected Topics in Signal Processing 10(6), 1053-1060, (2016) doi 10.1109/JSTSP.2016.2574703, or “Dynamic portfolio optimization with real datasets using quantum processors and quantum-inspired tensor networks” Phys. Rev. Research 4, 013006 (2022) for recent introductions). As these two objectives are usually in a tradeoff relation, it is desired to map the efficient frontier, i.e., the Pareto front of best possible tradeoff solutions.


Technically the problem consists of determining the compositions of a portfolio of financial assets as specified by the share ωn,s of asset n, with n=1, . . . , NAsset at time s with s=1, . . . , NT for a fixed time window. Usually rebalancing, i.e., changing the portfolio composition is done a fixed predefined times which leads to these discretized time steps. Additionally, it is common for funds to trade assets in discrete junks, which leads to the shares ωn,s to be representable by integer variables, i.e. ωn,s∈[0, . . . , L−1].


The two objectives of this problem are formulated as











C
1

(
ω
)

=




s
=
1


N
T







n
=
1


N
Asset




[



μ

n
,
s




ω

n
,
s



-


v

n
,
s






"\[LeftBracketingBar]"



ω

n
,

s
+
1



-

ω

n
,
s





"\[RightBracketingBar]"




]







(


OBJ

1

,

Expected


return


)














C
2

(
ω
)

=




s
=
1


N
T







n
=
1


N
Asset




ω

n
,
s









nm
,
s




ω

m
,
s









(


OBJ

2

,
Risk

)







Here μn,s is the forecasted return on asset n at time s and vn,s is the transaction cost when changing the share of asset n from time step s−1 to time step s in the portfolio.


The first term thus gives the accumulated overall expected return for the complete portfolio over the considered time horizon.


In the second objective Σnm,s denotes the covariance of assets n and m at time s and the objective represents the covariance of the expected portfolio return summed over all times. This gives a measure for risk since (a) large covariance implies that the true return can differ largely form the expected returns, while small covariance implies the true return is similar to the expected return, and (b) large covariance between two assets implies correlations between the assets which in-turn reduces the robustness of the portfolio and thus makes the portfolio more risky.


The two-objective portfolio optimization problem is approached with the proposed method and hybrid quantum-classical computing system by representing the integer variables describing the shares in the portfolios, ωn,s, as the measurement basis states of the quantum apparatus,














"\[LeftBracketingBar]"

x



=




"\[LeftBracketingBar]"




ω

1
,
1


,

ω

2
,
1


,

...


ω


N
Assets

,
1



,

ω

1
,
2


,
...

,

ω

n
,
s


,
...

,

ω


N
Assets

,

N
T











(
ENC
)







and formulating the two cost Hamiltonians in terms of the z-angular momentum operator Lz;n,s of the qudit encoding the corresponding variable, i.e. be using the replacement rule







ω

n
,
s





L


z
;
n

,
s


+



L
-
1

2

.






The measurement basis states are eigenstates to these operators and the eigenvalues are the shares of the asset in the portfolio, i.e.











(


L


z
;
n

,
s


+


L
-
1

2


)






"\[LeftBracketingBar]"




ω

1
,
1


,

ω

2
,
1


,

...


ω


N
Assets

,
1



,

ω

1
,
2


,
...

,

ω

n
,
s


,
...

,

ω


N
Assets

,

N
T








=


ω

n
,
s







"\[LeftBracketingBar]"




ω

1
,
1


,

ω

2
,
1


,

...


ω


N
Assets

,
1



,

ω

1
,
2


,
...

,

ω

n
,
s


,
...

,

ω


N
Assets

,

N
T









.




With this, the cost Hamiltonians are written as











1

=




s
=
1


N
T







n
=
1


N
Asset



[



μ

n
,
s


(


L


z
;
n

,
s


+


L
-
1

2


)

-


v

n
,
s






"\[LeftBracketingBar]"



L


z
;
n

,

s
+
1



-

L


z
;
n

,
s





"\[RightBracketingBar]"




]







(

HAM

1

)














2

=




s
=
1


N
T







n
=
1


N
Asset




(


L


z
;
n

,
s


+


L
-
1

2


)








nm
,
s





(


L


z
;
m

,
s


+


L
-
1

2


)

.








(

HAM

2

)







The measurement basis states are also simultaneous eigenstates of these cost Hamiltonians and the eigenvalues are given by the value of the objective functions of the corresponding configuration,












α






"\[LeftBracketingBar]"




ω

1
,
1


,
...

,

ω

n
,
s


,
...

,

ω


N
Assets

,

N
T








=



C
α

(


ω

1
,
1


,
...

,

ω

n
,
s


,
...

,

ω


N
Assets

,

N
T




)






"\[LeftBracketingBar]"




ω

1
,
1


,
...

,

ω

n
,
s


,
...

,

ω


N
Assets

,

N
T









.




In this example, the quantum computing component which executes the parametrized quantum circuit PQC, prepares a state using two layers,














"\[LeftBracketingBar]"

ψ



=


U

(

γ
2

)



U

(

γ
1

)





"\[LeftBracketingBar]"


ψ
0









(
PQC
)







where the unitary operations U are freely parametrizable with a set of parameters γ={γ1, γ2}. The initial state of the circuit is given by the equal superposition of all possible states,












"\[LeftBracketingBar]"


ψ
0




=


1


d
H







x




"\[LeftBracketingBar]"

x






,




where dH=LNAssetsNT is the dimensionality of the Hilbert space for NAssets assets, NT time slots and where the share of each asset can bet between zero and L−1, which are encoded by NAssests·NT qudits with local dimension L. In the current example, the unitary operation in each layer l=1, 2 has the form







U

(

γ
l

)

=




α
=
1

2




e


-
i



γ


X
;
l

,
α



X




e


-
i



γ


H
;
l

,
α





α









which is a product over two different terms and each product term consists of a so-called mixing term ˜e−iγX;l,αX and a phase operator ˜custom-character.


The mixing unitary has freely choosable parameters γX;l,αcustom-character and it is generated by the Hermitian mixing operator X. The mixing operators in this example is given by the sum over all x-angular momentum operators of each qudit, i.e.,







X
=




s
=
1


N
T






n
=
1


N
Assets



L


x
;

n

,

s





,

(
MIXEX
)





where Lx;n,s is the usual x-angular momentum operator of the qudit encoding share of asset n at time slot s. The action of Lx;n,s is given by the standard action of angular momentum operators,
















L


x
;

n

,

s


|

ω

1
,

1



,


,

ω

n
,

s


,


,

ω


N
Assets

,


N
T






=



1
2





(

L
-

ω

n
,

s


-
2

)



(


ω

n
,

s


+
2

)





|

ω

1
,

1




,


,

ω

n
,

s


,


,

ω


N
Assets

,


N
T






+


1
2





(

L
-

ω

n
,

s



)




ω

n
,

s







|

ω

1
,

1



,


,

ω

n
,

s


,


,

ω


N
Assets

,


N
T









and as such generates transitions between and creates superpositions of basis states, i.e., different solutions.


Each of the two phase terms in each layer comes with one freely chooseable parameter, γH;l,αcustom-character and each term is generated by one cost Hamiltonians of (HAM1) and (HAM2).


Putting it all together, the quantum circuit prepares the following state,










|

ψ

(


{


γ


X
;

l

,

1


,

γ


H
;

l

,

1


,

γ


X
;

l

,

2


,

γ


H
;

l

,

2



}


l
=
1

2

)




=




l
=
1

2



e


-
i



γ


X
;

l

,

2



X




e


-
i



γ


H
;

l

,

2





2





e


-
i



γ


X
;

l

,

1



X




e


-
i



γ


H
;

l

,

1





1







"\[LeftBracketingBar]"


ψ
0










(
PQCEX
)





This parametrized quantum state depends on 8 parameters {γX;l,1, γH;l,1, γX;l,2, γH;l,2}l=12 which need to be optimally determined by a classical optimization algorithm.


The proposed method and apparatus executes the following steps:


First, a classical optimization algorithm custom-charactercustom-charactercustom-character such as a stochastic gradient descent SGD is initiated on the classical computing component. The search parameters of this classical optimizer are given by the 8 parameters of the PQC, i.e., γ={γX;l,1, γH;l,1, γX;l,2, γH;l,2}l=12custom-characterD with D=8. Additionally, an archive custom-character is initiated on the classical computing component, where search parameters, candidate solutions and corresponding values of the objective functions will be stored.


Second, the quantum computing component is configured such that the measurement basis represents classical solutions as depicted in (ENC) and the quantum computing component produces the parametrized quantum state (PQCEX) with the corresponding gate operations (MIXEX) and (PQCEX) with (HAM1) and (HAM2). Then, an iteration counter is initialized with t=0 and the following steps are iterated:

    • i) Based on its internal state, the classical optimizer algorithm generates a set of search parameter values,






custom-character
custom-character
custom-character→γt={γX;l,1t, γH;l,1t, γX;l,2t, γH;l,2t}l=12


and the classical computing component sends these parameter values to the quantum computing component.

    • ii) The quantum computing component receives the parameter set







γ
t

=


{


γ


X
;

l

,

1

t

,

γ


H
;

l

,

1

t

,

γ


X
;

l

,

2

t

,

γ


H
;

l

,

2

t


}


l
=
1

2





and adjusts its unitary gate operators such that it produces the quantum state specified by (PQCEX), i.e.










|

ψ

(

γ
t

)




=




l
=
1

2




e


-
i



γ


X
;

l

,

2

t


X




e


-
i



γ


H
;

l

,

2

t




2





e


-
i



γ


X
;

l

,

1

t


X




e


-
i



γ


H
;

l

,

1

t




1







"\[LeftBracketingBar]"


ψ
0







,




when it is executed.


Then the quantum apparatus executes the quantum circuit. The one resulting quantum state |ψ(γt)custom-character then encodes a whole population of NS candidate solutions as superposition,










|

ψ

(

γ
t

)




=




m
=
1





ξ
t

(

x
m

)






"\[LeftBracketingBar]"


x
m







.




For this state a full state tomograph is done on the quantum device (see e.g. “Efficient quantum state tomography”, Nat Commun 1, 149 (2010) doi 10.1038/ncomms1147), which gives the list of all weights contributing to the state, T={|ξt(xc)|2 for c in 1, . . . dH} and the set of NS solutions custom-charactert at iteration t is extracted from this by selecting the ones which have the largest amplitudes, custom-charactert={xm}m=1NS where xm correspond to the largest NS entries in the tomography list T.

    • iii) The classical computing component receives the population of solutions custom-charactert={xm}m=1NS from the quantum computing component and stores it for further processing in the archive. Then, all objective function values from equations (OBJ1) and (OBJ2) are computed for each of the solutions in the population, which results in a set of objective value vectors custom-charactert={{right arrow over (C)}(xm)∀xmcustom-charactert}.


From this set of objective value vectors, the set of non-dominated solutions custom-charactercustom-charactert={{right arrow over (C)}(xi)}i=1NPF are selected. This represents the approximation of the Pareto front custom-charactercustom-charactert at iteration t and the corresponding set of solutions is an estimate of the Pareto set custom-charactercustom-charactert={xi}i=1NPF. Form this set of nondominated solutions, the hypervolume indicator HV(custom-charactercustom-charactert) is calculated, which in turn is used to calculate the fitness value ft associated with the parameters of the PQC,








f
t



f

(

γ
t

)


=


-
H




V

(

ℙ𝔽
t

)

.






The fitness value is then fed back into the classical optimization algorithm






custom-character
custom-character
custom-character←f(γt)


and the optimizer updates its internal state accordingly.


Additionally, the search parameters γt, the corresponding fitness value f(γt), the current estimate of the Pareto front custom-charactercustom-charactert, and the corresponding Pareto set of candidate solutions custom-charactercustom-charactert, are added to the archive,






custom-charactercustom-character+{t, γt, f(γt), custom-charactercustom-charactert, custom-charactercustom-charactert}

    • iv) Thereafter, a convergence criterion is checked on the classical computation apparatus. This can be, for example, whether the maximally allowed number of cost function evaluations has been reached, or if the improvement of the fitness value ft over the last couple of iterations was not enough.
      • a. If the convergence criterion is met the optimization is stopped and as the final result the final Pareto front and corresponding Pareto set are obtained by selecting all the non-dominated solutions from all approximations of the Pareto front of each iteration, , custom-charactercustom-characterFinal=NonDominatedSolutions({custom-charactercustom-charactert′}t′=1t).
      • b. If the convergence criterion is not met, the process is repeated from step 1. above.


The final result is the Pareto set of solutions custom-charactercustom-characterFinal={xi}i=1NPF which approximate the Pareto front custom-charactercustom-characterFinal={{right arrow over (C)}(xi)}i=1NPF, which is then output and visualized. The Pareto front and the corresponding Pareto set form the basis for a financial service company to offer their customers various different portfolios as products. Each portfolio represents an optimal tradeoff solution between expected risk and expected return, and being able to offer solutions from all parts of the complete Pareto front as products to their customer give the financial service company a great benefit.


The proposed method and hybrid quantum-classical computer system utilizing the PQC is effective in producing a good approximation to the Pareto front since all possible solutions are typically present in the superposition of the initial state of the quantum apparatus. The phase operators in the PQC do assign different phases to each individual basis state based on the values of the scalarizing functions uses in the phase operators of Eq. (PQCEX). In that way, the classical optimizer can tune the parameters of the PQC to give the largest diversity and include mostly non-dominated solutions in the quantum state, which maximize hypervolume indicator.

Claims
  • 1. A computer implemented method for obtaining a set of Pareto-optimal solutions to a given multi-objective optimization problem with M different objectives {right arrow over (C)}(x)={Cα}α=1M=(C1(x), C2(x), . . . , CM(x))T where x represents a classical solution of the multi-objective optimization problem, comprising performing an iterative procedure wherein each iteration t comprises the following steps: a. generating a set of parameters Yt on a classical computation component using the classical optimization algorithm and sending it to a quantum component,b. on the quantum component, generating a quantum state |ψγt=U(γt)|ψ0 by executing a parameterized quantum circuit (PQC) implementing a unitary quantum operation U(γ) with the set of parameters γt on initial quantum state |ψ0 where the quantum state |ψγt represents a set of NS different solutions,c. selecting a set of NS≥NPF basis states {|xi}i=1NS from the one quantum state |ψγt and sending the information of which basis states were selected to the classical computation component,d. on the classical computation component calculating a set of objective values consisting of the objective values for each solution in the set of classical solutions,e. generating a new estimate for the Pareto set of solutions and the corresponding Pareto front by the classical optimizer incorporating the set of solutions and the corresponding set of objectives values,f. updating the internal state of the classical optimization algorithm based on the current set of solutions and the Pareto set and their corresponding sets of objective values,g. checking a convergence criterion and if the convergence criterion is not satisfied, repeating the process from step a. onwards, until the convergence criterion is fulfilled,
  • 2. The method according to claim 1, characterized in thatin addition to updating the internal state of the classical optimization algorithm, an archive is updated based on the current set of solutions and the Pareto set and their corresponding sets of objective values, in the step of generating the new estimate further incorporates values from previous iterations retrieved from an archive.
  • 3. The method according to claim 1, characterized in thatthe parameterized quantum circuit PQC implements a unitary quantum operation U(γ) which is composed of NL layers with different choosable sets of parameters as
  • 4. The method of claim 1, characterized in thatthe parameterized quantum circuit PQC implements a unitary quantum operation U(γ) which is composed of NL layers with different choosable sets of parameters as
  • 5. The method according to claim 4, characterized in that the coefficients in these sums ak,α∈ represent reference vectors {right arrow over (a)}k which have to fulfill Σαak,α2={right arrow over (a)}kT·{right arrow over (a)}k=1 and ak,n≥0 for each k, and for each k, define a certain direction in the space of objective values and thus reflect one user preference and are determined in the beginning as part of the problem definition, αCα|xxe−iXk(γX;l,k)γX;l,kMXα(γX;l,k)=1, . . . , NP.
  • 6. The method according to claim 1, characterized in thatthe parameterized quantum circuit PQC implements a unitary quantum operation U(γ) which is composed of NL layers with different choosable sets of parameters as
  • 7. The method according to claim 1, characterized in thatthe basis-state selection is performed by sampling from the quantum state |ψγt which is realized by measuring repeatedly the quantum state, and adding for each measured state |xm the corresponding classical solution xm to the set of selected states, t until NS different states have been measured and added to the set of selected states, t={xi}i=1NS.
  • 8. The method according to claim 1, characterized in thatthe basis-state selection is performed by a full state tomography from the quantum state |ψγt where the set of weights of each basis state is determined, T={|ξi|2}i=1dH, and the basis states corresponding to the subset of the NS largest weights is selected, which form the set of selected states, t={xi}i=1NS.
  • 9. The method according to claim 3, characterized in thatthe mixing operator in each layer is given by a sum over all x-angular momentum operators or generalized Pauli X-operators of each physical qudit and where the coefficient of each individual angular momentum operator in each layer is given by one freely choosable parameter γX;k/α,l,i∈, where k/α enumerates the mixing operators, l denotes the layers and i enumerates all physical qudits.
  • 10. The method according to claim 3, characterized in thatthe mixing operator in each layer is given by a sum over all x-angular momentum operators or generalized Pauli X-operators of each physical qudit and where there is only one global coefficient for the complete sum over all individual angular momentum or generalized Pauli X operators applied to each physical qudit in each layer which is given by the freely choosable parameter γX;k/α,l∈ where k/α enumerates the mixing operators, and l denotes the layers.
  • 11. The method according to claim 4, characterized in thatthe coefficients ak,α of the reference vectors of the phase Hamiltonians, Pk=Σα=1Mak,αα, are determined and adapted in each iteration step t according to the state of the art procedure for reference vector adaptation such that in each iteration a different set of reference vectors is used which allows a speed-up of the optimization process and a diversification of the obtained Pareto solutions.
  • 12. The method according to claim 1, characterized in thatthe problem is a multi-objective bi-directional electric vehicle charging problem where the target is to find a set of Pareto optimal configurations of discrete integer variables, which encode a full charging and service schedule for a fleet of electric vehicles and where multiple objectives, which are at least two of electricity cost for fulfilling all charging demands, customer satisfaction, maximizing utilization of renewable energies, minimizing electricity drawn from the grid, and minimizing the peak electricity power consumption, are considered for achieving an approximation of the Pareto front, is obtained.
  • 13. The method according to claim 1, characterized in thatthe method is applied to obtain the efficient frontier of possible portfolio compositions as formulated by the Markowitz model of Modern portfolio theory by finding the compositions of a portfolio over time as specified by integer variables which specify the investment amount into asses n at time s and where the efficient frontier is spanned by those portfolio compositions which have optimal tradeoffs between maximizing return and minimizing risk and thus pose a two-objective optimization problem.
  • 14. A hybrid quantum-classical computer system comprising a quantum component configured to realize a parametrized quantum circuit PQC by implementing a unitary quantum operation U(γ) which is parametrized by freely choosable parameters γ and which generates a N-qubit or qudit quantum state |ψγ by applying the unitary operator to a previously defined N-qubit or qudit initial state |ψ0, i.e. |ψγ=U(γ)|ψ0, which can be decomposed into the measurement basis of the quantum device, |ψγ=Σc=1dHξγ,c|xc with dH the dimensionality of the Hilbert space, and each measurement basis state |xc encodes one classical solution xc,and a classical computing component which is configured to run a classical optimization algorithm by providing new parameters values γ to the quantum computing component, initiating the execution of the PQC and the preparation of the state |ψγ and then receiving a set of classical solutions from the quantum module as a result and calculating the all cost functions for each solutions,where both modules together are used to solve classical multi-objective optimization problem by iteration as defined in the method according to claim 1.
Priority Claims (1)
Number Date Country Kind
23181719.8 Jun 2023 EP regional