Computer-readable recording medium with stored quantum computation support program, quantum computation support method and information processing device

DE602024002830T2Active Publication Date: 2026-02-25FUJITSU LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
DE602024002830
Authority / Receiving Office
DE · DE
Patent Type
Patents
Current Assignee / Owner
Priority Date
2024-01-22
Filing Date
2024-11-18
Publication Date
2026-02-25
Estimated Expiration
2044-11-18

AI Technical Summary

Technical Problem

Conventional systems face inefficiencies in calculating thermal equilibrium expectation values at finite temperatures due to the need to randomly sample and calculate from a large number of states exponentially, leading to poor computer hardware utilization.

Method used

A quantum calculation support program that expands imaginary-time evolution expressions into multiple orders, generates quantum circuits for partial calculations, and repeatedly executes these circuits until convergence, using a statistical ensemble suitable for each partial circuit to improve efficiency.

Benefits of technology

Enhances the efficiency of calculating thermal equilibrium expectation values at finite temperatures by reducing the number of required quantum calculations and optimizing memory and processor usage.

✦ Generated by Eureka AI based on patent content.
Patent Text Reader
Need to check novelty before this filing date? Find Prior Art

Description

FIELD

[0001] The embodiments discussed herein are related to a quantum calculation support program, a quantum calculation support method, and an information processing device.BACKGROUND

[0002] In a quantum computer, an error is likely to occur in a state of a qubit due to environmental noise or the like. In a qubit error correction technology (quantum error correction), information is made redundant and encoded. In order to implement the quantum error correction at a practical level, a large number of qubits of about 1 million are used. On the other hand, currently implemented quantum computers are limited to small and medium-scale quantum computers (noisy intermediate scale quantum computer (NISQ)) consisting of at most about several hundred qubits, and these devices are not capable of performing quantum error correction.

[0003] A quantum computer capable of performing the quantum error correction is referred to as a fault tolerant quantum computer (FTQC). Among the FTQCs, an intermediate-scale one is expected to be implemented relatively early, and may be referred to as an early-FTQC device.

[0004] One of fields where calculation by the quantum computer is effective is calculation of a physical quantity of a quantum system. Particularly meaningful in practice is calculation of a thermal equilibrium expectation value at a finite temperature. In order to obtain the thermal equilibrium expectation value at the finite temperature, for example, an expectation value regarding an ensemble of quantum states expressing a thermal equilibrium state is calculated. One of the ensembles expressing the thermal equilibrium state at the finite temperature is a canonical statistical ensemble (canonical ensemble). As a method of efficiently generating the canonical statistical ensemble, a minimally entangled typical thermal state (METTS) algorithm is known.

[0005] Although the METTS algorithm is originally devised as a calculation method executed by a classical computer, an equivalent method may also be executed by the quantum computer. An algorithm equivalent to the METTS executable by the quantum computer is particularly referred to as a quantum METTS (QMETTS).

[0006] In the METTS algorithm, an imaginary-time evolution algorithm is used to implement a Boltzmann weight (the same applies to the QMETTS). One of methods of quantum imaginary-time evolution for implementing imaginary-time evolution by the quantum computer is a method based on linear combination of unitaries (LCU). The LCU is a quantum calculation method based on polynomial expansion of imaginary-time evolution, expressing a polynomial of each order by a quantum circuit, where a physical quantity is calculated via linear combination of all the quantum circuits.

[0007] In a case where the LCU is implemented by an early-FTQC device, a target physical quantity is calculated based on a calculation result obtained by causing each of a plurality of partial circuits extracted from an original quantum circuit to act on the target system. Since an object to be executed is a small-scale partial circuit, calculation may be performed even with early-FTQC devices.

[0008] As a technology regarding the quantum computer, for example, there has been proposed a method for obtaining an excited state of a Hamiltonian. Furthermore, there has been proposed a combinatorial optimization calculation method for obtaining an executable solution even for a problem whose executable solution may not be obtained by a feedback-based algorithm for quantum optimization (FALQON). Moreover, there has also been proposed a quantum algorithm that improves quantum optimization by using marginal data.

[0009] JOÃO C GETELINA ET AL: "Adaptive variational quantum minimally entangled typical thermal states for finite temperature simulations", ARXIV.ORG, CORNELL UNIVERSITY LIBRARY, 201 OLIN LIBRARY CORNELL UNIVERSITY ITHACA, NY 14853, 4 August 2023 (2023-08-04) teaches an adaptive variational quantum algorithm for performing imaginary-time evolution to calculate finite-temperature thermal properties. This method approximates the quantum state using a parameterized ansatz circuit that is dynamically constructed by solving classical equations of motion derived from a variational principle. ANDERS W SANDVIK: "Stochastic series expansion method with operator-loop update", ARXIV.ORG, CORNELL UNIVERSITY LIBRARY, 201 OLIN LIBRARY CORNELL UNIVERSITY ITHACA, NY 14853, 16 February 1999 (1999-02-16) discloses a stochastic series expansion method that expands the partition function into a power series of the Hamiltonian to simulate finite-temperature quantum systems. This approach calculates thermal expectation values by sampling the terms of the expansion using a classical Monte Carlo procedure involving operator-loop updates. Furthermore, International Publication Pamphlet No. WO 2020 / 090559, Japanese Laid-open Patent Publication No. 2023-043100, U.S. Patent Application Publication No. 2020 / 0057957, E M Stoudenmire and Steven R White, "Minimally entangled typical thermal state algorithms", New Journal of Physics, Volume 12 055026, May 2010, and Andrew M. Childs and Nathan Wiebe, "Hamiltonian simulation using linear combinations of unitary operations", Quantum information & Computation, Volume 12, Issue 11-12, November 2012, pp 901-924 are disclosed as related art.SUMMARYTECHNICAL PROBLEM

[0010] In the conventional system explained above, by using the LCU, it is possible to calculate the thermal equilibrium expectation value of the physical quantity at the finite temperature by early-FTQC devices. However, in order to calculate the thermal equilibrium expectation value of the physical quantity at the finite temperature, an enormous number of states are randomly sampled and calculated from a large number of states exponentially for a size of a focused system to be calculated, and calculation efficiency is poor. For example, in the calculation of the thermal equilibrium expectation value of the physical quantity at the finite temperature, the conventional system has a technological problem in terms of the efficient use of computer hardware such as storage capacity and processors.

[0011] In one aspect, an object of the present case is to improve calculation efficiency of a thermal equilibrium expectation value of a physical quantity at a finite temperature.SOLUTION TO PROBLEM

[0012] According to an aspect of the embodiments, there is provided a quantum calculation support program comprising instructions which, when executed by a computer coupled to a quantum computer, cause the computer to execute processing including: expanding an imaginary-time evolution expression into a plurality of expressions, the imaginary-time evolution expression being an expression for calculation of a thermal equilibrium expectation value at a finite temperature of a physical quantity of a system to be calculated, each of the plurality of expressions being an expression of a corresponding order among a plurality of orders; generating a plurality of sets of orders, each of which is obtained by extracting an order twice from the plurality of orders; generating, for each set of the generated sets, a quantum circuit that indicates a procedure of quantum calculation of a value of the physical quantity obtained by partial imaginary-time evolution using an expression of a first order included in the set and an expression of a second order included in the set, each of the first and second orders being any of the plurality of orders; causing the quantum computer to repeatedly execute, for each set of the generated sets, the quantum calculation using the quantum circuit generated for the set until a value of the physical quantity obtained from a result of the quantum calculation converges in a manner that an output state obtained by the quantum calculation according to the quantum circuit corresponding to the set is used as an input state in the subsequent quantum calculation; and calculating the thermal equilibrium expectation value at the finite temperature of the physical quantity based on a value of the physical quantity after convergence for each of the generated sets.ADVANTAGEOUS EFFECTS OF INVENTION

[0013] According to one aspect, the efficiency of calculating a thermal equilibrium expectation value of a physical quantity at a finite temperature is improved. For example, in calculating the thermal equilibrium expectation value of the physical quantity at the finite temperature, the efficiency of using computer hardware such as memory and processors is improved.BRIEF DESCRIPTION OF DRAWINGS

