System and method for symmetric tensor network and adaptive trotter delta for optimization

The system employs a symmetric tensor network and adaptive trotter delta to optimize objective functions with constraints, addressing the inefficiencies of conventional methods by transforming problems into unconstrained QUBO models, thus achieving efficient and accurate optimization.

WO2025133177A1PCT designated stage expired Publication Date: 2025-06-26MULTIVERSE COMPUTING SL
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
PCT/EP2024/087987
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-12-20
Filing Date
2024-12-20
Publication Date
2025-06-26

AI Technical Summary

Technical Problem

Conventional optimization methods, such as LaGrange multipliers, often result in untractable problems for logistics, predictive maintenance, and portfolio optimization, leading to imperfect solutions, increased computational resources, and energy wastage.

Method used

A system and method using a symmetric tensor network and adaptive trotter delta for optimization, which involves generating a time evolution block decimation (TEBD) process and transforming the objective function into an unconstrained quadratic unconstrained binary optimization (QUBO) model with symmetries to satisfy constraints.

Benefits of technology

This approach optimizes objective functions with constraints efficiently, reducing computational resources and energy consumption while ensuring constraint satisfaction, thereby improving the accuracy and efficiency of optimization solutions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure EP2024087987_26062025_PF_FP_ABST
    Figure EP2024087987_26062025_PF_FP_ABST
Patent Text Reader

Abstract

A system and method for minimizing an objective function with constraints using an optimal tensor network configuration with symmetries are provided. The system comprises a non-transitory computer-readable memory and a processor in communication with the memory storing program instructions. The program instructions, when executed by a processor, causes the processor to: receive an objective function and one or more constraints for optimization; generate a time evolution block decimation (TEBD) process based on the objective function without the one or more constraints: generate a tensor network based on the objective function with symmetries to satisfy the one or more constraints; and find the optimal tensor network that optimizes the objective function using the TEBD process. Generating the tensor network may include applying the symmetries to transform the objective function into an unconstrained quadratic unconstrained binary optimization (QUBO) model.
Need to check novelty before this filing date? Find Prior Art

Description

TITLE: SYSTEM AND METHOD FOR SYMMETRIC TENSOR NETWORK AND ADAPTIVE TROTTER DELTA FOR OPTIMIZATION FIELD

[0001] Various embodiments are described herein that generally relate tosystem for symmetric tensor network and adaptive trotter delta for optimization, as well as the methods. BACKGROUND

[0002] The following paragraphs are provided by way of background to thepresent disclosure. They are not, however, an admission that anything discussed therein is prior art or part of the knowledge of persons skilled in the art.

[0003] Conventionally, optimization problems are solved with LaGrangemultipliers for every constraint. The result of using this is a cost function that is huge but is mostly constrained.

[0004] Some optimization problems that can become untractable usingconventional approaches include logistics optimization, predictive maintenance, and portfolio optimization.

[0005] When optimization problems are untractable, they can result inimperfect solutions, or when accuracy is needed, they can result in a drain on computer resources, overheating of computing devices, increased memory usage, and energy wastage, for example.

[0006] There is a need for a system and method that addresses thechallenges and / or shortcomings described above. SUMMARY OF VARIOUS EMBODIMENTS

[0007] Various embodiments of a system and method for symmetric tensornetwork and adaptive trotter delta for optimization, and computer products foruse therewith, are provided according to the teachings herein.

[0008] According to one aspect of the invention, there is disclosed a systemfor minimizing an objective function with constraints using an optimal tensornetwork configuration with symmetries, the system comprising: a non-transitory computer-readable memory; and a processor in communication with the memory storing program instructions that, when executed by a processor, causes the processor to: receive an objective function and one or more constraints for optimization; generate a time evolution block decimation (TEBD) process based on the objective function without the one or more constraints; generate a tensor network based on the objective function with symmetries tosatisfy the one or more constraints; and find the optimal tensor network thatoptimizes the objective function using the TEBD process.

[0009] According to another aspect of the invention, there is disclosed acomputer-implemented method for minimizing an objective function withconstraints using an optimal tensor network configuration with symmetries, themethod comprising: receiving an objective function and one or more constraintsfor optimization; generating a time evolution block decimation (TEBD) processbased on the objective function without the one or more constraints; generating a tensor network based on the objective function with symmetries to satisfy theone or more constraints; and finding the optimal tensor network that optimizesthe objective function using the TEBD process.

[0010] In at least one embodiment, generating the tensor network comprisesapplying the symmetries to transform the objective function into an unconstrained quadratic unconstrained binary optimization (QUBO) model.

[0011] In at least one embodiment, generating the tensor network comprisesadding additional sites to the tensor network.

[0012] In at least one embodiment, finding the optimal tensor network usesthe TEBD process.

[0013] In at least one embodiment, finding the optimal tensor network furthercomprises using an adaptive trotter scheduler in conjunction with the TEBD process.

[0014] In at least one embodiment, the adaptive trotter delta schedulercomprises a reducer, a stagnater, and a deepener.

[0015] In at least one embodiment, at least one of the reducer, the stagnater,or the deepener comprises modifying a trotter delta in the TEBD process.

[0016] Other features and advantages of the present application willbecome apparent from the following detailed description taken together with the accompanying drawings. It should be understood, however, that the detailed description and the specific examples, while indicating preferred embodiments of the application, are given by way of illustration only, since various changes and modifications within the spirit and scope of the applicationwill become apparent to those skilled in the art from this detailed description.BRIEF DESCRIPTION OF THE DRAWINGS

[0017] For a better understanding of the various embodiments describedherein, and to show more clearly how these various embodiments may be carried into effect, reference will be made, by way of example, to the accompanying drawings which show at least one example embodiment, and which are now described. The drawings are not intended to limit the scope of the teachings described herein.

[0018] FIG. 1 shows a block diagram of an example embodiment of asystem for symmetric tensor network and adaptive trotter delta for optimization.

[0019] FIG. 2 shows a block diagram of an example of predefined Trotterdeltas evolution in a time-evolving block decimation (TEBD) algorithm.

[0020] FIG. 3 shows a flowchart of an example embodiment of an adaptivescheduler using an adaptive trotter delta.

[0021] FIG. 4 shows a bar chart of an example of relative error in anobjective as a function of an initial value in a TEBD algorithm.

[0022] FIG. 5 shows graphs for an example of the stagnater and deepenercomponents and the effects of deltas evolution.

[0023] FIG. 6 shows graphs illustrating an example of matrix product states(MPS) and conflict fixing.

[0024] FIG. 7 shows graphs illustrating an example of entropies, energies,and objectives of a model.

[0025] FIG. 8 shows graphs illustrating an example of entropies andenergies of another model.

[0026] FIG. 9 shows graphs illustrating an example of tensor links.

[0027] FIG. 10 shows graphs illustrating an example of symmetric tensoroperations.

[0028] FIG. 11 shows a graph of an example of the intersection of spans ina Hilbert space.

[0029] FIG. 12 shows graphs illustrating an example of an intersection oftensors.

[0030] FIG. 13 shows graphs illustrating an example of the reshaping ofindices of a symmetric tensor.

[0031] FIG. 14 shows graphs illustrating an example of fusing groups.

[0032] FIG. 15 shows a graph of an example of a general Ising model with100 sites.

[0033] FIG. 16 shows a graph of an example of a general Ising model with12 sites.

[0034] FIG. 17 shows a graph of an example of a tensor networkprecomputation scheme with 1 gate.

[0035] FIG. 18 shows a graph of an example of a tensor networkprecomputation scheme comparing symmetric versus precomputed symmetric.

[0036] FIG. 19 shows a diagram of an example of a conversion fromelement-wise to block structure for a general precomputation scheme.

[0037] FIG. 20 shows a graph of an example of gate contraction.

[0038] FIG.21 shows a graph of an example of standard and symmetric withprecomputation.

[0039] FIGS.22-24 show graphs illustrating examples of gates created fromIsing Hamiltonians.

[0040] FIG. 25 shows a graph of an example of constraint fulfillment for asite k.

[0041] FIG. 26 shows a graph of an example of constraint fulfillment for asite 1.

