Quantum operation linked simulation device and quantum operation linked simulation method
Patent Information
- Application Number
- JP2023129226
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-08-08
- Publication Date
- 2026-03-02
AI Technical Summary
【0021】 本発明によれば、量子プログラムや操作命令の構成要素単位の対応関係や、それらを実行する量子コンピュータの振る舞いの対応関係を把握可能となる。
Smart Images

Figure 00000000_0000_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to a quantum operation interlocking simulation device and a quantum operation interlocking simulation method. [Background technology]
[0002] Operational instructions for a quantum computer are written as a program in the form of a quantum circuit consisting of quantum gates (hereinafter, this program will be referred to as a quantum program). The quantum program is converted into physical operation instructions for the quantum computer and executed. The above-mentioned operation instructions may be converted in multiple stages depending on the architecture of the quantum computer. For example, in the case of a silicon-electron quantum computer, the quantum program is converted into initialization operation instructions, movement operation instructions, and calculation operation instructions for electrons. These operation instructions are further converted into voltage and current application operation instructions.
[0003] Furthermore, due to the physical constraints of quantum computers, the above-mentioned arithmetic operation instructions may be replaced with other equivalent arithmetic operation instructions for execution.
[0004] In this way, when a quantum computer is executed, instructions are converted and replaced in multiple stages.
[0005] On the other hand, quantum computers execute according to these operation instructions, but due to the influence of noise from the external environment, erroneous calculation results may be obtained. In order to deal with and respond to such issues, such as correcting the operation instructions and correcting the calculation results, it is necessary to understand the cause of the error.
[0006] For example, if the type and degree of influence from the external environment are known, the operating parameters of the quantum computer can be determined taking that influence into account. This makes it possible to operate the quantum computer so as to counteract that influence, thereby enabling it to obtain correct calculation results even when it is influenced by the external environment (a process known as calibration).
[0007] Alternatively, after the quantum computer completes the calculation, it will be possible to estimate the correct value from the calculation results (so-called mitigation).
[0008] Furthermore, if it becomes clear that a particular operation command is susceptible to the influence of the external environment, it may be possible to replace that command with an equivalent or similar command.
[0009] Alternatively, if it proves difficult to eliminate the cause of the error using current technology, the resulting difference will have to be accepted as an error and quantum computers will be utilized (in which case, consideration will be given to ingenuity at the application layer).
[0010] In this way, when calculation results that are different from those expected are obtained, it is important to identify the cause. To do so, it is necessary to understand how the quantum program written by the user was converted into operation instructions and how it was executed.
[0011] In response to this situation, there are conventional technologies that display quantum programs written by users and operation instructions converted from quantum programs, and simulate their execution. One such technology is, for example, a technology that speeds up the simulation of quantum circuits (see Patent Document 1).
[0012] This technology relates to an information processing device for simulating a Clifford circuit, the information processing device including: a quantum circuit update unit that updates the quantum circuit so as to improve the continuity of "measurement" and "operation" commands among the commands contained in an input quantum circuit; and a simulation unit that simulates the updated quantum circuit while switching the arrangement of each element of a stabilizer table in memory.
[0013] Furthermore, a technique has been proposed for quickly acquiring a target simulation quantum gate whose error with respect to a target quantum gate satisfies a preset rule (see Patent Document 2). This technique includes obtaining hardware parameters corresponding to a quantum system and a target quantum gate to be realized by the quantum system, obtaining a pulse function characterized by discrete time slices, determining a target step size corresponding to the discrete time slice in the pulse function, obtaining a pulse parameter value at a time length corresponding to the target step size based on the target step size corresponding to the time slice and the pulse function, and obtaining a simulated quantum gate at a time length corresponding to the target step size based on the obtained pulse parameter value at the time length corresponding to the target step size and the hardware parameters of the quantum system until a target simulated quantum gate at a preset pulse time length is obtained, wherein the pulse parameter values within a time period between a start time and an end time of each time slice are the same, and the difference between the target simulated quantum gate and the target quantum gate at the preset pulse time length satisfies a preset rule. [Prior art documents] [Patent documents]
[0014] [Patent Document 1] JP 2023-013672 A [Patent Document 2] JP 2022-000786 A Summary of the Invention [Problem to be solved by the invention]
[0015] Conventional technology makes it possible to know what operation instructions were created from a quantum program, and furthermore, what other operation instructions those operation instructions were converted into. In other words, it is possible to ensure traceability in units of the entire quantum program or the entire operation instructions. However, it is not possible to know which element of the operation command corresponds to each quantum gate, which is a component of the quantum program. In other words, traceability on a component-by-component basis cannot be ensured.
[0016] In addition, quantum programs and operation instructions are common in that they are written instructions for a quantum computer, but their perspectives and levels of abstraction are different. In other words, conventional simulation functions can be said to represent the behavior of a quantum computer from different perspectives and levels of abstraction.
[0017] And as mentioned above, since there is a correspondence between a quantum program and another operation instruction, which in turn creates another operation instruction, there is also a correspondence in the behavior of the quantum computer that executes them.
[0018] However, the simulation function mentioned above cannot grasp the correspondence between multiple behaviors with different perspectives or levels of abstraction.
[0019] Therefore, an object of the present invention is to provide a technique that makes it possible to grasp the correspondence between the component units of quantum programs and operation instructions, and the correspondence between the behavior of a quantum computer that executes them. [Means for solving the problem]
[0020] The quantum operation linked simulation device of the present invention, which solves the above-mentioned problems, is characterized by including a storage device that retains predetermined simulation results regarding the correspondence between quantum operation instructions, which represent quantum programs and operation instructions converted from the quantum programs, and the behavior of a quantum computer that executes the quantum operation instructions, and a calculation device that identifies each component that corresponds between the quantum operation instructions and the behavior as a display target, and outputs information that associates the components identified as display targets. In addition, the quantum operation linked simulation method of the present invention is characterized in that the information processing device is equipped with a storage device that retains predetermined simulation results regarding the correspondence between quantum operation instructions representing a quantum program and an operation instruction converted from the quantum program, and the behavior of a quantum computer that executes the quantum operation instructions, identifies each component that corresponds between the quantum operation instruction and the behavior as a display target, and outputs information that associates the components identified as display targets. Effect of the Invention
[0021] According to the present invention, it is possible to grasp the correspondence between components of quantum programs and operation instructions, as well as the correspondence between the behavior of a quantum computer that executes them. [Brief description of the drawings]
[0022] [Figure 1] FIG. 1 is a diagram illustrating a network configuration including a quantum operation interlocking simulation device according to an embodiment of the present invention. [Diagram 2] FIG. 2 is a diagram illustrating an example of a hardware configuration of the quantum operation interlocking simulation device according to the present embodiment. [Diagram 3] 1 is a functional block diagram of a quantum operation interlocking simulation device according to an embodiment of the present invention. [Figure 4] FIG. 2 is a diagram showing an example of correspondence between a quantum program and a quantum operation instruction in this embodiment. [Diagram 5] FIG. 11 is a diagram illustrating an example of a quantum operation instruction correspondence relationship in this embodiment. [Figure 6] 1 is a diagram showing an example of correspondence between quantum operation instructions and transition sequences (behaviors) in this embodiment. FIG. [Figure 7] 11 is a diagram illustrating an example of a transition column correspondence relationship in the present embodiment. [Figure 8] FIG. 11 is a diagram showing an example of correspondence between quantum operation instructions in this embodiment. [Figure 9] FIG. 1 is a diagram showing an example of a flow of a quantum operation linked simulation method in this embodiment. [Figure 10]FIG. 1 is a diagram showing an example of a flow of a quantum operation linked simulation method in this embodiment. [Figure 11] FIG. 2 is a diagram showing a first example screen in the present embodiment. [Figure 12] FIG. 11 is a diagram showing a screen example 2 in this embodiment. [Figure 13] FIG. 11 is a diagram showing a screen example 3 in this embodiment. [Figure 14] FIG. 11 is a diagram showing a screen example 4 in this embodiment. [Figure 15] FIG. 11 is a diagram showing a screen example 3 in this embodiment. [Figure 16] FIG. 11 is a diagram showing a screen example 5 in this embodiment. [Figure 17] FIG. 11 is a diagram showing a screen example 6 in this embodiment. [Figure 18] FIG. 7 is a diagram showing a seventh example screen in this embodiment. [Figure 19] FIG. 11 is a diagram illustrating an example of inverse generation of a quantum manipulation instruction in this embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0023] <Network configuration> Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings. Fig. 1 is a network configuration diagram including a quantum operation interlocking simulation device 100 of this embodiment. The quantum operation interlocking simulation device 100 shown in Fig. 1 is a computer that makes it possible to grasp the correspondence between components of a quantum program or an operation command, and the correspondence between the behavior of a quantum computer that executes them.
[0024] As shown in Fig. 1, the quantum operation interlocking simulation device 100 of this embodiment is communicably connected to a quantum simulator or a quantum computer 20 and a user terminal 200 via a network 1. Therefore, these may be collectively referred to as the quantum operation interlocking simulation system 10.
[0025] The quantum operation interlocking simulation device 100 of this embodiment can be said to be a service provider that presents the correspondence between quantum programs, etc. and the behavior of quantum computers to individuals such as quantum program testers and developers, and quantum device operators and developers.
[0026] Conventional technologies have an issue in that it is not possible to grasp the correspondence between the components of quantum programs and operation instructions, or the correspondence between the behavior of the quantum computer that executes them. However, by applying the quantum operation linked simulation technology of this embodiment, it is possible to efficiently identify the cause of cases in which the execution results of a quantum computer differ from expectations, and to implement appropriate measures and responses.
[0027] The quantum simulator / quantum computer 20 connected to the above-mentioned network 1 is capable of providing the results of behavior and the like accompanying the execution of a quantum program in a quantum computer to the quantum operation interlocking simulation device 100. Such a quantum simulator / quantum computer 20 is implemented with the conventional technology already described, that is, the conventional technology of simulating what kind of operation command a quantum program is converted into and how it is executed.
[0028] The quantum operation interlocking simulation device 100 may be configured to have the configuration and functions of the quantum simulator or quantum computer described above as an integrated unit and to be able to use the functions at will.
[0029] The user terminal 200 is a terminal operated by a user such as a tester or developer of a quantum program, or an operator or developer of a quantum device, and displays or edits the output results from the quantum operation interlocking simulation device 100. Specifically, a personal computer, a tablet terminal, a smartphone, or the like can be assumed, but is not limited to these as long as it is an information processing device that can be connected to the network 1 and communicate with the quantum operation interlocking simulation device 100. <Hardware configuration> The hardware configuration of the quantum operation interlocking simulation device 100 of this embodiment can be assumed to be the configuration shown in Fig. 2. That is, the quantum operation interlocking simulation device 100 includes a storage device 101, a memory 103, a calculation device 104, and a communication device 105.
[0030] Of these, the storage device 101 is configured with an appropriate non-volatile storage element such as an SSD (Solid State Drive) or an HDD (Hard Disk Drive).
[0031] The memory 103 is composed of a volatile storage element such as a RAM (Random Access Memory).
[0032] The arithmetic device 104 is a CPU (Central Processing Unit) that reads out the program 102 stored in the storage device 101 into the memory 103 and executes the program, controls the device itself, and performs various types of judgment, calculation, and control processing.
[0033] The communication device 105 is assumed to be a network interface card or the like that is connected to the network 1 and handles communication processing with the quantum simulator / quantum computer 20 and the user terminal 200.
[0034] In addition, when the quantum operation interlocking simulation device 100 directly receives operations from the user, it is preferable that it further includes an input device that receives key input or voice input from the user, and an output device such as a display that displays the processing data.
[0035] In addition to the program 102 for implementing the functions required for the quantum operation interlocking simulation device of this embodiment, at least the following storage areas are secured in the storage device 101: a quantum operation instruction storage unit 110, a quantum operation instruction correspondence storage unit 112, a behavior storage unit 113, and a transition sequence correspondence storage unit 115. Details of the information stored and managed in these storage areas will be described later.
[0036] In addition, by the arithmetic device 104 executing the program 102, each of the functional units, namely, a quantum operation instruction creation unit 111, a transition sequence association unit 114, a quantum operation instruction inverse generation unit 116, and a screen display unit 117, is implemented. The cooperation between these functional units is as shown in FIG.
[0037] That is, the quantum operation linked simulation device 100 includes a quantum operation instruction storage unit 110, a quantum operation instruction creation unit 111, a quantum operation instruction correspondence storage unit 112, a behavior storage unit 113, a transition sequence correspondence unit 114, a transition sequence correspondence storage unit 115, a quantum operation instruction inverse generation unit 116, and a screen display unit 117.
[0038] Of these, the quantum operation instruction creation unit 111 obtains the quantum program to be processed from the user terminal 200 or the quantum operation instruction storage unit 110, and applies known techniques (e.g., the techniques of the patent documents already mentioned) to it to generate a quantum operation instruction (hereinafter referred to as a quantum operation instruction).
[0039] Figure 4 shows an example of quantum operation instructions generated from such a quantum program. As shown here, one or more (three in the example shown) quantum operation instructions can be generated from a single line of statements in the quantum program. A quantum operation instruction instructs the placement and movement of electrons in a lattice of quantum dots.
[0040] When generating a quantum operation command as described above, the quantum operation command creation unit 111 generates the quantum operation command in two stages: a first layer (quantum operation command 1) that describes the purpose of the quantum operation (e.g., for setting or moving electrons, specifying the target electrons and positions, or specifying the operation content), and a second layer (quantum operation command 2) that describes more physical operation content (see Figure 5).
[0041] For example, by appropriately utilizing an existing compiler, etc., quantum operation instruction 1 for realizing the quantum operation instruction “move(A1, B1)” is generated as quantum operation instruction 2 “applyVoltage(A1, B1)” for applying voltage to electrons A1 and B1 (see Figure 5).
[0042] By generating quantum operation instructions in these two layers, the quantum operation instruction creation unit 111 can specify a quantum operation instruction correspondence 112 between the layers, that is, between the quantum operation instructions of the quantum operation instruction 1 and the quantum operation instruction 2. The quantum operation instruction creation unit 111 stores this quantum operation instruction correspondence 112 in the quantum operation instruction correspondence holding unit 112.
[0043] Furthermore, the quantum operation interlocking simulation device 100 inputs quantum operation instructions stored in the quantum operation instruction storage unit 110 to the quantum simulator / quantum computer 20, observes the behavior of the instructions, and stores the information in the behavior storage unit 113. As shown in Fig. 6, this behavior is a transition sequence of state transitions of electrons, etc. observed by the quantum simulator / quantum computer 20 when the quantum operation instructions are executed sequentially.
[0044] This transition sequence shows the execution operations of the quantum operation instructions as lines with arrows, and the states that arise from the execution operations as dots.
[0045] The transition sequence correspondence unit 114 stores the correspondence (see FIG. 7) of the transition elements in the transition sequence between the quantum operation instructions as a transition sequence correspondence in the transition sequence correspondence storage unit 115 based on the information of the transition sequence corresponding to each quantum operation instruction stored in the behavior storage unit 113. When such correspondence is shown in a schematic manner in accordance with various generation procedures, it becomes a correspondence 1055 (see FIG. 3) between the transition elements based on the relationship 1050 (see FIG. 3) between the "quantum operation instruction 1" and the "quantum operation instruction 2" generated from the quantum operation instruction 1 by an existing compiler or the like, as exemplified in FIG. 3.
[0046] In addition, based on the information stored in the transition sequence correspondence holding unit 115, the screen display unit 117 generates screen data (e.g., see Figures 13 to 15) that respectively represents the correspondence between each quantum operation instruction and its transition sequence in the quantum program being processed, and transmits this to the user terminal 200 for display.
[0047] The quantum operation instruction inverse generation unit 116 inversely generates, for example, a quantum operation instruction 1 from a quantum operation instruction 2 based on the quantum operation instruction storage unit 110 and the quantum operation instruction correspondence storage unit 112 (usually, this is called "inverse generation" because a quantum operation instruction 2 in a lower layer is generated from a quantum operation instruction 1 in a higher layer) (see FIG. 19). In such "inverse generation", the quantum operation instruction inverse generation unit 116 receives, for example, an instruction to edit the quantum operation instruction 2 via the user terminal 200, generates a quantum operation instruction 1 based on the quantum operation instruction 2 whose contents have been changed by the editing instruction, and updates the correspondence between the quantum operation instruction 1 and the quantum operation instruction 2. <Flow example: Correspondence generation> The actual procedure of the quantum operation interlocking simulation method in this embodiment will be described below with reference to the drawings. Various operations corresponding to the quantum operation interlocking simulation method described below are realized by a program that the quantum operation interlocking simulation device 100 reads into a memory or the like and executes. This program is composed of codes for performing various operations described below.
[0048] FIG. 9 is a diagram showing an example of the flow of the quantum operation interlocking simulation method in this embodiment, specifically, a flow diagram showing an example of processing for identifying the correspondence relationship of transition elements between transition trains.
[0049] In this case, for example, the transition sequence association unit 114 in the quantum operation interlocking simulation device 100 acquires the behavior when the quantum operation instruction is executed by the quantum simulator / quantum computer 20, that is, the transition sequence (already described in the explanation of FIG. 6) (s1). Note that the quantum operation instruction executed by the quantum simulator / quantum computer 20 is at least the quantum operation instruction 1 of the quantum operation instruction 1 and quantum operation instruction 2 described above.
[0050] Prior to the processing of s1, the quantum operation instruction creation unit 111 generates quantum operation instruction 1 from a statement included in the quantum program, and generates quantum operation instruction 2 from the quantum operation instruction 1, and has already stored these quantum operation instruction 1 and quantum operation instruction 2 in the quantum operation instruction holding unit 110. In addition, the quantum operation instruction creation unit 111 has already stored the correspondence between these quantum operation instruction 1 and quantum operation instruction 2 in the quantum operation instruction correspondence holding unit 112.
[0051] Next, the transition sequence association unit 114 specifies the correspondence between the transition elements constituting the transition sequences among the transition sequences of the quantum operation instruction 1 and the quantum operation instruction 2 obtained in s1 (s2).
[0052] This identification is a process that identifies, for example, the correspondence between the statements (command sentences) that make up a certain quantum operation instruction (quantum operation instruction 1) and the transition elements in its transition sequence (arrow line segments: operations, dots: states), and the correspondence between the statements (command sentences) that make up a generation operation instruction (quantum operation instruction 2) generated from the quantum operation instruction and the transition elements in its transition sequence, based on the correspondence between the command sentences in quantum operation instructions 1 and 2 that are the basis of the transition elements.
[0053] Furthermore, the transition sequence association unit 114 stores the association between the transition elements identified in s2 in the transition sequence association holding unit 115 (s3), and ends the process. <Flow example: Display process for transition columns, etc.> Next, the display process of the above-mentioned transition sequence and the corresponding relationship between the transition elements will be described with reference to the drawings. Fig. 9 is a diagram showing a flow example of the quantum operation interlocking simulation method in this embodiment, specifically, a flow diagram showing a processing example in the screen display unit 117.
[0054] In this case, the screen display unit 117 in the quantum operation linked simulation device 100, for example, for a quantum program specified by the user terminal 200, identifies each transition element that corresponds between the previously generated quantum operation instructions (quantum operation instructions 1, 2) and their behavior, i.e., transition sequences, as the display target in the transition sequence correspondence storage unit 115 (s10).
[0055] Next, when outputting information associating the transition elements identified in s10, the screen display unit 117 of the quantum operation linked simulation device 100 accepts a designation operation such as clicking on a transition element in the transition sequence related to the quantum program or quantum operation instruction 1 (see screen 1010 in Figure 12), and associates the transition element with a corresponding specific transition element in the transition sequence of quantum operation instruction 1 or quantum operation instruction 2, and stores the associated transition element in memory 103 or the like (s11).
[0056] The correspondence of the transition elements identified here is shown in the “Simulation Manager” frame on screen 1000 in FIG. 11 and screen 1010 in FIG. 12, where each transition sequence in three layers, i.e., the quantum program layer, the quantum operation instruction 1 layer, and the quantum operation instruction 2 layer, is configured by connecting one transition element, a circular object (indicating a state), with another transition element, an arrow line segment (indicating an operation), and the correspondence is shown by connecting corresponding transition elements between these layers, for example circular objects indicating states, with dashed lines extending vertically.
[0057] Next, the screen display unit 117 of the quantum operation linked simulation device 100, based on the correspondence between the transition elements identified in s11, configures the transition sequences at each layer of the quantum program, quantum operation instruction 1, and quantum operation instruction 2 and the correspondence between the transition elements therein, as well as the contents and states of the quantum program, quantum operation instruction 1, and quantum operation instruction 2, on one screen and outputs it to the user terminal 200 (s12), thereby completing the processing.
[0058] In the example of FIG. 12, the screen 1010 is shown to have frames for "simulation manager", "quantum program", "quantum operation instruction 1", and "quantum operation instruction 2". Among these, the "quantum program" frame shows information on the quantum program specified by the user terminal 200. In addition, the "quantum operation instruction 1" frame shows an image showing the setting status of electrons on the quantum dot lattice by the operation of the quantum operation instruction 1 corresponding to the quantum program specified by the user. In addition, the "quantum operation instruction 2" frame shows an image showing the setting status of electrons on the quantum dot lattice by the quantum operation instruction 2 when the quantum operation instruction 2 corresponding to the quantum operation instruction 1 exists, but in the example of FIG. 12, there is no quantum operation instruction 2 corresponding to the quantum operation instruction 1, and no information is displayed.
[0059] In the example of FIG. 13, the screen 1020 shows a situation where the transition element of the first state in the transition sequence of the quantum program is specified by the user in the "Simulation Manager" frame. In this case, the "Quantum Program" frame shows information on the position (vertical black line) corresponding to the above-mentioned "state" in the quantum program specified by the user terminal 200. In addition, the "Quantum Operation Instruction 1" frame shows an image showing the setting status of electrons on the quantum dot lattice by the operation in the quantum operation instruction 1 corresponding to the operation specified by the user (in the example in the figure, electrons are placed at positions A1, A1, and C2). In addition, the "Quantum Operation Instruction 2" frame shows an image showing the setting status of electrons on the quantum dot lattice by the quantum operation instruction 2 when the quantum operation instruction 2 corresponding to the quantum operation instruction 1 exists, but in the example of FIG. 12, there is no quantum operation instruction 2 corresponding to the quantum operation instruction 1, and no information is displayed.
[0060] In addition, when there are multiple specific transition elements in the transition sequence of quantum operation instruction 1 or quantum operation instruction 2 that correspond to the transition element that has received the above-mentioned specified operation in the transition sequence of quantum program or quantum operation instruction 1, the screen display unit 117 of the quantum operation linked simulation device 100 determines that the specific transition element is the forward or rearmost transition element (in chronological order) in the transition sequence of quantum operation instruction 2 (see screen 1030 in Figure 14).
[0061] In the example of FIG. 14, the screen 1030 shows a situation where the transition element of the second operation in the transition sequence of the quantum program is specified by the user in the "Simulation Manager" frame. In this case, the "Quantum Program" frame shows position information (vertical black frame) corresponding to the above-mentioned "operation" in the quantum program specified by the user terminal 200. In addition, the "Quantum Operation Instruction 1" frame shows an image showing the movement status of electrons on the quantum dot lattice by the operation in the quantum operation instruction 1 corresponding to the operation specified by the user (in the example in the figure, the electron of A1 moves to B1). In addition, the "Quantum Operation Instruction 2" frame shows an image showing the physical operation status on the quantum dot lattice by the quantum operation instruction 2 corresponding to the quantum operation instruction 1. In the example of FIG. 14, the state in which a voltage is applied by an electrode to each of the dots A1 and B1 is displayed as the physical operation status by the quantum operation instruction 2.
[0062] In addition, when there is no specific transition element in the transition series of quantum operation instruction 1 or quantum operation instruction 2 that corresponds to the transition element (e.g., any of the operations) that is the target of the specified operation (see screen 1010 in Figure 12) in the transition series of the above-mentioned quantum program or quantum operation instruction 1, the screen display unit 117 of the quantum operation linked simulation device 100 sets an adjacent transition element (see screen 1040 in Figure 15) in the transition series of quantum operation instruction 2 as an alternative specific transition element.
[0063] The example of FIG. 15 shows a situation in which the transition element of the second state in the transition sequence of quantum manipulation instruction 1 has been selected by the user in the "Simulation Manager" frame on screen 1040.
[0064] In this case, the "Quantum Program" frame shows position information (vertical black frame) corresponding to the above-mentioned "State" in the quantum program specified by the user terminal 200. Also, the "Quantum Operation Instruction 1" frame shows an image showing the arrangement of electrons on the quantum dot lattice corresponding to the state specified by the user (in the example in the figure, electrons are arranged at B1, A2, and C2).
[0065] Moreover, in the "quantum operation instruction 2" frame, instead of quantum operation instruction 2 corresponding to quantum operation instruction 1, an image is displayed showing the physical operation status on the quantum dot lattice by the operation just before, i.e., the operation adjacent to, the "state" specified in the transition sequence of quantum operation instruction 1. In the example of Fig. 15, the physical operation status by quantum operation instruction 2 shows the application of voltage by electrodes to each of dots A1 and B1.
[0066] 16, the screen 1060 is configured to include a role name selection UI 1061 in a "Simulation Manager" frame. The role name selection UI 1061 in this embodiment is a pull-down type user interface that accepts role settings of a user of the quantum computer 20. Possible roles that can be selected here include quantum program tester, program developer, quantum device developer, quantum device operator, and the like.
[0067] When the quantum operation interlocking simulation device 100 receives a role name selection action from the user in the above-mentioned role name selection UI 1061, it selects a display target on the screen 1060 according to the role name. For this reason, the quantum operation interlocking simulation device 100 holds in advance in the storage device 101 or the like a list (rules) that specifies a display target for each role name, and uses them appropriately.
[0068] Selective display of display targets according to role names corresponds to cases where there are multiple users and the roles are divided into different types such as quantum program tester, program developer, quantum device developer, quantum device operator, etc., and leads to the effect of presenting information at a granularity and range that is appropriate for the person in that role to recognize. In the example of screen 1060 in Fig. 16, information is displayed only in the "Simulation Manager" frame and the "Quantum Program" frame, and information is not displayed in the "Quantum Operation Instruction 1" and "Quantum Operation Instruction 2" frames.
[0069] 17 shows an example of an operation when an editing operation by a user is accepted in "Quantum Operation Instruction 1" while the screen 1070 is being displayed on the screen display unit 117. In this example, editing is performed to change the electron movement on the quantum dot lattice from the initial movement pattern of dot A1 → dot B1 to a movement pattern of dot A1 → dot B2.
[0070] In this case, the quantum operation interlocking simulation device 100 obtains a new quantum operation instruction 2 by providing the content of the quantum operation instruction 1 changed by this editing to an existing compiler or the like. Therefore, the quantum operation interlocking simulation device 100 updates the content of the new quantum operation instruction 2 in the "quantum operation instruction 2" frame, that is, the position to which the voltage is applied on the quantum dot lattice, to a display content in which dot A2 and dot B2 are surrounded by electrodes. The state of such an update is shown in the "quantum operation instruction 2" frame on the screen 1080 in FIG. 18.
[0071] In addition, the quantum operation linked simulation device 100 naturally obtains a new transition element by providing the contents of the above-mentioned modified quantum operation instruction 1 to the simulator 20, and also obtains a new transition element by providing the contents of the above-mentioned new quantum operation instruction 2 to the simulator 20.
[0072] The operation of regenerating quantum operation instructions and transition elements and updating their correspondence to the latest ones in response to the editing operations by the user as described above corresponds to performing a synchronization process that maintains consistency between the above-mentioned transition columns when the quantum operation linked simulation device 100 accepts an edit from the user to a quantum operation instruction or behavior (transition element) in one of the transition columns to be displayed (quantum operation instruction 1 or quantum operation instruction 2), by reflecting the result of the edit in the other transition column to be displayed.
[0073] In the above example, the configuration in which the content of the quantum operation instruction 2 is updated in response to editing in the quantum operation instruction 1 has been shown, but conversely, it is also possible to assume that the content of the quantum operation instruction 1 is updated in response to editing in the quantum operation instruction 2. In such a case, as shown in FIG. 19, the inverse generation unit 116 inversely generates "move(x,y)" from the quantum operation instruction 2 (e.g., applyVoltage(x,y)) as the quantum operation instruction 1 (or quantum program) from which the quantum operation instruction 2 was generated. Such a function of inverse generation may be provided in advance, for example, in an existing compiler or the like, or the inverse generation unit 116 may have a function of preserving a list of the generation relationship between the quantum operation instruction 1 and the quantum operation instruction 2 in advance, and specifying the other if one of the quantum operation instruction 1 and the quantum operation instruction 2 is known.
[0074] Although the best mode for carrying out the present invention has been specifically described above, the present invention is not limited to this, and various modifications can be made without departing from the spirit and scope of the present invention.
[0075] According to this embodiment, it is possible to grasp the correspondence between the components of a quantum program or an operation command, and the correspondence between the behavior of a quantum computer that executes them.
[0076] The description of this specification makes at least the following clear. That is, in the quantum operation interlocking simulation device of this embodiment, the storage device may hold information that defines a correspondence relationship between an arbitrary transition element in a first transition sequence that represents a transition state of the behavior of the first quantum operation instruction or the quantum computer that executes it, and a specific transition element in a second transition sequence that represents a transition state of the behavior of the second quantum operation instruction or the quantum computer that executes it, for a second quantum operation instruction created from a first quantum operation instruction, in the simulation result regarding the correspondence relationship, and when the arithmetic device receives a predetermined operation regarding a transition element in the first transition sequence, the arithmetic device may display the transition element in association with the specific transition element corresponding to the second transition sequence.
[0077] This makes it possible to visually display corresponding behaviors between quantum operation instructions at an appropriate granularity, including transitions over time, and present them to the user.
[0078] In addition, in the quantum operation linked simulation device of this embodiment, when there are multiple specific transition elements in the second transition train corresponding to the arbitrary transition element in the first transition train, the arithmetic device may display the forward-most or rearward-most transition element in the second transition train as the specific transition element.
[0079] This makes it possible to appropriately deal with a situation in which the transition elements are not the same in number, and to display the transition elements with an appropriate correspondence from the standpoint of ease of recognition and appropriateness for the user.
[0080] In addition, in the quantum operation linked simulation device of this embodiment, when there is no specific transition element in the second transition train that corresponds to the arbitrary transition element in the first transition train, the arithmetic device may display an adjacent transition element in the second transition train as an alternative to the specific transition element.
[0081] This makes it possible to appropriately deal with cases where there is not a one-to-one relationship between corresponding quantum operation instructions, for example, where one transition element indicates one state and the other transition element indicates an operation that causes a state change, and to visually indicate the correspondence.
[0082] In addition, in the quantum operation linked simulation device of this embodiment, the arithmetic device may create the correspondence between the arbitrary transition element and the specific transition element and store it in the storage device when creating the second quantum operation instruction from the first quantum operation instruction, and when obtaining the simulation result that corresponds to the behavior when the first and second quantum operation instructions are executed.
[0083] According to this, by appropriately utilizing existing simulation techniques for quantum circuits, the correspondence between the above-mentioned transition elements can be specified and maintained, and the quantum operation linked simulation in this embodiment can be efficiently executed.
[0084] In addition, in the quantum operation linked simulation device of this embodiment, when the arithmetic device adds a specified quantum operation instruction or a transition sequence representing the behavior of a quantum computer executing the quantum operation instruction as a new display target, it may define a correspondence between the command statements constituting the quantum operation instruction and the transition elements in the transition sequence, and for a generation operation instruction, which is a quantum operation instruction that is the source or destination of the quantum operation instruction, derive a correspondence between the transition elements constituting the transition sequence of the quantum operation instruction and the transition elements constituting the transition sequence of the generation operation instruction by referring to the correspondence between the command statements constituting the quantum operation instruction and the command statements constituting the generation operation instruction.
[0085] According to this, by appropriately utilizing existing simulation techniques for quantum circuits, the correspondence between the transition elements described above can be identified and maintained at a finer granularity, making it possible to execute the quantum operation linked simulation in this embodiment even more efficiently.
[0086] In addition, in the quantum operation linked simulation device of this embodiment, when the arithmetic device receives a role setting of a user of the quantum computer via a specified interface, it may select the display object based on a selection rule for the display object corresponding to the user's role and perform the output.
[0087] This makes it possible, for example, to accommodate cases where there are multiple users and their roles are divided into different types, such as quantum program tester, program developer, quantum device developer, and quantum device operator, and to present information at the granularity and scope that individuals in those roles should be aware of.
[0088] In addition, in the quantum operation linked simulation device of this embodiment, the arithmetic device may be provided with a synchronization function that, when it receives an edit from a user regarding a quantum operation instruction or behavior in either the first or second transition column to be displayed, maintains consistency between the first and second transition columns by reflecting the result of the edit in the other transition column to be displayed.
[0089] This makes it possible to reflect the editing operation by the user without any discrepancy between the first and second transition sequences.
[0090] In addition, in the quantum operation linked simulation device of this embodiment, the arithmetic device may further include, in the synchronization function, a reverse generation function for generating, from a specified operation instruction, another operation instruction or a quantum program that was the source of the generation of the operation instruction.
[0091] This makes it possible to apply an editing operation by a user from the second quantum operation instruction back to the first quantum operation instruction.
[0092] Furthermore, in the quantum operation linked simulation method of this embodiment, the information processing device may retain, in the storage device, information that defines a correspondence relationship between an arbitrary transition element in a first transition sequence representing a transition status of the behavior of the first quantum operation instruction or the quantum computer that executes it, and a specific transition element in a second transition sequence representing a transition status of the behavior of the second quantum operation instruction or the quantum computer that executes it, for a second quantum operation instruction created from a first quantum operation instruction, in the simulation result regarding the correspondence relationship, and when a specified operation regarding a transition element in the first transition sequence is received, the transition element and the corresponding specific transition element in the second transition sequence may be displayed in correspondence with each other. [Explanation of symbols]
[0093] 1 Network 10. Quantum Operation Linked Simulation System 20 Quantum simulator / quantum computer 100 Quantum Operation Linkage Simulation Device 101 Storage device 102 Programs 103 Memory 104 Arithmetic unit 105 Communication equipment 110 Quantum operation instruction holding unit 111 Quantum Operation Instruction Creation Department 112 Quantum operation instruction correspondence storage unit 113 Behavior Maintenance Department 114 Transition sequence matching part 115 Transition sequence correspondence storage unit 116 Quantum operation instruction inverse generation unit 117 Screen display section 200 User terminals
Claims
1. A storage device that holds a predetermined simulation result regarding a correspondence between a quantum operation instruction, which represents a quantum program and an operation instruction converted from the quantum program, and the behavior of a quantum computer that executes the quantum operation instruction; A calculation device that specifies each component corresponding to the quantum operation instruction and the behavior as a display target and outputs information that associates the components specified as the display targets with each other; A quantum operation linked simulation device comprising:
2. The storage device includes: In the simulation result regarding the correspondence, for a second quantum operation instruction created from a first quantum operation instruction, information is held that defines a correspondence between an arbitrary transition element in a first transition sequence that represents a transition state of the behavior of the first quantum operation instruction or a quantum computer that executes the first quantum operation instruction, and a specific transition element in a second transition sequence that represents a transition state of the behavior of the second quantum operation instruction or a quantum computer that executes the second quantum operation instruction, The computing device includes: when a predetermined operation related to a transition element in the first transition column is received, the transition element is displayed in association with the specific transition element corresponding to the first transition column, 2. The quantum operation interlocking simulation device according to claim 1.
3. The computing device includes: When there are a plurality of the specific transition elements in the second transition sequence corresponding to the arbitrary transition element in the first transition sequence, the frontmost or rearmost transition element in the second transition sequence is displayed as the specific transition element.
3. The quantum operation interlocking simulation device according to claim 2.
4. The computing device includes: If there is no particular transition element in the second transition sequence corresponding to the given transition element in the first transition sequence, an adjacent transition element in the second transition sequence is displayed as an alternative to the given transition element.
3. The quantum operation interlocking simulation device according to claim 2.
5. The computing device includes: When creating the second quantum operation instruction from the first quantum operation instruction, and when obtaining the simulation result of the behavior when the first and second quantum operation instructions are executed, the correspondence between the arbitrary transition element and the specific transition element is created and stored in the storage device.
3. The quantum operation interlocking simulation device according to claim 2.
6. The computing device includes: When a predetermined quantum operation instruction or a transition sequence representing the behavior of a quantum computer that executes the quantum operation instruction is added as a new display target, a correspondence relationship between a command statement constituting the quantum operation instruction and a transition element in the transition sequence is defined, and for a generation operation instruction that is a quantum operation instruction that is a source or destination of the quantum operation instruction, a correspondence relationship between a transition element constituting the transition sequence of the quantum operation instruction and a transition element constituting the transition sequence of the generation operation instruction is derived by referring to the correspondence relationship between the command statement constituting the quantum operation instruction and the command statement constituting the generation operation instruction.
3. The quantum operation interlocking simulation device according to claim 2.
7. The computing device includes: When a role setting of a user of the quantum computer is received via a predetermined interface, the display object is selected based on a selection rule of the display object corresponding to the role of the user, and the output is performed.
2. The quantum operation interlocking simulation device according to claim 1 .
8. The computing device includes: A synchronization function is provided for maintaining consistency between the first and second transition columns by reflecting a result of the edit in the other transition column to be displayed when an edit from a user is received for a quantum operation instruction or behavior in either the first or second transition column to be displayed.
3. The quantum operation interlocking simulation device according to claim 2.
9. The computing device includes: The synchronization function further includes a reverse generation function for generating, from a predetermined operation instruction, another operation instruction or a quantum program that is the source of the operation instruction.
9. The quantum operation interlocking simulation device according to claim 8.
10. An information processing device, A storage device is provided that holds a predetermined simulation result regarding a correspondence between a quantum operation instruction, which represents a quantum program and an operation instruction converted from the quantum program, and a behavior of a quantum computer that executes the quantum operation instruction, Identifying each component corresponding to the quantum operation instruction and the behavior as a display target, and outputting information associating the components identified as the display targets with each other. A quantum operation linked simulation method comprising:
11. The information processing device, In the storage device, in the simulation result regarding the correspondence, for a second quantum operation instruction created from a first quantum operation instruction, information is stored that defines a correspondence between an arbitrary transition element in a first transition sequence that represents a transition status of the first quantum operation instruction or a behavior of a quantum computer that executes the first quantum operation instruction, and a specific transition element in a second transition sequence that represents a transition status of the second quantum operation instruction or a behavior of a quantum computer that executes the second quantum operation instruction, when a predetermined operation related to a transition element in the first transition column is received, the transition element is displayed in association with the specific transition element corresponding to the transition element in the second transition column; The quantum operation linked simulation method according to claim 10 .