[0014] FIG. 1 is a diagram illustrating an example of a quantum calculation support method according to a first embodiment; FIG. 2 is a diagram illustrating an example of a configuration of a quantum calculation system; FIG. 3 is a diagram illustrating an example of hardware of a classical computer; FIG. 4 is a diagram illustrating a first example (first implementation method) of a quantum circuit for implementing linear combination of unitaries (LCU); FIG. 5 is a diagram illustrating a second example (second implementation method) of the quantum circuit for implementing the LCU; FIG. 6 is a diagram illustrating an example of an efficient calculation method of a thermal equilibrium expectation value of a physical quantity at a finite temperature; FIG. 7 is a diagram illustrating an example of a condition under which a partial circuit exhibits a Hermitian property; FIG. 8 is a block diagram illustrating an example of functions of a quantum calculation system; FIG. 9 is a flowchart illustrating an example of a calculation procedure of a finite temperature expectation value; FIG. 10 is a diagram illustrating an example of an Ising model; FIG. 11 is a diagram illustrating an example of a comparison result of calculation precision of a thermal equilibrium expectation value of energy; and FIG. 12 is a diagram illustrating an example of a comparison result of calculation efficiency of the thermal equilibrium expectation value of the energy. DESCRIPTION OF EMBODIMENTS

[0015] Hereinafter, the present embodiments will be described with reference to the drawings. Note that each of the embodiments may be implemented in combination with the plurality of embodiments as long as no contradiction arises.[First Embodiment]

[0016] A first embodiment is a quantum calculation support method for efficiently calculating a thermal equilibrium expectation value of a physical quantity at a finite temperature.

[0017] FIG. 1 is a diagram illustrating an example of the quantum calculation support method according to the first embodiment. In FIG. 1, an information processing device 10 for implementing the quantum calculation support method according to the first embodiment is illustrated. The information processing device 10 may implement the quantum calculation support method according to the first embodiment by, for example, executing a quantum calculation support program.

[0018] The information processing device 10 is coupled to a quantum computer 1. The information processing device 10 causes the quantum computer 1 to implement quantum calculation. Furthermore, the information processing device 10 acquires a measurement result by the quantum calculation from the quantum computer 1.

[0019] The information processing device 10 includes a storage unit 11 and a processing unit 12. The storage unit 11 is, for example, a memory or a storage device included in the information processing device 10. The processing unit 12 is, for example, a processor or an arithmetic circuit included in the information processing device 10. The information processing device 10 is, for example, a classical computer.

[0020] The processing unit 12 calculates a thermal equilibrium expectation value of a physical quantity at a finite temperature by the following procedure.

[0021] The processing unit 12 expands an imaginary-time evolution expression for calculating a thermal equilibrium expectation value at a finite temperature of a physical quantity of a system to be calculated (target system) into an expression of each of a plurality of orders. A specific expression for expanding imaginary-time evolution will be described later (see Expression (2)). As a result, for example, a plurality of nth-order (n is an order) expressions such as a zeroth-order expression, a first-order expression, and a second-order expression are obtained.

[0022] Next, the processing unit 12 generates a plurality of sets of orders (a, b) each of which is obtained by extracting an order twice from the plurality of orders (a and b are integers indicating the extracted orders). Next, the processing unit 12 generates, for each generated set, a quantum circuit 2 indicating a procedure of quantum calculation of a value of a physical quantity obtained by partial imaginary-time evolution based on an expression of a first order included in the set and an expression of a second order included in the set. Details of an expression for calculating the value of the physical quantity will be described later (see Expression (1)). For example, the processing unit 12 generates the quantum circuit 2 having a Hermitian property under a certain condition on measurement outcomes of ancilla qubits. It is noted that each of the first and second orders in the respective sets is not limited to the first-order (e.g., the largest order ) or the second-order (e.g., the second largest order), but may be any of the plurality of orders.

[0023] The quantum circuit 2 does not output a state after the imaginary-time evolution, but outputs a state reflecting only contribution of the sets of the extracted orders. Therefore, the quantum circuit 2 for each set of orders may also be considered as a partial circuit for a quantum circuit indicating the entire imaginary-time evolution.

[0024] The quantum circuit 2 includes a first unitary gate indicating calculation of a unitary matrix corresponding to the expression of the first order and a second unitary gate indicating calculation of a unitary matrix corresponding to the expression of the second order. The first unitary gate and the second unitary gate act on qubits of the target system according to a state of an ancilla qubit used as a control qubit. By applying a predetermined condition and performing postselection on the ancilla qubit, the quantum circuit 2 may exhibit the Hermitian property.

[0025] Moreover, the processing unit 12 causes the quantum computer 1 to repeatedly execute, for each generated set of orders, the quantum calculation based on the quantum circuit 2 until the value of the physical quantity obtained from a result of the quantum calculation converges. When causing the quantum calculation to be executed, the processing unit 12 sets an output state after the quantum calculation in the quantum circuit 2 corresponding to the set as an input state in subsequent quantum calculation. For example, the processing unit 12 sets a projective measurement result in the computational basis of an output state after calculation of the quantum circuit 2 based on an input state in Nth quantum calculation (N is a natural number) as an input state in (N + 1)th quantum calculation.

[0026] The processing unit 12 stores values 3a, 3b, ... of the physical quantity at the time of convergence for the respective generated sets of orders in the storage unit 11, for example. Then, the processing unit 12 calculates the thermal equilibrium expectation value at the finite temperature of the physical quantity based on the values 3a, 3b, ... of the physical quantity after convergence for the respective generated sets of orders. For example, the processing unit 12 calculates a weighted average of the values 3a, 3b, ... of the physical quantity after convergence for the respective generated sets of orders. The obtained weighted average is the thermal equilibrium expectaiton value at the finite temperature of the physical quantity.

[0027] In this manner, by setting the output state after the quantum calculation in the quantum circuit 2 corresponding to the generated set of orders as the input state in the subsequent quantum calculation, the input state in a case where the value of the physical quantity is repeatedly calculated based on the quantum circuit 2 becomes a statistical ensemble suitable for the quantum circuit 2.

[0028] The statistical ensemble suitable for the quantum circuit 2 is a statistical ensemble capable of early converging the value of the physical quantity calculated based on the quantum circuit 2. For example, it has been confirmed that, by generating the quantum circuit 2 having the Hermitian property under a certain condition on measurement outcomes of ancilla qubits, the statistical ensemble that early converges the value of the physical quantity calculated based on the quantum circuit 2 is obtained. Since the appropriate statistical ensemble is automatically generated, the value of the physical quantity obtained by the quantum calculation converges early, and the processing is made efficient. As such, in calculating the thermal equilibrium expectation value of the physical quantity at the finite temperature, the efficiency of using computer hardware such as memory and processors is improved. For example, the number of repeatedly executing the quantum calculation required to converge the physical quantity may be reduced, resulting in lower memory consumption.

[0029] Note that, in the processing of generating the plurality of sets of orders, for example, the processing unit 12 generates the sets of orders each of which is a combination obtained by extracting an order twice from among the plurality of orders while allowing overlap. Since the overlap of the orders is allowed, for example, a set of the first order and the first order and a set of the second order and the second order may also be extracted. Furthermore, in the extraction, since order of the orders in the combination is not considered, a set of an mth order and an nth order (m and n are integers) and a set of the nth order and the mth order are not overlapped and extracted. As a result, the number of sets of orders to be generated may be reduced, and the processing is made efficient. As such, in calculating the thermal equilibrium expectation value of the physical quantity at the finite temperature, the efficiency of using computer hardware such as memory and processors is improved.

[0030] Note that, in a case where an error of the quantum computer 1 may not be sufficiently corrected, a set of (m, n) (the mth order first and the nth order second) and a set of (n, m) (the nth order first and the mth order second) may have slightly different actions and should be extracted in consideration of the extraction order. In a case where the set of (m, n) is extracted, the quantum circuit 2 becomes a circuit that first causes a unitary gate corresponding to an mth order expression to act on the qubits of the target system, and then causes a unitary gate corresponding to an nth order expression to act on the qubits of the target system. In contrast, in a case where the set of (n, m) is extracted, the quantum circuit 2 becomes a circuit that first causes the unitary gate corresponding to the nth order expression to act on the qubits of the target system, and then causes the unitary gate corresponding to the mth order expression to act on the qubits of the target system. As a result, calculation precision in a case where the quantum computer 1 in which an error may not be completely corrected is used may be improved.[Second Embodiment]