[0042] FIG. 27 shows a graph of an example of constraint fulfillment for asite n.

[0043] FIG.28 shows graphs illustrating an example of truncation to discardsurplus sectors.

[0044] FIG. 29 shows a diagram illustrating an example of the space ofsolutions in a Hilbert space.

[0045] FIG.30 shows a graph of an example of slack variables incorporatedinto a matrix product state (MPS).

[0046] FIG.31 shows a diagram of an example of a solution obtained by thefusion rule.

[0047] FIG. 32 shows graphs illustrating an example total entropies,energies, and penalty terms costs for a general Ising Hamiltonian with 50 particles.

[0048] FIGS. 33A to 33C show graphs of an example objective, constraintsatisfaction, and entropy of QPLIB model 0633.

[0049] FIGS. 34A to 34C show graphs of an example objective, constraintsatisfaction, and entropy of QPLIB model 2512.

[0050] FIGS. 35A to 35C show graphs of an example objective, constraintsatisfaction, and entropy of QPLIB model 3834.

[0051] FIGS. 36A to 36C show plots of a symmetric MPS with different riskaversion and bond dimension.

[0052] Further aspects and features of the example embodiments describedherein will appear from the following description taken together with the accompanying drawings. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0053] Various embodiments in accordance with the teachings herein will bedescribed below to provide an example of at least one embodiment of the claimed subject matter. No embodiment described herein limits any claimed subject matter. The claimed subject matter is not limited to devices, systems,or methods having all of the features of any one of the devices, systems, ormethods described below or to features common to multiple or all of thedevices, systems, or methods described herein. It is possible that there may bea device, system, or method described herein that is not an embodiment of anyclaimed subject matter. Any subject matter that is described herein that is not claimed in this document may be the subject matter of another protective instrument, for example, a continuing patent application, and the applicants,inventors, or owners do not intend to abandon, disclaim, or dedicate to thepublic any such subject matter by its disclosure in this document.

[0054] It will be appreciated that for simplicity and clarity of illustration,where considered appropriate, reference numerals may be repeated among the figures to indicate corresponding or analogous elements. In addition, numerous specific details are set forth in order to provide a thorough understanding of the embodiments described herein. However, it will be understood by those of ordinary skill in the art that the embodiments described herein may be practiced without these specific details. In other instances, well-known methods, procedures, and components have not been described indetail so as not to obscure the embodiments described herein. Also, the description is not to be considered as limiting the scope of the embodiments described herein.

[0055] It should also be noted that the terms “coupled” or “coupling” as usedherein can have several different meanings depending in the context in which these terms are used. For example, the terms coupled or coupling can have amechanical or electrical connotation. For example, as used herein, the terms coupled or coupling can indicate that two elements or devices can be directly connected to one another or connected to one another through one or moreintermediate elements or devices via an electrical signal, electrical connection,or a mechanical element depending on the particular context.

[0056] It should also be noted that, as used herein, the wording “and / or” isintended to represent an inclusive-or. That is, “X and / or Y” is intended to mean X or Y or both, for example. As a further example, “X, Y, and / or Z” is intended to mean X or Y or Z or any combination thereof.

[0057] It should be noted that terms of degree such as “substantially”,“about” and “approximately” as used herein mean a reasonable amount ofdeviation of the modified term such that the end result is not significantly changed. These terms of degree may also be construed as including adeviation of the modified term, such as by 1%, 2%, 5%, or 10%, for example, ifthis deviation does not negate the meaning of the term it modifies.

[0058] Furthermore, the recitation of numerical ranges by endpoints hereinincludes all numbers and fractions subsumed within that range (e.g., 1 to 5includes 1, 1.5, 2, 2.75, 3, 3.90, 4, and 5). It is also to be understood that all numbers and fractions thereof are presumed to be modified by the term “about” which means a variation of up to a certain amount of the number to which reference is being made if the end result is not significantly changed, such as 1%, 2%, 5%, or 10%, for example.

[0059] It should also be noted that the use of the term “window” inconjunction with describing the operation of any system or method described herein is meant to be understood as describing a user interface for performinginitialization, configuration, or other user operations.

[0060] The example embodiments of the devices, systems, or methodsdescribed in accordance with the teachings herein may be implemented as a combination of hardware and software. For example, the embodiments described herein may be implemented, at least in part, by using one or morecomputer programs, executing on one or more programmable devicescomprising at least one processing element and at least one storage element(i.e., at least one volatile memory element and at least one non-volatile memoryelement). The hardware may comprise input devices including at least one of atouch screen, a keyboard, a mouse, buttons, keys, sliders, and the like, as wellas one or more of a display, a printer, and the like depending on the implementation of the hardware.

[0061] It should also be noted that there may be some elements that areused to implement at least part of the embodiments described herein that may be implemented via software that is written in a high-level procedural language such as object oriented programming. The program code may be written in C++, C#, JavaScript, Python, or any other suitable programming language and may comprise modules or classes, as is known to those skilled in object-oriented programming. Alternatively, or in addition thereto, some of these elements implemented via software may be written in assembly language, machinelanguage, or firmware as needed. In either case, the language may be acompiled or interpreted language.

[0062] At least some of these software programs may be stored on acomputer readable medium such as, but not limited to, a ROM, a magnetic disk,an optical disc, a USB key, and the like that is readable by a device having aprocessor, an operating system, and the associated hardware and softwarethat is necessary to implement the functionality of at least one of the embodiments described herein. The software program code, when read by thedevice, configures the device to operate in a new, specific, and predefinedmanner (e.g., as a specific-purpose computer) in order to perform at least oneof the methods described herein.

[0063] At least some of the programs associated with the devices, systems,and methods of the embodiments described herein may be capable of being distributed in a computer program product comprising a computer readable medium that bears computer usable instructions, such as program code, for one or more processing units. The medium may be provided in various forms,including non-transitory forms such as, but not limited to, one or more diskettes, compact disks, tapes, chips, and magnetic and electronic storage. In alternative embodiments, the medium may be transitory in nature such as, but not limited to, wire-line transmissions, satellite transmissions, internet transmissions (e.g., downloads), media, digital and analog signals, and the like. The computer useable instructions may also be in various formats, including compiled and non-compiled code.

[0064] In accordance with the teachings herein, there are provided variousembodiments for a system for symmetric tensor network and adaptive trotterdelta for optimization, and computer products for use therewith.1 Overview

[0065] Symmetries as an inherent part of most physical systems is animportant concept to take into consideration when designing quantum-inspiredalgorithms. In fact, Ising Hamiltonians inherit from U(1) symmetry which can beused to fix some conservative quantities along the time evolution of a quantumstate as a Matrix Product State (MPS).

[0066] An implementation of symmetric MPS for U(1) sectors in the TEBDoptimizer of singularity is presented, along with how to deal with transforming aconstrained model into an unconstrained quantum (e.g., quadraticunconstrained binary optimization, or “QUBO”) model

[0032] which encodes theconstraints directly as symmetries of the initial state of the evolution. One can improve the crossover in terms of bond dimension advantage for symmetric- MPS compared to standard ones through custom precomputation andperspective using a block-wise backend. Furthermore, three of the mainimprovements and benefits of the Symmetric TEBD are presented: discardingthe gates introduced by the constrained terms in the objective; alleviating thenumber of parameters of the MPS by a factor > 5; and getting rid of thecumbersome penalty strength.

[0067] Following previous research and work on symmetric tensor networks[2] [6]

[0010]

[0019]

[0020]

[0021]

[0022] , one can transform the unsymmetric TEBD into onethat makes the most out of symmetries. U(1) symmetries provide a way to transform a tensor into two tensors: a structural tensor and a degeneracy tensor. 2.1 Basic Definitions

[0068] Tensor: A multidimensional array of complex numbers.

[0069] Bond dimension: Size of the dimensions of the tensors which is alsocalled virtual dimension; controls the size of the input and output of aconvolutional neural network (CNN) as well as the amount of correlationbetween data.

[0070] Tensor network diagrams: A graphical notation in which each tensoris replaced by an object such as a circle or square, and its dimensions denoted by links (or “legs”) connected to the object.

[0071] Tensor contraction: Multiplication of tensors along their shareddimension, i.e., summation over their shared indices.2.2 System Structure

