Information processing program, information processing device, and information processing method
The information processing program and device address the time-consuming issue of noise simulations in NISQ quantum computers by pre-storing and utilizing the quantum state before noise gates, allowing for faster and more efficient noisy quantum circuit simulations.
Patent Information
- Application Number
- PCT/JP2024/001689
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-03-03
- Filing Date
- 2024-01-22
- Publication Date
- 2024-09-12
AI Technical Summary
Current NISQ quantum computers are significantly affected by noise and errors, requiring multiple simulations to account for varying noise locations and types, making simulations time-consuming.
An information processing program and device that execute noisy quantum circuits by storing and using the quantum state immediately before the noise gate to determine noise occurrence, allowing for faster simulations by skipping unnecessary processing steps and reconstructing the quantum circuit after noise gates.
This approach enables faster performance of noisy simulations of quantum circuits by pre-storing and utilizing the quantum state before the noise gate, thereby reducing simulation time and improving efficiency.
Smart Images

Figure JP2024001689_12092024_PF_FP_ABST
Abstract
Description
Information processing program, information processing device, and information processing method
[0001] The present invention relates to an information processing program, an information processing device, and an information processing method.
[0002] Currently, the development of gate-based quantum computers is progressing with the goal of achieving a quantum computer with quantum error tolerance, known as a Fault Tolerant Quantum Computer (FTQC).However, even with a Noisy Intermediate-Scale Quantum Computer (NISQ), which does not have sufficient quantum error correction, it is beginning to be said that quantum computers may be able to achieve superiority in fields such as quantum chemical calculations, quantum approximate optimization, and quantum machine learning.
[0003] Current NISQ is susceptible to noise, which can cause errors in the qubits, so quantum circuit design must take noise into account. For this reason, quantum circuit development for NISQ involves conducting simulations with noise, in which noise gates are added to the quantum circuit to intentionally generate noise.
[0004] US Patent Application Publication No. 2019 / 0018721
[0005] However, in a simulation with noise, since there are various locations where noise occurs and various types of noise, it is necessary to perform the simulation multiple times, which takes a long time.
[0006] One aspect aims to perform noisy simulation of quantum circuits faster.
[0007] In one aspect, the information processing program executes a noisy quantum circuit having a noise gate that generates noise as a noiseless simulation that does not execute noise gate processing, and stores the state of the quantum bit immediately before the noise gate as a quantum state; when the noisy quantum circuit is executed as a noisy simulation that executes noise gate processing, the information processing program causes the computer to execute a process of executing the noisy quantum circuit from the noise gate that is determined to generate noise using the quantum state immediately before the noise gate that is determined to generate noise.
[0008] In one aspect, noisy simulation of quantum circuits can be performed faster.
[0009] FIG. 1 is a diagram illustrating classical bits and quantum bits. FIG. 2 is a diagram illustrating a State Vector representation of n quantum bits. FIG. 3 is a diagram illustrating quantum circuit simulation. FIG. 4 is a diagram illustrating a simulation with noise. FIG. 5 is a diagram illustrating a configuration example of an information processing device 10 according to this embodiment. FIG. 6 is a diagram illustrating storage of a quantum state immediately before a noise gate according to this embodiment. FIG. 7 is a diagram illustrating determination of noise occurrence according to this embodiment. FIG. 8 is a diagram illustrating circuit reconstruction of a simulation with noise according to this embodiment. FIG. 9 is a diagram illustrating speeding up a simulation with noise according to this embodiment. FIG. 10 is a flowchart illustrating the flow of a process for acquiring a quantum state immediately before a noise gate according to this embodiment. FIG. 11 is a flowchart illustrating the flow of a process for executing a simulation with noise according to this embodiment. FIG. 12 is a diagram illustrating an example of a hardware configuration of an information processing device 10 according to this embodiment.
[0010] Hereinafter, examples of the information processing program, information processing device, and information processing method according to the present embodiment will be described in detail with reference to the accompanying drawings. Note that the present embodiment is not limited to these examples. Furthermore, each example can be appropriately combined within a consistent range.
[0011] First, in order to explain the simulation with noise handled in this embodiment, a quantum bit and quantum circuit simulation will be explained. Fig. 1 is a diagram for explaining classical bits and quantum bits.
[0012] A classical bit (bit), shown on the left side of Figure 1, is a unit of information in classical computers, which are the most common computers in use today. As shown on the left side of Figure 1, a classical bit (1 bit) can only have a state of "0" or "1."
[0013] On the other hand, a quantum bit (qubit), shown on the right side of Figure 1, is a unit of information in a quantum computer, which is a computer that operates using quantum mechanical phenomena. A quantum bit of one qubit (hereinafter referred to as "one quantum bit") is represented, for example, as |ψ〉, and as shown on the right side of Figure 1 as a "Bloch sphere," it can have "0" and "1" as well as a state that is neither "0" nor "1." The "Bloch sphere" is a method of expressing quantum states, in which the state of a quantum bit is represented as a point on a unit sphere. In the "Bloch sphere," θ is the angle with the z-axis, and φ is the angle between the x-axis and a perpendicular line drawn from |ψ〉 onto the xy plane, and θ and φ are real numbers.
[0014] By observing one quantum bit, the state of "0" or "1" can be probabilistically obtained. The states of "0" and "1" are represented as |0> and |1>, respectively, and the probability of obtaining each is |c0|, as shown on the right side of Figure 1. 2 %, |c1| 2 %. Also, c0 and c1 are expressed as "|c0| 2 +|c1| 2 = 1”. Furthermore, one quantum bit |ψ〉 can be expressed, for example, by the following equation (1).
[0015]
[0016] As explained above, unlike classical bits, quantum bits do not have a single state such as "0" or "1", and therefore, when performing quantum circuit simulation, all possible quantum states are held as elements of an array. FIG. 2 is a diagram for explaining the State Vector representation of n quantum bits. The State Vector representation is an example of an array representation of quantum bits. In the State Vector representation, as shown in FIG. 2, n quantum bits (n is a natural number) have all combinations of quantum states "0" and "1" that can be obtained from n quantum bits, as follows: n For example, in the case of two qubits, all combinations of the quantum states "0" and "1" that can be obtained from the two qubits, 2 = 4 element vectors in the array. Similarly, for example, in the case of 4 qubits, 2 4 = 16 element vectors in the array.
[0017] In quantum circuit simulation, the quantum circuit is executed, and the simulation is performed while updating the quantum states that can be obtained with n quantum bits, as described using FIG. 2. FIG. 3 is a diagram for explaining quantum circuit simulation. The example in FIG. 3 shows a simulation of a four-qubit quantum circuit. In quantum circuit simulation, for example, when a quantum circuit is executed, processing of each quantum gate is performed on each quantum bit, starting from the left side of the quantum circuit, and the quantum state is updated. Note that since this is a simulation, the quantum states that are updated at this time are all possible quantum states; for example, in the case of four quantum bits, this is all 16 elements of the array represented by the State Vector representation. By updating all elements of the quantum state in this way, in quantum circuit simulation, all patterns of the quantum state can be observed, unlike when a quantum circuit is actually executed as a quantum computation. Note that the quantum circuit shown in FIG. 3 is just an example, and various quantum circuit simulations can be performed.
[0018] Next, we will explain the simulation of quantum circuits with noise, which is performed in the development of quantum circuits for NISQ. Figure 4 is a diagram for explaining the simulation with noise. The example in Figure 4 shows a simulation of a 10-qubit quantum circuit with noise. As indicated by the dashed lines in Figure 4, in the simulation with noise, a noise gate is added to each quantum bit to generate noise in the quantum circuit. In the example in Figure 4, the probability of noise generation in each noise gate is set to 0.001%, but the noise generation probability can be freely set to suit the quantum circuit being simulated. Also, in the example in Figure 4, a noise gate is added for each gate process of the quantum circuit's depth (depth) 0 to 8. However, the depth interval, the location and number of noise gates, can also be freely set to suit the quantum circuit being simulated. Note that if no noise is generated in the noise gate, no errors will occur in the quantum bit, and the quantum state will be the same before and after passing through the noise gate. Therefore, when performing a simulation with noise multiple times, the same processing result will always be obtained and the same quantum state will be maintained until the quantum circuit is executed and noise is generated in the noise gate. In other words, when a noisy simulation is performed multiple times, the same processing is repeated until noise occurs in the noise gate. Furthermore, as described above, a noisy simulation requires multiple simulations. Therefore, in this embodiment, when a noisy simulation is performed multiple times, the quantum state up until the noise occurs is maintained, and the same processing up to that point is skipped, thereby enabling a noisy simulation of a quantum circuit to be performed more quickly.
[0019] (Functional Configuration of Information Processing Device 10) Next, the functional configuration of the information processing device 10, which is the subject of operation in this embodiment, will be described. FIG. 5 is a diagram showing an example of the configuration of the information processing device 10 according to this embodiment. The information processing device 10 shown in FIG. 5 is, for example, an information processing device such as a server computer, a desktop PC (Personal Computer), or a notebook PC. Note that while FIG. 5 shows the information processing device 10 as a single computer, it may also be a distributed computing system made up of multiple computers. Furthermore, the information processing device 10 may also be a cloud computing device managed by a service provider that provides cloud computing services.
[0020] As shown in FIG. 5, the information processing device 10 includes a communication unit 20, a storage unit 30, and a control unit 40.
[0021] The communication unit 20 is a processing unit that controls communication with other devices, and is, for example, a communication interface such as a network interface card or a USB (Universal Serial Bus) interface.
[0022] The storage unit 30 has a function of storing various data and programs executed by the control unit 40, and is realized by a storage device such as a memory or a hard disk. The storage unit 30 stores quantum circuit information 31, quantum state information 32, and the like.
[0023] The quantum circuit information 31 stores, for example, information about the quantum circuit to be simulated. More specifically, the quantum circuit information 31 stores, for example, information about a noisy quantum circuit including a noise gate for performing a noisy simulation and other quantum gates, as shown in FIG. 4. In addition, information about a noisy quantum circuit that has been reconstructed to perform a noisy simulation at a higher speed is stored. Details of the reconstructed noisy quantum circuit will be described later.
[0024] The quantum state information 32 stores, for example, information about the quantum state, which is the state of the quantum bit. More specifically, the quantum state information 32 stores information about the quantum state used in the noisy simulation, for example, in the State Vector representation as shown in FIGS. 2 and 3. It also stores information about the quantum state immediately before the noise gate, which is acquired to perform the noisy simulation at a higher speed. The quantum state immediately before the noise gate will be described in detail later.
[0025] The above information stored in the storage unit 30 is merely an example, and the storage unit 30 can store various information other than the above information.
[0026] The control unit 40 is a processing unit, such as a processor, that controls the entire information processing device 10. The control unit 40 includes an execution unit 41, an acquisition unit 42, a determination unit 43, and a generation unit 44. Each processing unit is an example of an electronic circuit included in the processor or an example of a process executed by the processor.
[0027] The execution unit 41 executes, for example, a noisy quantum circuit having a noise gate that generates noise as a noiseless simulation that does not execute noise gate processing, and stores the state of the quantum bit immediately before the noise gate as the quantum state. The storage of such a quantum state immediately before the noise gate will be described in more detail with reference to FIG.
[0028] FIG. 6 is a diagram for explaining the storage of quantum states immediately before a noise gate according to this embodiment. The quantum circuit shown in FIG. 6 is a noisy quantum circuit including a noise gate for performing a noisy simulation and other quantum gates. Such a noisy quantum circuit is constructed (generated) in advance, and the information is stored in the quantum circuit information 31. The execution unit 41, for example, acquires information about the noisy quantum circuit from the quantum circuit information 31 and executes the noisy quantum circuit as a noiseless simulation without performing noise gate processing. At this time, as shown in FIG. 6, the execution unit 41, for example, stores the state of the quantum bit immediately before each noise gate as a quantum state in the quantum state information 32. At this time, position information indicating which quantum state immediately before which noise gate it is is associated with and stored in each quantum state.
[0029] Furthermore, the execution unit 41 executes, as a noisy simulation, the noisy quantum circuit reconstructed by the generation unit 44. Details of the execution of the noisy quantum circuit reconstructed will be described later.
[0030] When the acquisition unit 42 executes the noisy quantum circuit as a noise-containing simulation that executes noise gate processing, the acquisition unit 42 acquires the quantum state immediately before the noise gate that is determined by the determination unit 43 to generate noise from the quantum state information 32. Note that the quantum state immediately before the noise gate acquired here is the quantum state stored in the quantum state information 32 when the execution unit 41 executed the noise-free simulation, as described using FIG.
[0031] For example, when a noisy quantum circuit is executed as a noisy simulation, the determination unit 43 determines whether noise will occur in a noise gate in the execution order of the noise gates in the noisy quantum circuit. Furthermore, for example, when it is determined that noise will not occur in a noise gate, the determination unit 43 determines whether noise will occur in the next noise gate in the execution order. Such determination of noise occurrence in a noise gate will be described in more detail with reference to FIG. 7 .
[0032] FIG. 7 is a diagram for explaining the determination of noise occurrence according to this embodiment. The quantum circuit shown in FIG. 7 is the noisy quantum circuit shown in FIG. 6 in which the quantum state immediately before the noise gate is pre-stored. As shown in FIG. 7, the determination unit 43 determines whether noise occurs in a noise gate, for example, based on the execution order of the noise gates in the noisy quantum circuit, i.e., starting from the left side of the quantum circuit. Note that, as shown by the dashed lines in FIG. 7, a noise gate is assigned to each quantum bit. Therefore, for example, whether noise occurs is determined for each noise gate group assigned to each quantum bit (each noise gate group within the dashed line). Then, if there is even one noise gate that generates noise among the noise gate groups assigned to each quantum bit, it is determined that noise occurs. Note that, in the example of FIG. 7, since the noise gate generates noise with a probability of 0.001%, for example, a determination using a random number is performed for each noise gate to determine whether noise occurs. Also, as shown in FIG. 7, if it is determined that noise occurs in a noise gate, the noise occurrence determination process ends. On the other hand, if it is determined that no noise occurs in any of the noise gates in the noise gate group, it is determined whether or not noise occurs in the next noise gate group in the execution order.
[0033] The generation unit 44, for example, acquires from the noisy quantum circuit a quantum circuit subsequent to a noise gate determined by the determination unit 43 to generate noise. Then, the generation unit 44 generates a noisy quantum circuit subsequent to the noise gate determined to generate noise, for example, by changing the noise gate determined to generate noise to a gate that generates noise. The generation of such a noisy quantum circuit subsequent to a noise gate determined to generate noise will be described in more detail using FIG. 8 .
[0034] FIG. 8 is a diagram illustrating circuit reconstruction in a noisy simulation according to this embodiment. FIG. 8 illustrates an example in which noise is determined to occur in a noise gate between depths 2 and 3. In this case, as shown in FIG. 8 , the generation unit 44 changes the noise gate determined to generate noise to a gate that generates noise, indicated as a "Noise" gate in FIG. 8 . The gate that generates noise is a quantum gate that generates 100% noise. Also, as shown in FIG. 8 , noise gates that are determined not to generate noise and are included in the same noise gate group as the noise gate determined to generate noise are removed so as not to generate noise. Note that FIG. 8 illustrates an example in which there is only one noise gate determined to generate noise in the same noise gate group, but there may be multiple noise gates determined to generate noise in the same noise gate group. Then, as shown in FIG. 8 , the generation unit 44 reconstructs the quantum circuit so that the noisy quantum circuit after the noise gate determined to generate noise, i.e., the quantum circuit at depth 3 or later in the example of FIG. 8 , is executed after the "Noise" gate. As shown in Fig. 8, the reconstructed quantum circuit does not include the noisy quantum circuit before the noise gate in which it is determined that noise will occur, i.e., the quantum circuit before depth 2 in the example of Fig. 8. The quantum circuit reconstructed in this way is the quantum circuit shown in Fig. 9.
[0035] FIG. 9 is a diagram for explaining the speed-up of the noisy simulation according to this embodiment. As shown in FIG. 9 , the execution unit 41 executes, for example, a noisy quantum circuit reconstructed by the generation unit 44 as a noisy simulation. At this time, the execution unit 41 executes the noisy quantum circuit after the noise gate determined to generate noise, using, for example, the quantum state immediately before the noise gate determined to generate noise, acquired by the acquisition unit 42. More specifically, as shown in FIG. 9 , the execution unit 41 reads and acquires the quantum state immediately before the noise gate between depths 2 and 3 determined to generate noise from the quantum state information 32, and uses this as input data to execute the quantum circuit after depth 3. This allows the execution of quantum circuits before depth 2 to be skipped, thereby enabling the noisy simulation of the quantum circuit to be performed more quickly.
[0036] (Processing Flow) Next, the process of acquiring the quantum state immediately before the noise gate, which is executed by the information processing device 10, will be described with reference to Fig. 10. Fig. 10 is a flowchart showing the flow of the process of acquiring the quantum state immediately before the noise gate according to this embodiment. The acquisition process shown in Fig. 10 is a process that is performed in advance as a noiseless simulation in order to perform a noise-containing simulation at a higher speed.
[0037] 10, the information processing device 10 generates, for example, as an initial state, elements of an array of all possible quantum states in accordance with the number of quantum bits used in the simulation (step S101). The elements of the array generated here are, for example, elements of an array of n quantum bits represented by a State Vector representation as described with reference to FIGS.
[0038] Next, the information processing device 10 acquires, for example, information on a noisy quantum circuit that has a noise gate that generates noise, which has been generated in advance, from the quantum circuit information 31 (step S102).
[0039] Next, the information processing device 10 acquires, for example, gate information included in the noisy quantum circuit corresponding to the circuit information acquired in step S102 in the order of execution (step S103). Here, acquiring gate information in the order of execution means acquiring quantum gate information in order from the left side of the quantum circuit, for example, in the quantum circuit shown in FIG.
[0040] If the gate information acquired in step S103 is information about a quantum gate other than a noise gate (step S104: No), the information processing device 10 executes, for example, processing of the quantum gate and updates the quantum state (step S105). The quantum state to be updated here is, for example, an element of the array of all possible quantum states generated in step S101.
[0041] On the other hand, if the gate information acquired in step S103 is information about a noise gate (step S104: Yes), the information processing device 10 stores, for example, the position of the noise gate and the quantum state at that time (step S106). The quantum state stored here is the quantum state immediately before the noise gate, and for example, the quantum state and the position of the noise gate are associated and stored in the quantum state information 32. Note that even if the gate information acquired in step S103 is information about a noise gate, the acquisition process shown in FIG. 10 is executed as a noiseless simulation, and therefore the noise gate processing is not executed.
[0042] After execution of step S105 or S106, if processing of all quantum gates included in the noisy quantum circuit corresponding to the circuit information acquired in step S102 has been completed (step S107: Yes), the acquisition process shown in Figure 10 ends.
[0043] On the other hand, if there is a quantum gate for which processing has not been completed (step S107: No), the information processing device 10 returns to step S103, acquires gate information for the next gate in the execution order, and repeats the processing until processing of all quantum gates is completed.
[0044] By the acquisition process shown in Figure 10, as explained using Figure 9, for example, the quantum state immediately before each noise gate is associated with position information indicating which quantum state immediately before which noise gate it is and stored in quantum state information 32.
[0045] Next, the execution process of a noisy simulation executed by the information processing device 10 will be described with reference to Fig. 11. Fig. 11 is a flowchart showing the flow of the execution process of a noisy simulation according to this embodiment. The execution process shown in Fig. 11 is an execution process of a noisy simulation that is performed at a higher speed using the quantum state immediately before the noise gate acquired by the acquisition process shown in Fig. 10.
[0046] 11, the information processing device 10 generates, for example, as an initial state, elements of an array of all possible quantum states in accordance with the number of quantum bits used in the simulation (step S201). The elements of the array generated here are, for example, elements of an array of n quantum bits represented by a State Vector representation as described with reference to FIGS.
[0047] Next, the information processing device 10 acquires, for example, information on a noisy quantum circuit that has a noise gate that generates noise, which has been generated in advance, from the quantum circuit information 31 (step S202).
[0048] Next, the information processing device 10 acquires, for example, information about the noise gate that is first in the execution order included in the noisy quantum circuit corresponding to the circuit information acquired in step S202 (step S203). The noise gate that is first in the execution order acquired here is, for example, a noise gate between depth 0 and depth 1, when explained using the quantum circuit shown in FIG.
[0049] Next, the information processing device 10 determines, for example, whether noise occurs in the noise gate acquired in step S203 (step S204). Here, regarding the determination of whether noise occurs, for example, as described with reference to FIG. 7 , if there is at least one noise gate in the same noise gate group that generates noise, it is determined that noise will occur. If it is determined that noise will not occur in the acquired noise gate (step S204: No), the information processing device 10 acquires, for example, information on the next noise gate in the execution order (step S205). Then, the information processing device 10 returns to step S204 and determines whether noise will occur in the noise gate acquired in step S205.
[0050] On the other hand, if it is determined that noise occurs in the acquired noise gate (step S204: Yes), the information processing device 10 reconstructs a noisy quantum circuit corresponding to the circuit information acquired in step S202 (step S206). Here, reconstructing a noisy quantum circuit means, for example, as described with reference to FIG. 8, changing the noise gate determined to generate noise to a gate that generates noise, and reconstructing the quantum circuit so that the subsequent quantum circuits are executed.
[0051] Next, the information processing device 10 acquires, for example, the quantum state immediately before the noise gate determined in step S204 to generate noise from the quantum state information 32 (step S207). The quantum state acquired here is the quantum state immediately before the noise gate stored in the quantum state information 32 in step S106 of the acquisition process shown in FIG. 10 .
[0052] Next, the information processing device 10 executes the quantum circuit reconstructed in step S206 as a noise-containing simulation, for example, using the quantum state acquired in step S207 as input data (step S208). Note that the execution of the quantum circuit in step S208 is executed as a noise-containing simulation, and therefore, unlike a noise-free simulation, noise gate processing is executed. After execution of step S208, the execution process shown in FIG. 11 ends.
[0053] (Effect) As described above, the information processing device 10 executes a noisy quantum circuit having a noise gate that generates noise as a noiseless simulation that does not execute noise gate processing, stores the state of the quantum bit immediately before the noise gate as the quantum state, and when executing the noisy quantum circuit as a noisy simulation that executes noise gate processing, executes the noisy quantum circuit from the noise gate that is determined to generate noise using the quantum state immediately before the noise gate that is determined to generate noise.
[0054] In this way, the information processing device 10 stores in advance the quantum state immediately before the noise gate and uses that quantum state in the noisy simulation to skip the processing up to the occurrence of noise, thereby enabling the information processing device 10 to perform the noisy simulation of the quantum circuit at a higher speed.
[0055] In addition, the process executed by the information processing device 10 to acquire the quantum state immediately before a noise gate that is determined to generate noise includes a process of determining whether noise will be generated in a noise gate in the order of execution of the noise gates in the noisy quantum circuit, and if it is determined that noise will not be generated in the noise gate, determining whether noise will be generated in the next noise gate in the execution order, and if it is determined that noise will be generated in the noise gate, acquiring the quantum state immediately before the noise gate that is determined to generate noise.
[0056] This allows the information processing device 10 to perform noisy simulation of a quantum circuit at higher speed.
[0057] Furthermore, the process executed by the information processing device 10 to execute the noisy quantum circuit after the noise gate determined to generate noise includes a process of acquiring the quantum circuit after the noise gate determined to generate noise from the noisy quantum circuit, changing the noise gate determined to generate noise to a gate that generates noise, thereby generating the noisy quantum circuit after the noise gate determined to generate noise, and using the acquired quantum state as input data to execute the noisy quantum circuit after the noise gate determined to generate noise.
[0058] This allows the information processing device 10 to perform noisy simulation of a quantum circuit at higher speed.
[0059] (System) The information, including the processing procedures, control procedures, specific names, various data, and parameters shown in the above documents and drawings, may be changed as desired unless otherwise specified. Furthermore, the specific examples, distributions, and numerical values described in the embodiments are merely examples and may be changed as desired.
[0060] Furthermore, the specific form of distribution or integration of the components of the information processing device 10 is not limited to that shown in the figure. For example, the execution unit 41 of the information processing device 10 may be distributed across multiple processing units, or the execution unit 41 and the acquisition unit 42 of the information processing device 10 may be integrated into a single processing unit. In other words, all or some of the components may be functionally or physically distributed or integrated in any unit depending on various loads, usage conditions, etc. Furthermore, all or any part of the processing functions of each device may be realized by a CPU and a program analyzed and executed by the CPU, or may be realized as hardware using wired logic.
[0061] Fig. 12 is a diagram showing an example of the hardware configuration of an information processing device 10 according to this embodiment. As shown in Fig. 12, the information processing device 10 includes a communication interface 10a, a hard disk drive (HDD) 10b, a memory 10c, and a processor 10d. The components shown in Fig. 12 are connected to each other via a bus or the like.
[0062] The communication interface 10a is a network interface card or the like, and communicates with other information processing devices. The HDD 10b stores, for example, programs and data that operate the various functions of the information processing device 10.
[0063] The processor 10d is a CPU, a microprocessing unit (MPU), a graphics processing unit (GPU), or the like. The processor 10d may also be implemented by an integrated circuit such as an application specific integrated circuit (ASIC) or a field programmable gate array (FPGA). The processor 10d reads, for example, from the HDD 10b, a program that executes the same processes as those of the processing units shown in FIG. 5, and loads the program into the memory 10c. This allows the processor 10d to operate as a hardware circuit that executes processes that implement the functions of the information processing device 10.
[0064] Furthermore, the information processing device 10 can also realize the same functions as those of the above embodiment by reading the program from a recording medium using a medium reading device and executing the read program. Note that the program in this other embodiment is not limited to being executed by the information processing device 10. For example, the above embodiment may also be applied in the same way to cases where another information processing device executes the program or where the other information processing device and the information processing device 10 cooperate to execute the program.
[0065] The program may be distributed via a network such as the Internet. The program may also be recorded on a computer-readable storage medium such as a hard disk, a flexible disk (FD), a CD-ROM, a magneto-optical disk (MO), or a digital versatile disk (DVD). The program may then be read from the storage medium and executed by the information processing device 10 or the like.
[0066] The following additional notes are provided regarding the embodiments including the above examples.
[0067] (Supplementary Note 1) An information processing program that causes a computer to execute the following process: execute a noisy quantum circuit having a noise gate that generates noise as a noiseless simulation that does not execute processing of the noise gate, and store the state of the quantum bit immediately before the noise gate as a quantum state; and when the noisy quantum circuit is executed as a noise simulation that executes processing of the noise gate, execute the noisy quantum circuit after the noise gate that is determined to generate noise using the quantum state immediately before the noise gate that is determined to generate noise.
[0068] (Supplementary Note 2) The information processing program according to Supplementary Note 1, characterized in that the process of acquiring the quantum state immediately before the noise gate in which it is determined that the noise will occur includes the process of: determining whether the noise will occur in the noise gate in the order of execution of the noise gates in the noisy quantum circuit; if it is determined that the noise will not occur in the noise gate, determining whether the noise will occur in the next noise gate in the execution order; and if it is determined that the noise will occur in the noise gate, acquiring the quantum state immediately before the noise gate in which it is determined that the noise will occur.
[0069] (Supplementary Note 3) The information processing program according to Supplementary Note 1 or 2, characterized in that the process of executing the noisy quantum circuit after the noise gate determined to generate the noise includes the process of: acquiring the quantum circuit after the noise gate determined to generate the noise from the noisy quantum circuit; changing the noise gate determined to generate the noise to a gate that generates the noise, thereby generating the noisy quantum circuit after the noise gate determined to generate the noise; and executing the noisy quantum circuit after the noise gate determined to generate the noise using the acquired quantum state as input data.
[0070] (Supplementary Note 4) An information processing device comprising: a control unit that executes a process of: executing a noisy quantum circuit having a noise gate that generates noise as a noiseless simulation that does not execute processing of the noise gate, and storing the state of the quantum bit immediately before the noise gate as a quantum state; and when executing the noisy quantum circuit as a noise simulation that executes processing of the noise gate, executing the noisy quantum circuit after the noise gate that is determined to generate noise using the quantum state immediately before the noise gate that is determined to generate noise.
[0071] (Supplementary Note 5) The information processing device according to Supplementary Note 4, characterized in that the process of acquiring the quantum state immediately before the noise gate in which it is determined that the noise will occur includes the process of: determining whether the noise will occur in the noise gate in the order of execution of the noise gates in the noisy quantum circuit; if it is determined that the noise will not occur in the noise gate, determining whether the noise will occur in the next noise gate in the execution order; and if it is determined that the noise will occur in the noise gate, acquiring the quantum state immediately before the noise gate in which it is determined that the noise will occur.
[0072] (Supplementary Note 6) The information processing device according to Supplementary Note 4 or 5, characterized in that the process of executing the noisy quantum circuit after the noise gate determined to generate the noise includes the process of: acquiring the quantum circuit after the noise gate determined to generate the noise from the noisy quantum circuit; changing the noise gate determined to generate the noise to a gate that generates the noise, thereby generating the noisy quantum circuit after the noise gate determined to generate the noise; and executing the noisy quantum circuit after the noise gate determined to generate the noise using the acquired quantum state as input data.
[0073] (Supplementary Note 7) An information processing method characterized in that a computer executes the following process: executing a noisy quantum circuit having a noise gate that generates noise as a noiseless simulation that does not execute processing of the noise gate, and storing the state of the quantum bit immediately before the noise gate as a quantum state; and when executing the noisy quantum circuit as a noise simulation that executes processing of the noise gate, executing the noisy quantum circuit after the noise gate that is determined to generate noise using the quantum state immediately before the noise gate that is determined to generate noise.
[0074] (Supplementary Note 8) The information processing method according to Supplementary Note 7, characterized in that the process of acquiring the quantum state immediately before the noise gate in which it is determined that the noise will occur includes the process of: determining whether the noise will occur in the noise gate in the order of execution of the noise gates in the noisy quantum circuit; if it is determined that the noise will not occur in the noise gate, determining whether the noise will occur in the next noise gate in the execution order; and if it is determined that the noise will occur in the noise gate, acquiring the quantum state immediately before the noise gate in which it is determined that the noise will occur.
[0075] (Supplementary Note 9) The information processing method according to Supplementary Note 7 or 8, characterized in that the process of executing the noisy quantum circuit after the noise gate determined to generate the noise includes the process of: acquiring the quantum circuit after the noise gate determined to generate the noise from the noisy quantum circuit; changing the noise gate determined to generate the noise to a gate that generates the noise, thereby generating the noisy quantum circuit after the noise gate determined to generate the noise; and executing the noisy quantum circuit after the noise gate determined to generate the noise using the acquired quantum state as input data.
[0076] (Supplementary Note 10) An information processing device comprising: a processor; and a memory operatively connected to the processor, wherein the processor executes a process of: executing a noisy quantum circuit having a noise gate that generates noise as a noiseless simulation that does not execute processing of the noise gate, and storing the state of the quantum bit immediately before the noise gate as a quantum state; and when executing the noisy quantum circuit as a noise simulation that executes processing of the noise gate, executing the noisy quantum circuit from the noise gate determined to generate noise using the quantum state immediately before the noise gate.
[0077] REFERENCE SIGNS LIST 10 Information processing device 10a Communication interface 10b HDD 10c Memory 10d Processor 20 Communication unit 30 Storage unit 31 Quantum circuit information 32 Quantum state information 40 Control unit 41 Execution unit 42 Acquisition unit 43 Determination unit 44 Generation unit
Claims
1. An information processing program that causes a computer to execute the following process: a noisy quantum circuit having a noise gate that generates noise is executed as a noiseless simulation that does not execute the processing of the noise gate, and the state of the quantum bit immediately before the noise gate is stored as a quantum state; and when the noisy quantum circuit is executed as a noisy simulation that executes the processing of the noise gate, the noisy quantum circuit after the noise gate that is determined to generate noise is executed using the quantum state immediately before the noise gate that is determined to generate noise.
2. The information processing program according to claim 1, characterized in that the process of acquiring the quantum state immediately before the noise gate in which it is determined that the noise will occur includes the process of: determining whether or not the noise will occur in the noise gate in the execution order of the noise gates in the noisy quantum circuit; if it is determined that the noise will not occur in the noise gate, determining whether or not the noise will occur in the next noise gate in the execution order; and, if it is determined that the noise will occur in the noise gate, acquiring the quantum state immediately before the noise gate in which it is determined that the noise will occur.
3. The information processing program according to claim 1 or 2, characterized in that the process of executing the noisy quantum circuit following the noise gate in which it is determined that the noise will be generated includes the process of: acquiring from the noisy quantum circuit the quantum circuit following the noise gate in which it is determined that the noise will be generated; changing the noise gate in which it is determined that the noise will be generated to a gate which generates the noise, thereby generating the noisy quantum circuit following the noise gate in which it is determined that the noise will be generated; and executing the noisy quantum circuit following the noise gate in which it is determined that the noise will be generated using the acquired quantum state as input data.
4. An information processing device comprising a control unit that executes a process of executing a noisy quantum circuit having a noise gate that generates noise as a noiseless simulation that does not execute the processing of the noise gate, and storing the state of the quantum bit immediately before the noise gate as a quantum state, and when the noisy quantum circuit is executed as a noisy simulation that executes the processing of the noise gate, executing the noisy quantum circuit after the noise gate that is determined to generate noise using the quantum state immediately before the noise gate that is determined to generate noise.
5. The information processing device according to claim 4, characterized in that the process of acquiring the quantum state immediately before the noise gate in which it is determined that the noise will occur includes the process of: determining whether or not the noise will occur in the noise gate in the execution order of the noise gates in the noisy quantum circuit; if it is determined that the noise will not occur in the noise gate, determining whether or not the noise will occur in the next noise gate in the execution order; and, if it is determined that the noise will occur in the noise gate, acquiring the quantum state immediately before the noise gate in which it is determined that the noise will occur.
6. The information processing device according to claim 4 or 5, characterized in that the process of executing the noisy quantum circuit following the noise gate in which it is determined that the noise will be generated includes the process of: acquiring from the noisy quantum circuit the quantum circuit following the noise gate in which it is determined that the noise will be generated; changing the noise gate in which it is determined that the noise will be generated to a gate which generates the noise, thereby generating the noisy quantum circuit following the noise gate in which it is determined that the noise will be generated; and executing the noisy quantum circuit following the noise gate in which it is determined that the noise will be generated using the acquired quantum state as input data.
7. An information processing method characterized in that a computer executes the following process: a noisy quantum circuit having a noise gate that generates noise is executed as a noiseless simulation that does not execute the processing of the noise gate, and the state of the quantum bit immediately before the noise gate is stored as a quantum state; and when the noisy quantum circuit is executed as a noisy simulation that executes the processing of the noise gate, the noisy quantum circuit after the noise gate that is determined to generate noise is executed using the quantum state immediately before the noise gate that is determined to generate noise.
8. The information processing method according to claim 7, characterized in that the process of acquiring the quantum state immediately before the noise gate in which it is determined that the noise will occur includes the process of: determining whether or not the noise will occur in the noise gate in the execution order of the noise gates in the noisy quantum circuit; if it is determined that the noise will not occur in the noise gate, determining whether or not the noise will occur in the next noise gate in the execution order; and, if it is determined that the noise will occur in the noise gate, acquiring the quantum state immediately before the noise gate in which it is determined that the noise will occur.
9. The information processing method according to claim 7 or 8, characterized in that the process of executing the noisy quantum circuit following the noise gate in which it is determined that the noise will be generated includes the process of: acquiring from the noisy quantum circuit the quantum circuit following the noise gate in which it is determined that the noise will be generated; changing the noise gate in which it is determined that the noise will be generated to a gate which generates the noise, thereby generating the noisy quantum circuit following the noise gate in which it is determined that the noise will be generated; and executing the noisy quantum circuit following the noise gate in which it is determined that the noise will be generated using the acquired quantum state as input data.
10. An information processing device comprising: a processor; and a memory operatively connected to the processor, wherein the processor executes a process of: executing a noisy quantum circuit having a noise gate that generates noise as a noiseless simulation that does not execute processing of the noise gate, and storing the state of the quantum bit immediately before the noise gate as a quantum state; and when executing the noisy quantum circuit as a noisy simulation that executes processing of the noise gate, executing the noisy quantum circuit after the noise gate that is determined to generate noise using the quantum state immediately before the noise gate that is determined to generate noise.