[0031] A second embodiment is a quantum calculation system for efficiently calculating a thermal equilibrium expectation value at a finite temperature of a physical quantity.

[0032] FIG. 2 is a diagram illustrating an example of a configuration of the quantum calculation system. A quantum calculation system 300 is a hybrid computer system in which a classical computer 100 and a quantum computer 200 are operated in cooperation. The classical computer 100 is also referred to as a von Neumann computer.

[0033] To the classical computer 100, a terminal device 400 is coupled via a network 20. The terminal device 400 is a computer used by a user who requests quantum calculation by the quantum calculation system 300. The classical computer 100 receives a quantum circuit from the terminal device 400. The quantum circuit indicates order of operations on qubits by arrangement of elements such as gates. The qubit is a bit capable of expressing a superposed state of a state of "0" and a state of "1".

[0034] The classical computer 100 instructs the quantum computer 200 to control qubits according to the quantum circuit received from the terminal device 400. Furthermore, the classical computer 100 acquires a measurement result of each qubit from the quantum computer 200.

[0035] The quantum computer 200 includes a plurality of qubits and a device for operating each of the plurality of qubits. The plurality of qubits included in the quantum computer 200 is implemented by, for example, a quantum device of a superconducting system. Furthermore, the qubits may be implemented by a quantum device of another system such as a trapped-ion system.

[0036] FIG. 3 is a diagram illustrating an example of hardware of the classical computer. The entire device of the classical computer 100 is controlled by a processor 101. A memory 102 and a plurality of peripheral devices are coupled to the processor 101 via a bus 109. The processor 101 may be a multiprocessor. The processor 101 is, for example, a central processing unit (CPU), a micro processing unit (MPU), or a digital signal processor (DSP). At least a part of functions implemented by the processor 101 executing a program may be implemented by an electronic circuit such as an application specific integrated circuit (ASIC) or a programmable logic device (PLD).

[0037] The memory 102 is used as a main storage device of the classical computer 100. In the memory 102, at least a part of an operating system (OS) program and an application program to be executed by the processor 101 is temporarily stored. Furthermore, in the memory 102, various types of data to be used in processing by the processor 101 are stored. As the memory 102, for example, a volatile semiconductor storage device such as a random access memory (RAM) is used.

[0038] Examples of the peripheral devices coupled to the bus 109 include a storage device 103, a graphics processing unit (GPU) 104, an input interface 105, an optical drive device 106, a device coupling interface 107, and a network interface 108.

[0039] The storage device 103 electrically or magnetically writes and reads data to and from a built-in recording medium. The storage device 103 is used as an auxiliary storage device of the classical computer 100. In the storage device 103, an OS program, an application program, and various types of data are stored. Note that, as the storage device 103, for example, a hard disk drive (HDD) or a solid state drive (SSD) may be used.

[0040] The GPU 104 is an arithmetic device that performs image processing. The GPU 104 is an example of a graphics controller. A monitor 21 is coupled to the GPU 104. The GPU 104 causes a screen of the monitor 21 to display an image according to an instruction from the processor 101. Examples of the monitor 21 include a display device using organic electro luminescence (EL), a liquid crystal display device, or the like.

[0041] A keyboard 22 and a mouse 23 are coupled to the input interface 105. The input interface 105 transmits signals sent from the keyboard 22 and the mouse 23 to the processor 101. Note that the mouse 23 is an example of a pointing device, and another pointing device may also be used. Examples of the another pointing device include a touch panel, a tablet, a touch pad, a track ball, or the like.

[0042] The optical drive device 106 uses laser light or the like to read data recorded in an optical disk 24 or write data to the optical disk 24. The optical disk 24 is a portable recording medium in which data is recorded in a readable manner by reflection of light. Examples of the optical disk 24 include a digital versatile disc (DVD), a DVD-RAM, a compact disc read only memory (CD-ROM), a CD-recordable (R) / rewritable (RW), or the like.

[0043] The device coupling interface 107 is a communication interface for coupling the peripheral devices to the classical computer 100. For example, a memory device 25 and a memory reader / writer 26 may be coupled to the device coupling interface 107. The memory device 25 is a recording medium equipped with a communication function with the device coupling interface 107. The memory reader / writer 26 is a device that writes data to a memory card 27 or reads data from the memory card 27. The memory card 27 is a card-type recording medium.

[0044] The network interface 108 is coupled to the network 20. The network interface 108 performs transmission and reception of data with another computer or communication device via the network 20. The network interface 108 is, for example, a wired communication interface coupled to a wired communication device such as a switch or a router with a cable. Furthermore, the network interface 108 may be a wireless communication interface that is coupled to and communicates with a wireless communication device such as a base station or an access point by radio waves.

[0045] The classical computer 100 may implement processing functions of the second embodiment with the hardware described above. Note that the information processing device 10 indicated in the first embodiment may also be implemented by hardware similar to that of the classical computer 100 illustrated in FIG. 3.

[0046] The classical computer 100 implements the processing functions of the second embodiment by executing, for example, a program recorded in a computer-readable recording medium. The program in which processing content to be executed by the classical computer 100 is described may be recorded in various recording media. For example, the program to be executed by the classical computer 100 may be stored in the storage device 103. The processor 101 loads at least a part of the program in the storage device 103 into the memory 102, and executes the program. Furthermore, the program to be executed by the classical computer 100 may also be recorded in a portable recording medium such as the optical disk 24, the memory device 25, or the memory card 27. The program stored in the portable recording medium may be executed after being installed in the storage device 103 under control of the processor 101, for example. Furthermore, the processor 101 may read the program directly from the portable recording medium, and execute the program.

[0047] Next, a calculation method of a thermal equilibrium expectation value at a finite temperature of a physical quantity of a quantum system will be described in detail. As one of important application destinations of the quantum computer 200, there is calculation of the physical quantity of the quantum system. Particularly meaningful in practice is calculation of the thermal equilibrium expectation value at the finite temperature. Here, the finite temperature refers to a temperature other than absolute zero.

[0048] In a case where the thermal equilibrium expectation value at the finite temperature is obtained, for example, an expectation value of a physical quantity regarding an ensemble of quantum states expressing a thermal equilibrium state is calculated. As the ensemble of the quantum states expressing the thermal equilibrium state at the finite temperature, there is a canonical statistical ensemble. The canonical statistical ensemble is an ensemble of quantum states in which an eigenstate | E> having an energy eigenvalue E appears according to a probability distribution referred to as a Boltzmann weight.

[0049] When a canonical statistical ensemble ρ is represented by an expression, "ρ = Σ E (e -βE< / Z) | E><E |" is defined. In this expression, "e -βE< / Z" is the Boltzmann weight. A thermal equilibrium expectation value <O> of a physical quantity regarding the canonical statistical ensemble is "<O> = Σ E (e -βE< / Z)<E | O |E>". Here, Z is the partition function "Z = Σ E e -βE< ". β is an inverse temperature (a reciprocal of a temperature).

[0050] The canonical statistical ensemble may be efficiently generated by a minimally entangled typical thermal state (METTS) algorithm. In a case where the classical computer 100 generates the canonical statistical ensemble by the METTS algorithm, processing is performed in the following procedure. 1. The classical computer 100 selects an input state from the computational bases. 2. The classical computer 100 executes an imaginary-time evolution algorithm to implement the Boltzmann weight. 3. The classical computer 100 calculates an expectation value of a physical quantity desired to be obtained. 4. In order to generate a probability distribution according to the Boltzmann weight, the classical computer 100 calculates a probability distribution corresponding to projective measurement in the computational basis of an output state. 5. The classical computer 100 repeats 2. to 4., with a state probabilistically selected according to the probability distribution obtained in 4. as the next input state.

[0051] The ensemble of the quantum states used as the input state in the repetition of 2. to 4. constitutes the canonical statistical ensemble. In other word, in the case of the METTS algorithm, the canonical statistical ensemble is automatically generated in the process of calculating the expectation value of the physical quantity.

[0052] Such a METTS algorithm is a calculation method assumed to be executed only by the classical computer 100, but the quantum calculation system 300 may execute a method referred to as quantum METTS (QMETTS) equivalent to the METTS algorithm.