[0072] Reference is first made to FIG. 1, showing a block diagram of anexample embodiment of system 100 for a system for symmetric tensor network and adaptive trotter delta for optimization. The system 100 includes at least one server 120. The server 120 may communicate with one or more user devices (not shown), for example, wirelessly or over the Internet. The system 100 may also be referred to as a machine learning system when used as such.

[0073] The user device may be a computing device that is operated by auser. The user device may be, for example, a smartphone, a smartwatch, a tablet computer, a laptop, a virtual reality (VR) device, or an augmented reality(AR) device. The user device may also be, for example, a combination ofcomputing devices that operate together, such as a smartphone and a sensor. The user device may also be, for example, a device that is otherwise operated by a user, such as a drone, a robot, or remote-controlled device; in such a case, the user device may be operated, for example, by a user through a personalcomputing device (such as a smartphone). The user device may be configured to run an application (e.g., a mobile app) that communicates with other parts of the system 100, such as the server 120.

[0074] The server 120 may run on a single computer, including a processorunit 124, a display 126, a user interface 128, an interface unit 130, input / output (I / O) hardware 132, a network unit 134, a power unit 136, and a memory unit (also referred to as “data store”) 138. In other embodiments, the server 120 may have more or less components but generally function in a similar manner. For example, the server 120 may be implemented using more than one computing device.

[0075] The processor unit 124 may include a standard processor, such asthe Intel Xeon processor, for example. Alternatively, there may be a plurality of processors that are used by the processor unit 124, and these processors mayfunction in parallel and perform certain functions. The display 126 may be, butnot limited to, a computer monitor or an LCD display such as that for a tablet device. The user interface 128 may be an Application Programming Interface (API) or a web-based application that is accessible via the network unit 134. The network unit 134 may be a standard network adapter such as an Ethernet or 802.11x adapter.

[0076] The processor unit 124 may execute a predictive engine 152 thatfunctions to provide predictions by using machine learning models 146 stored in the memory unit 138. The predictive engine 152 may build a predictivealgorithm through machine learning. The training data may include, forexample, image data, video data, audio data, and text.

[0077] The processor unit 124 can also execute a graphical user interface(GUI) engine 154 that is used to generate various GUIs. The GUI engine 154 provides data according to a certain layout for each user interface and also receives data input or control inputs from a user. The GUI then uses the inputs from the user to change the data that is shown on the current user interface, or changes the operation of the server 120 which may include showing a different user interface.

[0078] The memory unit 138 may store the program instructions for anoperating system 140, program code 142 for other applications, an input module 144, a plurality of machine learning models 146, an output module 148, and a database 150. The machine learning models 146 may include, but are not limited to, image recognition and categorization algorithms based on deep learning models and other approaches. The database 150 may be, for example, a local database, an external database, a database on the cloud, multiple databases, or a combination thereof.

[0079] In at least one embodiment, the machine learning models 146include a combination of convolutional and recurrent neural networks.Convolutional neural networks (CNNs) may be designed to recognize imagesor patterns. CNNs can perform convolution operations, which, for example, canbe used to classify regions of an image, and see the edges of an objectrecognized in the image regions. Recurrent neural networks (RNNs) can beused to recognize sequences, such as text, speech, and temporal evolution,and therefore RNNs can be applied to a sequence of data to predict what willoccur next. Accordingly, a CNN may be used to read what is happening on agiven image at a given time, while an RNN can be used to provide an informational message.

[0080] The programs 142 comprise program code that, when executed,configures the processor unit 124 to operate in a particular manner to implement various functions and tools for the system 100.

[0081] The methods, processes, and operations described herein may beimplemented in whole in part on some or all of the system 100.3 Adaptive Trotter for Time Evolution Block Decimation (TEBD)3.1 TEBD & Ideas

[0082] The Time Evolution Block Decimation algorithm [3] [4] [5] is governedby the powerful idea of the imaginary time evolution of an initial state

[0034]

[0035]

[0027] to the ground state.

[0083] Consider an initial state and its evolution under the Hamiltonianof our problem. One gets, after a time , the evolved statetime evolution operator of the Hamiltonian of the system. By a change of variable , one

[0084] To numerically achieve this time evolution, one takes advantage ofthe Trotter-Suzuki decomposition, decomposing the Hamiltonian into odd and even parts, and use the Baker-Campbell-Hausdorff formula to approximate the exact time evolution of . (See FIG. 2.)

[0085] Unfortunately, when doing a TEBD algorithm with predefined Trotterdeltas evolution (starting from evolving for steps then changing delta to and so on), the state can eventually get stuck into a local minimum. One of the consequences is a stagnating total entropy as well as an energy that is not decreasing anymore to the ground state. 3.2 Adaptive Trotter delta

[0086] Several ways to try leaving these local minima can be implementedand tested (addition of transverse field noise, adaptive penalty strength, adaptive trotter delta, multi-seed runs…). To address this problem, one may use an adaptive trotter delta scheduler. Its basic function is to adapt the trotter delta to the dynamic of the total entropy and the energy of the current state of the Matrix Product State (MPS) being used. Ideally, one employs a longevolution to understand more of the dynamics and thus alter the trotter delta accordingly as precisely as possible.

[0087] The adaptive scheduler is composed of three main components: a“reducer”, a “stagnater”, and a “steepener”. (See FIG. 3.) The reducer consistsof a reduction of the trotter delta based on how long the total entropy has not improved from its lowest value. The stagnater increases the trotter delta based on the rate of change of the entropy for a given interval of time (the tangent from the current entropy to that of the beginning of the time interval should be greater than a given ratio). The aim is to spot stagnating entropy in the middle of the evolution which usually means being stuck in a local minimum and to increase the trotter delta to get out of it. Finally, the deepener is an energy- monitored scheduler that looks at how long the energy has not changed and tries to reduce the trotter delta to move with smaller steps and fall to a minimum (if it is a deep local minimum, the stagnater will normally notice it and increase the trotter delta to escape it).

[0088] In doing so, one still needs to be aware of the initial value. Indeed,one can reduce the total number of parameters to a bare minimum of only one:the initial trotter delta value (even if some internal parameters of the schedulercan still be tweaked). However, this value carries a lot of meaning for theevolution, especially when one is limited in time to run a model. Indeed, thissettles the initial delta of evolution: a value too large would result in big jumpsof the state impeding the convergence until the scheduler fixes it after a number of steps that can be important or too small and the evolution would converge slowly to a minimum. FIG.4 shows how the relative error in the objective varies as a function of the initial value for a 30 steps iteration of the TEBD algorithm for several QUBO models from the QPLIB library (a quadratic programminginstances library with example problems). Specifically, FIG. 4 shows thefollowing: bar 410 - Gap 5881; bar 420 - Gap 5882; bar 430 - Gap 5875; bar440 - Gap 3852; bar 450 - Gap 5909. A trade-off has to be made between a toohigh and too small initial value for the adaptive trotter delta to be still efficient. (See FIG.5.) 3.3 Multi-sites reduced density matrix

[0089] The usual way in Singularity to compute the final ground state is tocompute the reduced density matrix (RDM) for each site , take the diagonal , and set the qubit value to the state corresponding to thelarger of the two probabilities

[0036] . However, sometimes one needs to do thisreduced density matrix on multiple sites to grasp the best result possible, as dealing with a more general substate guarantees a better result especially when the final state is not exactly a product state and still depends on its neighbors. Furthermore, for future improvements, one may need to have this computed state at each step of the TEBD (for a scheduler…). A solution to that is thus to compute this reduced density matrix on multiple sites making a window sliding from the first site to the last one minus the window size.

[0090] One issue has to be tackled: how to resolve conflicts. Indeed, themaximum element of the diagonal of gives the corresponding state.Supposed one has starting at site 1 (thus getting), onethen shifts the window with an offset of 1 and gets ( ).There are then two conflicts, one on and one on . Although a multi-sitemethod will normally give a better approximation to the most probable state, the order in which states are chosen may introduce a bias. The reason is that the current MPS is in a poor product state and computing the reduced density matrix on several sites does not yield the same result for each site. Two solutions exist: the first one is the cheapest one which is basically to do nothing, just compute the state by iteratively fixing the previous sites and storing the new ones depending on them. The second one can be quite costly if performed during the time evolution at each step, especially when the state is very entangled. The idea is to compute the reduced density matrix from left to right with a sliding window, storing each conflict and computing for each one the left and right part by fixing the conflicts site, enforcing them to take the conflicted values.

