{"title":"线性方程组的 QUBO 公式","authors":"Kyungtaek Jun","doi":"10.1016/j.rico.2024.100380","DOIUrl":null,"url":null,"abstract":"<div><p>With the advent of quantum computers, many quantum computing algorithms are being developed. Solving linear systems is one of the most fundamental problems in modern science and engineering. The Harrow Hassidim-Lloyd algorithm, a monumental quantum algorithm for solving linear systems on gate model quantum computers, was invented and several advanced variations have been developed. The algorithm was difficult to apply to general linear equations because it required various conditions for the matrix. In this paper, we introduce a new algorithm that can be applied to all linear systems. For a given general square matrix <span><math><mrow><mi>A</mi><mo>∈</mo><msup><mrow><mi>R</mi></mrow><mrow><mi>n</mi><mo>×</mo><mi>n</mi></mrow></msup></mrow></math></span> and a vector <span><math><mrow><mover><mi>b</mi><mo>→</mo></mover><mo>∈</mo><msup><mrow><mi>R</mi></mrow><mi>n</mi></msup></mrow></math></span>, we will find quadratic unconstrained binary optimization (QUBO) models for a vector <span><math><mrow><mover><mi>x</mi><mo>→</mo></mover><mo>∈</mo><msup><mrow><mi>R</mi></mrow><mi>n</mi></msup></mrow></math></span> that satisfies <span><math><mrow><mi>A</mi><mover><mi>x</mi><mo>→</mo></mover><mo>=</mo><mover><mi>b</mi><mo>→</mo></mover></mrow></math></span>. To formulate QUBO models for solving linear systems, we made use of a linear least-square problem with binary representation of the solution. We validated those QUBO models on the d-Wave system and discussed the results. For a simple system, we provide a Python code to calculate the matrix characterizing the relationship between the variables, and to print the test code that can be used directly in the d-Wave system.</p></div>","PeriodicalId":34733,"journal":{"name":"Results in Control and Optimization","volume":"14 ","pages":"Article 100380"},"PeriodicalIF":0.0000,"publicationDate":"2024-02-05","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.sciencedirect.com/science/article/pii/S2666720724000109/pdfft?md5=1d0f4c6001070226c2bf21fc179cf7fe&pid=1-s2.0-S2666720724000109-main.pdf","citationCount":"0","resultStr":"{\"title\":\"QUBO formulations for a system of linear equations\",\"authors\":\"Kyungtaek Jun\",\"doi\":\"10.1016/j.rico.2024.100380\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<div><p>With the advent of quantum computers, many quantum computing algorithms are being developed. Solving linear systems is one of the most fundamental problems in modern science and engineering. The Harrow Hassidim-Lloyd algorithm, a monumental quantum algorithm for solving linear systems on gate model quantum computers, was invented and several advanced variations have been developed. The algorithm was difficult to apply to general linear equations because it required various conditions for the matrix. In this paper, we introduce a new algorithm that can be applied to all linear systems. For a given general square matrix <span><math><mrow><mi>A</mi><mo>∈</mo><msup><mrow><mi>R</mi></mrow><mrow><mi>n</mi><mo>×</mo><mi>n</mi></mrow></msup></mrow></math></span> and a vector <span><math><mrow><mover><mi>b</mi><mo>→</mo></mover><mo>∈</mo><msup><mrow><mi>R</mi></mrow><mi>n</mi></msup></mrow></math></span>, we will find quadratic unconstrained binary optimization (QUBO) models for a vector <span><math><mrow><mover><mi>x</mi><mo>→</mo></mover><mo>∈</mo><msup><mrow><mi>R</mi></mrow><mi>n</mi></msup></mrow></math></span> that satisfies <span><math><mrow><mi>A</mi><mover><mi>x</mi><mo>→</mo></mover><mo>=</mo><mover><mi>b</mi><mo>→</mo></mover></mrow></math></span>. To formulate QUBO models for solving linear systems, we made use of a linear least-square problem with binary representation of the solution. We validated those QUBO models on the d-Wave system and discussed the results. For a simple system, we provide a Python code to calculate the matrix characterizing the relationship between the variables, and to print the test code that can be used directly in the d-Wave system.</p></div>\",\"PeriodicalId\":34733,\"journal\":{\"name\":\"Results in Control and Optimization\",\"volume\":\"14 \",\"pages\":\"Article 100380\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2024-02-05\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"https://www.sciencedirect.com/science/article/pii/S2666720724000109/pdfft?md5=1d0f4c6001070226c2bf21fc179cf7fe&pid=1-s2.0-S2666720724000109-main.pdf\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Results in Control and Optimization\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://www.sciencedirect.com/science/article/pii/S2666720724000109\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q3\",\"JCRName\":\"Mathematics\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Results in Control and Optimization","FirstCategoryId":"1085","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S2666720724000109","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q3","JCRName":"Mathematics","Score":null,"Total":0}
QUBO formulations for a system of linear equations
With the advent of quantum computers, many quantum computing algorithms are being developed. Solving linear systems is one of the most fundamental problems in modern science and engineering. The Harrow Hassidim-Lloyd algorithm, a monumental quantum algorithm for solving linear systems on gate model quantum computers, was invented and several advanced variations have been developed. The algorithm was difficult to apply to general linear equations because it required various conditions for the matrix. In this paper, we introduce a new algorithm that can be applied to all linear systems. For a given general square matrix and a vector , we will find quadratic unconstrained binary optimization (QUBO) models for a vector that satisfies . To formulate QUBO models for solving linear systems, we made use of a linear least-square problem with binary representation of the solution. We validated those QUBO models on the d-Wave system and discussed the results. For a simple system, we provide a Python code to calculate the matrix characterizing the relationship between the variables, and to print the test code that can be used directly in the d-Wave system.