[0053] Also in the QMETTS, imaginary-time evolution is performed to implement the Boltzmann weight. There are various methods for quantum imaginary-time evolution that implements the imaginary-time evolution in the quantum computer 200.

[0054] Examples of a possible quantum imaginary-time evolution method in a noisy intermediate scale quantum computer (NISQ) include variational imaginary-time evolution, imaginary-time evolution in a narrow sense, probabilistic imaginary-time evolution, and the like. The variational imaginary-time evolution is a method of variationally optimizing parameters of a quantum circuit so as to reproduce the imaginary-time evolution. The imaginary-time evolution in a narrow sense is a method of determining coefficients of simple quantum gates from equations so as to reproduce the imaginary-time evolution. The probabilistic imaginary-time evolution is a method of post-selecting only events in which ancilla qubits satisfy specific conditions.

[0055] Examples of an effective quantum imaginary-time evolution method in a fault tolerant quantum computer (FTQC) include a method based on a quantum singular value transformation algorithm, a method based on linear combination of unitaries (LCU), and the like. The method based on the quantum singular value transformation algorithm is a method of approximately implementing the imaginary-time evolution by polynomial transformation of an eigenvalue of a Hamiltonian. The LCU is a method of performing polynomial expansion of the imaginary-time evolution, expressing a polynomial of each order by a quantum circuit, and obtaining linear combination of all the quantum circuits. The LCU may also be implemented with a relatively small-scale early-FTQC device.

[0056] In the quantum calculation system 300 according to the second embodiment, the thermal equilibrium expectation value at the finite temperature of the physical quantity of the quantum system is calculated by the QMETTS with the imaginary-time evolution by the LCU. A quantum circuit for the imaginary-time evolution may be executed by being divided into a plurality of partial circuits having a small number of qubits to be used, and is compatible with the early-FTQC devices.

[0057] FIG. 4 is a diagram illustrating a first example (first implementation method) of a quantum circuit for implementing the LCU. In a quantum circuit 30, gate operations for a plurality of qubits representing a state | Ψ> of a target system and ancilla qubits (each of the qubits having an initial state of | 0>) are indicated.

[0058] In the qubits of the target system, unitary gates 33a, 33b, ..., 33k corresponding to polynomials for the respective orders when the imaginary-time evolution is subjected to polynomial expansion are arranged. A gate operation of a predetermined unitary gate 31 is performed on the ancilla qubits.

[0059] Each of the unitary gates 33a, 33b, ..., 33k of the target system is a gate that is caused to be acted in a case where each ancilla qubit is a control qubit and a state of the control qubit satisfies a predetermined condition. The ancilla qubits to be the control qubits of the respective unitary gates 33a, 33b, ..., 33k are indicated by white circles or black circles. The white circle indicates a negative polarity, and indicates that a gate operation on the target qubits (the qubits of the target system) is acted when the state is "0". The black circle indicates a positive polarity, and indicates that the gate operation on the target qubit (the qubit of the target system) is acted when the state is "1".

[0060] For each of the unitary gates 33a, 33b, ..., 33k, in a case where the states of all the control qubits are in the states where the gate operation is acted, the gate operation is performed on the qubits of the target system according to the corresponding unitary gate.

[0061] After the gate operations of the unitary gates 33a, 33b, ..., 33k, a gate operation of a unitary gate 32 is performed on the ancilla qubits.

[0062] The quantum circuit 30 implements calculation in which quantum circuits of the respective components after the polynomial expansion are sequentially acted in a form of control unitary to be subjected to linear combination. In the quantum circuit 30, a large number of ancilla qubits are used in addition to the qubits of the target system to be operated by the unitary gates 33a, 33b, ..., 33k. Therefore, the number of qubits to be used increases.

[0063] FIG. 5 is a diagram illustrating a second example (second implementation method) of the quantum circuit for implementing the LCU. A partial circuit 40 is a simplified quantum circuit obtained by extracting gate operations corresponding to a set of two orders among orders obtained by polynomial expansion of an imaginary-time evolution expression. In the partial circuit 40, one ancilla qubit is used. First, a gate operation of a Hadamard gate 41 is performed on the ancilla qubit.

[0064] In a case where a state of the ancilla qubit defined as a superposed state is | 0> after applying the Hadamard gate 41, a gate operation of a unitary gate 43a corresponding to a polynomial of one of the two orders selected for qubits of a target system is performed. Next, in a case where the state of the ancilla qubit is | 1>, a gate operation of a unitary gate 43b corresponding to a polynomial of the other one of the two orders selected for the qubits of the target system is performed. After the two unitary gates 43a and 43b, a gate operation of a Hadamard gate 42 is performed on the ancilla qubit.

[0065] By using the partial circuit 40, the quantum circuit of the two components is extracted, the simplified partial circuit is acted, and then a physical quantity is calculated, and linear combination of measurement results may be calculated later by the classical computer 100.

[0066] As illustrated in FIGs. 4 and 5, the LCU has the two implementation systems. These implementation systems have advantages and disadvantages in terms of performance, load due to implementation resources, and the like. Therefore, the appropriate implementation system is used in consideration of the advantages and the disadvantages. Particularly, in implementation of the quantum imaginary-time evolution, there are the following differences between the first implementation method (coherent superposition of all the orders) illustrated in FIG. 4 and the second implementation method (extraction of contribution of the two orders) illustrated in FIG. 5.[Suitable Quantum Computing Machine]

[0067] In the first implementation method, execution in the large-scale FTQC device is needed. On the other hand, in the second implementation method, implementation in the relatively small-scale FTQC device (early-FTQC device) is also possible.[Depth of Circuit]

[0068] In the first implementation method, a depth of the circuit is a sum total of depths of the respective unitary gates of all the orders, and the depth of the entire circuit is deep. On the other hand, in the second implementation method, a depth of the circuit is a sum of depths of the unitary gates of the extracted two orders, and the depth of the circuit is shallower than that in the first implementation method.[Implementation Resources]

[0069] In the first implementation method, a large number of non-Clifford gates are used, and a large number of hardware resources are used (resource requirements are stringent). On the other hand, in the second implementation method, the number of non-Clifford gates is relatively small, and the number of hardware resources is small as compared with the first implementation method (resource requirements are moderate).[The Number of Quantum Circuits]

[0070] In the first implementation method, one quantum circuit is used, but in the second implementation method, quantum circuits as many as the number of sets of orders to be extracted are used. In a case where the plurality of quantum circuits is used as in the second implementation method, the quantum calculation based on the quantum circuits may also be executed in parallel processing.[Method of Implementing Linear Combination]

[0071] In the first implementation method, the linear combination is implemented by coherent superposition. On the other hand, in the second implementation method, the results of the respective partial circuits are summed up by the classical computer 100, thereby implementing the linear combination.[Output State]

[0072] In the first implementation method, the state after the imaginary-time evolution is output. In the second implementation method, the state to which a part of the imaginary-time evolution is applied is output.[Compatibility with QMETTS]

[0073] In the first implementation method, the thermal equilibrium state is generated by the projective measurement, and thus, the first implementation method is compatible with the QMETTS. In the second implementation method, the thermal equilibrium state is not generated even when the projective measurement is performed, and thus, the second implementation method is not compatible with the QMETTS.

[0074] The differences between the first implementation method and the second implementation method are as described above. Here, it takes time in units of several decades to implement the large-scale FTQC device. Therefore, it is realistic to first implement the second implementation method that may be implemented even with the relatively small-scale FTQC device.

[0075] In the second implementation method, since the output state of the quantum circuit is not the state itself after the imaginary-time evolution, the thermal equilibrium state is not generated even when the projective measurement is performed in a manner of the QMETTS. In order to calculate the thermal equilibrium expectation value of the physical quantity by the second implementation method, an enormous number of states are randomly sampled from a large number of states exponentially for a size of a system and calculated for each sample, and calculation efficiency is poor.

[0076] Here, it is noted that it is not essential to generate the canonical statistical ensemble describing the thermal equilibrium state itself in order to calculate the thermal equilibrium expectation value of the physical quantity at the finite temperature. Thus, in the quantum calculation system 300, the second implementation method described above is improved, and by efficiently generating, for each partial circuit from which contribution of a set of two orders is extracted, a statistical ensemble suitable for the partial circuit, a value indicating contribution of the partial circuit is obtained.