[0091] Another important point here is that when one calculates the reduceddensity matrix in this way (whether for single-site or multi-site), one assumesthat the MPS is in canonical form. The way the gates are applied in theimplementation of TEBD however does not guarantee that this is the case.

[0092] Consider an MPS storing the state, and its probabilities, as well aseach conflict encountered. For each conflict, one enforces the conflict state byfixing it and performing a left pass and a right pass (see FIG. 6) to get theconflict state from a fixed site. For each of these global states, one computesits existing probability and returns the most probable one.

[0093] The main result of this is ( being the conflicts)

[0094] In FIG. 6, one runs on the same model the TEBD algorithm withdifferent window length (that is different size of the multi-site reduced densitymatrix). The conclusion that one can already anticipate is that at the beginningof the evolution the state is highly entangled leading to different most probable states and thus different energies and objectives. The result is that usingmultiple-sites RDM, one gets a more accurate state on the first steps. See FIG.7, which shows the following lines: line 710 – Joint 1; line 720 – Joint 3; line 730– Joint 6. In FIG.7, the parameters have the following values: Trotter init – 1.50;Total length – 10; Evolution length – 25; Bond dimension – 10; Init MPSSuperposition; Seed – 42.

[0095] One can find support for these arguments in FIG.8. This is three runsof the model 3775. One clearly can see that the total entropy is exactly thesame for all evolutions while there is a peak of energy for Joint 1 and 3 (a multiple site RDM on 1 and 3 sites) that has been avoided with a 6-site RDM. Hence, it strengthens the fact that the 1-site RDM can lead to misinterpretationof the most probable product state which will be of importance as discussedbelow.4 Symmetric MPS

[0096] In nature, symmetries are ubiquitous and provide an essentialadvantage in physics by reducing the problem size and focusing the search ofthe solution on some specific parts of the space. In physics, symmetries are equivalent to conserved quantities as due by the famous Noether theorem, thatis operators commuting with the Hamiltonian under consideration. Hence, onecan numerically speed up the computation in some algorithms by focusing onprecise symmetry sectors. 4.1 Symmetric Invariant tensors

[0097] First of all, consider how symmetries work and how to implementthem in the Matrix Product State and TEBD framework. Symmetric eigenstates of a Hamiltonian are of the formsatisfywhere labels an irreducible representation (“irrep”) subspace called a sector or a charge (primary quantum number), designates different states within the same irrep subspace (this is the secondary quantum number) and the energy level does not depend on it as a consequence of Schur lemma

[0024]

[0019]

[0020]

[0021]

[0022]

[0010] [6]

[0014]

[0015] . Finally, is the symmetry degeneracy label.Symmetries in quantum mechanics which are typically represented by a unitary representation of a group of transformations protected by the physics of thesystem (i.e., commuting with the Hamiltonian) can be either abelian or not.Dealing with abelian groups is computationally easier because from the resultof the Wigner-Eckart theorem, the Clebsch-Gordan coefficients needed forfusing the different charges ends up being simple Kronecker deltas (while fornon-abelian ones, one should keep track and store all the coefficients from the considered group). A unitary representationof a group acts on an eigenstate as :is the -sector irrep matrix associated to the group element .

[0098] One interesting property of abelian groups is that the irreps are one-dimensional and take the simple form of being phase factorsfor , thus getting rid of the second quantum number. The symmetric Hamiltonian is then block-diagonal in the sectors leading to the use of blocksparse computational framework and library to speed up runtimes. The aboveequation can be rewritten simply as:

[0099] Now consider thecontinuous planar rotation group which is thegroup related to conservation of integer quantities such as total particle number or in this case equality constraints (with integer coefficients) in constrainedcombinatorial optimization. The irreps are elements of , the inverse of an irrep is and the fusion rule of two irreps is simply the addition . A tensor link is transformed to be symmetric by associating a quantum number toas well as a direction for each link (incoming or outcoming) which will allow to create the symmetry sectors via the fusion rule (like Kirchhoff’s first law in electricity). Physically, one associates a specificunitary representation of the group with each link which can also be viewed as equipping each link with a diagonal unitary matrix such that (see FIG.9):

[00100] Using all previous information, one can state that a -order tensor isa symmetric invariant tensor if it is left unchanged by the representations of associated to each linkwhere depending on the flow of the link. Hence, is symmetric if it has non-zero elements where

[00101] This equation can be rewritten exactly as a Kronecker delta using theequivalence between phase terms and fusion rule of the group beingThus,Hence, one can define a structural tensor as well asdegeneracy subtensorsdefined over the degeneracy subspaces

[00102] This allows one to define numerically an invariant symmetric tensoras degeneracy tensors enabling the construction of a block diagonal tensor (by regrouping all degeneracy tensors together). Extending the notion of symmetric tensors to symmetric tensor networks is straightforward as the only thing to take care of is to have matching links between contracted legs. 4.2 Symmetric tensor operations

[0103] One defines the set of matching quantum numbers of a symmetrictensor as (see FIG.10):

[00104] An important type of tensor operation is the intersection of differentsymmetries (for example having a zero total magnetization with a conserved particle number). Indeed, when implementing several constraints as symmetries, the aim is to concatenate the information provided as symmetriesin one tensor to reduce to a minimum the number of non-zero coefficients of the MPS and explore only a fraction of the total Hilbert space during the iteration process. FIG. 11 illustrates that is the subspace where the symmetric tensor is evolving. The intersection is the link obtained from the intersection of the quantum numbers carried by both links with degeneracies equal to the minimum of the associated one. That is, if there are two tensors and withset of matched quantum numbers and(seeFIG.12).

[00105] The reshaping of the indices of a symmetric tensor is also somethingto consider, especially when doing Singular Value Decomposition which requires a matrix to be fed as a parameter (see FIG. 13).

[0106] One goal is to definesuch that theunitary representation of the group associated is the following (see FIG.14):

[00107] This process may be carried out as explained in

[0024]

[0019]

[0020]

[0021]

[0022] .

[00108] Symmetric MPSs provide a great memory reduction as they onlyfocus on the sectors of symmetry forgetting about zeros elements induced by non-matching tuples of incoming and outcoming charges. This reduction allows adistribution of more resources for precomputation (by saving fusion trees inthe RAM, see below) to gain good speedup when repeating an operation, which is especially the case in TEBD where one applies the same kind of operatorsat each step.

[00109] However, the cost of reshaping and permuting indices is veryexpensive for low bond dimension and it is only overcome for higher bond dimension as the next figure enlightens. See FIGS. 15 and 16, which show thefollowing lines: line 1510 and 1610 – Standard; line 1520 and 1620 –Symmetric. 5Precomputation

[0110] Using symmetric tensor networks comes at a price: thecomputational cost of certain operations of the resultant block sparse structure

[19]

[0020]

[0021]

[0022] . This is especially the case with the dot product of two tensorsdue to the cost of fusing the charges of symmetry. Unfortunately, in the case ofthe TEBD algorithm, one needs to do a lot of contractions between sites and gates. This is particularly the case when dealing with big quadratic models as frequently encountered in industry with thousands of gates.

[0111] One of the ways to relieve the computation of all these fusions ofcharges is to use a precomputation scheme. Indeed, when doing an iterativeprocess, where one deals with the same operations again and again, the onlything that changes is the actual value of the coefficients of the tensors. However, the reconstruction of the matching quantum numbers (charges) staysthe same if there are no updates of these (which is apparent afterward whenencountering some problems with SVDs modifying charges). Thus, keeping inthe memory the linear maps, obtained with a series of reshaping (splitting and fusing charges) and permuting operations, makes it possible to reuse it and save computation time later on. 5.1 Tensor Network precomputation scheme

[0112] The tensornetwork library

[0037] already has a built-in cacher thathandles partial precomputation of the fixed tensors in the tensor network.

