Observable measurement assistance program, observable measurement assistance method, and information processing device
The observable measurement support program improves the accuracy of quantum computer measurements by dividing observables into subsets for simultaneous measurement, enhancing the efficiency and accuracy of quantum algorithm solutions without increasing computational time.
Patent Information
- Application Number
- PCT/JP2023/014799
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-04-12
- Publication Date
- 2024-10-17
AI Technical Summary
Quantum computers face challenges in accurately measuring the expected values of observables, which affects the accuracy of solutions to problems, due to the destruction of superposition states during measurement and the need for repeated calculations to improve accuracy, leading to increased computational time.
An observable measurement support program that divides a set of observables into subsets, allowing for simultaneous measurement of expected values across multiple partitions, using quantum circuits to improve measurement accuracy without increasing the number of calculations by extracting additional observables from partitions that can be measured simultaneously.
This approach enhances the accuracy of expected values, leading to more accurate solutions to quantum algorithm problems by increasing the number of measurements for certain observables, thereby improving the overall computational efficiency.
Smart Images

Figure JP2023014799_17102024_PF_FP_ABST
Abstract
Description
Observable measurement support program, observable measurement support method, and information processing device
[0001] The present invention relates to an observable measurement support program, an observable measurement support method, and an information processing device.
[0002] Quantum computers use electronic information called qubits. Qubits can be in a superposition state of "0" and "1." Multiple qubits can also create a quantum entangled state. Quantum computers use these superposition and entangled states to simultaneously calculate all possibilities in parallel, allowing them to find solutions to complex problems in a short time.
[0003] There are problems that can be solved much faster using a quantum computer than a classical computer. The algorithms used to solve problems using a quantum computer are called quantum algorithms, and the algorithms used to solve problems using a classical computer are called classical algorithms. For example, classical algorithms require N N In contrast, quantum algorithms require calculations in steps (exponential time) of N 2 There are problems that can be solved in about steps (polynomial time) (N is a natural number indicating the size of the problem). Examples of problems that can be solved in a short time using a quantum computer include the Deutsch-Jozsa algorithm and Shor's algorithm.
[0004] In a quantum computer, the value that can be read from a qubit is the value in the z-axis direction on the Bloch sphere. Moreover, only "0" or "1" can be read from a qubit. For example, when the quantum state 1 / √2 (|0> + |1>) is measured, "0" and "1" appear with a 50% probability each. This is because the measurement destroys the superposition state of the qubit, turning it into a classical bit.
[0005] To fully understand the quantum state, it is necessary to read out not only the z-axis of the Bloch sphere but also the x- and y-axes. The x- or y-axis values can be measured by converting them to the z-axis before measurement and then reading out the value after the conversion. As mentioned above, measuring a quantum bit destroys the quantum bit's superposition state. Therefore, to fully understand the quantum state, quantum calculations must be repeatedly performed to measure the x-, y-, and z-axes.
[0006] The state of one or more qubits is represented using multiple observables. To fully know the state of n qubits, 4 n It is sufficient to measure the expectation value of one observable (n is a natural number). By calculating the expectation value for each observable, the state of the qubit can be completely known. When calculating the expectation value for each observable, basically, one quantum circuit is created for each observable. In quantum computers, in order to reduce statistical errors, 10 4 -10 5 Measurements are taken.
[0007] For multiple observables that satisfy certain conditions, it is possible to simultaneously measure the expected values. Simultaneous measurement of the expected values of multiple observables generates a set (partition) of simultaneously measurable observables. A partition is sometimes called a clique. In partitioning, each observable is included in one partition. Then, simultaneous measurement of the expected values is performed by a quantum computer for each set of observables included in the same partition.
[0008] As a technique for partitioning observables, for example, a partitioning method has been proposed that reduces the number of partitions that collect simultaneously measurable observables.
[0009] International Publication No. 2022 / 269712
[0010] In simultaneous measurement of observable expectation values, quantum computation and measurement are repeatedly performed using a quantum circuit corresponding to a set of observables. The expected value of each observable is then calculated based on the results of multiple measurements. The accuracy of the expected value of each observable improves the more measurements are performed. As the accuracy of the expected values of the observables improves, the accuracy of the solution to the problem being solved by the quantum algorithm also improves. However, increasing the number of calculations per quantum circuit increases the calculation time required to obtain a solution to the problem. Therefore, it is desirable to improve the accuracy of the expected values of the observables without increasing the number of calculations per quantum circuit.
[0011] In one aspect, the present invention aims to improve the accuracy of the expected values of observables.
[0012] One proposal provides an observable measurement support program that causes a computer to perform the following processes: the computer generates a plurality of partitions, each of which is a plurality of first subsets obtained by dividing a first set including a plurality of observables to be measured, and which satisfy the condition that the expected values of the observables included in each subset can be simultaneously measured; the computer extracts, from a second partition other than the first partition among the plurality of partitions, a second observable whose expected value can be simultaneously measured with each of the plurality of first observables included in the first partition; and the computer calculates the expected value of the extracted second observable based on a measurement result after quantum computing according to a first quantum circuit corresponding to the first partition and a measurement result after quantum computing according to a second quantum circuit corresponding to the second partition.
[0013] According to one aspect, the accuracy of the expected value of an observable can be improved. These and other objects, features, and advantages of the present invention will become apparent from the following description taken in conjunction with the accompanying drawings illustrating preferred embodiments of the present invention by way of example.
[0014] 1 is a diagram illustrating an example of an observable measurement support method according to a first embodiment; FIG. 2 is a diagram illustrating an example of a system configuration; FIG. 3 is a diagram illustrating an example of hardware of a classical computer; FIG. 4 is a diagram illustrating a method for simultaneously measuring observables; FIG. 5 is a diagram illustrating an example of determining an exchange relationship; FIG. 6 is a diagram illustrating a first example of simultaneous measurement of observables; FIG. 7 is a diagram illustrating a second example of simultaneous measurement of observables; FIG. 8 is a diagram illustrating an example of partitioning; FIG. 9 is a diagram illustrating an example of a group of simultaneously measured observables; FIG. 10 is a block diagram illustrating an example of functions of a classical computer; FIG. 11 is a diagram illustrating an example of processing performed by an exchange relationship determination unit; FIG. 12 is a diagram illustrating an example of partition generation processing; FIG. 13 is a diagram illustrating an example of iterative processing of partition generation; FIG. 14 is a diagram illustrating an example of extracting observables from outside a partition; FIG. 15 is a diagram illustrating an example of an extracted subset; FIG. 16 is a diagram illustrating a first example of expected value calculation of a group of simultaneously measured observables; FIG. 17 is a diagram illustrating a second example of expected value calculation of a group of simultaneously measured observables; FIG. 18 is a diagram illustrating an example of improving the accuracy of expected values by increasing the number of measurements; FIG. 1 is a diagram showing an example of an Ising model formula for generating mutually commutative subsets; FIG. 2 is a diagram showing an example of the number of observables in a simultaneous measurement observable group; FIG. 3 is a diagram showing an example of a graph representing the number of observables in a simultaneous measurement observable group; and FIG. 4 is a diagram showing a histogram of observables for each number of quantum circuits used in measurement. i b according to | i FIG. i 10 is a diagram showing an example of the relationship between the value of .gamma. and the number of quantum circuits used in the measurement.
[0015] The present embodiment will be described below with reference to the drawings. Note that each embodiment can be implemented by combining multiple embodiments within a consistent range. [First Embodiment] The first embodiment is an observable measurement support method that improves the accuracy of an expected value of an observable.
[0016] Fig. 1 is a diagram showing an example of an observable measurement support method according to a first embodiment. Fig. 1 shows an information processing device 10 for realizing the observable measurement support method. The information processing device 10 can implement the observable measurement support method by, for example, executing an observable measurement support program.
[0017] 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.
[0018] The storage unit 11 stores an observable group 1 including a plurality of observables used in calculating a solution to a problem to be solved. A set of observables included in the observable group 1 is referred to as a first set. A plurality of observables in the observable group 1 are measured when calculating a solution to a problem to be solved. In the example of FIG. 1, the first set contains 14 observables {O1, ..., O 14} is included.
[0019] The processing unit 12 calculates the expected values of the observables in the observable group 1. For example, the processing unit 12 generates a plurality of partitions, which are a plurality of first subsets obtained by dividing a first set including a plurality of observables to be measured, and which satisfy the condition that the expected values of the observables included in each subset can be simultaneously measured. In the example of FIG. 1 , a first partition 2 and a second partition 3 are generated. The first partition 2 includes four observables {O5, ..., O8}. The second partition 3 includes ten observables {O1, ..., O4, O9, ..., O 14} is included.
[0020] The processing unit 12 extracts second observables, the expected values of which can be measured simultaneously with each of the plurality of first observables included in the first partition 2, from a second partition 3 other than the first partition 2. In the example of FIG. 1, six observables {O, ..., O 14} is extracted as the second observable. The set of extracted second observables is called second set 6.
[0021] The processing unit 12 acquires a measurement result after the quantum computation according to the first quantum circuit 4 corresponding to the first partition 2 and a measurement result after the quantum computation according to the second quantum circuit 5 corresponding to the second partition 3. For example, the processing unit 12 instructs a quantum computer or a quantum simulator to perform quantum computation using the first quantum circuit 4 and the second quantum circuit 5. In accordance with the instruction, the quantum computer or quantum simulator performs quantum computation according to the first quantum circuit 4 and the second quantum circuit 5 and measures the state of the quantum bit, and transmits the measurement result to the processing unit 12.
[0022] The processing unit 12 calculates the expected values of all observables in the observable group 1 based on the measurement results of the first quantum circuit 4 and the second quantum circuit 5. For example, the processing unit 12 calculates the expected values of the observables {O, ..., O} included in the first partition 2 based on the measurement results of the first quantum circuit 4. Furthermore, the processing unit 12 calculates the expected values of the observables {O, ..., O} included in the second partition 3 that have not been extracted as second observables based on the measurement results of the second quantum circuit 5. Furthermore, the processing unit 12 calculates the expected values of the observables {O, ..., O} extracted as second observables based on the measurement results of the second quantum circuit 5. 14}, the expected value is calculated based on both the measurement results of the first quantum circuit 4 and the measurement results of the second quantum circuit 5.
[0023] In this way, the expected value of each observable in the observable set 1 is obtained. Note that measurements using each quantum circuit are performed multiple times. Here, the number of measurements by the first quantum circuit 4 is a (a is a natural number), and the number of measurements by the second quantum circuit 5 is b (b is a natural number). In this case, for the four observables {O1, ..., O4}, the expected value is calculated from the results of b measurements. For the other four observables {O5, ..., O8}, the expected value is calculated from the results of a measurements. The remaining six observables {O9, ..., O14}, the expected value is calculated from the results of a+b measurements.
[0024] In this way, the expected value for the second observable is calculated based on more measurement results than for the others. The more measurements are used to calculate the expected value, the more accurate the expected value becomes. Therefore, the expected value for the second observable can be obtained with higher accuracy than for the others.
[0025] Improving the accuracy of the expected values of the observables used to calculate the solution to the problem being solved will improve the accuracy of the solution, and as a result, quantum algorithms can produce highly accurate computational results.
[0026] In addition, in order to simultaneously measure the expected value of the second observable and the expected value of the observable in the first partition 2, it is necessary that the second observables can be simultaneously measured with each other. In the example of Figure 1, the second observables are extracted from a common partition. All observables included in one partition can be simultaneously measured, and multiple second observables extracted from the same partition can also be simultaneously measured. Therefore, in the example of Figure 1, all second observables extracted from the second partition 3 can be simultaneously measured with the observables in the first partition 2.
[0027] On the other hand, when there are three or more partitions, there are multiple second partitions 3 other than the first partition 2. In this case, second observables whose expected values can be measured simultaneously with each of the first observables in the first partition 2 may be extracted from different partitions. In this case, the processing unit 12 performs the following process.
[0028] For example, when multiple second observables are extracted, the processing unit 12 generates a second subset from the second set 6 containing the extracted second observables, which satisfies the condition that the expected values of the included second observables can be measured simultaneously. Then, in the process of calculating the expected values of the extracted second observables, the processing unit 12 calculates the expected values of the second observables included in the second subset. This makes it possible to appropriately select second observables that can be measured simultaneously with the first observable in the first partition 2, even when second observables are extracted from each of multiple partitions.
[0029] When generating a second subset that allows simultaneous measurement of expected values from a second set that includes all extracted second observables, it is desirable that the second subset include as many second observables as possible. However, if the number of extracted second observables is large, the computational load for maximizing the second subset increases. In this case, the processing unit 12 can generate the second subset using, for example, a combinatorial optimization method using an Ising model.
[0030] For example, the processing unit 12 generates an Ising model formula. The Ising model formula includes a variable indicating whether each second observable is included in the second subset. The Ising model formula has a value that increases when a pair of second observables that cannot be measured simultaneously is included in the second subset, and a value that decreases as the number of second observables included in the second subset increases. The processing unit 12 then generates the second subset based on the values of the variables obtained by searching for the ground state using the Ising model formula. The search for the ground state using the Ising model formula can be performed quickly by using, for example, an Ising machine. As a result, the second subset can be generated in a short time.
[0031] When generating the second subset using the Ising model equation, the processing unit 12 can also adjust the likelihood of each extracted second observable being included in the second subset using a coefficient equivalent to a weight. For example, the processing unit 12 generates an Ising model equation that includes a first coefficient, which has a value corresponding to the second observable and is multiplied by a variable of the corresponding second observable, in a term whose value decreases as the number of second observables included in the second subset increases. In this way, by adjusting the value of the first coefficient corresponding to the second observable, it is possible to make it easier for some second observables to be included in the second subset, for example.
[0032] The processing unit 12 may also increase the likelihood that a second observable that has a large impact on the accuracy of the solution to the problem to be solved will be included in the second subset, thereby improving the accuracy of the expected value of the second observable. For example, a formula for calculating a solution to a problem to be solved based on the expected values of multiple observables may be expressed as a linear combination of the expected values of each of the multiple observables. In this case, the formula for calculating the solution includes a second coefficient value by which the expected value of each of the second observables is multiplied. The processing unit 12 determines the value of the first coefficient by which the variable of the second observable is multiplied based on the value of the second coefficient.
[0033] For example, the processing unit 12 determines a value of the first coefficient to be multiplied by the variable of the second observable to be larger as the absolute value of the second coefficient to be multiplied by the expected value of each second observable becomes larger. In this way, the processing unit 12 makes it more likely that a second observable that has a greater impact on the accuracy of the solution to the problem will be included in the second subset, thereby improving the accuracy of the expected value of that second observable.
[0034] Second Embodiment Next, a second embodiment will be described. The second embodiment is a computer system that efficiently measures the complete state of a quantum bit.
[0035] FIG. 2 is a diagram showing an example of a system configuration. A classical computer 100 is connected to an Ising machine 200 and a gate-type quantum computer 300. The classical computer 100 is, for example, a von Neumann computer. The Ising machine 200 is a non-von Neumann computer for calculating the ground state of the Ising model. The Ising machine 200 may be either one that uses a superconducting quantum circuit or one that reproduces quantum phenomena using a semiconductor circuit. The gate-type quantum computer 300 is a non-von Neumann computer that can solve general-purpose problems by operating quantum gates.
[0036] The classical computer 100 controls the Ising machine 200 and the gate-type quantum computer 300 to perform quantum computation. In this case, the classical computer 100 classifies multiple observables of the problem to be computed into one of multiple partitions. The process of classifying into partitions is called partitioning. For example, the classical computer 100 generates an Ising model for generating partitions from information on a set of simultaneously measurable observables, and causes the Ising machine 200 to compute the ground state of the Ising model.
[0037] The classical computer 100 then controls the gate-type quantum computer 300 to simultaneously measure the expected values of two or more observables included in the same partition. At this time, when measuring the expected values of observables in a certain partition, the classical computer 100 also simultaneously measures observables in other partitions that can be simultaneously measured with those observables. This makes it possible to increase the number of measurements of the expected values of observables.
[0038] FIG. 3 is a diagram illustrating an example of classical computer hardware. The classical computer 100 is entirely controlled by a processor 101. A memory 102 and multiple peripheral devices are connected to the processor 101 via a bus 100a. The processor 101 may be a multiprocessor. The processor 101 is, for example, a CPU (Central Processing Unit), an MPU (Micro Processing Unit), or a DSP (Digital Signal Processor). At least some of the functions realized by the processor 101 executing a program may be realized by an electronic circuit such as an ASIC (Application Specific Integrated Circuit) or a PLD (Programmable Logic Device).
[0039] The memory 102 is used as the main storage device of the classical computer 100. The memory 102 temporarily stores at least a portion of the OS (Operating System) program and application programs to be executed by the processor 101. The memory 102 also stores various data used in processing by the processor 101. As the memory 102, for example, a volatile semiconductor storage device such as a RAM (Random Access Memory) is used.
[0040] The peripheral devices connected to the bus 100a include a storage device 103, a GPU (Graphics Processing Unit) 104, an input interface 105, an optical drive device 106, a device connection interface 107, a network interface 108, and communication interfaces 109a and 109b.
[0041] 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 for a computer. The storage device 103 stores an OS program, application programs, and various data. Note that the storage device 103 may be, for example, a hard disk drive (HDD) or a solid state drive (SSD).
[0042] The GPU 104 is an arithmetic unit that performs image processing and is also called a graphics controller. A monitor 21 is connected to the GPU 104. The GPU 104 displays images on the screen of the monitor 21 in accordance with commands from the processor 101. The monitor 21 may be a display device using organic electroluminescence (EL) or a liquid crystal display device.
[0043] The input interface 105 is connected to a keyboard 22 and a mouse 23. The input interface 105 transmits signals sent from the keyboard 22 and the mouse 23 to the processor 101. The mouse 23 is an example of a pointing device, and other pointing devices can also be used. Examples of other pointing devices include a touch panel, a tablet, a touch pad, and a trackball.
[0044] The optical drive device 106 uses a laser beam or the like to read data recorded on an optical disc 24 or write data to the optical disc 24. The optical disc 24 is a portable recording medium on which data is recorded so that it can be read by reflected light. Examples of the optical disc 24 include a DVD (Digital Versatile Disc), a DVD-RAM, a CD-ROM (Compact Disc Read Only Memory), and a CD-R (Recordable) / RW (Rewritable).
[0045] The device connection interface 107 is a communication interface for connecting peripheral devices to the classical computer 100. For example, a memory device 25 or a memory reader / writer 26 can be connected to the device connection interface 107. The memory device 25 is a recording medium equipped with a function for communicating with the device connection interface 107. The memory reader / writer 26 is a device for writing data to a memory card 27 or reading data from the memory card 27. The memory card 27 is a card-type recording medium.
[0046] The network interface 108 is connected to the network 20. The network interface 108 is connected via the network 20 to other computers (including terminals) not shown.
[0047] The communication interface 109a is connected to the Ising machine 200. The communication interface 109a communicates with the Ising machine 200. For example, the communication interface 109a transmits an instruction to search for the ground state of the Ising model to the Ising machine 200. The communication interface 109a also acquires the search result from the Ising machine 200.
[0048] The communication interface 109b is connected to the gate-type quantum computer 300. The communication interface 109b communicates with the gate-type quantum computer 300. For example, the communication interface 109b instructs the gate-type quantum computer 300 to measure the expected value of an observable. The communication interface 109b also acquires the measurement result of the expected value from the gate-type quantum computer 300.
[0049] The classical computer 100 can realize the processing functions of the second embodiment with the hardware described above. Note that the information processing device 10 shown in the first embodiment can also be realized with hardware similar to that of the classical computer 100 shown in FIG.
[0050] The classical computer 100 realizes the processing functions of the second embodiment by executing a program recorded on, for example, a computer-readable recording medium. The program describing the processing to be executed by the classical computer 100 can be recorded on various recording media. For example, the program to be executed by the classical computer 100 can be stored in the storage device 103. The processor 101 loads at least a portion of the program in the storage device 103 into the memory 102 and executes the program. The program to be executed by the classical computer 100 can also be recorded on a portable recording medium such as the optical disk 24, the memory device 25, or the memory card 27. The program stored on the portable recording medium becomes executable after being installed on the storage device 103, for example, under the control of the processor 101. The processor 101 can also read and execute the program directly from the portable recording medium.
[0051] Next, we will explain in detail how to measure observables simultaneously. Taking into account the superposition and entanglement of quantum bits, as well as probabilistic mixing, the quantum state can be expressed using the density operator ρ. ρ is 2 n ×2 n (n is the number of quantum bits). The density operator ρ can be expressed using multiple observables (64 in the case of three quantum bits). Each observable becomes a linearly independent basis that constitutes ρ, which indicates the quantum state. In other words, ρ in the case of three quantum bits is expressed by the following formula: ρ = λ0I0I1I2 + λ1X0I1I2 + λ2Y0I1I2 + λ3Z0I1I2 + λ4I0X1I2 + λ5X0X1I2 + ... + λ 62 y0Z1Z2+λ 63 Z0Z1Z2 λ0,...,λ 63 are real coefficients. The subscripts X, Y, and Z are Pauli operators, and the 2x2 Pauli matrix (σ x , σ y , σ z) The subscript number is the number of the quantum bit to be measured. The subscript I is the identity operator, which is a 2x2 unit matrix. The identity operator is also a type of Pauli operator.
[0052] Observables are represented by an array of Pauli operators. This array of Pauli operators is called a Pauli string. A Pauli string represents the tensor product of the Pauli operators represented by the Pauli string. If the expectation value of the kth (natural number) term of an observable is λ, then k For example, the expected value of X0X1I2 is λ5.
[0053] Since λ0 is always 1, there is no need to measure the expectation value. As a result, as mentioned above, the number of observables that need to be measured to completely know the state of n qubits is 4 n For example, when n = 1, the state of the quantum bit can be completely known by measuring three observables: {X, Y, Z}. When n = 2, the number of observables for measuring the expectation value is 15: {I0X1, I0Y1, I0Z1, X0I1, X0X1, X0Y1, X0Z1, Y0I1, Y0X1, Y0Y1, Y0Z1, ...}.
[0054] When measuring the expectation values of a large number of observables, it may be possible to measure multiple observables simultaneously by operating a gate before the measurement. Figure 4 is a diagram explaining a method for simultaneously measuring observables. In the example of Figure 4, it is assumed that a three-qubit quantum state |ψ> is to be obtained. It is assumed that three observables "I0Y1X2, Z0Z1Z2, X0I1X2" of the quantum circuit 30 corresponding to the problem to be solved are to be measured. The horizontal lines of the quantum circuit 30 correspond to the quantum bits.
[0055] When individual measurements are performed, quantum circuits 31 to 33 corresponding to each of the three observables are generated. The rectangular symbols shown on the horizontal lines of quantum circuits 31 to 33 are quantum gates that act on each quantum bit. The "S" rectangle indicates an S gate. The "X" rectangle indicates an X gate. The "H" rectangle indicates an H gate (Hadamard gate). The state of each quantum bit is measured at the position where the measurement symbol for that quantum bit is shown.
[0056] For example, in quantum circuit 31, to calculate the expected value of the observable "I0Y1X2", three quantum bits are used to measure the expected values of "I0", "Y1", and "X2". "I0", which corresponds to the 0th quantum bit, is the identity operator, and there is no need to measure the expected value. For the first quantum bit, an S gate, an H gate, and an X gate are operated. This allows the expected value of Y1 to be measured from the first quantum bit. For the second quantum bit, an H gate is operated. This allows the expected value of X2 to be measured from the second quantum bit. Based on the results of these measurements, the expected value of the observable "I0Y1X2" can be obtained.
[0057] In the quantum circuit 32, to calculate the expected value of the observable "X0I1X2", three quantum bits are used to measure the expected values of "X0", "I1", and "X2". "I1", which corresponds to the first quantum bit, is the identity operator and does not require measurement. An H gate operation is performed on the 0th quantum bit. This allows the expected value of X0 to be measured from the 0th quantum bit. An H gate operation is performed on the second quantum bit. This allows the expected value of X2 to be measured from the second quantum bit. Based on these measurement results, the expected value of the observable "X0I1X2" can be obtained.
[0058] In quantum circuit 33, to calculate the expected value of the observable "Z0Z1Z2", three quantum bits are used to measure the expected values of "Z0", "Z1", and "Z2". In quantum circuit 33, no operation is performed by a quantum gate on the output side of the original quantum circuit 30, and the expected values of "Z0", "Z1", and "Z2" can be measured by measuring each of the 0th to 2nd quantum bits. Based on these measurement results, the expected value of the observable "Z0Z1Z2" can be obtained.
[0059] The quantum circuits 31 to 33 obtain the expected value of one observable based on the measurement results of the three quantum bits. Therefore, to obtain the expected values of the three observables, the states of the quantum bits are measured by the three quantum circuits 31 to 33.
[0060] In the simultaneous measurement quantum circuit 34, on the output side of the quantum circuit 30, first an H gate is provided for the 0th quantum bit, and a CNOT gate is provided with the 1st quantum bit as the control bit and the 2nd quantum bit as the target bit. Next, a SWAP gate is provided between the 0th quantum bit and the 1st quantum bit. Next, an S gate and a CZ gate with the 1st quantum bit as the control bit and the 2nd quantum bit as the target bit are provided for the 0th quantum bit. Finally, an H gate is provided for each quantum bit.
[0061] Measuring the 0th quantum bit of quantum circuit 34 yields the expected value of the observable "I Y X." Measuring the 1st quantum bit of quantum circuit 34 yields the expected value of the observable "Z Z Z." Measuring the 2nd quantum bit of quantum circuit 34 yields the expected value of the observable "X I X."
[0062] In quantum circuit 34, the expected value of one observable can be measured from one quantum bit, and the expected values of three observables can be measured simultaneously. In this way, the three observables that are individually measured using quantum circuits 31 to 33 can be measured simultaneously using one quantum circuit 34.
[0063] There are conditions for observables to be simultaneously measurable. That is, if "AB = BA" (commutative) for observables A and B, then the two observables A and B can be simultaneously measured. For example, when determining whether two observables commute, a determination is made as to whether the operators corresponding to the same quantum bit commute or anticommutate (commutation relationship).
[0064] 5 is a diagram showing an example of determining a commutative relationship. The commutative / anti-commutative correspondence table 35 indicates whether each combination of operators is commutative or anti-commutative. At the intersection of a row and a column, a symbol is shown indicating whether the operator shown in the row and the operator shown in the column are commutative or anti-commutative. A "+" symbol indicates commutative, and a "-" symbol indicates anti-commutative. In the case of commutative, the value does not change even if the order of the product is changed, but in the case of anti-commutative, the sign is reversed when the order of the product is changed.
[0065] For example, in the case of I0Y1X2 and Z0Z1Z2, it is determined whether each pair of I0 and Z0, Y1 and Z1, and X2 and Z2 is commutative or anti-commutative. In this case, "I0 = Z0" (commutative), "Y1 = -Z1" (anti-commutative), and "X2 = -Z2" (anti-commutative). If the number of anti-commutative pairs is even (including 0), then the whole is commutative, "(I0Y1X2) = (Z0Z1Z2)."
[0066] The expected value of each observable included in a set of mutually commuting observables can be calculated from the measurement results of the same quantum circuit. Figure 6 shows a first example of simultaneous measurement of observables. For example, quantum circuit 71 includes partial quantum circuit 72 for generating the quantum state to be measured for three quantum bits q, q, and q, and partial quantum circuit 73 for converting the axis value to be measured so that it becomes the Z-axis value. In quantum circuit 71, the Z-axis values Z, Z, and Z of each quantum bit after gate operation by partial quantum circuit 72 are the measurement targets. Therefore, partial quantum circuit 73 includes only the measurement operation.
[0067] In this quantum circuit 71, seven (2 3 It is possible to simultaneously measure 100 observables (Z0I1I2, I0Z1I2, I0I1Z2, Z0Z1I2, Z0I1Z2, I0Z1Z2, Z0Z1Z2). The observables that can be simultaneously measured are "Z0I1I2, I0Z1I2, I0I1Z2, Z0Z1I2, Z0I1Z2, I0Z1Z2, Z0Z1Z2". Here, for each observable, the number of qubits used to measure the expected value of that observable is represented by a label. The number of times (count number) that the combination of values of each qubit obtained by measurement has occurred is called c m m is a triplet of values that indicates the combination of values of each quantum bit, where the first value is the measurement result of quantum bit q, the second value is the measurement result of quantum bit q, and the third value is the measurement result of quantum bit q. For example, C 000 indicates the number of counts in which "0, 0, 0" is measured for each of the three quantum bits q, q, and q. 001 indicates the number of counts in which “0, 0, 1” was measured for each of the three quantum bits q 0 , q 1 , and q 2 .
[0068] In this case, the expected value is calculated by subtracting the number of counts for which the number of labels with a measurement result of 1 is odd from the number of counts for which the number of labels with a measurement result of 1 is even, and then dividing this by the total number of measurements.
[0069] For example, for an observable with label 0, the sign of the count is determined according to the measurement result of quantum bit q. When the measurement result of quantum bit q is 0, the number of labels with a measurement result of 1 is 0 (even number). When the measurement result of quantum bit q is 1, the number of labels with a measurement result of 1 is 1 (odd number).
[0070] Furthermore, for observables with labels 0 and 1, the sign of the count is determined according to the measurement results of the quantum bits q0 and q1. When the measurement results of the quantum bits q0 and q1 are "0, 0", the number of labels with a measurement result of 1 is 0 (even number). When the measurement results of the quantum bits q0 and q1 are "0, 1", the number of labels with a measurement result of 1 is 1 (odd number). When the measurement results of the quantum bits q0 and q1 are "1, 0", the number of labels with a measurement result of 1 is 1 (odd number). When the measurement results of the quantum bits q0 and q1 are "1, 1", the number of labels with a measurement result of 1 is 2 (even number).
[0071] Similarly, for the count for each combination of measurement results of each quantum bit, it is determined whether the number of quantum bits specified by the label whose measurement result is 1 is even or odd. If it is even, the count is given a positive sign, and if it is odd, the count is given a negative sign. If the number of measurements using quantum circuit 71 is M (M is a natural number), the expected values of each observable that can be measured simultaneously are as follows:
[0072] The expected value <Z0> of the label 0 observable "Z0I1I2" is "(c 000 +c 001 +c 010 +c 011 -c 100 -c 101 -c110 -c 111 ) / M". The expected value <Z1> of the label 1 observable "I0Z1I2" is "(c 000 +c 001 -c 010 -c 011 +c 100 +c 101 -c 110 -c 111 ) / M". The expected value <Z2> of the label 2 observable "I0I1Z2" is "(c 000 -c 001 +c 010 -c 011 +c 100 -c 101 +c 110 -c 111 ) / M".
[0073] The expected value <Z0Z1> of the observable "Z0Z1I2" with labels 0 and 1 is "(c 000 +c 001 -c 010 -c 011 -c 100 -c 101 +c 110 +c 111 ) / M". The expected value <Z0Z2> of the observable "Z0I1Z2" with labels 0 and 2 is "(c 000 -c 001 +c 010 -c 011 -c 100 +c 101 -c 110 +c 111 ) / M". The expected value <Z1Z2> of the observable "I0Z1Z2" with labels 1 and 2 is "(c 000 -c 001 -c 010 +c 011 +c 100 -c 101 -c 110 +c 111 ) / M".
[0074] The expected value <Z0Z1Z2> of the observable "Z0Z1Z2" with labels 1, 2, and 3 is "(c 000 -c 001 -c 010 +c 011 -c100 +c 101 +c 110 -c 111 ) / M". FIG. 7 is a diagram showing a second example of simultaneous measurement of observables. For example, quantum circuit 74 includes partial quantum circuit 72 that is the same as quantum circuit 71 (see FIG. 6), and partial quantum circuit 75 that converts the value of a predetermined observable so that it becomes a value on the Z-axis. In partial quantum circuit 75, the observables "I Y X, Z Z Z, X I X" after gate operation by partial quantum circuit 72 are the measurement targets. After gate operation by partial quantum circuit 75, the state of quantum bit q indicates the observable "I Y X", the state of quantum bit q indicates the observable "Z Z Z", and the state of quantum bit q indicates the observable "X I X".
[0075] In this case, the expected value <Y1X2> of the observable "I0Y1X2" with label 0 is "-(c 000 +c 001 +c 010 +c 011 -c 100 -c 101 -c 110 -c 111 ) / M". As in this example, the expected value may have a negative sign. The expected value <Z0Z1Z2> of the observable "Z0Z1Z2" with label 1 is "(c 000 +c 001 -c 010 -c 011 +c 100 +c 101 -c 110 -c 111 ) / M". The expected value <X0X2> of the label 2 observable "X0I1X2" is "(c 000 -c 001 +c 010 -c 011 +c 100 -c 101 +c 110 -c 111 ) / M".
[0076] The tensor product of the observable "I0Y1X2" represented by the quantum bit q0 and the observable "Z0Z1Z2" represented by the quantum bit q1 is "(Y1X2)(Z0Z1Z2) = Z0X1Y2". Therefore, the observable with labels 0 and 1 is "Z0X1Y2". The expected value <Z0X1Y2> of this observable "Z0X1Y2" is "-(c 000 +c 001 -c 010 -c 011 -c 100 -c 101 +c 110 +c 111 ) / M".
[0077] The tensor product of the observable "I0Y1X2" represented by the quantum bit q0 and the observable "X0I1X2" represented by the quantum bit q2 is "(Y1X2)(X0X2) = X0Y1". Therefore, the observable with labels 0 and 2 is "X0Y1I2". The expected value <X0Y1> of this observable "X0Y1I2" is "-(c 000 -c 001 +c 010 -c 011 -c 100 +c 101 -c 110 +c 111 ) / M".
[0078] The tensor product of the observable "Z0Z1Z2" represented by the quantum bit q1 and the observable "X0I1X2" represented by the quantum bit q2 is "(Z0Z1Z2)(X0X2)=-Y0Z1Y2". Therefore, the observable of labels 1 and 2 is "Y0Z1Y2". The expected value "<Y0Z1Y2>" of this observable "Y0Z1Y2" is "-(c 000 -c 001 -c 010 +c 011 +c 100 -c 101 -c 110 +c 111 ) / M".
[0079] The tensor product of the observables "I0Y1X2", "Z0Z1Z2", and "X0I1X2" represented by the quantum bits q0, q1, and q2, respectively, is "(Y1X2) (Z0Z1Z2) (X0X2) = Y0X1Z2". Therefore, the observable with labels 0, 1, and 2 is "Y0X1Z2". The expected value "<Y0X1Z2>" of this observable "Y0X1Z2" is "-(c 000 -c 001 -c 010 +c 011 -c 100 +c 101 +c 110 -c 111 ) / M".
[0080] As shown in Figures 6 and 7, multiple observables can be measured simultaneously using a single quantum circuit. In observable partitioning, partitions are generated so that all combinations of observables belonging to the same partition are commutative. This makes it possible to simultaneously measure the expected values of multiple observables belonging to the same partition using a single quantum circuit.
[0081] FIG. 8 is a diagram showing an example of partitioning. For example, the exchange relationships between 14 observables 41 to 54 and other observables are determined. In the example of FIG. 8, pairs of observables that have a commutative exchange relationship are connected by lines. Partitions 61 and 62 are then generated based on the exchange relationship between the observables. The exchange relationship is commutative for all combinations of observables that belong to partition 61. Similarly, the exchange relationship is commutative for all combinations of observables that belong to partition 62.
[0082] Here, we consider measures to improve the accuracy of the expected value for each observable when partitioning is performed. The accuracy of the expected value for each observable can be improved by increasing the number of measurements. Furthermore, when calculating the expected value of each observable, there is no problem even if the number of measurements for each observable is different. Therefore, the classical computer 100 utilizes the generated partitions 61 and 62 to enable one observable to be measured by two or more quantum circuits.
[0083] For example, if one quantum circuit contains n quantum bits, then 2 n -1 observable information can be obtained, while the number of observables contained in each partition is 2 n It is often less than -1. When measuring the expected value of an observable included in each partition, if an observable not included in the partition can also be measured simultaneously, the number of measurements for that observable can be increased. In other words, the classical computer 100 increases the number of measurements by measuring one observable with two or more quantum circuits, thereby obtaining a more accurate expected value. Therefore, the classical computer 100 generates a union of the observable included in the partition and other observables that can be measured simultaneously with that observable, resulting in a group of simultaneously measured observables. The classical computer 100 then generates a quantum circuit for each group of simultaneously measured observables and performs quantum computation and measurement.
[0084] 9 is a diagram showing an example of a simultaneously measured observable group. In the example of FIG. 9, a simultaneously measured observable group 63 is generated based on a partition 61. A simultaneously measured observable group 64 is generated based on a partition 62. The multiple observables included in the simultaneously measured observable group 63 are mutually interchangeable. Similarly, the multiple observables included in the simultaneously measured observable group 64 are mutually interchangeable.
[0085] Of all observables 41 to 54 to be measured, observables 41 to 44 belong only to simultaneous measurement observable group 63. Observables 45 to 48 belong only to simultaneous measurement observable group 64. On the other hand, observables 49 to 54 belong to both simultaneous measurement observable groups 63 and 64.
[0086] The classical computer 100 generates a quantum circuit for each of the simultaneous measurement observable groups 63 and 64, and causes the gate-type quantum computer 300 to execute quantum computation for each quantum circuit. The classical computer 100 then calculates the expected values of the observables belonging to each of the simultaneous measurement observable groups 63 and 64 from the values measured by the quantum computation corresponding to the quantum circuit. As a result, the expected values for observables 49 to 54 are measured using multiple quantum circuits, and the number of measurements of the expected values increases. The increase in the number of measurements improves the measurement accuracy of the expected values of observables 49 to 54, and also improves the accuracy of the solution calculated based on the expected values of all observables 41 to 54.
[0087] Below, a method for generating simultaneously measured observable groups 63 and 64, simultaneously calculating the expected values of the observables for each simultaneously measured observable group 63 and 64, and calculating with high accuracy a solution to the problem to be solved will be described in detail.
[0088] 10 is a block diagram showing an example of the functions of a classical computer. The classical computer 100 includes an exchange relation determination unit 110, a partitioning unit 120, a simultaneous measurement observable group generation unit 130, a quantum circuit generation unit 140, and a quantum algorithm calculation unit 150.
[0089] The exchange relationship determination unit 110 determines the exchange relationships for all combinations of observables to be measured. The partitioning unit 120 partitions the observable group based on the exchange relationships between the observables. The partitioning unit 120 performs partitioning using, for example, an Ising machine 200. When using the Ising machine 200, the partitioning unit 120 creates an Ising model in which the energy decreases as the number of observables included in a partition increases. The partitioning unit 120 then instructs the Ising machine 200 to search for the ground state of the created Ising model. The Ising machine 200 then responds with information about the observables belonging to the partition.
[0090] The simultaneous measurement observable group generation unit 130 searches for other observables that can be measured simultaneously with the observables in each partition based on the exchange relationships between the observables, and generates a simultaneous measurement observable group. The simultaneous measurement observable group generation unit 130 generates a simultaneous measurement observable group using, for example, an Ising machine 200. When using the Ising machine 200, the simultaneous measurement observable group generation unit 130 creates an Ising model in which the energy decreases as the number of observables that are measured simultaneously with the observables in the partition increases. The simultaneous measurement observable group generation unit 130 then instructs the Ising machine 200 to search for the ground state of the created Ising model. The Ising machine 200 then responds with information about the observables that are measured simultaneously with the observables in the partition.
[0091] The quantum circuit generation unit 140 generates a quantum circuit for measuring observables. For example, for each simultaneously measured observable group, the quantum circuit generation unit 140 generates a quantum circuit corresponding to the observables included in the simultaneously measured observable group.
[0092] The quantum algorithm calculation unit 150 controls the gate-type quantum computer 300 to execute quantum calculations according to the generated quantum circuit and obtains measurement results. The quantum algorithm calculation unit 150 calculates the expected values of the observables based on the measurement results of the quantum circuit. The quantum algorithm calculation unit 150 then calculates a solution to the problem to be solved based on the expected values of the observables.
[0093] The functions of each element in the classical computer 100 shown in FIG. 10 can be realized, for example, by having the processor 101 execute a program module corresponding to that element.
[0094] FIG. 11 is a diagram illustrating an example of processing performed by the exchange relationship determination unit. The exchange relationship determination unit 110 lists observables that are elements of the observable group 40 to be measured. Observables are represented by Pauli strings (tensor products of Pauli operators). The exchange relationship determination unit 110 determines the exchange relationship for all pairs of two observables selected from the observable group 40. The exchange relationship determination unit 110 stores information associating pairs of observables determined to commute. In the example of FIG. 11 , pairs of observables determined to commute are connected by a line. The exchange relationship between observables that are not connected by a line is anti-commutative.
[0095] When the exchange relationship determination unit 110 has finished determining the exchange relationships, partitioning is performed by the partitioning unit 120. The partitioning unit 120, for example, repeats the process of generating partitions that include as many observables as possible.
[0096] 12 is a diagram illustrating an example of partition generation processing. The partitioning unit 120 assigns a variable {χ i} = {χ1, ..., χ 14}. i} is a binary variable. i "χ = 1" indicates that it is a partition element. i "=0" indicates that it is not an element of the partition.
[0097] The partitioning unit 120 calculates the i} to generate an Ising model equation 76. The Ising model equation 76 is as follows:
[0098]
[0099] f({χ i}) corresponds to the Hamiltonian. The first term on the right side is χ i The larger the number of i for which = 1, the smaller the value. ij} is a non-negative constant that represents the commutation relationship. If the i-th observable and the j-th observable are in a commutation relationship, then c ij = 0. If the i-th observable and the j-th observable are in an anti-commuting relationship, then c ij = m (m is a positive real number).
[0100] If the value of m is too small, the partition is more likely to contain pairs of observables in an anti-commuting relationship. The lower limit of m varies depending on the number of observables in question. For example, if the number of observables is around 10, the lower limit of m is around 0.25. If the number of observables is around 5000, m can be lowered to around 0.05. Increasing the value of m speeds up the convergence of the solution search, but if m is too large, there is a risk that the solution search for Ising model equation 76 will not be able to escape from a local solution. Therefore, if calculation accuracy is prioritized, it is appropriate to set the value of m close to the lower limit.
[0101] As a result, the second term on the right side becomes higher as the number of pairs of anti-commutative observables included in the partition elements increases. i}) takes a minimum value, the second term on the right hand side is required to be zero.
[0102] The partitioning unit 120 calculates f({χ i}) is minimized. i} is calculated by the Ising machine 200. i}) to minimize {χ i}, and can be calculated quickly by using the Ising machine 200.
[0103] The partitioning unit 120 uses the χ obtained as a solution to the Ising model equation 76. i If an anticommutation relationship is included in the combination of m=1, the value of m may be increased and the Ising machine 200 may be made to perform the calculation again.
[0104] When the partitioning unit 120 creates one partition from the observable group A0, it designates the subset that constitutes the created partition as B0. The partitioning unit 120 creates another partition from the observable group A1 = A0 \ B0 (\ indicates a difference set) obtained by removing the elements of B0 from A0, and designates the subset that constitutes the generated partition as B1. The partitioning unit 120 creates another partition from the observable group A2 = A1 \ B1 obtained by removing the elements of B1 from A1, and designates the subset that constitutes the partition as B2. The partitioning unit 120 repeatedly executes the partition creation process on subsets whose elements are observables that are not included in any partitions. The partitioning unit 120 creates another partition from the observable group A2 = A1 \ B1 obtained by removing the elements of B1 from A1, and designates the subset that constitutes the partition as B2. n From B n Observable group A with elements removed n+1 =A n \B n When becomes a zero set, the partitioning is terminated.
[0105] FIG. 13 is a diagram illustrating an example of repeated partition generation processing. First, the Ising machine 200 generates a partition 61 with the maximum number of elements based on the Ising model formula 76, using all observables of the observable group 40 as elements. The Ising machine 200 generates, for example, f({x i}) to minimize {χ1, ..., χ 14} is responded. 14}, the observables corresponding to elements with a value of 1 are the observables included in partition 61.
[0106] The partitioning unit 120 instructs the Ising machine 200 to generate a partition based on a subset whose elements are observables that are not included in the partition 61. The Ising machine 200 generates a partition 62 with the maximum number of elements in accordance with the instruction from the partitioning unit 120.
[0107] In the example of FIG. 13, all observables are included in one of the two partitions 61 and 62, so partitioning ends after partition 62 is generated.
[0108] After the partitioning is completed, the simultaneous measurement observable group generator 130 generates a simultaneous measurement observable group. For example, for each generated partition, the simultaneous measurement observable group generator 130 extracts observables that are commutative with all observables in the partition from among the observables that are not included in the partition.
[0109] 14 is a diagram showing an example of extracting observables from outside a partition. In the example of FIG. 14, there are no observables outside partition 61 that are interchangeable with all observables within partition 61. Therefore, no observables are extracted for partition 61. In this case, a simultaneously measured observable group 63 (see FIG. 9) having the same observables as partition 61 is generated.
[0110] On the other hand, for partition 62, there exist observables 49 to 54 outside partition 62 that commute with all observables within partition 62. Therefore, these observables 49 to 54 are extracted. In this case, subsets that commute with each other are extracted from the set of extracted observables 49 to 54.
[0111] 15 is a diagram showing an example of an extracted subset. Observables 49 to 54 extracted according to partition 62 are commutative among all observables. Therefore, a subset including all of the extracted observables 49 to 54 is extracted. The union of the extracted subset and partition 62 becomes a simultaneous measurement observable group 64, which indicates a set of observables that perform simultaneous measurements in one quantum circuit.
[0112] The generated simultaneous measurement observable groups 63 and 64 are sent to the quantum circuit generation unit 140. The quantum circuit generation unit 140 generates a quantum circuit for each of the simultaneous measurement observable groups 63 and 64.
[0113] For example, the quantum circuit generation unit 140 stores quantum circuits for simultaneously measuring the expected values of the observables indicated in the combination patterns, in association with combination patterns of observables that can be simultaneously measured by a single quantum circuit. The quantum circuit generation unit 140 then extracts quantum circuits corresponding to the simultaneously measured observable groups 63 and 64 from a group of pre-registered quantum circuits. The quantum circuit generation unit 140 connects a partial quantum circuit corresponding to the combination of observables to the output side of a partial quantum circuit corresponding to the problem to be solved, thereby generating a quantum circuit to be input to the gate-type quantum computer 300.
[0114] The quantum algorithm calculation unit 150 transmits the quantum circuit generated for each combination of observables to the gate-type quantum computer 300. The gate-type quantum computer 300 measures the values of the quantum bits according to the received quantum circuits. For example, the gate-type quantum computer 300 repeatedly measures the state of each quantum bit multiple times using the received quantum circuits. The gate-type quantum computer 300 then counts the number of occurrences of each combination of the state values of each quantum bit. The gate-type quantum computer 300 transmits the counts for each combination of the state values of each quantum bit of the input quantum circuit to the classical computer 100.
[0115] The quantum algorithm calculation unit 150 of the classical computer 100 calculates the expected value of each observable included in the simultaneous measurement observable group based on the count number for each combination of quantum bit values.
[0116] 16 is a diagram showing a first example of calculation of the expectation value of a group of simultaneously measured observables. In FIG. 16, a quantum circuit 81 that calculates the expectation value of observables included in a group of simultaneously measured observables 63 is shown.
[0117] The quantum circuit 81 is configured by adding a partial quantum circuit 83, which performs operations for simultaneous measurement of multiple observables, to the output side of a partial quantum circuit 82, which performs operations according to the problem to be solved. The partial quantum circuit 83 of the quantum circuit 81 is a quantum circuit that only indicates the measurements of each of the four quantum bits. By executing the quantum circuit 81 on the gate-type quantum computer 300, a count indicating the occurrence frequency for each combination pattern of the measurement results of each of the four quantum bits q0, q1, q2, and q3 is obtained as the calculation result of the quantum circuit 81. It is assumed that the number of measurements using the quantum circuit 81 is M.
[0118] Here, the combination patterns of the measurement results are "0,0,0,0", "0,0,0,1", ..., "1,1,1,1", which are 16 combinations. 0000 , c 0001 , ..., c 1111 "
[0119] The quantum algorithm calculation unit 150 calculates the expected value of the observables included in the simultaneously measured observable group 63 based on the count number for each combination pattern of the measurement results of the quantum bits q0, q1, q2, and q3.
[0120] In the quantum circuit 81, 15 (2 4It is possible to simultaneously measure observables (ZIII, IZII, IIZI, IIIZ, ZZII, ZIZI, ZIIIZ, IZZI, IZIZ, IIZZ, ZZZI, ZZIZ, ZIZZ, IZZZ, ZZZZ). Of these, the observables included in simultaneously measured observable group 63 are "ZIII, IZII, IIZI, IIIZ, ZZII, ZIZI, ZIIZ, IZZI, IZIZ, IIZZ."
[0121] The expectation value <Z> of the observable "ZIII" can be calculated based on the measurement result of the quantum bit q. For example, the quantum algorithm calculation unit 150 calculates "<Z> = (c 0000 +c 0001 +c 0010 +c 0011 +c 0100 +c 0101 +c 0110 +c 0111 -c 1000 -c 1001 -c 1010 -c 1011 -c 1100 -c 1101 -c 1110 -c 1111 The expected value can be calculated using "(M / M)".
[0122] The expectation value <Z1> of the observable "IZII" can be calculated based on the measurement result of the quantum bit q1. For example, the quantum algorithm calculation unit 150 calculates "<Z1> = (c 0000 +c 0001 +c 0010 +c 0011 -c 0100 -c 0101 -c 0110 -c 0111 +c 1000 +c 1001 +c 1010 +c 1011 -c 1100 -c 1101 -c 1110 -c 1111 The expected value can be calculated using "(M / M)".
[0123] The expectation value <Z> of the observable “IIZI” can be calculated based on the measurement result of the quantum bit q. For example, the quantum algorithm calculation unit 150 calculates “<Z>=(c 0000 +c 0001 -c 0010 -c 0011 +c 0100 +c 0101 -c 0110 -c 0111 +c 1000 +c 1001 -c 1010 -c 1011 +c 1100 +c 1101 -c 1110 -c 1111 The expected value can be calculated using "(M / M)".
[0124] The expectation value <Z3> of the observable "IIIZ" can be calculated based on the measurement result of the quantum bit q3. For example, the quantum algorithm calculation unit 150 calculates "<Z3> = (c 0000 -c 0001 +c 0010 -c 0011 +c 0100 -c 0101 +c 0110 -c 0111 +c 1000 -c 1001 +c 1010 -c 1011 +c 1100 -c 1101 +c 1110 -c 1111 The expected value can be calculated using "(M / M)".
[0125] The expected value <Z0Z1> of the observable "ZZII" can be calculated based on the measurement results (q0 & q1) of the quantum bit q0 and the quantum bit q1. For example, the quantum algorithm calculation unit 150 calculates "<Z0Z1> = (c 0000 +c 0001 +c 0010 +c 0011 -c 0100 -c 0101 -c 0110 -c 0111 -c 1000 -c 1001 -c 1010 -c 1011 +c 1100 +c1101 +c 1110 +c 1111 The expected value can be calculated using "(M / M)".
[0126] The expected value <Z0Z2> of the observable "ZIZI" can be calculated based on the measurement results (q0 & q2) of the quantum bit q0 and the quantum bit q2. For example, the quantum algorithm calculation unit 150 calculates "<Z0Z2> = (c 0000 +c 0001 -c 0010 -c 0011 +c 0100 +c 0101 -c 0110 -c 0111 -c 1000 -c 1001 +c 1010 +c 1011 -c 1100 -c 1101 +c 1110 +c 1111 The expected value can be calculated using "(M / M)".
[0127] The expected value <Z0Z3> of the observable "ZIIZ" can be calculated based on the measurement results (q0 & q3) of the quantum bit q0 and the quantum bit q3. For example, the quantum algorithm calculation unit 150 calculates "<Z0Z3> = (c 0000 -c 0001 +c 0010 -c 0011 +c 0100 -c 0101 +c 0110 -c 0111 -c 1000 +c 1001 -c 1010 +c 1011 -c 1100 +c 1101 -c 1110 +c 1111 The expected value can be calculated using "(M / M)".
[0128] The expected value <Z1Z2> of the observable "IZZI" can be calculated based on the measurement results (q1 & q2) of the quantum bit q1 and the quantum bit q2. For example, the quantum algorithm calculation unit 150 calculates "<Z1Z2> = (c 0000 +c 0001 -c 0010 -c 0011 -c 0100 -c0101 +c 0110 +c 0111 +c 1000 -c 1001 -c 1010 -c 1011 -c 1100 -c 1101 +c 1110 +c 1111 The expected value can be calculated using "(M / M)".
[0129] The expected value <Z1Z3> of the observable "IZIZ" can be calculated based on the measurement results (q1 & q3) of the quantum bit q1 and the quantum bit q3. For example, the quantum algorithm calculation unit 150 calculates "<Z1Z3> = (c 0000 -c 0001 +c 0010 -c 0011 -c 0100 +c 0101 -c 0110 +c 0111 +c 1000 -c 1001 +c 1010 -c 1011 -c 1100 +c 1101 -c 1110 +c 1111 The expected value can be calculated using "(M / M)".
[0130] The expectation value <ZZ> of the observable "IIZZ" can be calculated based on the measurement results (q&q) of the quantum bit q and the quantum bit q. For example, the quantum algorithm calculation unit 150 calculates "<ZZ> = (c 0000 -c 0001 -c 0010 +c 0011 +c 0100 -c 0101 -c 0110 +c 0111 +c 1000 -c 1001 -c 1010 +c 1011 +c 1100 -c 1101 -c 1110 +c 1111 The expected value can be calculated using "(M / M)".
[0131] FIG. 17 is a diagram showing a second example of the calculation of the expected value of a group of simultaneous measurement observables. FIG. 17 shows a quantum circuit 84 that measures the expected value of an observable included in the group of simultaneous measurement observables 64. The quantum circuit 84 includes a partial quantum circuit 82 that is the same as the quantum circuit 81 (see FIG. 16) and a partial quantum circuit 85 that converts the value of a predetermined observable so that it becomes a value on the Z-axis. In the partial quantum circuit 85, the observable "YXXY, XYXY, XXYY, XXXX" after gate operation by the partial quantum circuit 82 is the measurement target. After gate operation by the partial quantum circuit 85, the state of the quantum bit q0 indicates the observable "YXXY." The state of the quantum bit q1 indicates the observable "XYXY." The state of the quantum bit q2 indicates the observable "XXYY." The state of the quantum bit q3 indicates the observable "XXXX."
[0132] The quantum algorithm calculation unit 150 can calculate the expected value of the observables included in the simultaneously measured observable group 64 based on the count number for each combination pattern of the measurement results of the quantum bits q, q, q, and q. It is assumed that the number of measurements using the quantum circuit 84 is N.
[0133] In the quantum circuit 84, 15 (2 4 -1 observables) can be measured simultaneously. The observables that can be measured simultaneously are "YXXY, XYXY, XXYY, XXXX, ZZII, ZIZI, ZIIZ, IZZI, IZIZ, IIZZ, YYYY, YYXX, YXYX, XYYX, ZZZZ." Of these, the observables included in the simultaneously measured observable group 64 are "YXXY, XXYY, ZZII, ZIZI, ZIIZ, IZZI, IZIZ, IIZZ, YYXX, XYYX." Therefore, the quantum algorithm calculation unit 150 calculates the expected value of "YXXY, XXYY, ZZII, ZIZI, ZIIZ, IZZI, IZIZ, IIZZ, YYXX, XYYX."
[0134] The expected value <Y0X1X2Y3> of the observable "YXXY" can be calculated based on the measurement result of the quantum bit q0. For example, the quantum algorithm calculation unit 150 calculates "<Y0X1X2Y3> = -(c 0000 +c 0001+c 0010 +c 0011 +c 0100 +c 0101 +c 0110 +c 0111 -c 1000 -c 1001 -c 1010 -c 1011 -c 1100 -c 1101 -c 1110 -c 1111 The expected value can be calculated using "(N / N) / N".
[0135] The expected value <X0X1Y2Y3> of the observable "XXYY" can be calculated based on the measurement result of the quantum bit q2. For example, the quantum algorithm calculation unit 150 calculates "<X0X1Y2Y3> = -(c 0000 +c 0001 -c 0010 -c 0011 +c 0100 +c 0101 -c 0110 -c 0111 +c 1000 +c 1001 -c 1010 -c 1011 +c 1100 +c 1101 -c 1110 -c 1111 The expected value can be calculated using "(N / N) / N".
[0136] The expected value <Z0Z1> of the observable "ZZII" can be calculated based on the measurement results (q0 & q1) of the quantum bit q0 and the quantum bit q1. For example, the quantum algorithm calculation unit 150 calculates "<Z0Z1> = (c 0000 +c 0001 +c 0010 +c 0011 -c 0100 -c 0101 -c 0110 -c 0111 -c 1000 -c 1001 -c 1010 -c 1011 +c 1100 +c 1101 +c 1110 +c 1111 The expected value can be calculated using "(N / N) / N".
[0137] The expected value <Z0Z2> of the observable "ZIZI" can be calculated based on the measurement results (q0 & q2) of the quantum bit q0 and the quantum bit q2. For example, the quantum algorithm calculation unit 150 calculates "<Z0Z2> = (c 0000 +c 0001 -c 0010 -c 0011 +c 0100 + 0101 -c 0110 -c 0111 -c 1000 -c 1001 +c 1010 +c 1011 -c 1100 -c 1101 +c 1110 +c 1111 The expected value can be calculated using "(N / N) / N".
[0138] The expected value <Z0Z3> of the observable "ZIIZ" can be calculated based on the measurement results (q0 & q3) of the quantum bit q0 and the quantum bit q3. For example, the quantum algorithm calculation unit 150 calculates "<Z0Z3> = (c 0000 -c 0001 +c 0010 -c 0011 +c 0100 -c 0101 +c 0110 -c 0111 -c 1000 +c 1001 -c 1010 +c 1011 -c 1100 +c 1101 -c 1110 +c 1111 The expected value can be calculated using "(N / N) / N".
[0139] The expected value <Z1Z2> of the observable "IZZI" can be calculated based on the measurement results (q1 & q2) of the quantum bit q1 and the quantum bit q2. For example, the quantum algorithm calculation unit 150 calculates "<Z1Z2> = (c 0000 +c 0001 -c 0010 -c 0011 -c 0100 -c 0101 +c 0110 +c 0111 +c 1000 -c 1001 -c 1010-c 1011 -c 1100 -c 1101 +c 1110 +c 1111 The expected value can be calculated using "(N / N) / N".
[0140] The expected value <Z1Z3> of the observable "IZIZ" can be calculated based on the measurement results (q1 & q3) of the quantum bit q1 and the quantum bit q3. For example, the quantum algorithm calculation unit 150 calculates "<Z1Z3> = (c 0000 -c 0001 +c 0010 -c 0011 -c 0100 +c 0101 -c 0110 +c 0111 +c 1000 -c 1001 +c 1010 -c 1011 -c 1100 +c 1101 -c 1110 +c 1111 The expected value can be calculated using "(N / N) / N".
[0141] The expectation value <ZZ> of the observable "IIZZ" can be calculated based on the measurement results (q&q) of the quantum bit q and the quantum bit q. For example, the quantum algorithm calculation unit 150 calculates "<ZZ> = (c 0000 -c 0001 -c 0010 +c 0011 +c 0100 -c 0101 -c 0110 +c 0111 +c 1000 -c 1001 -c 1010 +c 1011 +c 1100 -c 1101 -c 1110 +c 1111 The expected value can be calculated using "(N / N) / N".
[0142] The expected value <Y0Y1X2X3> of the observable "YYXX" can be calculated based on the measurement results (q0&q1&q3) of the quantum bit q0, the quantum bit q1, and the quantum bit q3. For example, the quantum algorithm calculation unit 150 calculates "<Y0Y1X2X3>=-(c 0000 -c0001 +c 0010 +c 0011 -c 0100 +c 0101 -c 0110 +c 0111 -c 1000 +c 1001 -c 1010 +c 1011 +c 1100 -c 1101 +c 1110 -c 1111 The expected value can be calculated using "(N / N) / N".
[0143] The expected value <X0Y1Y2X3> of the observable "XYYX" can be calculated based on the measurement results (q1&q2&q3) of the quantum bit q1, the quantum bit q2, and the quantum bit q3. For example, the quantum algorithm calculation unit 150 calculates "<X0Y1Y2X3>=-(c 0000 -c 0001 -c 0010 +c 0011 -c 0100 +c 0101 +c 0110 -c 0111 +c 1000 -c 1001 -c 1010 +c 1011 -c 1100 +c 1101 +c 1110 -c 1111 The expected value can be calculated using "(N / N) / N".
[0144] 16 and 17 , the expected values of 10 observables can be calculated based on the results of quantum computation using quantum circuit 81, and the expected values of 10 observables can be calculated based on the results of quantum computation using quantum circuit 84. For some observables, the expected values are calculated by both quantum circuit 81 and quantum circuit 84, which can improve the accuracy of the calculated expected values.
[0145] 18 is a diagram showing an example of improving the accuracy of the expected value by increasing the number of measurements. Of the observables 41 to 54 to be measured, observables 49 to 54 are measured by both quantum circuit 81 and quantum circuit 84. Since the number of measurements by quantum circuit 81 is M and the number of measurements by quantum circuit 84 is N, M+N measurements are made for observables 49 to 54.
[0146] The error in the expected value depends on the number of measurements. For example, the error is inversely proportional to the square root of the number of measurements. Expressed as a formula, "Error ∝ 1 / (number of measurements)" 1 / 2 Since M+N measurements are taken for the observables 49 to 54, the error is reduced. In other words, the accuracy of the expected value is improved.
[0147] The expected values of observables 49 to 54 can be calculated based on the counts of occurrence patterns of combinations of the values of each quantum bit measured in quantum circuits 81 and 84. For example, quantum algorithm calculation unit 150 counts the number of quantum bits for which the measurement result is 1, among the target quantum bits in quantum circuit 81, that are even. Similarly, quantum algorithm calculation unit 150 counts the number of quantum bits for which the measurement result is 1, among the target quantum bits in quantum circuit 84, that are even. Then, quantum algorithm calculation unit 150 sums up the number of counts for which the measurement result is 1, among the target quantum bits.
[0148] Furthermore, the quantum algorithm calculation unit 150 counts the number of counts where the number of quantum bits whose measurement result is 1 is an odd number, among the quantum bits that are the target in quantum circuit 81. Similarly, the quantum algorithm calculation unit 150 counts the number of counts where the number of quantum bits whose measurement result is 1 is an odd number, among the quantum bits that are the target in quantum circuit 84. The quantum algorithm calculation unit 150 then sums up the number of counts where the number of quantum bits whose measurement result is 1 is an odd number.
[0149] The quantum algorithm calculation unit 150 subtracts the total count number for which the number of quantum bits whose measurement result is 1 is an odd number from the total count number for which the number of quantum bits whose measurement result is 1 is an even number. The quantum algorithm calculation unit 150 divides the result of the subtraction by the total number of measurements of the quantum circuit 81 and the quantum circuit 84. The result of the division becomes the expected value.
[0150] In the following description, the count numbers obtained from the measurement results of quantum circuit 81 will be given a superscript "A", and the count numbers obtained from the measurement results of quantum circuit 84 will be given a superscript "B".
[0151] For example, the expected value <Z0Z1> of the observable 54 of "ZZII" can be calculated using the following formula: <Z0Z1> = (c A 0000 +c A 0001 +c A 0010 +c A 0011 -c A 0100 -c A 0101 -c A 0110 -c A 0111 -c A 1000 -c A 1001 -c A 1010 -c A 1011 +c A 1100 +c A 1101 +c A 1110 +c A 1111 +c B 0000 +c B 0001 +c B 0010 +c B 0011 -c B 0100 -c B 0101 -c B 0110 -c B0111 -c B 1000 -c B 1001 -c B 1010 -c B 1011 +c B 1100 +c B 1101 +c B 1110 +c B 1111 ) / (M+N) The expected value <Z0Z3> of the observable 51 of "ZIIZ" can be calculated using the following formula.
[0152] <Z0Z3> = (c A 0000 -c A 0001 +c A 0010 -c A 0011 +c A 0100 -c A 0101 +c A 0110 -c A 0111 -c A 1000 +c A 1001 -c A 1010 +c A 1011 -c A 1100 +c A 1101 -c A 1110 +c A 1111 +c B 0000 -c B 0001 +c B 0010 -c B 0011 +c B 0100 -c B 0101 +c B 0110 -c B 0111 -cB 1000 +c B 1001 -c B 1010 +c B 1011 -c B 1100 +c B 1101 -c B 1110 +c B 1111 ) / (M+N) In this way, the number of measurements of the observable can be increased, and accuracy can be improved. Even if only a portion of the observables can be measured using multiple quantum circuits, improving the measurement accuracy of the expected values of those observables contributes to improving the accuracy of the solution to the problem being solved by the quantum algorithm.
[0153] Next, the calculation process of the quantum algorithm will be described in detail. Fig. 19 is a flowchart showing an example of the procedure of the calculation process of the quantum algorithm. Below, the process shown in Fig. 19 will be described in order of step number.
[0154] [Step S101] The exchange relationship determination unit 110 lists observables that are elements of the observable group P to be measured according to the problem to be solved. [Step S102] The exchange relationship determination unit 110 determines the exchange relationship between the observables included as elements in the observable group. For example, the exchange relationship determination unit 110 generates all combinations (pairs of observables) that select two observables included as elements of the observable group. Then, for each pair of observables, the exchange relationship determination unit 110 determines whether the pair of observables is commuter or anticommutative based on the commuter / anticommutative relationship between the Pauli operators included in each observable.
[0155] [Step S103] The partitioning unit 120 and the simultaneously measured observable group generation unit 130 cooperate to generate a simultaneously measured observable group. Details of the simultaneously measured observable group generation process will be described later (see FIG. 20).
[0156] [Step S104] The quantum circuit generation unit 140 selects one of the unselected simultaneously measured observable groups. [Step S105] The quantum circuit generation unit 140 generates a quantum circuit for simultaneously measuring the observables in the selected simultaneously measured observable group.
[0157] [Step S106] The quantum algorithm calculation unit 150 transmits the quantum circuit to the gate-type quantum computer 300 and instructs it to perform calculations according to the quantum circuit. The gate-type quantum computer 300 repeats the calculations according to the quantum circuit a predetermined number of times and counts the occurrence frequency for each combination of measured values of the quantum bits corresponding to each of the selected observables. The gate-type quantum computer 300 transmits the counts for each combination of measured values of the quantum bits to the quantum algorithm calculation unit 150.
[0158] [Step S107] The quantum algorithm calculation unit 150 records the measurement results acquired from the gate-type quantum computer 300 in the memory 102. [Step S108] The quantum circuit generation unit 140 determines whether there are any unselected simultaneously measured observable groups. If there are any unselected simultaneously measured observable groups, the quantum circuit generation unit 140 proceeds to step S104. If all simultaneously measured observable groups have been selected, the quantum circuit generation unit 140 proceeds to step S109.
[0159] [Step S109] The quantum algorithm calculation unit 150 calculates the expected value of each observable. [Step S110] The quantum algorithm calculation unit 150 calculates a solution to the problem to be solved based on the expected value of the observable, and outputs the calculated solution.
[0160] Next, the simultaneous measurement observable group generation process will be described in detail. Fig. 20 is a flowchart showing an example of the procedure of the simultaneous measurement observable group generation process. The process shown in Fig. 20 will be described below in order of step numbers.
[0161] [Step S201] The partitioning unit 120 partitions the group of observables to be measured. The partitioning generates one or more partitions {C, ..., C m} is generated (m is a natural number indicating the number of partitions).
[0162] [Step S202] The simultaneous measurement observable group generation unit 130 executes the processes of steps S203 to S205 for each generated partition. For example, the simultaneous measurement observable group generation unit 130 counts up a variable k (k is an integer between 1 and m) from 1 to m, and generates the kth partition C k For the simultaneous measurement observable group R k Generate the following.
[0163] [Step S203] The simultaneous measurement observable group generation unit 130 generates a simultaneous measurement candidate set Q k For example, the simultaneous measurement observable group generator 130 generates a simultaneous measurement observable group from the partition C k The complement of (P-C k ) among the observables in partition C k The simultaneous measurement observable group generation unit 130 classifies the simultaneous measurement candidates into a simultaneous measurement candidate set Q k The simultaneous measurement candidate set generation process will be described in detail later (see FIG. 21).
[0164] [Step S204] The simultaneous measurement observable group generation unit 130 generates a simultaneous measurement candidate set Q k From the set of mutually commuting observables that contains the maximum number of observables (mutually commuting subset Q' k ) to generate a mutually commutative subset Q'. k The details of the generation process will be described later (see FIG. 22).
[0165] [Step S205] The simultaneously measured observable group generator 130 calculates the partition and the mutually commutative subset Q′ k The union of these two sets is defined as the simultaneous measurement observable group R k Let (R k =C k+Q' k ).
[0166] [Step S206] When the simultaneous measurement observable group generation unit 130 has completed the processes of steps S203 to S205 for all partitions, it ends the simultaneous measurement observable group generation process.
[0167] Next, the simultaneous measurement candidate set generation process will be described in detail. FIG. 21 is a flowchart showing an example of the procedure of the simultaneous measurement candidate set generation process. The process shown in FIG. 21 will be described below in order of step numbers. In the following description, partition C k Let the observables contained in {X1, ..., X n}. n is C k is a natural number indicating the number of observables of the partition C to be processed. k The complement of (P-C k ) are observables contained in {Y1, ..., Y n '}. n' is P-C k is a natural number indicating the number of observables.
[0168] [Step S301] The simultaneous measurement observable group generation unit 130 generates an empty simultaneous measurement candidate set Q k [Step S302] The simultaneously measured observable group generator 130 generates a simultaneous measurement observable group for the processing target partition C k The complement of (P-C k ) contained in the observables (Y1, ..., Y n ') For each of them, the processes of steps S303 to S304 are executed.
[0169] [Step S303] The simultaneous measurement observable group generation unit 130 generates the observable Y I But partition C k The observables (X1, ..., X n The simultaneous measurement observable group generation unit 130 determines whether the partition C kIf the simultaneous measurement observable group generator 130 is commutative with all observables included in partition C, the process proceeds to step S304. k If it is anti-commutative with at least one observable in, the process proceeds to step S305.
[0170] [Step S304] The simultaneous measurement observable group generation unit 130 generates the observable Y l The simultaneous measurement candidate set Q k [Step S305] The simultaneously measured observable group generation unit 130 adds the P-C k When the processing of steps S303 to S304 is completed for all observables included in k The generation process ends.
[0171] Next, the simultaneous measurement candidate set Q k The mutually commutative subset generation process based on the above will be described in detail. FIG. 22 is a flowchart showing an example of the procedure for the mutually commutative subset generation process. The process shown in FIG. 22 will be described below in order of step number. In the following description, the simultaneous measurement candidate set Q k Let the observables contained in {Q1, ..., Q r}. r is the simultaneous measurement candidate set Q k is a natural number indicating the number of observables contained in
[0172] [Step S401] The simultaneous measurement observable group generator 130 generates a mutually commutative subset Q′ k Ising model formula f({x i}) is formulated (i=1,...,r). This Ising model formula is k The more observables contained in x, the smaller the value becomes. i is a set of observables Q_i that are mutually commutative subsets Q' k For example, if we consider an observable Q_i as a mutually commutative subset Q' k If included in x i = 1. Also, let us consider the observable Q_i as a mutually commutative subset Q' k If not included in xi =0.
[0173] [Step S402] The simultaneously measured observable group generation unit 130 instructs the Ising machine 200 to search for the ground state of the Ising model equation obtained in step S401. In accordance with the instruction, the Ising machine 200 searches for {x i} is calculated.
[0174] [Step S403] The simultaneously measured observable group generation unit 130 obtains, from the Ising machine 200, {x i [Step S404] The simultaneous measurement observable group generation unit 130 obtains the value of x i For all i such that = 1, the corresponding observable Q i is a mutually commutative subset Q' k Include in.
[0175] 20 to 22 generate a group of simultaneously measured observables. Then, using a quantum circuit for each generated group of simultaneously measured observables, the expected values of the observables included in the group of simultaneously measured observables are calculated. Because the observables included in multiple groups of simultaneously measured observables are measured multiple times, the number of measurements increases, improving the accuracy of the expected values.
[0176] Next, the mutually commutative subset Q' k 23 is a diagram showing an example of an Ising model formula for generating a mutually commutative subset. The simultaneous measurement observable group generation unit 130 generates a simultaneous measurement candidate set Q k The observables contained in i} each with a variable {x i}. Q i is a mutually commutative subset Q' k If you want to include it in i = 1" and if not included, "x i = 0". In this case, the Ising model equation 86 is expressed by, for example, equation (2).
[0177]
[0178] As in formula (1), {c ij} is a non-negative constant, and Q i and Q j If there is an exchange relationship between ij =0”, and if they are in an anti-commuting relationship, then “c ij = m" (m>1). In formula (2), "x i The more observables for which "x = 1" is found, the smaller the value of the first term becomes. i There is an anticommutation relation (c ij = m), the value of the second term becomes large.
[0179] b i is a variable that indicates the weight of each observable. i can be determined depending on the problem to be solved. For example, if the accuracy required for all observables is the same, then b1 = b2 = ... = b r is set to a constant value.
[0180] Furthermore, ij The value m of b i m is set to a value greater than the maximum value of i In addition, the solution to the problem to be solved may be the expected value of the physical quantity H expressed as a linear combination of observables. For example, the simultaneous measurement candidate set Q k The observables contained in r}The expected values of each are "P1, ..., P r ", the expected value H is expressed by the following formula:
[0181] H=λ1P1+λ2P2+...+λ r P r λ i (i = 1, 2, ..., r) is the observable Q i The expected value P i The corresponding coefficient λ is multiplied by i The larger the absolute value of i The expected value P iIn such a case, for example, the simultaneous measurement observable group generator 130 may set the coefficient λ i Observable Q with large absolute value i The more the corresponding b i Increase the value of |λ1| ≧ |λ2| ≧ ... ≧ |λ r In the case of |b1|≧|b2|≧...≧|b r |".
[0182] b i Observable Q with large values of i The more mutually commutative subset Q' k The probability of the data being included in the coefficient λ increases, and the number of measurements can be expected to increase. i The absolute value of the observable Q' is large. i As the number of measurements increases, the measurement accuracy improves and the error in the expected value H decreases.
[0183] For example, |λ| max =max(|λ1|,...,|λ r |), then b i can be expressed by the following equation (3).
[0184]
[0185] M is, for example, c ij = 2M (e.g., 10 5 ) The right side of equation (3) uses a ceiling function, and "(|λ i | / |λ| max ) × M”.
[0186] In equation (3), b i is λ i When calculating with the Ising machine 200, the value is proportional to b i Since b is required to be an integer, a ceiling function is used in equation (3) i is set to be an integer. i If is not limited to an integer and can take a real number other than an integer, the ceiling function in equation (3) does not need to be used.
[0187] As described above, the simultaneous measurement observable group generation unit 130 obtains a simultaneous measurement observable group for each partition and simultaneously measures the expected values of the observables in the simultaneous measurement observable group, thereby increasing the number of observables measured by one quantum circuit.
[0188] FIG. 24 is a diagram showing an example of the number of observables in a group of simultaneously measured observables. The result table 91 of the number of simultaneously measured observables shown in FIG. 24 shows the number of observables in a group of simultaneously measured observables generated when solving a problem to find the ground state (STO-3G basis) of a CH4 molecule. Jordan Wigner transformation is used as the solution method. The number of spin orbitals is 12. The number of observables to be measured in this case is 1518. The variable b used in the Ising model formula when generating the mutually commutative subsets is i is the same value for each observable (b1 = b2 = ... = b r ) is used.
[0189] In the example of Figure 24, 52 partitions are generated by partitioning. In the simultaneously measured observable number result table 91, the number of observables in a partition (A), the number of observables in a simultaneously measured candidate set (B), the number of observables in a mutually commutative subset (C), and the number of observables in a simultaneously measured observable group (A + C) are set in correspondence with the partition number. The number of observables in a simultaneously measured candidate set is the number of observables included in a simultaneously measured candidate set. The number of observables in a mutually commutative subset is the number of observables included in a mutually commutative subset. The number of observables in a simultaneously measured observable group is the number of observables included in a simultaneously measured observable group.
[0190] As shown in the simultaneous measurement observable count result table 91, the fewer the number of observables in a partition, the greater the number of simultaneous measurement candidate set observables and the number of mutually commutative subset observables. Since the number of observables in a simultaneous measurement observable group is the sum of the number of observables in a partition and the number of observables in the mutually commutative subset, the total number of measured observables is greater when simultaneously measuring observables in a simultaneous measurement observable group compared to when simultaneously measuring only observables in a partition.
[0191] 25 is a diagram showing an example of a graph representing the number of observables in a simultaneously measured observable group. In a graph 92 shown in FIG. 25, the height of a rectangle corresponding to a partition number indicates the number of observables in a simultaneously measured observable group generated from a partition corresponding to the partition number. The rectangle representing the number of observables in a simultaneously measured observable group is divided into a white area 92a and a hatched area 92b. The height of the white area 92a indicates the number of observables in the partition. The height of the hatched area 92b indicates the number of observables in a mutually commutative subset.
[0192] As can be seen from graph 92, by expanding the partition to a group of simultaneously measured observables and performing simultaneous measurements of the expected values of the observables, the number of observables from which information can be obtained from each quantum circuit in each partition increases dramatically.
[0193] Increasing the number of observables measured by each quantum circuit means that the number of observables for which expected values are measured using multiple quantum circuits increases. Figure 26 is a diagram showing a histogram of observables for each number of quantum circuits used for measurement. In graph 93, the horizontal axis represents the number of quantum circuits used for measurement, and the vertical axis represents the number of observables for which expected values are measured using that number of quantum circuits. As shown in graph 93, approximately half of the observables can have their expected values measured using multiple quantum circuits.
[0194] The number of measurements in each quantum circuit is the same n measIf , the number of times the expected value of the observable can be measured is "n meas × number of quantum circuits used for measurement". This reduces the error in the expected value of the observable to "1 / (number of quantum circuits used for measurement)". 1 / 2 ) The smaller the error in the expected value of each observable, the more accurate the solution to the problem being solved.
[0195] Next, we use different values of b for each observable. i The effect of applying |λ will be explained. i b according to | i This figure shows an example of the problem of finding the ground state (STO-3G basis) of a CH molecule. For example, the problem is solved using the Jordan Wigner transformation. The number of spin orbitals is assumed to be 18. In this case, the number of observables to be measured is 8,479.
[0196] The ground state of the CH4 molecule is "H = λ1P1 + λ2P2 + ... + λ 8479 P 8479 The graph 94 is expressed as |λ i The horizontal axis of the graph 94 represents the frequency distribution of |λ i | and the vertical axis is |λ i The number of observables for each interval of | (corresponding |λ i The value of | is the number of observables included in the corresponding interval. i |=|λ| max " In the case of the Ising model formula shown in formula (2), the i-th observable Q i (Expected value P i ) the coefficient b i is "b i =M”. Also, “|λ i |=|λ| max / 100", in the Ising model formula shown in formula (2), the i-th observable Q i (Expected value P i ) the coefficient b i is "b i = M / 100.
[0197] |λ of the frequency distribution shown in graph 94 ib by equation (3) based on | i When the frequency distribution is calculated, it becomes as shown in graph 95. The horizontal axis of graph 95 is b i and the vertical axis is b i The number of observables for each interval (corresponding b i The value of is the number of observables included in the corresponding interval.
[0198] As shown in graph 95, |λ i b according to | i By doing so, b i The value of b is dispersed. i Observable Q with large values of i The more quantum circuits are used to measure the expectation value, the more likely it is to be included in the set of simultaneous measurement observables.
[0199] FIG. i Graphs 96a to 96c show an example of the relationship between the value of |λ and the number of quantum circuits used in the measurement. i Without depending on | i Graphs 97a to 97c show histograms of the number of quantum circuits used to measure observables when b is set to a constant value. i Graphs 96a and 97a are histograms covering all observables (8479). Graphs 96b and 97b are histograms covering all observables (8479). i | is |λ| max Graphs 96c and 97c are histograms of observables (211 items) with |λ i | is |λ| max Graphs 96a to 96c and 97a to 97c show histograms of observables (60 items) with 50 or more quantum circuits used for measurement on the horizontal axis and the number of observables measured for each quantum circuit count on the vertical axis.
[0200] When all observables are considered, b i Graphs 96a and b when is constant i There is no significant difference between the graph 97a when is different for each i.i If is constant, the average number of quantum circuits used in the measurement is 2.14. i When differs for each i, the average number of quantum circuits used in the measurement is 2.13.
[0201] |λ i | is |λ| max / When targeting 100 or more observables, b i Compared to graph 96b when is constant, b i In graph 97b, where i is different for each i, the number of quantum circuits used for measurement is larger overall. i If is constant, the average number of quantum circuits used in the measurement is 4.84. i When differs for each i, the average number of quantum circuits used in the measurement is 6.24.
[0202] |λ i | is |λ| max / When targeting 50 or more observables, b i Compared to graph 96c when is constant, b i In graph 97c, where is different for each i, the number of quantum circuits used for measurement is larger overall. i If is constant, the average number of quantum circuits used in the measurement is 5.85. i When differs for each i, the average number of quantum circuits used in the measurement is 7.68.
[0203] In this way, different b for each i i By applying |λ i The larger the | of an observable, the more quantum circuits are used for measurement. In other words, the more impact an observable has on the accuracy of the solution to the problem being solved, the more quantum circuits are used to calculate the expectation value. As a result, the accuracy of the solution to the problem being solved improves.
[0204] [Other Embodiments] In the second embodiment, quantum computation based on a quantum circuit is executed by the gate-type quantum computer 300, but it is also possible to execute quantum computation by the classical computer 100 by using a quantum simulator.
[0205] Furthermore, in the second embodiment, the Ising machine 200 executes the combinatorial optimization calculation based on the Ising model formula. However, by using simulated annealing technology, it is also possible to execute the calculation of the Ising model formula by the classical computer 100.
[0206] The foregoing merely illustrates the principles of the present invention. Further, since numerous modifications and changes will be apparent to those skilled in the art, the present invention is not limited to the exact construction and application shown and described above, and all corresponding modifications and equivalents are deemed to be within the scope of the present invention as defined by the appended claims and their equivalents.
[0207] REFERENCE SIGNS LIST 1 Observable group 2 First partition 3 Second partition 4 First quantum circuit 5 Second quantum circuit 6 Second set 10 Information processing device 11 Storage unit 12 Processing unit
Claims
1. An observable measurement support program that causes a computer to execute the following processes: generating a plurality of partitions, which are a plurality of first subsets obtained by dividing a first set including a plurality of observables to be measured, and which satisfy the condition that the expected values of the observables included in each of the plurality of partitions can be measured simultaneously; extracting a second observable from a second partition among the plurality of partitions other than the first partition, whose expected value can be measured simultaneously with each of a plurality of first observables included in a first partition among the plurality of partitions; and calculating the expected value of the extracted second observable based on the measurement result after quantum computing according to a first quantum circuit corresponding to the first partition and the measurement result after quantum computing according to a second quantum circuit corresponding to the second partition.
2. The observable measurement support program of claim 1, further comprising: when a plurality of the second observables are extracted, the computer is caused to execute a process of generating a second subset from a second set including the extracted second observables, the second subset satisfying the condition that simultaneous measurement of expected values for the second observables is possible; and in the process of calculating the expected value of the extracted second observables, the expected value of the second observables included in the second subset is calculated.
3. The observable measurement support program of claim 2, wherein the process of generating the second subset comprises generating an Ising model equation that includes a variable indicating whether or not each of the second observables is to be included in the second subset, and whose value increases when a pair of the second observables that cannot be measured simultaneously is included in the second subset, and whose value decreases as the number of the second observables included in the second subset increases; and generating the second subset based on the value of the variable obtained by searching for a ground state using the Ising model equation.
4. The observable measurement support program according to claim 3, wherein in the process of generating the second subset, the Ising model equation is generated including a first coefficient by which the variable of the second observable is multiplied in a term whose value decreases as the number of the second observables included in the second subset increases.
5. The observable measurement support program described in claim 4, wherein in the process of generating the second subset, when a calculation formula for a solution to a problem to be solved based on the expected values of the multiple observables is expressed as a linear combination of the expected values of each of the multiple observables, the value of the first coefficient to be multiplied by the variable of the second observable in the calculation formula is determined based on the value of a second coefficient to be multiplied by the expected value of each of the second observables.
6. The observable measurement support program described in claim 5, wherein in the process of generating the second subset, when the absolute value of the value of the second coefficient multiplied by the expected value of each of the second observables increases, the value of the first coefficient multiplied by the variable of the second observable is increased.
7. An observable measurement support method in which a computer performs the following processes: generating a plurality of first subsets obtained by dividing a first set including a plurality of observables to be measured, the plurality of partitions satisfying the condition that the expected values of the observables included in each of the plurality of partitions can be measured simultaneously; extracting a second observable whose expected value can be measured simultaneously with each of the first observables included in a first partition from a second partition other than the first partition among the plurality of partitions; and calculating the expected value of the extracted second observable based on the measurement result after quantum computing according to a first quantum circuit corresponding to the first partition and the measurement result after quantum computing according to a second quantum circuit corresponding to the second partition.
8. An information processing device having a processing unit that generates a plurality of partitions, which are a plurality of first subsets obtained by dividing a first set including a plurality of observables to be measured, and which satisfy the condition that the expected values of the observables included in each of the plurality of partitions can be measured simultaneously, extracts a second observable whose expected value can be measured simultaneously with each of the first observables included in a first partition from a second partition among the plurality of partitions other than the first partition, and calculates the expected value of the extracted second observable based on a measurement result after quantum computing according to a first quantum circuit corresponding to the first partition and a measurement result after quantum computing according to a second quantum circuit corresponding to the second partition.
Citation Information
Patent Citations
Method for partitioning multiple qubit observables, program for partitioning multiple qubit observables, and information processing device
WO2022269712A1
Cited By
Methods for measuring observable quantities on quantum computing devices
JP2026132824A