[0077] FIG. 6 is a diagram illustrating an example of an efficient calculation method of the thermal equilibrium expectation value of the physical quantity at the finite temperature. In the quantum calculation system 300, the classical computer 100 performs polynomial expansion of the imaginary-time evolution to obtain a polynomial for each order. The polynomial for each order is represented by unitary matrices U 1 , U 2 , U 3 , U 4 , U 5 , U 6 , ....

[0078] The classical computer 100 extracts a plurality of sets of two orders among a plurality of orders of an expansion destination by the polynomial expansion. Then, the classical computer 100 generates partial circuits 51, 52, 53, ... for each set of orders.

[0079] In the partial circuit 51, gate operations for a plurality of qubits representing a target system and one ancilla qubit are indicated. An input state of the plurality of qubits representing the target system is defined as | ψ>, and an input state of the ancilla qubit is defined as | 0>.

[0080] In the partial circuit 51, first, a Hadamard gate 51a is arranged in the ancilla qubit. Next, a unitary gate 51b that is controlled with the ancilla qubit as a control qubit indicating a negative polarity is arranged in the qubits of the target system. Moreover, a unitary gate 51c that is controlled with the ancilla qubit as a control qubit indicating a positive polarity is arranged in the qubits of the target system. The two unitary gates 51b and 51c are quantum circuits that correspond to the respective orders of the extracted two orders and cause the quantum computer 200 to calculate the polynomials of the corresponding orders.

[0081] Next to the unitary gate 51c, a Hadamard gate 51d is arranged in the ancilla qubit. Additionally, in the partial circuit 51, measurement 51e and measurement 51f of the respective states of the ancilla qubit and the qubits of the target system are indicated.

[0082] Also in the partial circuit 52, a Hadamard gate 52a for the ancilla qubit, two unitary gates 52b and 52c for the qubits representing the state of the target system, and a Hadamard gate 52d for the ancilla qubit are arranged. Additionally, in the partial circuit 52, measurement 52e and measurement 52f of the respective states of the ancilla qubit and the qubits of the target system are indicated.

[0083] Also in the partial circuit 53, a Hadamard gate 53a for the ancilla qubit, two unitary gates 53b and 53c for the qubit representing the state of the target system, and a Hadamard gate 53d for the ancilla qubit are arranged. Additionally, in the partial circuit 53, measurement 53e and measurement 53f of the respective states of the ancilla qubit and the qubits of the target system are indicated.

[0084] The classical computer 100 causes the quantum computer 200 to repeatedly execute quantum calculation corresponding to the partial circuits 51, 52, 53, ... corresponding to the respective sets of orders until a physical quantity obtained from a measurement result converges. In a case where the physical quantity does not converge, the classical computer 100 causes the quantum computer 200 to execute projective measurement in the computational basis of an output state of the qubits of the target system, and sets a measurement result as an input state in quantum calculation of the next iterative step.

[0085] By setting the result of the projective measurement of the output state as the input state in the next step in this manner, a statistical ensemble suitable for quantum calculation corresponding to the set of the extracted orders is generated as the input state. For example, the input state of the partial circuit 51 is a statistical ensemble suitable for calculation of the unitary matrices U 1 and U 2 corresponding to the respective extracted orders. The input state of the partial circuit 52 is a statistical ensemble suitable for calculation of the unitary matrices U 3 and U 4 corresponding to the respective extracted orders. The input state of the partial circuit 53 is a statistical ensemble suitable for calculation of the unitary matrices U 5 and U 6 corresponding to the respective extracted orders.

[0086] The classical computer 100 calculates the thermal equilibrium expectation value at the finite temperature based on the physical quantity at the time of convergence of each of the partial circuits 51, 52, 53, .... In this manner, the calculation of the thermal equilibrium expectation value at the finite temperature is performed by efficiently automatically generating the input state to be the appropriate statistical ensemble.

[0087] Hereinafter, a principle of the calculation method illustrated in FIG. 6 will be described.

[0088] Although an entire action of each of the partial circuits 51, 52, 53, ... illustrated in FIG. 6 is complicated, a basic symmetry referred to as the Hermitian property is exhibited under a certain condition. Having the Hermitian property means that a matrix representing an operation is equal to a Hermitian conjugate of the matrix. By using this Hermitian property, the measurement result for the output state is linked to the generation of the statistical ensemble.

[0089] FIG. 7 is a diagram illustrating an example of the condition under which the partial circuit exhibits the Hermitian property. Each of unitary gates 61 and 62 included in a partial circuit 60 constitutes an LCU having a smaller scale. In other word, the partial circuit 60 has the LCU having a double structure.

[0090] Similarly to the quantum circuit 30 illustrated in FIG. 4, the LCU of the one unitary gate 61 indicates gate operations for a plurality of ancilla qubits and qubits of a target system. A plurality of unitary gates 61a, 61b, ..., 61k is arranged for the qubits of the target system. Quantum calculation of a Hamiltonian of the target system is expressed by these unitary gates 61a, 61b, ..., 61k. These unitary gates 61a, 61b, ..., 61k correspond to the respective terms of the Hamiltonian. Each of the unitary gates 61a, 61b, ..., 61k is a quantum circuit for causing the quantum computer 200 to execute calculation of the corresponding term.

[0091] The partial circuit 60 exhibits the Hermitian property by performing appropriate conditioning on states of the ancilla qubits constituting the LCUs inside the unitary gates 61 and 62. A condition of the states of the ancilla qubits for the exhibition of the Hermitian property is to select only an event in which input and output are all | 0> states for all the ancilla qubits constituting the LCUs inside the unitary gates 61 and 62.

[0092] An expectation value of a physical quantity O regarding the statistical ensemble introduced by the calculation method illustrated in FIG. 6 is given by the following Expression (1). [Expression 1] O ab k = ∑ i W ab ik ∑ j W ab jk Φ ab ik O Φ ab ik

[0093] Expression (1) expresses contribution of a partial circuit including unitary gates U a and U b corresponding to the respective two orders a and b (a and b are integers of 0 or more). | Φ ab ik< > is obtained by normalizing a state (state of the target system) obtained as a result of post-selecting an event in which k ∈ {0, 1} is obtained by performing projective measurement of the ancilla qubits in the computational basis after the partial circuit is caused to act with the input state of the target system as | i>. W ab ik< is a probability that | Φ ab ik< > is obtained as a result of the measurement.

[0094] An average of statistical ensembles obtained by calculation of the partial circuit is an expectation value regarding a statistical ensemble such that | Φ ab ik< > is obtained with a probability "W ab ik< / Σ j W ab jk< ".

[0095] Next, the polynomial expansion of the imaginary-time evolution will be described in detail.

[0096] For the expansion of the imaginary-time evolution, for example, a Chebyshev polynomial T n (x) may be used. n is an integer indicating an order. x is an argument of a polynomial, and in the present case, a Hamiltonian H is substituted. The Chebyshev polynomial is a best approximation polynomial, which approximates a function with the best precision for arguments within a finite interval. A concrete form of the expansion is given by the following Expression (2). [Expression 2] e − βH = ∑ n c n β T n H

[0097] Here, an expansion coefficient c n (β) is a modified Bessel function of the first kind. A finite temperature expectation value <O> β of a physical quantity is expanded as in Expression (3). [Expression 3] O β = ∑ mni c m β 2 c n β 2 i T m H OT n H i ∑ mni c m β 2 c n β 2 i T m H T n H i

[0098] m and n are integers indicating orders. As described above, the polynomial expansion of the imaginary-time evolution becomes possible. Here, among the two selected orders (m, n), the unitary gate corresponding to an mth-order polynomial is defined as U a , and the unitary gate corresponding to an nth-order polynomial is defined as U b . In this case, <O> ab k< indicated in Expression (1) is obtained from a measurement result of a partial circuit corresponding to a set of the selected two orders (m, n). <O> ab k< and Expression (3) have the following relationship. [Expression 4] ∑ i i T m H OT n H i + i T n H OT m H i = ∑ j W ab j 0 O ab 0 − ∑ j W ab j 1 O ab 1