[0113] From FIG. 17, it is observed that one reduces the crossover in termsof bond dimension when symmetric-MPS are much faster than usual ones. However, when dealing with Ising models, one would like to stay with low bond dimensions normally between 3 to 20. FIG.17 shows, in particular, the followinglines: line 1710 – Standard; line 1720 – Symmetric without precomputation; line1730 – Symmetric with precomputation.

[0114] Nevertheless, the way the library manages the precomputation(despite being efficient) is not suitable. By that, one has to know that Google’s tensornetwork library is using an element-wise decomposition and storing of the block sparse tensors leading to increased computational cost and complexity each time a dot product is made. This can be seen in FIG.18, whichshows the following lines: line 1810) – Symmetric (bond 25); line 1815) –Precomputed Symmetric (bond 25); line 1820) – Symmetric (bond 50); line1825 – Precomputed Symmetric (bond 50); line 1830 – Symmetric (bond 10);line 1835 – Precomputed Symmetric (bond 10); line 1840 – Symmetric (bond100); line 1845 – Precomputed Symmetric (bond 100); line 1850 – Symmetric(bond 250); line 1855 – Precomputed Symmetric (bond 250). When using anetwork contractor (or “ncon”), internal tensors are created sequentially throughall the contractions; those tensors being symmetric ones are not constrainedwith the precomputation and exit the scope of the cacher despite having the same structure for each step of the iteration. Indeed, the element-wise construction of symmetric tensors is very powerful and efficient with largetensors; however with TEBD one is restrained to MPS with small bonddimension where the cost of reconstruction stands for most of the computation time.5.2 General precomputation scheme

[0115] Regarding the above, something interesting would be to implementthis total precomputation even for internal tensors which are not global onesand are discarded after the ncon is done. For this implementation (see FIG.19), one has to keep in memory the charges, flows, and block structure of each tensor of the dot product function. One way to do that which is not perfect at allis to store them based on which gates they are related with. However, one seesjust after that this is causing a major issue when going to the experimental MVP with 2 qubits to n > 2.

[0116] In FIG. 20, one sees that a gate contraction is faster than the non-precomputed one and that extrapolating that to a whole system would lead to great improvement as the symmetric contraction is close to the current dynamicof the standard one. FIG. 20 shows the following lines: line 2010 – Standard;line 2020 – Symmetric without precomputation; line 2030 – Symmetric withprecomputation.

[0117] An even more promising thing is when it comes to the total runtimeof one gate update (meaning contraction + splitting into new sites) where the symmetric backend allows for an even more rapprochement of both curves,leading to a crossover close to the desired one. See FIG. 21, which shows thefollowing lines: line 2110 – Standard; line 2120 – Symmetric withprecomputation. 6 Constraints as Symmetries

[0118] The kinds of problems that one can solve here are quadraticcombinatorial optimization problems with linear constraints. They can bemathematically written as a function that one tries to optimize:

[0119] More precisely, as one uses symmetry the constraint coefficientshave to be integers, that isand . One only considers integercoefficients here; however this does not mean one cannot also treat equalityconstraints with non-interger coefficients. 6.1 Equality constraints

[0120] One has to come with a clever way to express these constraints asinherent symmetries in the initialization of the Matrix Product State. First, oneneeds to make sure that the right leg charges of a site correspond to the leftcharges of the site to be able to perform tensor contractions. Moreover, the gates have to be created from the Ising Hamiltonian with charges identical to the physical charges of the matching sites (see FIGS.22-24).

[0121] Once that is in mind, one needs to actually find a way to transform agiven algebraic constraint to a symmetry through charges for the MPS. Oneknows that a site can either be a spin up or a spin down (more precisely for thiskind of combinatorial problem a 0 or a 1 in final); thus, one has to keep track ofevery possibility starting from the top left site. Consider the example: ,starting from a set of empty solution, one iterativelycomputes every possible combination:

[0122] One sees that 2 sectors of symmetry actually fulfil the constraintExtending the process formultiple constraints is straightforward as one considers tuples instead ofintegers. Physically, one is setting sectors with 0 degeneracy as in the FIGS.25-27 and using the intersection of charges to set multiple constraints as one.Computationally speaking, one has to set each physical charges as an -list(one element for each constraint) of -tuple elements (zero and the coefficient of this particle in the constraint): for constraints . Two important charges that need to be set properly, as they serve to imposethe proper conservation of the number of particles for each constraint, are thefirst and last bond legs (represented by dummy legs in the MPS) : and . For the inner-bond legs,one needs to make sure there are enough matching elements to initialize theevolution before the singular value decomposition (SVD) truncation updatesthese ones properly.

[0123] Unfortunately, one can see (in FIG. 28) that representing all possiblematches would mean having to store , , charges to accurately catch the proper one. Thus, the bond dimension should be of size which is not possible as the main goal of using an MPS is to avoid storing an exponentially large number of parameters. One partial solution is to truncate (duplicate for the firstsites) the combination iteratively as one constructs the charges to fit in thedimension bond legs, but one can discard proper sectors that result in anullification of the corresponding tensor coefficients before the first SVDs. Thisusually happens on the very last site where one has the physical charges andthe right bond charges fixed as the last site constraint coefficients and the constraint equalities that cannot make a match with the upcoming charges from the penultimate site because of the truncation that got rid of sectors that would have matched.

[0124] The goal is to use only the symmetry sectors to represent thesolution. Thus, reducing the Hilbert space (see FIG.29) to only a subspace of solutions leads to faster convergence and better results on average.

[0125] A constrained problem with inequality constraints can be turned backinto a simple constrained problem with only equality constraints. To do so, onehas to add additional slack variables to the problem as follow:where is a set of variables that can be written as binary expansions with additional binary variables.

[0126] These slack variables (see FIG. 30) can be directly incorporatedinto the Matrix Product State as additional sites following the same initialization as for the equality constraints with the corresponding power of two coefficients only acting for one constraint.

[0127] Benchmarking with the quadratic knapsack problem, one finds thatthe symmetric TEBD is better than the standard TEBD focusing on the actualproper solution (even though based on how one initializes the symmetry sectorsyet cannot get the optimal solution, and this is a matter of randomness if thecorrect sectors are not discarded). 7 Bounded charges

[0128] Moreover, constraints can not only have positive coefficients, in thiscase one can improve the way one initializes the MPS. When performing thefusion rule to create iteratively the charges whether it is from the left or the right,one can just discard the values that are already greater than the equality valueand negative as they carry no physical sense in terms of the constraints. Thatwould allow it to populate the MPS with only informative sectors. Indeed, using these bounded symmetry sectors impede the algorithm to fail when contracting gates with two sites because of the coherence of such charges. It is then possible to run complex QPLIB (a library of Quadratic Programming Instances) models without them not working and even enforce the constraints to be respected.

[0129] Using bounded charges is paramount to solving certain types ofconstraints when the charges are only ruled by a non-decreasing behavior.However, if there is one negative coefficient in the constraint, this approach isdoomed to failure as one can go to the negative before (through the fusion rule)going back to the positive to match the rightmost charges – that is the equalityof the constraint.

[0130] A partial solution is to compute the sum of negative coefficients andset it as the lower bound to the interval of allowed charges and the sum of positive coefficients as the upper bound. Indeed, this is the minimal andmaximum value one can get with the fusion rule. One can explore further thisidea and add conditions to discard charges or not based on the maximumcharge value that one can reach with the right site not already initialized. Forexample, if one has a current charge of , an equality value equal to the sumof all remained charges has to be to keep the charge otherwisethis would not be a viable symmetry sector (see FIG. 31).

[0131] When the coefficients of the constraints are non-binary or far fromzero the failure of the algorithm can still happen. The issue with the one siteRDM is alleviated the more constraints there are; thus, the state found aftereach step is right at the beginning close to a product state. In fact, the way oneinitializes the MPS fixes the constraints as an inherent part of the MPS hencealways fulfilling the constraints; this results in the capability to compute theactual state that makes it seems like they are not. The difficulty of initializing the MPS is linked to the difficulty of finding states that satisfy the constraints.Indeed, the initial MPS must be a superposition of feasible states. Findingfeasible states may become difficult when the coefficients are random and particularly when there are many constraints. 8 Results 8.1 QPLIB Model (QUBO)

