Information processing device, information processing method, information processing program, and hybrid system
The method allows users to perform quantum chemical calculations by determining quantum circuit elements and depth using molecular information, addressing the challenge of quantum circuit setup for users without advanced quantum computer knowledge.
Patent Information
- Application Number
- JP2023043575
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-17
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2043-03-17
AI Technical Summary
Users without advanced knowledge of quantum computers face difficulties in performing quantum chemical calculations due to the challenge of setting up appropriate quantum circuits.
An information processing method that acquires molecular information to determine the depth and elements of a quantum circuit, allowing a quantum computer to perform quantum chemical calculations through a classical computer's setup.
Enables quantum chemical calculations even for users lacking quantum computer expertise, optimizing the balance between calculation accuracy and amount by setting the quantum circuit's depth based on molecular information.
Smart Images

Figure 2024132698000001_ABST
Abstract
Description
[Technical field]
[0001] The disclosed technology relates to an information processing device, an information processing method, an information processing program, and a hybrid system. [Background technology]
[0002] Conventionally, there is known a technique for performing quantum chemical calculations using a quantum computer. For example, Patent Document 1 discloses a quantum information processing method for determining the derivative of energy using a quantum computer. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] Patent Publication No. 2021-028847 Summary of the Invention [Problem to be solved by the invention]
[0004] However, when performing a quantum chemical calculation using a quantum computer and obtaining the calculation result, the user needs to have advanced knowledge about quantum computers. If the user does not have advanced knowledge about quantum computers, the user does not know what kind of quantum circuit should be set in order to obtain the quantum chemical calculation result that the user desires, and there is a problem that it is difficult to make the quantum computer perform the quantum chemical calculation.
[0005] The disclosed technology has been made in consideration of the above-mentioned circumstances, and aims to provide an information processing device, an information processing method, an information processing program, and a hybrid system that can cause a quantum computer to perform quantum chemical calculations even if the user does not have advanced knowledge of quantum computers. [Means for solving the problem]
[0006] A program of a first aspect of the present disclosure is a program for causing one or more computer processors to execute a process of acquiring molecular information, which is information relating to a molecule, setting elements of a quantum circuit including a depth of the quantum circuit based on the molecular information, thereby setting a quantum circuit to be used for quantum chemical calculations, and acquiring a result calculated based on the quantum circuit in which the elements are set.
[0007] An information processing device of a second aspect of the present disclosure is an information processing device having one or more computer processors, which acquires molecular information, which is information regarding an input molecule, and sets elements of a quantum circuit including a depth of the quantum circuit based on the molecular information, thereby setting a quantum circuit to be used for quantum chemical calculations, and acquires a result calculated based on the quantum circuit in which the elements are set.
[0008] An information processing method of a second aspect of the present disclosure is an information processing method executed by one or more computer processors, which acquires molecular information, which is information about molecules, and sets elements of a quantum circuit including a depth of the quantum circuit based on the molecular information, thereby setting a quantum circuit to be used for quantum chemical calculations, and acquires a result calculated based on the quantum circuit in which the elements are set. Effect of the Invention
[0009] According to the disclosed technology, even if a user does not have advanced knowledge about quantum computers, it is possible to obtain the effect of being able to cause a quantum computer to execute quantum chemical calculations. [Brief description of the drawings]
[0010] [Figure 1] 1 is a diagram illustrating an example of a schematic configuration of a hybrid system 100 according to an embodiment of the present invention. [Diagram 2] FIG. 1 is a schematic block diagram of a classical computer 110, a control device 121, and a computer functioning as a user terminal 130. [Diagram 3] FIG. 13 is a diagram for explaining a method of determining a quantum circuit. [Figure 4] FIG. 1 is a diagram for explaining the depth of a quantum circuit. [Diagram 5] FIG. 2 is a diagram showing an example of a sequence executed by the hybrid system 100 of the present embodiment. [Figure 6] FIG. 13 is a diagram for explaining another example of the depth of the quantum circuit. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0011] Hereinafter, embodiments of the disclosed technology will be described in detail with reference to the drawings.
[0012] <Hybrid system 100 according to the embodiment>
[0013] Fig. 1 shows a hybrid system 100 according to an embodiment. The hybrid system 100 of the present embodiment includes a classical computer 110, which is an example of an information processing device, a quantum computer 120, and a user terminal 130. As shown in Fig. 1, the classical computer 110, the quantum computer 120, and the user terminal 130 are connected via a computer network, such as an IP network, for example.
[0014] In the hybrid system 100 of this embodiment, the quantum computer 120 performs a predetermined quantum chemical calculation in response to a request from the classical computer 110, and outputs the calculation result of the quantum chemical calculation to the classical computer 110. The classical computer 110 outputs the calculation result according to the quantum chemical calculation to the user terminal 130. In this way, the predetermined calculation process is executed by the hybrid system 100 as a whole.
[0015] The classical computer 110 is configured by having a communication unit 111 such as a communication interface, a processing unit 112 such as a processor or a CPU (Central processing unit), and an information storage unit 113 including a storage device or storage medium such as a memory or a hard disk, and by executing a program for performing each process. The classical computer 110 may include one or more devices or servers. The program may include one or more programs, and may be recorded in a computer-readable storage medium to form a non-transient program product.
[0016] As an example, quantum computer 120 generates an electromagnetic wave to be irradiated to at least any one of quantum bits in quantum bit group 123 based on information transmitted from classical computer 110. Then, quantum computer 120 executes a quantum circuit by irradiating at least any one of quantum bits in quantum bit group 123 with the generated electromagnetic wave.
[0017] 1, the quantum computer 120 includes a control device 121 that communicates with the classical computer 110, an electromagnetic wave generating device 122 that generates electromagnetic waves in response to a request from the control device 121, and a group of quantum bits 123 that receives electromagnetic wave irradiation from the electromagnetic wave generating device 122. The electromagnetic wave generating device 122 and the group of quantum bits 123 in the quantum computer 120 are also QPUs (Quantum Processing Units). Note that in this embodiment, the term "quantum computer" does not mean that no operations are performed using classical bits, but refers to a computer that includes operations using quantum bits.
[0018] The control device 121 is a classical computer that performs operations using classical bits, and alternatively performs some or all of the processing described in this specification as being performed by the classical computer 110.
[0019] The user terminal 130 is a classical computer that performs operations using classical bits. The user terminal 130 accepts information input by a user and executes processing according to the information.
[0020] The classical computer 110, the control device 121, and the user terminal 130 can be realized, for example, by a computer 50 shown in Fig. 2. The computer 50 includes a central processing unit (CPU) 51, a memory 52 as a temporary storage area, and a non-volatile storage unit 53. The computer 50 also includes an input / output interface (I / F) 54 to which an external device, an output device, etc. are connected, and a read / write (R / W) unit 55 that controls reading and writing of data from and to a recording medium. The computer 50 also includes a network I / F 56 that is connected to a network such as the Internet. The CPU 51, the memory 52, the storage unit 53, the input / output I / F 54, the R / W unit 55, and the network I / F 56 are connected to one another via a bus 57.
[0021] In order to execute a quantum chemical calculation using a quantum computer, the user needs to set various calculation parameters, which requires advanced knowledge of quantum chemical calculation. Therefore, there is a problem that it is difficult for a user who does not have sufficient knowledge of quantum chemical calculation to cause a quantum computer to execute a quantum chemical calculation.
[0022] Furthermore, even if a user has knowledge of quantum chemical calculations, if that user does not have advanced knowledge of quantum computers, the user will not know what kind of quantum circuit to set up in order to obtain the quantum chemical calculation results that he or she desires, and similarly, there is the problem that it will be difficult to cause a quantum computer to perform quantum chemical calculations.
[0023] Therefore, the classical computer 110 of the hybrid system 100 of the embodiment allows a user to execute a quantum chemical calculation on a quantum computer even if the user does not have advanced knowledge of quantum computers. Specifically, the classical computer 110 sets a quantum circuit required for executing a quantum chemical calculation. A quantum circuit is a combination of quantum gates that represent operations on quantum bits.
[0024] Specifically, the classical computer 110 sets the elements of the quantum circuit, including the depth of the quantum circuit, based on various information including molecular information input by the user, thereby setting a quantum circuit for executing a quantum chemical calculation desired by the user. This allows even a user who does not have sufficient knowledge about quantum computers or quantum chemical calculations to easily execute a quantum chemical calculation using a quantum computer.
[0025] FIG. 3 is a diagram for explaining various information required for generating a quantum circuit. "Ansatz" shown in FIG. 3 is a rule for forming a quantum circuit, and is for determining a set of quantum gates that constitute the quantum circuit. "Quantum Circuit" shown in FIG. 3 represents a quantum circuit. "Molecular Information" shown in FIG. 3 represents molecular information, which is information about the molecule to be calculated. As shown in FIG. 3, the molecular information includes various information such as the molecular structure, the type of atoms contained in the molecule, and coordinates (indicated as "Geometry" in FIG. 3). In this embodiment, the molecular information includes the molecular structure, the type of atoms contained in the molecule, and coordinates, but is not limited to this. The information included in the molecular information may be any information that can calculate the number of molecular orbitals. In addition, the molecular information includes the basis set (indicated as "Basis set" in FIG. 3) and information about the active space (indicated as "Active space" in FIG. 3) required for quantum chemical calculation.
[0026] A basis set (indicated as "Basis set" in FIG. 3) is a set of functions that are the basis for constructing atomic orbitals. The basis set is determined by the user's specification. The basis set used in the quantum chemical calculation is predetermined. Therefore, the user specifies the basis set to be used from these basis sets. If the user does not specify the basis set, the classical computer 110 may set a default basis set. Alternatively, the classical computer 110 may recommend a basis set according to the calculation target described later. For example, if the calculation cost of the calculation target is high, the classical computer 110 may recommend to the user to select a simpler basis set.
[0027] An active space (represented as "Active space" in FIG. 3) is a space made up of molecular orbitals to be incorporated into a calculation. By specifying an active space, it is possible to determine which molecular orbitals to incorporate into a calculation and which not to incorporate into a calculation when solving a multi-body problem in quantum chemistry. Reducing the number of molecular orbitals to be incorporated into a calculation reduces the calculation cost but reduces the calculation accuracy. The active space is determined by a user's specification. Note that, when there is no specification input from the user, the classical computer 110 may execute the calculation without any particular restriction on the degree of freedom.
[0028] The classical computer 110 sets up various elements of the quantum circuit, which will be described in detail below.
[0029] [Determining Type] First, the classical computer 110 determines the type of Ansatz (denoted as "Type" in FIG. 3). The type of Ansatz corresponds to the type of rule for forming a quantum circuit. Specifically, the classical computer 110 determines the type of Ansatz based on the energy level of the calculation target (denoted as "Ground state or Excited state?" in FIG. 3), which is an example of information representing the calculation target of a quantum chemical calculation. A set of quantum gates that constitute a quantum circuit is determined according to the type of Ansatz.
[0030] When performing quantum chemical calculations using a quantum computer, it is necessary to express the Ansatz using quantum gates and set the combination of the quantum gates as a quantum circuit. The type of Ansatz required varies depending on the calculation target of the quantum chemical calculation. For this reason, the classical computer 110 determines the type of Ansatz required and sets a set of quantum gates in the quantum circuit according to the type of Ansatz.
[0031] For example, when the energy level of the calculation target is the ground state, the classical computer 110 selects an Ansatz corresponding to the first type. When the energy level of the calculation target is the excited state, the classical computer 110 selects an Ansatz corresponding to a second type different from the first type. In this way, the type of Ansatz is preset according to the energy level of the calculation target.
[0032] For example, it is known that when the energy level of the calculation target is the ground state, the expansion coefficient of the wave function may be a real number. On the other hand, it is known that when the energy level of the calculation target is the excited state, the expansion coefficient of the wave function must also include a complex number. Therefore, when the energy level of the calculation target is the ground state, the search space is smaller than when the energy level of the calculation target is the excited state. Therefore, when the energy level of the calculation target is the excited state, the classical computer 110 selects an Ansatz belonging to the second type, which is a more complex Ansatz, than when the energy level of the calculation target is the ground state.
[0033] In addition, the classical computer 110 may determine the type of Ansatz based on a Hamiltonian calculated from molecular information (denoted as "Hamiltonian" in FIG. 3) and a Fermion qubit mapping (denoted as "Fermion qubit mapping" in FIG. 3), which is an example of information prepared in advance. Note that a known method can be used to calculate a Hamiltonian from molecular information.
[0034] For example, the classical computer 110 selects the type of Ansatz according to an operator based on a Hamiltonian (denoted as "Hamiltonian" in FIG. 3). A set of quantum gates that constitute a quantum circuit is determined according to the selected type of Ansatz.
[0035] Also, for example, when it is possible to specify that a specific quantum bit is 0 or 1 from fermion qubit mapping (indicated as "Fermion qubit mapping" in FIG. 3), it is possible to configure a quantum circuit that omits that quantum bit. For this reason, the classical computer 110 selects a type of Ansatz that allows the qubit to be omitted when configuring a quantum circuit. Then, a quantum circuit that omits the quantum bit is determined according to the selected type of Ansatz.
[0036] As shown in Figure 3, when selecting the type of Ansatz, the energy level to be calculated (indicated as "Ground state or Excited state?" in Figure 3) is a required item, whereas the fermion qubit mapping (indicated as "Fermion qubit mapping" in Figure 3) information and the Hamiltonian (indicated as "Hamiltonian" in Figure 3) are optional items.
[0037] In addition, the arrangement of quantum gates included in the quantum circuit may change depending on the molecule to be calculated. For this reason, the type of Ansatz may be determined depending on the molecular information.
[0038] [Determining Depth] Next, classical computer 110 determines the depth of the quantum circuit (denoted as "Depth" in FIG. 3).
[0039] Fig. 4 is a diagram for explaining the depth of a quantum circuit. Fig. 4 shows a part of the quantum circuit. The depth of the quantum circuit in this embodiment is the number of steps of quantum circuit calculation determined based on the arrangement of quantum gates that constitute the quantum circuit.
[0040] FIG. 4 shows a quantum circuit for three quantum bits. |0> represents the state of the quantum bit, and |ψ(θ)> represents the quantum state obtained by the quantum circuit. In addition, θ represents a parameter of the quantum circuit. In the example shown in FIG. 4, four arithmetic elements S1, S2, S3, and S4 are shown. Each of the four arithmetic elements S1, S2, S3, and S4 is composed of a quantum gate. H represents a Hadamard gate, X represents an X gate (NOT gate), and CN1 and CN2 represent CNOT gates. In the example shown in FIG. 4, the number of steps of the quantum circuit calculation is 4 (S1, S2, S3, and S4), so the depth of the quantum circuit is 4. The classical computer 110 sets the depth of this quantum circuit based on molecular information input by the user.
[0041] Specifically, first, the classical computer 110 calculates the number of molecular orbitals (indicated as "Number of orbitals" in FIG. 3) based on the molecular information, for example, by using a known method. The number of molecular orbitals can be uniquely calculated from the type of molecule by using a known method. Therefore, the classical computer 110 calculates the number of molecular orbitals based on the type of molecule represented by the molecular information. Next, the classical computer 110 calculates the number of quantum bits required for the quantum chemical calculation based on the number of molecular orbitals. Usually, twice the number of molecular orbitals is calculated as the number of quantum bits. When determining the number of quantum bits, the number of quantum bits can also be reduced by using fermion qubit mapping ("Fermion qubit mapping" in FIG. 3).
[0042] Then, the classical computer 110 calculates the depth of the quantum circuit based on the number of quantum bits determined by the calculation, the required accuracy of the quantum chemical calculation specified by the user, and statistical information prepared in advance. The statistical information prepared in advance is information based on statistics between the number of quantum bits and the depth of the quantum circuit. The statistical information based on statistics between the number of quantum bits and the depth of the quantum circuit is information obtained based on the performance of past quantum chemical calculations. For example, a regression formula can be used as an example of the statistical information.
[0043] When a regression formula is used as an example of statistical information, the classical computer 110 calculates the depth of the quantum circuit by inputting the number of quantum bits calculated from the number of molecular orbitals, statistical parameters based on the statistics between the number of molecular orbitals and the depth of the quantum circuit, and parameters related to the required accuracy of the quantum chemical calculation specified by the user into a regression formula generated in advance. An example of the regression formula is shown in the following formula (1).
[0044] Depth = α x1 + β x2 + S (1)
[0045] In the above regression formula (1), Depth is the depth of the quantum circuit, and α and β are statistical parameters that are set in advance. For example, in the above regression formula (1), x1 is the number of quantum bits, and x2 is a parameter related to the required accuracy of the quantum chemical calculation. S is a constant or a variable. When S is a constant, the depth of the quantum circuit is determined taking into consideration variables other than the number of quantum bits and the required accuracy of the quantum chemical calculation.
[0046] Since the number of quantum bits can be uniquely determined according to the number of molecular orbitals, the classical computer 110 may calculate the depth of the quantum circuit based on the number of molecular orbitals calculated based on molecular information and statistical information based on statistics between the number of molecular orbitals and the depth of the quantum circuit. In this case, for example, the depth of the quantum circuit is calculated according to the following regression formula (2). In the following formula (2), z1 is the number of molecular orbitals. In addition, in the following formula (2), γ is a statistical parameter that is set in advance.
[0047] Depth = γ z1 + β x2 + S (2)
[0048] In addition, with respect to the quantum circuit as shown in FIG. 4, when the ratio between the number of quantum bits and the depth of the quantum circuit is a predetermined ratio, the relationship between the accuracy and the amount of calculation of the quantum chemical calculation is often favorable. For example, when the ratio between the number of quantum bits and the number of depths of the quantum circuit is about 1:1, the balance between the accuracy and the amount of calculation of the quantum chemical calculation is often good. For this reason, it is preferable that the ratio between the number of quantum bits and the number of depths of the quantum circuit is about 1:1. On the other hand, when it is desired to improve the accuracy of the quantum chemical calculation, it is preferable to make the depth of the quantum circuit deeper compared to the number of quantum bits. For example, when the ratio between the number of quantum bits and the number of depths of the quantum circuit is about 1:1.5, a highly accurate calculation result can be obtained. In addition, when the depth of the quantum circuit is deep compared to the number of quantum bits, the accuracy of the quantum chemical calculation is high, but the amount of calculation is large. For this reason, when the required accuracy of the quantum chemical calculation is a general accuracy, the depth of the quantum circuit is determined so that the ratio between the number of quantum bits and the number of depths of the quantum circuit is about 1:1 according to the above formula (1) or formula (2). On the other hand, when the required accuracy of the quantum chemical calculation is high, for example, the depth of the quantum circuit is determined so that the ratio of the number of quantum bits to the number of depths of the quantum circuit is about 1:1.5. Note that the above-mentioned ratio is merely an example. Therefore, the ratio of the number of quantum bits to the number of depths of the quantum circuit may be other than the above-mentioned ratio, and may be, for example, a value such as about 1:1.2.
[0049] In addition, when determining the depth of the quantum circuit, a method different from the above method may be adopted. For example, the classical computer 110 may set the depth of the quantum circuit as a first value when the required accuracy of the quantum chemical calculation is equal to or higher than a predetermined threshold, and may set the depth of the quantum circuit as a second value when the required accuracy of the quantum chemical calculation is less than the predetermined threshold. The second value is smaller than the first value. Alternatively, the depth of the quantum circuit may be determined by referring to a table in which molecular information and the depth of the quantum circuit are associated with each other.
[0050] [Decide on Pattern] Next, the classical computer 110 determines the arrangement pattern of the entangling gates of the Ansatz (denoted as "Pattern" in FIG. 3).
[0051] The arrangement pattern of the entangling gates (indicated as "Pattern" in Figure 3) must be determined according to the type of quantum computer used in the quantum chemical calculation. The arrangement pattern of the entangling gates is used to determine how the quantum circuit determined by the method described above is applied to the quantum computer hardware.
[0052] For example, first, the classical computer 110 specifies the type of quantum computer (indicated as "Connectivity of quantum device" in FIG. 3) that will perform the quantum chemical calculation. For example, the classical computer 110 specifies the type of quantum computer that will perform the quantum chemical calculation based on the information of the quantum computer input by the user. Examples of the type of quantum computer include a superconducting type and an ion trap type. The quantum computer that performs the quantum chemical calculation may include a quantum simulator using a classical computer. The quantum simulator using a classical computer is, for example, a simulator that simulates the behavior of a quantum computer on a classical computer. Then, the classical computer 110 determines the arrangement pattern of the Ansatz entangling gate (indicated as "Pattern" in FIG. 3) according to the type of quantum computer. The type of quantum computer and the arrangement pattern of the entangling gate are previously associated with each other. For this reason, the classical computer 110 determines the arrangement pattern of the entangling gate that is previously associated with the type of quantum computer as the arrangement pattern of the entangling gate to be used.
[0053] The classical computer 110 sets up a quantum circuit (represented as "Build Quantum Circuit" in FIG. 3) according to the depth of the quantum circuit (represented as "Depth" in FIG. 3), the type of Ansatz element (represented as "Type" in FIG. 3), and the arrangement pattern of the Ansatz entangling gates (represented as "Pattern" in FIG. 3) determined as described above.
[0054] The setting of the quantum circuit by the classical computer 110 corresponds to setting a quantum circuit used when the quantum computer executes quantum computation. Setting a quantum circuit also means that the classical computer 110 determines how the quantum computer should operate. Setting a quantum circuit also means that the classical computer 110 determines an instruction for the operation on the quantum bits of the quantum computer. Setting a quantum circuit by the classical computer 110 also includes sending various information based on the quantum circuit to the quantum computer. As described later, the quantum computer executes quantum computation based on the quantum circuit set by the classical computer 110 in this way.
[0055] Then, the classical computer 110 outputs to the quantum computer 120 a control signal instructing the quantum computer 120 to execute the quantum circuit generated as described above.
[0056] The control device 121 of the quantum computer 120 causes the quantum computer 120 to execute a quantum chemical calculation corresponding to the quantum circuit in response to the control signal output from the classical computer 110. Then, the control device 121 of the quantum computer 120 outputs the result of the quantum chemical calculation to the classical computer 110.
[0057] The classical computer 110 obtains the results of the quantum chemical calculations calculated based on the quantum circuit.
[0058] [Operation of the Hybrid System 100 of the Embodiment]
[0059] Next, a specific operation of the hybrid system 100 according to the embodiment will be described. Each device of the hybrid system 100 executes each process shown in FIG.
[0060] First, in step S100, the user terminal 130 transmits to the classical computer 110 computation target information, which is information on a computation target, and computation method information, which is information on a computation method, both input by the user.
[0061] The calculation object information includes, for example, molecular information (e.g., the type, number, and coordinates of the atoms that make up the molecule), basis function set, the calculation object of the quantum chemical calculation (e.g., basis or excitation), the required accuracy of the quantum chemical calculation, and quantum computer information (e.g., the type of quantum computer or type of pseudo-quantum computer used by the user).
[0062] The calculation method information includes, for example, information about an algorithm used in a quantum chemical calculation. Examples of the algorithm used in a quantum chemical calculation include various algorithms such as VQE (Variational Quantum Eigensolver) and SSVQE (Subspace-search variational quantum eigensolver). Note that the algorithm used in a quantum chemical calculation is not limited to VQE and SSVQE, and various other algorithms can be used.
[0063] Next, in step S102, the classical computer 110 receives the computation target information and computation method information transmitted from the user terminal 130.
[0064] In step S103, the classical computer 110 determines an algorithm to be used for the quantum chemical calculation based on the calculation method information received in step S102.
[0065] In this embodiment, the quantum chemical calculation algorithm is determined by the user, but the quantum chemical calculation algorithm may be determined from the calculation target specified by the user without being determined by the user. For example, a table in which the calculation target and the quantum chemical calculation algorithm are associated with each other may be prepared in advance, and an algorithm that is compatible with the calculation target may be recommended. In this case, the quantum chemical calculation algorithm that the user actually uses may be selected from the recommended quantum chemical calculation algorithms.
[0066] In step S104, the classical computer 110 determines the type of Ansatz (denoted as "Type" in FIG. 3) for determining the set of quantum gates in the quantum circuit, as described above.
[0067] In step S105, the classical computer 110 calculates the number of molecular orbitals based on the molecular information acquired in step S102, as described above, and determines the number of quantum bits according to the number of molecular orbitals. In addition, the classical computer 110 calculates the depth of the quantum circuit (denoted as "Depth" in FIG. 3) by inputting the determined number of quantum bits, statistical parameters, and parameters related to the required accuracy of the quantum chemical calculation acquired in step S102 into a regression equation generated in advance, as described above.
[0068] In step S106, the classical computer 110 determines the arrangement pattern of the entangling gates (denoted as "Pattern" in FIG. 3) based on the quantum computer information acquired in step S102, as described above.
[0069] In step S107, the classical computer 110 sets up a quantum circuit to be used in the quantum chemical calculation based on the various elements set in steps S104 to S106 (denoted as "Build Quantum Circuit" in FIG. 3).
[0070] In step S108, the classical computer 110 transmits to the quantum computer 120 various pieces of information necessary for the quantum chemical calculation and a control signal indicating that the quantum circuit set in step S106 is to be executed.
[0071] In step S110, the control device 121 of the quantum computer 120 receives the various information and control signals transmitted from the classical computer 110 in step S108.
[0072] In step S112, the control device 121 causes the quantum computer 120 to execute a quantum chemical calculation according to the various information received in step S110.
[0073] Specifically, quantum computer 120 generates electromagnetic waves to be irradiated to at least any one of quantum bits in quantum bit group 123 in response to the control of control device 121. Then, quantum computer 120 irradiates at least any one of quantum bits in quantum bit group 123 with the generated electromagnetic waves, and executes a quantum circuit according to the initial information. The gate operation of each quantum gate included in the quantum circuit is converted into a corresponding electromagnetic wave waveform, and the generated electromagnetic waves are irradiated to quantum bit group 123 by electromagnetic wave generating device 122. Then, quantum computer 120 outputs the result of the quantum chemical calculation.
[0074] In step S114, the control device 121 transmits the result obtained in step S112 above to the classical computer 110.
[0075] In step S116, the classical computer 110 receives the result sent from the control device 121 in step S114.
[0076] In steps S108 to S116, a predetermined repeated calculation based on a quantum circuit is executed between the classical computer 110 and the quantum computer 120, and a result may be obtained thereby.
[0077] In step S118, the classical computer 110 transmits to the user terminal 130 the result obtained in step S116 or a result obtained by processing the result.
[0078] In step S120, the user terminal 130 receives the result transmitted from the classical computer 110.
[0079] The user terminal 130 may display the physical property values (e.g., energy, etc.) and the cost function history, which are the results of the quantum chemical calculation, on its own display unit (not shown). The user terminal 130 may also display the estimated results of the calculation cost or the number of calculation steps, etc., on its display unit (not shown) as the results of the quantum chemical calculation.
[0080] Furthermore, when performing quantum computation, the user terminal 130 may display information on the estimate such as the number of quantum bits required, the time required for computation, and the number of computation cycles on its own display unit (not shown). In this case, the classical computer 110 instructs the quantum computer 120 to execute a computation for estimation (for example, execution of a predetermined repetitive computation) that has been prepared in advance. The classical computer 110 acquires a record of the repetitive computation by the quantum computer 120 (for example, the time required for the repetitive computation, etc.). Then, the classical computer 110 applies the record of the repetitive computation to a regression equation prepared in advance, and predicts the time required for the actual quantum computation in consideration of the performance of the quantum computer 120. Then, the classical computer 110 transmits the prediction result of the time required for the actual quantum computation to the user terminal 130. Note that the classical computer 110 may prepare a table in which the performance of the quantum computer and the prediction result of the time required for the actual quantum computation are associated with each other, and recommend a recommended quantum computer by referring to the table.
[0081] The user checks the results displayed on a display unit (not shown) of the user terminal 130.
[0082] As described above, the classical computer of the hybrid system of the embodiment is an information processing device having one or more computer processors, and acquires molecular information, which is information about an input molecule. Then, the classical computer sets the quantum circuit to be used in the quantum chemical calculation by setting the elements of the quantum circuit, including the depth of the quantum circuit, based on the molecular information. Then, the classical computer acquires the result of the calculation based on the quantum circuit in which the elements of the quantum circuit are set. This makes it possible to automatically set the quantum circuit when the quantum computer is made to execute the quantum chemical calculation.
[0083] Furthermore, even if a user does not have advanced knowledge about quantum computers, it becomes possible to execute quantum chemical calculations using the quantum computer.
[0084] In addition, when performing quantum chemical calculations using a quantum computer, it is possible to optimize the balance between the accuracy and amount of calculation of the quantum chemical calculations by setting the depth of the quantum circuit so that the ratio between the number of quantum bits and the depth of the quantum circuit is a predetermined ratio.
[0085] Furthermore, by setting the depth of the quantum circuit based on the ratio between the number of quantum bits and the depth of the quantum circuit, it becomes possible to automate the setting of the quantum circuit to a certain extent.
[0086] The technology of the present disclosure is not limited to the above-described embodiment, and various modifications and applications are possible without departing from the spirit and scope of the present invention.
[0087] For example, in the above embodiment, information may be transmitted and received in any manner between the classical computer 110 and the quantum computer 120. For example, transmission and reception of parameters of a quantum circuit and transmission and reception of measurement results between the classical computer 110 and the quantum computer 120 may be performed sequentially each time a predetermined calculation is completed, or may be performed after all calculations are completed.
[0088] In the above embodiment, the depth of the quantum circuit is determined using a regression equation, but the present invention is not limited to this. For example, the depth of the quantum circuit may be determined using a trained model generated by a machine learning algorithm. In this case, when the number of molecular orbitals or the number of quantum bits and the required accuracy of the quantum chemical calculation are input to the trained model, the trained model outputs the depth of the quantum circuit. Alternatively, for example, the number of molecular orbitals or the number of quantum bits, the required accuracy of the quantum chemical calculation, and the depth of the quantum circuit may be associated in advance by a table, and the classical computer 110 may determine the depth of the quantum circuit by referring to the table.
[0089] In the above embodiment, the calculation target information is transmitted from the user terminal 130 to the classical computer 110, and the classical computer 110 executes a calculation according to the calculation target information. However, the present invention is not limited to this. The user terminal 130 may transmit the calculation target information to the classical computer 110 or a storage medium or storage device accessible to the classical computer 110 via a computer network such as an IP network, or may store the calculation target information in a storage medium or storage device and hand it over to the operator of the classical computer 110, who may input the calculation target information to the classical computer 110 using the storage medium or storage device.
[0090] In addition, in the above embodiment, the quantum circuit is executed by irradiating electromagnetic waves. However, the present invention is not limited to this, and the quantum circuit may be executed by a different method.
[0091] In the above embodiment, the quantum computer 120 executes the quantum chemical calculation, but the present invention is not limited to this. For example, the quantum chemical calculation may be executed by a classical computer that mimics the behavior of a quantum computer.
[0092] Furthermore, in the above embodiment, it is assumed that the classical computer 110 and the quantum computer 120 are managed by different organizations, but the classical computer 110 and the quantum computer 120 may be managed as a single entity by the same organization. In this case, it is not necessary to transmit quantum chemical calculation information from the classical computer 110 to the quantum computer 120 and to transmit measurement results from the quantum computer 120 to the classical computer 110. In this case, it is considered that the control device 121 of the quantum computer 120 plays the role of the classical computer 110 in the above description.
[0093] In the above embodiment, the depth of the quantum circuit is the number of steps of quantum circuit calculation determined based on the arrangement of the quantum gates constituting the quantum circuit, but is not limited to this. For example, the depth of the quantum circuit may be the number of iterative calculations in a specified quantum gate of the quantum circuit. Alternatively, a group of specified quantum gates may be one unit, and the number of units may be the depth of the quantum circuit. For example, as shown in FIG. 6, when the quantum circuit is composed of unit U1, unit U2, and unit U3, the depth of the quantum circuit may be D+2, which is the sum of the number of iterations D of unit U1, the number 1 of unit U2, and the number 1 of unit U3. Note that, in FIG. 6, R Y ,R Z represents a given rotating gate.
[0094] It should be noted that in the above embodiment, unless there is a statement such as "based only on XX", "depending only on XX", or "only in the case of XX", it is assumed in this specification that additional information may be taken into consideration. As an example, the statement "do b if a" does not necessarily mean "always do b if a" unless expressly stated otherwise.
[0095] In addition, in the above embodiment, expressions such as "optimize" or "optimized parameters" are used, but it should be noted that these expressions of "optimization" mean approaching an optimal state. Therefore, when trying to obtain parameters that minimize a certain function, it should be noted that the parameters obtained by optimizing the function may be a local solution rather than a global solution that minimizes the function.
[0096] Furthermore, even if there is an aspect of a method, program, terminal, device, server or system (hereinafter referred to as a "method, etc.") that performs an operation different from that described in this specification, each aspect of the disclosed technology is directed to an operation that is identical to any of the operations described in this specification, and the existence of an operation different from that described in this specification does not make the method, etc. outside the scope of each aspect of the technology disclosed herein.
[0097] Furthermore, although the present specification has been described as an embodiment in which the program is pre-installed, the program may also be provided by being stored on a computer-readable recording medium.
[0098] Furthermore, each component of the hybrid system of this embodiment does not have to be realized by a single computer or server, but may be realized in a distributed manner across multiple computers connected by a network.
[0099] For example, the processing executed by the classical computer of each of the above embodiments may be distributed among multiple classical computers connected by a network. Or, for example, the processing executed by the quantum computer of each of the above embodiments may be distributed among multiple quantum computers connected by a network. In this case, a hybrid system is formed by at least one classical computer and at least one quantum computer. [Explanation of symbols]
[0100] 100 Hybrid System 110 Classical Computers 111 Communications Department 112 Processing section 113 Information storage section 120 Quantum Computer 121 Control device 122 Electromagnetic wave generation device 123 qubit group 130 User terminal
Claims
1. A program for execution by one or more computer processors, obtaining molecular information, which is information about a molecule; setting a quantum circuit to be used in a quantum chemical calculation by setting elements of the quantum circuit, including a depth of the quantum circuit, based on the molecular information; obtaining a result calculated based on the quantum circuit in which the element is configured; A program for causing a computer processor to execute a process.
2. The depth of the quantum circuit is the number of steps of quantum circuit calculation determined based on the arrangement of quantum gates constituting the quantum circuit. The program according to claim 1.
3. The depth of the quantum circuit is the number of repetitions of quantum gates in the quantum circuit. The program according to claim 1.
4. Calculating the depth of the quantum circuit based on the number of molecular orbitals calculated based on the molecular information and statistical information based on statistics between the number of molecular orbitals and the depth of the quantum circuit; The program according to claim 1.
5. Further, a depth of the quantum circuit is calculated based on a required accuracy of the quantum chemical calculation specified by a user. The program according to claim 4.
6. Calculating the depth of the quantum circuit by inputting the number of molecular orbitals, a statistical parameter based on statistics between the number of molecular orbitals and the depth of the quantum circuit, and the required accuracy into a regression equation generated in advance; The program according to claim 5.
7. Selecting a type of Ansatz to be used when determining a set of quantum gates in the quantum circuit based on a calculation target of the quantum chemical calculation; The program according to claim 1.
8. Selecting a type of Ansatz to be used when determining a set of quantum gates in the quantum circuit based on a Hamiltonian calculated from the molecular information. The program according to claim 1.
9. determining the number of quantum bits based on the number of molecular orbitals calculated from the molecular information; The program according to claim 1.
10. When the calculation target is the ground state energy, a first kind of Ansatz is selected; When the calculation target is the energy of an excited state, a second type of Ansatz is selected. The program according to claim 7.
11. selecting a quantum chemical calculation algorithm for performing the quantum chemical calculation based on the calculation target specified by a user; The program according to claim 7.
12. An information processing device including one or more computer processors, Obtain molecular information, which is information about the input molecule; setting a quantum circuit to be used in a quantum chemical calculation by setting elements of the quantum circuit, including a depth of the quantum circuit, based on the molecular information; obtaining a result calculated based on the quantum circuit in which the element is configured; Information processing device.
13. 1. An information processing method executed by one or more computer processors, comprising: obtaining molecular information, which is information about a molecule; setting a quantum circuit to be used in a quantum chemical calculation by setting elements of the quantum circuit, including a depth of the quantum circuit, based on the molecular information; obtaining a result calculated based on the quantum circuit in which the element is configured; Information processing methods.
14. A hybrid system comprising the information processing device according to claim 12 and a quantum computer, The information processing device outputs a control signal representing execution of the quantum circuit used for quantum chemical calculation to the quantum computer; the quantum computer, in response to the control signal, executes a quantum chemistry calculation corresponding to the quantum circuit, and outputs a result of the quantum chemistry calculation to the information processing device; The information processing device acquires a result of the quantum chemistry calculation calculated based on the quantum circuit. Hybrid system.
Citation Information
Patent Citations
Quantum information processing method for calculating transition amplitude, classic computer, quantum computer, hybrid system, and quantum information processing program
JP2022029348A
Classical Optimizers for Quantum Chemical Circuit Synthesis
JP2022510153A
Quantum variational method, device and storage medium for simulating quantum systems
JP2022529187A
Quantum Circuit Generation Method and Related Device
US20220269967A1
Quantum information processing method, classic computer, quantum computer, quantum information processing program, and data structure for obtaining differential of energy
JP2021028847A