[0099] Extraction of the set of two orders from the polynomial expansion is performed, for example, as follows.

[0100] In the polynomial expansion of the finite temperature expectation value of the physical quantity, the set of two orders (m, n) is extracted in order from a low-order set having large contribution.

[0101] In a case where a truncation order of the expansion is small, the total number of generatable sets of orders is limited. In this case, all generatable sets of orders may be comprehensively extracted.

[0102] In a case where the truncation order of the expansion is large, the total number of generatable sets of orders becomes enormous. In this case, it is sufficient that only a low-order set having large contribution is extracted. Particularly, when a set of orders is probabilistically extracted according to a probability distribution proportional to an absolute value of an expansion coefficient "c m (β / 2)c n (β / 2)", the thermal equilibrium expectation value is correctly obtained.

[0103] Partial circuits expressing the respective sets of extracted orders may be subjected to parallel processing independently. For example, in a case where the number of qubits of the quantum computer 200 is sufficient, the qubits may be divided into a plurality of groups, and the partial circuit may be executed for each group.

[0104] Next, functions of the quantum calculation system 300 for calculating the finite temperature expectation value of the physical quantity will be described.

[0105] FIG. 8 is a block diagram illustrating an example of the functions of the quantum calculation system. The quantum computer 200 includes a quantum device 210 and a measurement device 220. The quantum device 210 is a circuit that constitutes a plurality of qubits. The quantum device 210 is, for example, a superconducting quantum device or a quantum device of trapped-ion system. The quantum device 210 performs a gate operation on the qubit according to a gate operation instruction from the classical computer 100.

[0106] The measurement device 220 is a device that measures a state of a qubit in the quantum device 210. For example, the measurement device 220 performs, for example, projective measurement in the computational basis (Z basis) of the qubit.

[0107] The classical computer 100 includes a quantum device control unit 110, a measurement result statistical processing unit 120, a calculation result storage unit 130, and a weighted average calculation unit 140.

[0108] The quantum device control unit 110 controls the quantum device 210 based on a quantum circuit indicating a procedure of quantum calculation. For example, the quantum device control unit 110 controls the quantum device 210 according to a quantum circuit (partial circuit for each set of orders obtained by polynomial expansion of imaginary-time evolution) for calculating a finite temperature expectation value of a physical quantity.

[0109] The measurement result statistical processing unit 120 performs statistical processing of a measurement result of a quantum circuit. For example, the measurement result statistical processing unit 120 calculates an average or a standard deviation of measurement results obtained by a plurality of times of measurement, and determines whether the measurement results have converged.

[0110] The calculation result storage unit 130 stores a calculation result of a physical quantity calculated for each partial circuit. The calculation result storage unit 130 is, for example, a part of a storage area of the memory 102 or the storage device 103.

[0111] The weighted average calculation unit 140 calculates a weighted average of calculation results for the respective partial circuits. The weighted average calculation unit 140 outputs the calculated weighted average as a finite temperature expectation value.

[0112] The calculation of the finite temperature expectation value is efficiently performed by the quantum calculation system 300 having such functions.

[0113] Note that the function of each element illustrated in FIG. 8 may be implemented by, for example, causing the processor 101 to execute a program module corresponding to the element.

[0114] FIG. 9 is a flowchart illustrating an example of a calculation procedure of the finite temperature expectation value. Hereinafter, processing illustrated in FIG. 9 will be described in line with step numbers.

[0115] [Step S101] The quantum device control unit 110 of the classical computer 100 receives input of the number of qubits N of a target system, the Hamiltonian H, an inverse temperature β, a truncation order M of polynomial expansion, and the number of sets of orders of polynomials to be extracted M (with ~).

[0116] [Step S102] The classical computer 100 repeats processing of steps S103 to S111 while counting up a value of m until a loop variable m changes from "0" to "M - 1" (M is with ~).

[0117] [Step S103] The quantum device control unit 110 generates a partial circuit corresponding to a set of two orders extracted from a plurality of orders for generating polynomials by polynomial expansion of imaginary-time evolution. For example, the quantum device control unit 110 performs the polynomial expansion of an imaginary-time evolution expression up to the truncation order M. As a result, the respective polynomials from a zeroth order to an Mth order are generated. The quantum device control unit 110 extracts a set from sets of two orders that may be extracted from the orders of the zeroth order to the Mth order. This processing is repeated M (with ~) times to generate M (with ~) sets of orders.

[0118] The quantum device control unit 110 generates a partial circuit corresponding to the extracted set of orders. For example, the quantum device control unit 110 generates unitary gates indicating a procedure of quantum calculation of polynomials corresponding to the respective orders included in the set. The number of qubits operated by the generated unitary gates is N. Then, the quantum device control unit 110 generates a partial circuit including two unitary gates corresponding to the set of orders as illustrated in FIG. 6.

[0119] [Step S104] The quantum device control unit 110 repeatedly executes processing of step S105 for a predetermined number of shots (the number of times of repetition) for the generated partial circuit.

[0120] [Step S105] The quantum device control unit 110 instructs the quantum computer 200 to perform gate operations and measurement according to the generated partial circuit. For example, the quantum device control unit 110 transmits control signals for the gate operations and the measurement to the quantum device 210 in order illustrated in the partial circuit.

[0121] Note that the quantum device control unit 110 sets an input state at the time of first physical quantity calculation by the generated partial circuit as a preset input state. At the time of second and subsequent physical quantity calculation, the quantum device control unit 110 sets a state updated in step S111 described later as the input state of the generated partial circuit.

[0122] The quantum device 210 performs the gate operations on qubits according to the control signal from the quantum device control unit 110. When the gate operations corresponding to the partial circuit is completed, the measurement device 220 measures states of the qubits of the target system and the ancilla qubit. The measurement device 220 transmits a measurement result to the classical computer 100. In the classical computer 100, the measurement result statistical processing unit 120 receives the measurement result.

[0123] [Step S106] In a case where the instruction of the quantum gate operations and the measurement in step S105 is completed for the number of times of the predetermined number of shots, the quantum device control unit 110 advances the processing to step S107.

[0124] [Step S107] Based on the measurement results for the number of shots, the measurement result statistical processing unit 120 calculates a physical quantity ( Φ ab ik O Φ ab ik in Expression (1)) obtained from the measurement results of the generated partial circuit. The measurement result statistical processing unit 120 adds the calculated physical quantity to an array r m .

[0125] [Step S108] The measurement result statistical processing unit 120 calculates an average of values in the array r m .

[0126] [Step S109] The measurement result statistical processing unit 120 determines whether or not the physical quantity obtained by the quantum calculation of the generated partial circuit has converged. For example, in a case where a change in the average calculated in step S108 is equal to or less than a predetermined value, the measurement result statistical processing unit 120 determines that the physical quantity has converged. Furthermore, in a case where a standard deviation of the values of the array r m is equal to or less than a predetermined value, the measurement result statistical processing unit 120 may determine that the physical quantity has converged. In a case where the physical quantity has converged, the measurement result statistical processing unit 120 advances the processing to step S112. Furthermore, in a case where the physical quantity has not converged, the measurement result statistical processing unit 120 advances the processing to step S110.

[0127] [Step S110] The quantum device control unit 110 instructs the quantum computer 200 to perform quantum gate operations and projective measurement in the computational basis based on the generated partial circuits. The input state of the qubits of the target system at this time is the input state at the time of the quantum calculation for the immediately preceding physical quantity calculation (quantum gate operations in step S105).

[0128] In the quantum computer 200, the gate operations are performed on the quantum device 210 according to the instruction from the quantum device control unit 110. Then, the measurement device 220 performs the projective measurement in the computational basis of the qubits of the target system after the gate operations according to the partial circuit. The measurement device 220 transmits a measurement result to the classical computer 100.

[0129] [Step S111] The quantum device control unit 110 updates the input state based on the measurement result acquired in step S110. For example, the quantum device control unit 110 sets the measurement result ( | 0> or | 1>) of each qubit of the target system as an input state in the next physical quantity calculation. Thereafter, the quantum device control unit 110 advances the processing to step S104.

[0130] As a result, the measurement outcome of the projective measurement of the output state becomes the input state of the qubits of the target system of the quantum calculation for the next physical quantity calculation. Then, such update of the input state is repeated until the calculated physical quantity converges.