[0132] Before jumping to QPLIB Models, it is beneficial to look at generalrandom Ising models. FIG. 32 shows plots of several results from the sameHamiltonian with a fixed number of particles (equal to ⅓ of the total number of sites) constraint. The first observation is that the total entropy of the system is rapidly going to zero for the symmetric MPS and the penalty terms cost is always equal to zero meaning that the constraint is satisfied at each step of thealgorithm which is what one wants for the symmetric version of the TEBD.However, one can see that the final energy is almost not evolving for the symmetric case and that it is higher than the ones found with the standard method. A reason to that is, first, that the symmetry induced by the constraint inside the MPS restrains the total amount of parameters and thus it increasesthe gap between local minima (it is harder to escape them) because one canonly represent states with satisfied constraints which can be very far away in terms of Hilbert space distance. Indeed, increasing the bond dimension can provide even better results until giving the best state possible. Using a fasterlibrary results in reaching these results at a very good speed. Furthermore,there is a penalty strength (Lagrange multiplier) that makes the standard TEBDconverge and fulfil the constraint after a few iterations which is absolutely not the case in practice (e.g., in a portfolio optimization problem). FIG.32 showsthe following lines: line 3210 – symmetric (seed 25 | bond 150.json); line 3215– symmetric (seed 10 | bond 20.json); line 3220 – symmetric (seed 25 | bond75.json); line 3225 – symmetric (seed 25 | bond 5.json); line 3230 – symmetric(seed 10 | bond 10.json); line 3235 – symmetric (seed 25 | bond 3.json); line3240 – symmetric (seed 20 | bond 30.json); line 3245 – symmetric (seed 25 |bond 20.json); line 3250 – standard (seed 5 | bond 10 | penalty 10.json); line3255 – standard (seed 5 | bond 3 | penalty 10.json); line 3260 – standard (seed10 | bond 10 | penalty 10.json); line 3265 – standard (seed 5 | bond 5 | penalty10.json).

[0133] One has to be cautious regarding the energy of a non-constraint-satisfying state as it can be below the actual ground state. Here it is the case for one model (standard seed 5, bond 3) where the final state is not fulfilling the constraint. In the case of much more complicated models this can lead to misinterpretation if one is not wary enough.

[0134] With the bounded charges with symmetric MPS, running a longevolution leads to plateau of energy where the state is a quasi-product state until leaving the local minima. It, thus, leads to an unconstrained solution (asalready discussed one assumes that this is because of this entangled state thatcannot be accurately predicted by the one site reduced density matrix when computing it) before stabilizing into a new minima which is hopefully the ground state after a few iterations. Another issue encountered with “particleconservation” constraints (that is the number of spin-up particles, also knownas the number of non-zero qubits which is fixed by the constraint) is that thesystem seems to get stuck in the subspace that fulfils the constraints butadvantages the rightmost sites. Fortunately, this does not seem to happen withmore local constraints acting only on a few sites but still fails on constraintsacting on distant sites (QPLIB Model 3815).

[0135] On the plots in FIGS. 33A-33C, 34A-34C, and 35A-35C, one cansee that sometimes the final state for the standard MPS is below the groundstate energy or the symmetric MPS one; this is because the constraints are notall fulfilled thus leading to a minimization of the problem that has a smaller objective. The constraint satisfaction plots are showing the quadratic residue ofthe penalty terms with 0 being when all constraints are satisfied. FIGS. 33A-33C show the following lines: lines 3310, 3340, 3360 – Symmetric; lines 3320,3350, 3370 – Standard; lines 3330 – Ground state energy). FIGS 34A-34Cshow the following lines: lines 3410, 3450, 3480 – Symmetric 1; lines 3420,3470, 34100 – Standard; line 3430 – Ground state energy; lines 3440, 3460,3490 – Symmetric 2). FIGS. 35A-35C show the following lines: lines 3510,3540, 3560 – Symmetric; lines 3520, 3550, 3570 – Standard; line 3530 –Ground state energy.

[0136] In every model, the entropy, the constraint, and the energy are betterthan the standard one with a faster convergence. The standard MPS runs were selected to be the best of all runs while the symmetric ones are essentially notselected and just a one-go run. Using the symmetric backend, one can satisfyconstraints that were never fulfilled even with the penalty strength scheduler (for example with QPLIB Model 3834). Coming up with an even smarter way toinitialize the MPS, one can easily solve most of the problems that oneencounters especially with non-binary coefficient constraints that are still a bigissue (Model 0067).8.2 Portfolio Optimization

[00137] The portfolio optimization problem is the process of finding the bestdistribution of given assets (portfolio) out of all feasible portfolios according to some objective like maximizing the return and minimizing the financial risk. Mathematically, in an attempt to find the optimal solution for a given number ofassets data (their correlation, return, and volatility), one tries to solve thefollowing optimization problem.With the logarithmic return, the risk aversion factor and the covariance matrix of the assets.

[00138] Using a Lagrange multiplier, this problem can be mapped into anequivalent QUBO problem.

[00139] In the general implementation of the problem used here, one uses aresolution (between 0.01 and 0.1) to convert the problem to an integer formulation. Basically, one uses a maximum holding value and a resolutionthus finding the maximum integer holding that the assets can take .The binary expansion of this value induces the number ofqubit variables needed to represent the holding of one asset, thus a total number of variables for assets. A direct improvement is to use integer variables instead of binary ones which is astraightforward implementation, but here it is implemented with qubits.

[0140] As shown above, the portfolio optimization application consists of aconstrained optimization problem with one constraint. This constraint can besymmetry the same way as with the QPLIB models used to benchmark the symmetries. Minimizing the objective gives a distribution of assets that minimizes the financial risk and maximizes the return. Graphically, for all possible portfolios, one wants the solution to be following the “efficientfrontier” that is the set of optimal portfolios offering the maximum expected return for a given defined risk aversion factor.

[0141] The symmetric reformulation of the problem allows one to removethe penalty terms from the objective function and embed them directly into the Matrix Product State. The main result is that any solution will have the property of having the constraint satisfied which is the most difficult part to account for with the standard TEBD algorithm. Indeed, the penalty strength lambda is aparameter that one has to optimize as well to get results satisfying theconstraint. For the portfolio optimization problem, this value is difficult to find and is bound in a very precise range which changes with each problem. Usingthe symmetric TEBD, one removes this parameter and has the constraintalways fulfilled. The drawback of the symmetries is that one has a really smallset of parameters in the MPS to fully represent the ground state as jumpingfrom one local minimum to another, which is much more difficult (thesesolutions are far separated in the Hilbert space). One may, for example, runsimulations for longer (thus switching to a faster library for symmetric tensors) using the adaptive trotter delta explained herein, increase the bond dimension,and so on. However, results show that even with this issue, one can get reallyclose to the actual efficient frontier for most of the runs when dealing with a small number of assets. It is expected that using more assets may lead to less close to the ground state states and one might have to increase the bond dimension appropriately.

[0142] The portfolio optimization problem was benchmarked with thesymmetric TEBD using 5 and 10 assets (500 assets is still out of reach with the actual slow computation of the tensornetwork library for symmetric tensors and without the use of parallelization libraries such as Jax). FIGS. 36A-36C represents most of the feasible portfolios that satisfy the constraint with theefficient frontier being the points encompassing the upper curve. Representingexhaustively all portfolios is difficult especially for high risk aversion, which iswhy the right part of the graph is lacking points. Using bond dimension 25 and42, one can get almost optimal portfolios in every case for 10 assets and aresolution of 0.01. Increasing the bond dimension allows to get even betterresults.