[0131] [Step S112] When the physical quantity converges, the measurement result statistical processing unit 120 stores the average value calculated in step S108 in an array Avg in the calculation result storage unit 130.

[0132] [Step S113] In a case where the processing of steps S103 to S112 is ended for the M (with ~) sets of orders, the quantum device control unit 110 advances the processing to step S114.

[0133] [Step S114] The weighted average calculation unit 140 calculates a weighted average of contribution of the partial circuit. For example, the weighted average calculation unit 140 calculates <O> β according to Expression (3). The weighted average calculation unit 140 outputs a calculation result of the weighted average as a finite temperature expectation value.

[0134] In this manner, the finite temperature expectation value of the physical quantity may be calculated based on the calculation result of the quantum calculation according to the plurality of partial circuits by the quantum computer 200. Since a scale of the partial circuit is smaller than that of the quantum circuit 30 illustrated in FIG. 4, the partial circuit may be executed even with the early-FTQC device. Furthermore, a circuit depth of the partial circuit is also shallower.

[0135] Moreover, in the repetitive calculation of the physical quantity until the physical quantity converges using the partial circuit, the classical computer 100 sets the result of the projective measurement in the computational basis of the output state after the quantum calculation by the partial circuit as the input state in the next physical quantity calculation. As a result, the input state to the partial circuit becomes a statistical ensemble suitable for the partial circuit.

[0136] Obtaining the statistical ensemble suitable for the partial circuit specifically means that " | Φ ab ik< >" is obtained according to the probability distribution "W ab ik< / ΣW ab jk< ". In order to efficiently obtain such a statistical ensemble, the state obtained as the projective measurement result in the computational basis of the output state of the partial circuit is used as the next input state. This means that, in the repetition cycle of "1. selection of the input state", "2. imaginary-time evolution", "3. measurement of the physical quantity", and "4. measurement of the output state", the measurement result of "4. measurement of the output state" becomes the input state of the next cycle. This is similar processing as the METTS algorithm, and the input state in the repetition cycle probabilistically transitions, and a stationary distribution obtained as a convergence destination thereof becomes a statistical ensemble suitable for the partial circuit.

[0137] Note that the action of each partial circuit is partial contribution of the imaginary-time evolution represented by the polynomials corresponding to the set of extracted orders. Additionally, the physical quantity after convergence of each partial circuit indicates contribution of the partial circuit in the thermal equilibrium expectation value of the physical quantity of the target system. Therefore, the final thermal equilibrium expectation value of the physical quantity of the target system is obtained by the weighted average of the calculation results of the physical quantities by the respective plurality of partial circuits.

[0138] Next, a calculation example of a thermal equilibrium expectation value of a physical quantity using a transverse-field Ising model will be specifically described.

[0139] FIG. 10 is a diagram illustrating an example of the Ising model. An Ising model 70 is a theoretical model that describes quantum-mechanical behavior of a magnetic body. In the Ising model 70, sites 71 to 73 are provided on lattice points. Spins are defined in the sites 71 to 73. Interaction acts between adjacent spins. Using the Ising model 70, directions of the spins of the sites 71 to 73 when a transverse magnetic field is applied may be calculated by numerical simulation.

[0140] For example, the Hamiltonian H of the Ising model 70 is represented by the following Expression (5). [Expression 5] H = J ∑ i j X i X j + h ∑ i Z i

[0141] X i is a Pauli operator describing an X-direction component of a spin at an ith (i is a natural number) site. X j is a Pauli operator describing an X-direction component of a spin at a jth (j is a natural number) site. Z i is a Pauli operator describing a Z-direction component of the spin at the ith site. J is a parameter (real number) indicating the Ising interaction. h is a parameter (real number) indicating the transverse magnetic field.

[0142] By representing a target system by the Ising model 70, a thermal equilibrium expectation value of energy of the target system may be obtained. For example, the thermal equilibrium expectation value of the energy is obtained as a canonical average of eigenvalues of the Hamiltonian H of the Ising model 70.

[0143] Here, it is assumed that the target system is a two-qubit system. A coefficient of the Hamiltonian is set as follows. J = 0.96 h = 0.02

[0144] It is assumed that a truncation order of Chebyshev polynomial expansion is a third order. The Chebyshev polynomial expansion up to the third order for the Hamiltonian H of the transverse-field Ising model is represented by the following Expression (6). [Expression 6] e − βH ≅ J 0 iβ I + 2 ∑ n = 1 3 i n J n − iβ T n − H = J 0 iβ I − 2 iJ 1 − iβ H + 2 i 2 J 2 − iβ 2 H 2 − I − 2 i 3 J 3 − iβ 4 H 3 − 3 H

[0145] A first term, a second term, a third term, and a fourth term of a polynomial after the expansion of Expression (6) are a zeroth-order expression, a first-order expression, a second-order expression, and a third-order expression, respectively. Here, an expansion coefficient is represented by using a Bessel function of the first kind J n (x) (n is an order). Specifically, the expansion coefficient takes the following value. [Expression 7] 2 − i n J n − iβ = 2 − i n ∑ m = 0 ∞ − 1 m m ! ⋅ m + n ! − iβ 2 2 m + n = 2 − 1 n ∑ m = 0 ∞ 1 m ! ⋅ m + n ! β 2 2 m + n

[0146] "(-i) n< J n (-iβ)" indicated on a left-hand side of Expression (7) is referred to as a modified Bessel function of the first kind.

[0147] As an example of a method of extracting a set of two orders, a method of comprehensively selecting all combinations is conceivable. In a case where the truncation order is 3, there are the following 16 combinations of orders that may be extracted. (0, 0), (0, 1), (0, 2), (0, 3) (1, 0), (1, 1), (1, 2), (1, 3) (2, 0), (2, 1), (2, 2), (2, 3) (3, 0), (3, 1), (3, 2), (3, 3)

[0148] A numerical value in parentheses described above indicates an extracted order. In generation of a partial circuit corresponding to the set of orders, for example, a unitary gate corresponding to an order indicated on a left side in the parentheses is arranged first (the unitary gate 61 in FIG. 7), and a unitary gate corresponding to an order indicated on a right side in the parentheses is arranged second (the unitary gate 62 in FIG. 7).

[0149] Among the sets of orders that may be extracted, a set of (0, 0) corresponds to a case where no action is performed, and thus, it is unnecessary to generate a corresponding partial circuit. When the ideal quantum computer 200 in which errors are completely removed, for the respective sets in which order is reversed such as (m, n) and (n, m), partial circuits thereof are equivalent to each other. Therefore, when the errors may be completely removed, it is sufficient that only one set of (m, n) and (n, m) is extracted to generate a corresponding partial circuit. Also in the following example, it is assumed that only one set of (m, n) and (n, m) is extracted. As a result, there are the following nine sets of orders to be extracted. (0, 1), (0, 2), (0, 3) (1, 1), (1, 2), (1, 3) (2, 2), (2, 3) (3, 3)

[0150] Precision for convergence determination is set to "0.5". In other words, the classical computer 100 determines that convergence has occurred when a standard deviation of a statistical ensemble average of measured values of a physical quantity falls below "0.5". Finally, the classical computer 100 calculates linear combination using the expansion coefficient to calculate a finite temperature expectation value.

[0151] The calculation result of the thermal equilibrium expectation value of the energy under the conditions described above will be described with reference to FIGs. 11 and 12.

[0152] FIG. 11 is a diagram illustrating an example of a comparison result of calculation precision of the thermal equilibrium expectation value of the energy. A graph 80 illustrated in FIG. 11 indicates an error from an exact value of the calculation result of the thermal equilibrium expectation value of the energy corresponding to an inverse temperature. In the graph 80, a horizontal axis represents the inverse temperature, and a vertical axis represents the error from the exact value. A polygonal line 81 indicates the thermal equilibrium expectation value of the energy calculated by the proposed method of the present case. A polygonal line 82 indicates the thermal equilibrium expectation value of the energy calculated by a QMETTS algorithm. A polygonal line 83 indicates the thermal equilibrium expectation value of the energy calculated by uniformly sampling an input state to a partial circuit without using the present proposed method.