[0143] Running again but with a lower resolution this time (only 0.1), onegets the same kind of results but this time one gets even better results. A veryinteresting point is that the standard TEBD is absolutely not able to fulfil the constraint even with a refined penalty strength, highlighting even more theefficiency of symmetric MPS. For 5 assets, one does not need a very largebond dimension to get an optimal solution, and a bond dimension of 25-50 isenough to follow scrupulously the efficient frontier. Thus, the more assets the bigger the bond dimension needs to be and the symmetric implementation of MPS will once again be useful as it scales much better than traditional MPS especially for large bond dimensions. Solving all the issues described about theslowness of the actual implementation may result in progress towards bigmodels with hundreds or even thousands of assets. The same ones wereplotted but with Gurobi solutions to get the exact efficient frontier. FIGS. 36A-36C show the following points: points 3610 – Bond 42 | Mode symmetric; points3620 – Bond 25 | Mode symmetric; points 3630 – Bond 42 | Mode symmetric;points 3640 – Bond 25 | Mode Symmetric; points 3650 – Bond 15 | Modestandard; points 3660 – Bond 42 | Mode symmetric; points 3670 – Bond 25 |Mode Symmetric; points 3680 – Bond 35 | Mode standard.

[0144] The idea is then to extend to more assets (extracting from the 500assets data) to see how the algorithm scales in terms of distance to the efficientfrontier with the algorithm used (without adaptive trotter delta, fix bonddimension…). For 20 assets, the results are not as good as previously asexpected with the poor number of parameters of the MPS. There exists atradeoff between the bond dimension that one chooses and how the evolutiongoes; the bigger it is the more time and more advanced methods to make thestate jump to other minima is needed. Thus, bond dimension 150 has anoptimal solution while the other has not but also has the most suboptimal solution (the dot at the bottom). However, the results are still close to the efficient frontier, contrary to the exhaustive portfolios that cannot reach it. Also,these points are just the first solution that are obtained with a fulfilled constraint(it is always satisfied but the 1 site RDM makes it difficult to get it at first so onejust evolves a few steps until the state has a lower entropy and gives a properresult), so running for longer time with adaptive methods would get even better results. 9 Problems

[0145] The truncation and the way the singular value decompositionoperates on each site going from the very left to the right generate a recurrentissue for most of the model. Indeed, when the constraints are not local – thatis, acting only on a few next-neighbor gates each – the contraction of sites andgates cannot always be satisfied as the matching set of quantum numbers results to be empty. One has to find a way to bypass this issue and make the Symmetric TEBD able to handle any kind of problems.

[0146] A strange behavior of the symmetric optimization is that the greaterthe bond dimension the more rightmost sites are in state 1 while none of the left ones are even if the ground state needs spin up sites among the left part of the MPS. Also, with higher bond dimension the TEBD algorithm takes moretime to stabilize and fulfil the constraints (this may be that there are moreparameters thus the state of the first few iterations is more entangled and then the one site reduced density matrix to compute the current state is not performing well to grasp the true state underlying that is actually satisfying the constraints). 10 Perspectives & Ideas

[0147] A first idea general to the TEBD algorithm is to use a second orderTrotter decomposition of the time evolution operator to reduce the Trotter errorto the next order of magnitude. This may help converging even faster with andwithout symmetric Matrix Product States. However, a tradeoff has to beconsidered between the number of gates induced by higher order TEBD especially when going to TEBD 4 or more.

[0148] Using the multi-sites reduced density matrix to compute the groundstate at the end of the evolution may be considered as the constraints are notalways fulfilled using only a one-site reduced density matrix. The reason mightbe because the symmetry is acting on the whole MPS as opposed to trying toget probabilities for a single site each time thus catching a local property while the MPS is under global symmetry.

[0149] Most of the time, constraints only act on a specific number of sitesresulting in zeros carried to the end of the MPS for these particular constraints.Thus, after the last site is passed in the initialization, one can just check if thecorresponding constraint equality values are reached and discard the others after continuing for all other constraints in the rest of the MPS.

[0150] An example of pseudocode is provided below for a simple symmetricU(1) TEBD optimizer (not optimized in SWAP gates): Input: Initial state |ψ^, time step Δt, total evolution time T, maximum bond dimension D 1. Initialize:maximum bond dimension D. -Choose the initial time t = 0.2. Perform time evolution: while t < T do for each pair of qubits (i, j) do -Use SWAP gates to bring qubits i and j together if needed.- Apply a U(1)-symmetric two-body gate G_ij to qubits i and j.- Perform a Schmidt decomposition on the bond between qubits i and j.- Truncate the Schmidt coefficients to keep the largest D coefficients.- Update the MPS tensors T_i and T_j using the truncated Schmidt decomposition.- Use SWAP gates to return the qubits i and j to their original positions.end for- Update the time t = t + Δt.end while 3. Output: -The final state |Ψ(T)^ obtained after the total evolution time T.11 Conclusion

[0151] Symmetries by their very nature are a key to take into account theunderlying conserved quantities and they can be accurately embedded into tensor networks. To this regard, finding a way to transform a linear constraintinto a symmetry and initializing an MPS to account for it allows a reduction of agiven constrained problem to a simple unconstrained problem without havingto care about Lagrange multipliers as in the QUBO reformulation. One getsresults always satisfying all constraints while giving a proper approximation ofthe ground state of the considering Hamiltonians. However, some issues stillarise: for some kind of constraints with highly different coefficients the initialization can still fail and it is needed to find an even better way of creating the MPS. Furthermore, the problem with one site RDM can lead to wrong state not satisfying the constraints even though the underlying MPS is actually well symmetric and thus fulfilling them. Another point is that right at the beginningone is exactly in a local minimum that can be improved using multiple seed runsto mitigate the solutions or increasing the bond dimension consequently.However, the state seems not to evolve drastically after that; one may use theadaptive trotter delta to boost the state to jump from local minima to other and finding the accurate ground state. TABLE 1 Pros Cons IdeasFocus on symmetry Way slower than standard Switch to sectors accounting for MPS with the blockwise constraints satisfaction.tensornetwork librarysparse tensor with the abelian tensor library toimproveruntimes Can handle inequality Heavily rely on the Find a better constraints as well as initialization of the way to initialize equality constraints easily symmetric MPS the charges for more general constraints Seem to converge faster Struggle with non binary Adaptive bond as for the number of coefficient constraints dimension iterations Perform well on portfolio- Not accurate more Using multiple- like optimization problems probable state for quite site reduced highly entangled states density matrix to (especially at the get proper beginning and when probable state leaving local minima)

[0152] Advantageously, at least some of the embodiments described hereinuse tensor networks to satisfy constraints directly. The constraints can beunderstood as symmetries in the tensors. The symmetries imply that some of the coefficients of the tensors in the tensor network are zero, and when they are implemented directly at the level of the tensor network, they imply that anyLaGrange multipliers are not required. These embodiments can improvecomputational performance, efficiency, energy consumption, etc. for the most complex optimization problems in logistics. The programs that implement these embodiments may minimize memory use and allow for obtaining optimization solutions much faster.

[0153] While the applicant’s teachings described herein are in conjunctionwith various embodiments for illustrative purposes, it is not intended that the applicant’s teachings be limited to such embodiments as the embodiments described herein are intended to be examples. On the contrary, the applicant’s teachings described and illustrated herein encompass various alternatives, modifications, and equivalents, without departing from the embodiments described herein, the general scope of which is defined in the appended claims.Bibliography [1] Román Orús, A Practical Introduction to Tensor Networks: Matrix Product States and Projected Entangled Pair States; https: / / arxiv.org / abs / 1306.2164 [2] Philipp Schmoll, Sukhbinder Singh, Matteo Rizzi, and Román Orús, A programming guide for tensor networks with global SU(2) symmetry; https: / / arxiv.org / abs / 1809.08180 [3] Guifré Vidal, Classical simulation of infinite-size quantum lattice systems in one spatial dimension; https: / / arxiv.org / abs / cond-mat / 0605597 [4] Guifré Vidal, Efficient classical simulation of slightly entangled quantum computations; https: / / arxiv.org / abs / quant-ph / 0301063 [5] Guifré Vidal, Efficient simulation of one-dimensional quantum many-body systems; https: / / arxiv.org / abs / quant-ph / 0310089[6] Johannes Hauschild, and Frank Pollmann, Efficient numerical simulationswith Tensor Networks: Tensor Network Python (TeNPy);https: / / www.researchgate.net / publication / 324887109_Efficient_numerical_sim ulations_with_Tensor_Networks_Tensor_Network_Python_TeNPy [7] Brent Sprangers and Nick Vannieuwenhoven, Group-Invariant Tensor Train Networks For Supervised Learning; https: / / arxiv.org / abs / 2206.15051[8] Johnnie Gray and Garnet Kin-Lic Chan, Hyper-optimized compressedcontraction of tensor networks with arbitrary geometry; https: / / inspirehep.net / literature / 2096203

[0010] G. Alvarez, Implementation of the SU(2) Hamiltonian Symmetry for theDMRG Algorithm; https: / / arxiv.org / abs / 1003.1919

[0011] Simone Montangero, Introduction to Tensor Network Methods Numerical Simulations of LowDimensional Many-Body Quantum Systems; https: / / www.amazon.es / Introduction-Tensor-Network-Methods-low- dimensional / dp / 3030014088

[0012] Pietro Silvi , Enrique Rico, Tommaso Calarco, Simone Montangero, Lattice Gauge Tensor Networks; https: / / arxiv.org / abs / 1404.7439?context=hep-lat

[0013] Raffael Gawatz, Matrix Product State Based Algorithms for Ground States and Dynamics; https: / / www.nbi.ku.dk / english / theses / masters-theses / raffael- gawatz / RGawatz_Msc.pdf

[0014] Chu Guo and Dario Poletti, Matrix Product States with adaptive global symmetries; https: / / arxiv.org / abs / 1905.01609

[0015] A. Weichselbaum, Non-abelian symmetries in tensor networks: a quantumsymmetry space approach; https: / / arxiv.org / abs / 1202.5664

[0016] L. Tagliacozzo , Thiago. R. de Oliveira, S. Iblisdir and J. I. Latorre, Scaling of entanglement support for Matrix Product States; https: / / arxiv.org / abs / 0712.1976

[0017] Dewolf Nicolas, Spatial Symmetries and Symmetry Breaking with MatrixProduct States; https: / / libstore.ugent.be / fulltxt / RUG01 / 002 / 782 / 900 / RUG01- 002782900_2019_0001_AC.pdf

[0018] D. Pérez-García, M.M. Wolf, M. Sanz, F. Verstraete, J.I. Cirac, String order and symmetries in quantum spin lattices; https: / / arxiv.org / abs / 0802.0447

[0019] Sukhwinder Singh, Robert N. C. Pfeifer, and Guifré Vidal, Tensor network decompositions in the presence of a global symmetry; https: / / arxiv.org / abs / 0907.2994

[0020] Sukhwinder Singh, Tensor network states and algorithms in the presenceof a global SU(2) symmetry; https: / / link.aps.org / doi / 10.1103 / PhysRevB.86.195114

[0021] Sukhwinder Singh, Robert N. C. Pfeifer, and Guifre Vidal, Tensor network states and algorithms in the presence of a global U(1) symmetry; https: / / link.aps.org / doi / 10.1103 / PhysRevB.83.115125

[0022] Sukhbinder Singh, Tensor Network States and Algorithms in the presence of Abelian and non-Abelian Symmetries; https: / / arxiv.org / abs / 1203.2222

[0023] L. Tagliacozzo, A. Cell and M. Lewenstein, Tensor Networks for Lattice Gauge Theories with Continuous Groups; https: / / arxiv.org / abs / 1405.4811

[0024] P. Silvi, F. Tschirsich, M. Gerster, J. Jünemann, D. Jaschke, M. Rizzi, S. Montangero, The Tensor Networks Anthology: Simulation techniques for many- body quantum lattice systems; https: / / arxiv.org / abs / 1710.03733

[0025] Sebastian Paeckela, Thomas Köhlera, Andreas Swobodac, Salvatore R. Manmanaa, Ulrich, Time-evolution methods for matrix-product states; https: / / arxiv.org / pdf / 1901.05824

[0026] Román Orús, Samuel Mugel, and Enrique Lizaso, Quantum computing for finance: overview and prospects; https: / / www.researchgate.net / publication / 331307552_Quantum_computing_fo r_finance_Overview_and_prospects

[0027] Chenfeng Ca, Zheng An, Shi-Yao Hou, D. L. Zhou and Bei Zeng, Quantum imaginary time evolution steered by reinforcement learning; https: / / www.nature.com / articles / s42005-022-00837-y

[0028] Johannes Jakob Meyer, Marian Mularski, Elies Gil-Fuster, Antonio Anna Mele, Francesco Arzani, Alissa Wilms, and Jens Eisert, Exploiting symmetry in variational quantum machine learning; https: / / ui.adsabs.harvard.edu / abs / 2022arXiv220506217M / abstract

[0029] L. Tagliacozzo and G. Vida, Entanglement renormalization and gauge symmetry; https: / / arxiv.org / abs / 1007.4145

[0030] Schollwöckc, Claudius Hubig, Time-evolution methods for matrix-product states; https: / / arxiv.org / pdf / 1901.05824

[0031] Robert N. C. Pfeifer, Symmetry-Protected Local Minima in Infinite DMRG;https: / / arxiv.org / abs / 1505.06266

[0032] Fred Glover, Gary Kochenberger, Yu Du, Quantum Bridge Analytics I: A Tutorial on Formulating and Using QUBO Models; https: / / arxiv.org / pdf / 1811.11538

[0033] Geoffrey G Chu, Improving Combinatorial Optimization; https: / / minerva- access.unimelb.edu.au / handle / 11343 / 36679

[0034] Mario Motta, Chong Sun, Adrian T. K. Tan, Matthew J. O’Rourke, Erika Ye, Austin J. Minnich, Fernando G. S. L. Brandão, and Garnet Kin-Lic Chan, Determining eigenstates and thermal states on a quantum computer using quantum imaginary time evolution ; https: / / arxiv.org / abs / 1901.07653

Claims

CLAIMS:

1. A system for minimizing an objective function with constraints using anoptimal tensor network configuration with symmetries, the system comprising:a non-transitory computer-readable memory; anda processor in communication with the memory storing programinstructions that, when executed by a processor, causes the processor to:receive an objective function and one or more constraints for optimization; generate a time evolution block decimation (TEBD) process based on the objective function without the one or more constraints; generate a tensor network based on the objective function with symmetries to satisfy the one or more constraints; andfind the optimal tensor network that optimizes the objective function using the TEBD process.

2. The system of claim 1, wherein generating the tensor network comprises applying the symmetries to transform the objective function into an unconstrained quadratic unconstrained binary optimization (QUBO) model.

3. The system of claim 1 or claim 2, wherein generating the tensor network comprises adding additional sites to the tensor network.

4. The system according to any one of claims 1 to 3, wherein finding the optimal tensor network uses the TEBD process.

5. The system according to any one of claims 1 to 4, wherein finding the optimal tensor network further comprises using an adaptive trotter scheduler in conjunction with the TEBD process.

6. The system accordingly to any one of claims 1 to 5, wherein the adaptive trotter delta scheduler comprises a reducer, a stagnater, and a deepener.

7. The system of claim 6, wherein at least one of the reducer, the stagnater, or the deepener comprises modifying a trotter delta in the TEBD process.

8. A computer-implemented method for minimizing an objective function withconstraints using an optimal tensor network configuration with symmetries, themethod comprising:receiving an objective function and one or more constraints foroptimization; generating a time evolution block decimation (TEBD) process based onthe objective function without the one or more constraints; generating a tensor network based on the objective function withsymmetries to satisfy the one or more constraints; and finding the optimal tensor network that optimizes the objective function using the TEBD process.

9. The system of claim 8, wherein generating the tensor network comprises applying the symmetries to transform the objective function into an unconstrained quadratic unconstrained binary optimization (QUBO) model.

10. The system of claim 8 or claim 9, wherein generating the tensor network comprises adding additional sites to the tensor network.

11. The system according to any one of claims 8 to 10, wherein finding the optimal tensor network uses the TEBD process.

12. The system according to any one of claims 8 to 11, wherein finding the optimal tensor network further comprises using an adaptive trotter scheduler in conjunction with the TEBD process.

13. The system accordingly to any one of claims 8 to 12, wherein the adaptive trotter delta scheduler comprises a reducer, a stagnater, and a deepener.

14. The system of claim 13, wherein at least one of the reducer, the stagnater, or the deepener comprises modifying a trotter delta in the TEBD process.