[0153] A canonical average indicating the exact value is a value obtained by substituting an energy eigenvalue obtained by exact diagonalization of a Hamiltonian into an expression of the canonical average after displaying the Hamiltonian as a matrix. In the present proposed method indicated by the polygonal line 81, substantially the same precision as that of the QMETTS algorithm indicated by the polygonal line 82 is obtained. Note that, in the present proposed method, the circuit depth is 1 / 3 as compared with that of the QMETTS algorithm, and the number of non-Clifford gates is minimized. Moreover, with the present proposed method, the calculation result with the precision higher by one digit or more than that in a case where the input state is uniformly sampled (polygonal line 83) may be obtained.

[0154] FIG. 12 is a diagram illustrating an example of a comparison result of calculation efficiency of the thermal equilibrium expectation value of the energy. A graph 90 illustrated in FIG. 12 indicates the calculation efficiency of the thermal equilibrium expectation value of the energy corresponding to the inverse temperature. In the graph 90, a horizontal axis represents the inverse temperature, and a vertical axis represents the number of samples of a quantum state (input state to a partial circuit) until the thermal equilibrium expectation value of the energy converges.

[0155] A polygonal line 91 indicates the total number of samples for each partial circuit when the thermal equilibrium expectation value of the energy is calculated by the proposed method of the present case. A polygonal line 92 indicates a maximum value of the number of samples for each partial circuit when the thermal equilibrium expectation value of the energy is calculated by the proposed method of the present case. A polygonal line 93 indicates the number of samples when the thermal equilibrium expectation value of the energy is calculated by the QMETTS algorithm. A polygonal line 94 indicates the number of samples when the thermal equilibrium expectation value of the energy is calculated by uniformly sampling the input state to the partial circuit without using the present proposed method.

[0156] The total number of samples for each partial circuit by the present proposed method (polygonal line 91) is nearly two digits smaller in the number of samples than that in a case where the input state for each partial circuit is uniformly sampled (polygonal line 94). Furthermore, in the total number of samples for each partial circuit by the present proposed method (polygonal line 91), an increase in the number of samples is suppressed to about one digit as compared with that of the QMETTS algorithm (polygonal line 93) using the first implementation method of the LCU (see FIG. 4) for implementation of the imaginary-time evolution.

[0157] Note that, in the examples illustrated in FIGs. 11 and 12, the ideal situation where the errors are completely removed is assumed. However, in a case where the removal of the errors is incomplete, both sets of (m, n) and (n, m) in which the extraction order is reversed may be extracted in the extraction of the set of orders, and partial circuits corresponding the respective sets may be generated. This further improves calculation precision.

[0158] As described above, according to the second embodiment, the thermal equilibrium expectation value at the finite temperature of the physical quantity may be efficiently calculated with high precision. Moreover, since the quantum circuit is calculated by being divided into the partial circuits, the implementation is possible even in the small-scale quantum computer 200. Moreover, by executing the plurality of partial circuits in parallel, calculation may be made efficient.

[0159] For example, in the calculation of the thermal equilibrium expectation value at the finite temperature of the energy in the transverse-field Ising model, it is possible to also suppress the increase in the number of samples until the expectation value converges while reducing the depth of the quantum circuit to half or less. Therefore, the implementation resources such as the circuit depth may be reduced as compared with the existing method without deteriorating efficiency. As such, in calculating the thermal equilibrium expectation value of the physical quantity at the finite temperature, the efficiency of using computer hardware such as memory and processors is improved. For example, the number of loop process executions from S104 to S111 required to converge the physical quantity may be reduced, resulting in lower memory consumption.[Other Embodiments]

[0160] In the second embodiment, the calculation example of the thermal equilibrium expectation value of the energy by the transverse-field Ising model has been described as an example. However, calculation of a thermal equilibrium expectation value at a finite temperature of another physical quantity may also be efficiently implemented.

Claims

1. A quantum calculation support program comprising instructions which, when executed by a computer coupled to a quantum computer, cause the computer to execute processing comprising: expanding an imaginary-time evolution expression into a plurality of expressions, the imaginary-time evolution expression being an expression for calculation of a thermal equilibrium expectation value at a finite temperature of a physical quantity of a system to be calculated, each of the plurality of expressions being an expression of a corresponding order among a plurality of orders; generating a plurality of sets of orders, each of which is obtained by extracting an order twice from the plurality of orders; generating, for each set of the generated sets, a quantum circuit that indicates a procedure of quantum calculation of a value of the physical quantity obtained by partial imaginary-time evolution using an expression of a first order included in the set and an expression of a second order included in the set, each of the first and second orders being any of the plurality of orders; causing the quantum computer to repeatedly execute, for each set of the generated sets, the quantum calculation using the quantum circuit generated for the set until a value of the physical quantity obtained from a result of the quantum calculation converges in a manner that an output state obtained by the quantum calculation according to the quantum circuit corresponding to the set is used as an input state in the subsequent quantum calculation; and calculating the thermal equilibrium expectation value at the finite temperature of the physical quantity based on a value of the physical quantity after convergence for each of the generated sets.

2. The quantum calculation support program according to claim 1, wherein, the repeatedly executing of the quantum calculation is performed in a manner that a projective measurement result in the computational basis of an output state obtained by the quantum calculation using an input state in Nth (N is a natural number) quantum calculation is set as an input state in (N + 1)th quantum calculation.

3. The quantum calculation support program according to claim 1, wherein, the generating of the quantum circuit includes generating the quantum circuit that has a Hermitian property under certain conditions on the ancilla states, the generated quantum circuit including a first unitary gate that indicates calculation of a unitary matrix that corresponds to the expression of the first order and a second unitary gate that indicates calculation of a unitary matrix that corresponds to the expression of the second order.

4. The quantum calculation support program according to claim 1, wherein, the generating of the plurality of sets of orders is performed such that each of the plurality of sets of orders is obtained by extracting an order twice from the plurality of orders in a manner that overlap is allowed.

5. A quantum calculation support method implemented by a computer coupled to a quantum computer, the method comprising: expanding an imaginary-time evolution expression into a plurality of expressions, the imaginary-time evolution expression being an expression for calculation of a thermal equilibrium expectation value at a finite temperature of a physical quantity of a system to be calculated, each of the plurality of expressions being an expression of a corresponding order among a plurality of orders; generating a plurality of sets of orders, each of which is obtained by extracting an order twice from the plurality of orders; generating, for each set of the generated sets, a quantum circuit that indicates a procedure of quantum calculation of a value of the physical quantity obtained by partial imaginary-time evolution using an expression of a first order included in the set and an expression of a second order included in the set, each of the first and second orders being any of the plurality of orders; causing the quantum computer to repeatedly execute, for each set of the generated sets, the quantum calculation using the quantum circuit generated for the set until a value of the physical quantity obtained from a result of the quantum calculation converges in a manner that an output state obtained by the quantum calculation according to the quantum circuit corresponding to the set is used as an input state in the subsequent quantum calculation; and calculating the thermal equilibrium expectation value at the finite temperature of the physical quantity based on a value of the physical quantity after convergence for each of the generated sets.

6. An information processing apparatus comprising a processing unit configured to be coupled to a quantum computer via a network and execute processing comprising: expanding an imaginary-time evolution expression into a plurality of expressions, the imaginary-time evolution expression being an expression for calculation of a thermal equilibrium expectation value at a finite temperature of a physical quantity of a system to be calculated, each of the plurality of expressions being an expression of a corresponding order among a plurality of orders; generating a plurality of sets of orders, each of which is obtained by extracting an order twice from the plurality of orders; generating, for each set of the generated sets, a quantum circuit that indicates a procedure of quantum calculation of a value of the physical quantity obtained by partial imaginary-time evolution using an expression of a first order included in the set and an expression of a second order included in the set, each of the first and second orders being any of the plurality of orders; causing the quantum computer to repeatedly execute, for each set of the generated sets, the quantum calculation using the quantum circuit generated for the set until a value of the physical quantity obtained from a result of the quantum calculation converges in a manner that an output state obtained by the quantum calculation according to the quantum circuit corresponding to the set is used as an input state in the subsequent quantum calculation; and calculating the thermal equilibrium expectation value at the finite temperature of the physical quantity based on a value of the physical quantity after convergence for each of the generated sets.