Quantum circuit design device, quantum circuit design program, and quantum circuit design method
The quantum circuit design device addresses noise-induced errors in quantum computers by symmetrically rearranging gate operations across qubits, improving the accuracy and reliability of quantum calculations.
Patent Information
- Application Number
- JP2023542091
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2021-08-18
- Publication Date
- 2024-09-19
- Estimated Expiration
- 2041-08-18
AI Technical Summary
Quantum calculations in quantum computers are prone to errors due to noise in gate operations, particularly when gate operations are imbalanced across qubits, leading to increased errors in qubits with a higher number of operations.
A quantum circuit design device that converts quantum circuits to symmetrically arranged equivalent circuits, balancing the number of gate operations across qubits to reduce noise-induced errors, using a processing unit to detect and rearrange gates in a symmetric manner.
Reduces errors in quantum calculations by minimizing the bias of gate operations on specific qubits, thereby enhancing the reliability and accuracy of quantum computations.
Smart Images

Figure 0007553873000028 
Figure 0007553873000010 
Figure 0007553873000023
Abstract
Description
[Technical field]
[0001] The present invention relates to a quantum circuit design device, a quantum circuit design program, and a quantum circuit design method. [Background technology]
[0002] There are quantum computers that use quantum properties to perform calculations faster than classical computers. Quantum gate-based quantum computers perform quantum calculations by performing gate operations on quantum bits in the order shown in the quantum circuit.
[0003] One example of a quantum algorithm that can be executed by a quantum computer using quantum gates is Grover's algorithm for searching data. For example, when searching for one piece of data from N pieces of data, the average number of operations required by a classical computer is N / 2, whereas Grover's algorithm requires only N 1 / 2 It can be searched in one operation.
[0004] As a technology related to quantum computers, for example, a quantum algorithm execution device that can directly execute a quantum algorithm on a classical computer has been proposed. In addition, for example, a quantum circuit design has been proposed using Grover's algorithm, which repeats inversion and calculation steps to determine a search result corresponding to a target quantum state according to the Grover algorithm. In addition, for example, a quantum gate has been proposed that executes Grover's quantum algorithm using a two-variable function with a vector basis of n qubits. [Prior art documents] [Patent documents]
[0005] [Patent Document 1] JP 2005-250563 A [Patent Document 2] U.S. Patent No. 7,028,275 [Patent Document 3] US Patent Application Publication No. 2004 / 0162640 Summary of the Invention [Problem to be solved by the invention]
[0006] A quantum bit is realized by using, for example, superconductivity or an ion trap. In addition, in a gate operation on a quantum bit, a quantum computer irradiates the quantum bit with, for example, microwaves. Noise contained in such a gate operation on a quantum bit can cause errors in quantum calculations.
[0007] In one aspect, the present invention aims to reduce errors in quantum computing. [Means for solving the problem]
[0008] In one proposal, a quantum circuit design device having a processing unit is provided. The processing unit detects, for a first quantum circuit including a plurality of elements, a first gate indicating a predetermined operation on a plurality of first quantum bits among the plurality of quantum bits, and a second gate indicating the predetermined operation, which are included in the first quantum circuit, for a first quantum circuit indicating an operation order on each of the plurality of quantum bits by the arrangement of each of the plurality of elements in the quantum circuit.The processing unit then converts the first gate in the first quantum circuit into a first equivalent circuit, and generates a second quantum circuit in which the second gate is converted into a second equivalent circuit arranged by symmetrically moving the elements of the first equivalent circuit in the arrangement direction of the plurality of first quantum bits. Effect of the Invention
[0009] According to one embodiment, errors in quantum computing can be reduced. The above and other objects, features and advantages of the present invention will become apparent from the following description taken in conjunction with the accompanying drawings illustrating preferred embodiments of the present invention. [Brief description of the drawings]
[0010] [Figure 1] FIG. 1 is a diagram illustrating an example of a quantum circuit design method according to a first embodiment. [Diagram 2] FIG. 1 illustrates an example of a system configuration according to a second embodiment; [Diagram 3] FIG. 2 is a diagram illustrating an example of the hardware configuration of a control computer. [Figure 4] FIG. 13 is a diagram showing an example of a change in probability amplitude according to Grover's algorithm. [Diagram 5] FIG. 1 is a diagram showing an example of a quantum circuit that executes Grover's algorithm with three quantum bits. [Figure 6] This is a diagram (part 1) showing an example of an equivalent circuit of a CCZ gate. [Figure 7] FIG. 2 is a block diagram showing an example of functions of a control computer. [Figure 8] FIG. 11 is a diagram illustrating an example of conversion information. [Figure 9] FIG. 13 is a diagram showing an example of conversion processing of a CCX gate. [Figure 10] FIG. 13 is a diagram illustrating an example of conversion processing of a CnNOT gate. [Figure 11] FIG. 1 is a diagram illustrating an example of an equivalent circuit of a CnNOT gate. [Figure 12] 13 is a flowchart illustrating an example of a procedure for quantum circuit conversion processing. [Figure 13] FIG. 13 is a diagram illustrating an example of a quantum circuit after conversion. [Figure 14] FIG. 1 is a diagram showing an example of the relationship between quantum computing results and noise (part 1). [Figure 15] This is a diagram showing an example of an equivalent circuit of a CCZ gate (part 2). [Figure 16] FIG. 2 is a diagram showing an example of the relationship between quantum computing results and noise (part 2). [Figure 17] This is a diagram (part 3) showing an example of an equivalent circuit of a CCZ gate. [Figure 18] FIG. 3 is a diagram showing an example of the relationship between quantum computing results and noise (part 3). [Figure 19] FIG. 4 is a diagram showing an example of the relationship between quantum computing results and noise (part 4). [Figure 20] FIG. 1 is a diagram showing an example of a quantum circuit that executes Grover's algorithm with 6 qubits. [Figure 21] FIG. 5 is a diagram showing an example of the relationship between quantum computing results and noise (part 5). DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0011] Hereinafter, the present embodiment will be described with reference to the drawings. Note that each embodiment can be implemented in combination with a plurality of other embodiments as long as no contradiction occurs. First Embodiment First, a first embodiment will be described. The first embodiment is a quantum circuit design method capable of reducing errors in quantum computation.
[0012] Fig. 1 is a diagram showing an example of a quantum circuit design method according to a first embodiment. Fig. 1 shows a quantum circuit design device 10 that implements a quantum circuit design method capable of reducing errors in quantum computation. The quantum circuit design device 10 can implement the quantum circuit design method capable of reducing errors in quantum computation by, for example, executing a quantum circuit design program.
[0013] The quantum circuit design device 10 has a processing unit 11. The processing unit 11 is, for example, a processor or an arithmetic circuit included in the quantum circuit design device 10. The processing unit 11 generates a second quantum circuit by converting elements included in the first quantum circuit 1. The first quantum circuit 1 is a quantum circuit including a plurality of elements, and the order of operations on each of the quantum bits q0, q1, and q2 is indicated by the arrangement of each of the plurality of elements in the quantum circuit. For example, the first quantum circuit 1 has lines corresponding to the quantum bits q0, q1, and q2. In the first quantum circuit 1, a line corresponding to the quantum bit q0, a line corresponding to the quantum bit q1, and a line corresponding to the quantum bit q2 are arranged in order from the top. On each line of the first quantum circuit 1, an element indicating an operation on the quantum state of the corresponding quantum bit is arranged. In the first quantum circuit 1, an element indicating an operation to be performed earlier is arranged further to the left.
[0014] The elements arranged in the first quantum circuit 1 include, for example, an H gate, an X gate, a CCZ gate, and a measurement. Here, the CCZ gate is arranged by setting two control bits and one target bit. The CCZ gate indicates that when the two control bits are "1", a Z gate is applied to one target bit (phase inversion). Note that the CCZ gate is equivalent regardless of the combination of two control bits and one target bit set from three quantum bits.
[0015] The processing unit 11 detects a first gate indicating a predetermined operation on a plurality of first quantum bits among the quantum bits q0, q1, and q2 included in the first quantum circuit 1, and a second gate indicating a predetermined operation. Here, the predetermined operation is an operation of inverting the phase of one target bit among the quantum bits q0, q1, and q2 according to two control bits among the three quantum bits q0, q1, and q2. That is, the processing unit 11 detects two CCZ gates for the quantum bits q0, q1, and q2.
[0016] Then, the processing unit 11 converts the first gate in the first quantum circuit 1 into a first equivalent circuit 2, and generates a second quantum circuit by converting the second gate into a second equivalent circuit 3 arranged by symmetrically moving the elements of the first equivalent circuit 2 in the arrangement direction of the multiple first quantum bits. For example, the processing unit 11 converts the CCZ gate for the quantum bits q0, q1, and q2 included in the first quantum circuit 1 into a CX gate, a T gate, and a T † The processing unit 11 converts the CCZ gates for the quantum bits q0, q1, and q2, which are included in the first quantum circuit 1 and differ from the CCZ gates converted into the first equivalent circuit 2, into a first equivalent circuit 3 in which the elements of the first equivalent circuit 2 are symmetrically moved around the line corresponding to the quantum bit q1.
[0017] In this way, the processing unit 11 detects a first gate and a second gate indicating a predetermined operation on multiple first quantum bits among the quantum bits q0, q1, and q2 included in the first quantum circuit 1, which indicates the operation order on each of the quantum bits q0, q1, and q2 by the arrangement of elements. Then, the processing unit 11 converts the first gate in the first quantum circuit 1 into a first equivalent circuit 2, and generates a second quantum circuit by converting the second gate into a second equivalent circuit 3 arranged by symmetrically moving the elements of the first equivalent circuit 2 in the arrangement direction of the multiple first quantum bits.
[0018] In quantum computing, noise contained in the gate operations on the quantum bits can cause errors in each quantum bit, so if there is a bias in the number of gate operations for each quantum bit, the quantum bit with a large number of gate operations is more likely to have errors. In the second quantum circuit, the second equivalent circuit 3 is arranged by symmetrically moving the elements of the first equivalent circuit 2 in the arrangement direction of the multiple first quantum bits, so there is little bias in the number of gate operations for each quantum bit. Therefore, by the quantum computer operating the quantum bits according to the second quantum circuit, it is possible to reduce the bias of the quantum bits affected by noise. Therefore, the quantum circuit design device 10 can reduce errors in quantum computing.
[0019] In addition, the predetermined operation is an operation of inverting the phase of one target bit of the first quantum bits according to two control bits of the three first quantum bits. This allows the quantum circuit design device 10 to reduce errors in quantum computation including the CCZ gate.
[0020] The processing unit 11 may convert the third gate, which inverts one target bit of the first quantum bits according to two control bits of the first quantum bits, into a third equivalent circuit including a predetermined operation. This allows the quantum circuit design device 10 to reduce errors in quantum computation including the CCX gate.
[0021] Furthermore, the processing unit 11 may convert a fourth gate that inverts a bit of a target bit of the second quantum bit according to three or more control bits of the second quantum bit including the first quantum bit into a fourth equivalent circuit including a third gate. This allows the quantum circuit design device 10 to reduce errors in quantum computation including a CnNOT gate.
[0022] Second Embodiment Next, a second embodiment will be described. The second embodiment is a system in which a quantum computer performs quantum calculations according to a quantum circuit.
[0023] FIG. 2 is a diagram showing an example of a system configuration of the second embodiment. The quantum computer 300 is a quantum gate type quantum computer. The quantum computer 300 has a control computer 100 and a quantum bit control device 200. Terminal devices 31, 32, ... are connected to the control computer 100 via a network 20. The terminal devices 31, 32, ... are computers used by users who request quantum calculations by the quantum computer 300. The control computer 100 receives quantum circuits from the terminal devices 31, 32, .... The quantum circuit indicates the order of operations on quantum bits by the arrangement of elements such as gates. The quantum bit is a bit that can express a superposition state of the "0" state and the "1" state.
[0024] The control computer 100 instructs the quantum bit control device 200 to control quantum bits in accordance with the quantum circuits received from the terminal devices 31, 32, .... The control computer 100 also obtains measurement results of each quantum bit from the quantum bit control device 200.
[0025] The quantum bit control device 200 has a plurality of quantum bits and a device for manipulating each of the plurality of quantum bits. The plurality of quantum bits of the quantum bit control device 200 may be, for example, superconducting quantum bits or quantum bits using ion traps. The quantum bit control device 200 may also have a refrigerator for cooling the quantum bits.
[0026] The device for manipulating each of the multiple quantum bits included in the quantum bit control device 200 irradiates the quantum bits with microwaves in response to, for example, instructions from the control computer 100. In addition, the device for manipulating each of the multiple quantum bits measures the state of each of the multiple quantum bits and transmits the state to the control computer 100.
[0027] FIG. 3 is a diagram showing an example of the hardware configuration of a control computer. The entire control computer 100 is controlled by a CPU (Central Processing Unit) 101. The CPU 101 is a processor that executes program instructions. The CPU 101 may include multiple processor cores. The CPU 101 may also be multiple processors, or may be an MPU (Micro Processing Unit) or a DSP (Digital Signal Processor). At least a part of the functions that the CPU 101 realizes by executing a program may be realized by an electronic circuit such as an ASIC (Application Specific Integrated Circuit) or a PLD (Programmable Logic Device). A RAM (Random Access Memory) 102 and multiple peripheral devices are connected to the CPU 101 via a bus 110.
[0028] The RAM 102 is a main storage device of the control computer 100. The RAM 102 temporarily stores at least a part of the OS (Operating System) program and application programs executed by the CPU 101. The RAM 102 also stores various data used for processing by the CPU 101. The control computer 100 may include a type of memory other than a RAM, or may include multiple memories.
[0029] The peripheral devices connected to the bus 110 include a hard disk drive (HDD) 103 , a graphics processing unit (GPU) 104 , an input interface 105 , an optical drive device 106 , device connection interfaces 107 and 108 , and a network interface 109 .
[0030] The HDD 103 is an auxiliary storage device of the control computer 100. The HDD 103 magnetically writes and reads data to and from a built-in magnetic disk. The HDD 103 stores an OS program, application programs, and various data. The control computer 100 may be provided with other types of auxiliary storage devices, such as a flash memory or an SSD (Solid State Drive), or may be provided with multiple auxiliary storage devices.
[0031] The GPU 104 is connected to a monitor 21. The GPU 104 displays an image on the screen of the monitor 21 in accordance with an instruction from the CPU 101. The monitor 21 may be a display device using an organic EL (Electro Luminescence) display device, a liquid crystal display device, or the like.
[0032] The input interface 105 is connected to the keyboard 22 and the mouse 23. The input interface 105 transmits signals sent from the keyboard 22 and the mouse 23 to the CPU 101. Note that the mouse 23 is an example of a pointing device, and other pointing devices can also be used. Examples of other pointing devices include a touch panel, a tablet, a touch pad, a trackball, etc.
[0033] The optical drive device 106 uses a laser beam or the like to read data recorded on the optical disc 24. The optical disc 24 is a portable recording medium on which data is recorded so that it can be read by reflection of light. The optical disc 24 includes a DVD (Digital Versatile Disc), a DVD-RAM, a CD-ROM (Compact Disc Read Only Memory), a CD-R (Recordable) / RW (ReWritable), etc.
[0034] The device connection interface 107 is a communication interface for connecting peripheral devices to the control computer 100. For example, a memory device 25 or a memory reader / writer 26 can be connected to the device connection interface 107. The memory device 25 is a recording medium equipped with a function for communicating with the device connection interface 107. The memory reader / writer 26 is a device for writing data to the memory card 27 or reading data from the memory card 27. The memory card 27 is a card-type recording medium.
[0035] The device connection interface is a communication interface for connecting the quantum bit control device 200 to the control computer 100. The control computer 100 transmits instructions for controlling the quantum bit to the quantum bit control device 200 via the device connection interface .
[0036] The network interface 109 is connected to the network 20. The network interface 109 transmits and receives data via the network 20 to and from other computers or communication devices.
[0037] The control computer 100 can realize the processing function of the second embodiment by the above-mentioned hardware configuration. The quantum circuit design device 10 shown in the first embodiment can also be realized by the same hardware as the control computer 100 shown in Fig. 3. The CPU 101 is an example of the processing unit 11 shown in the first embodiment.
[0038] The control computer 100 realizes the processing function of the second embodiment by executing a program recorded in, for example, a computer-readable recording medium. The program describing the processing contents to be executed by the control computer 100 can be recorded in various recording media. For example, the program to be executed by the control computer 100 can be stored in the HDD 103. The CPU 101 loads at least a part of the program in the HDD 103 into the RAM 102 and executes the program. The program to be executed by the control computer 100 can also be recorded in a portable recording medium such as the optical disk 24, the memory device 25, or the memory card 27. The program stored in the portable recording medium becomes executable after being installed in the HDD 103 under the control of, for example, the CPU 101. The CPU 101 can also read out the program directly from the portable recording medium and execute it.
[0039] In the second embodiment, the quantum computer 300 executes quantum computation. An example of a quantum algorithm that the quantum computer 300 can execute is Grover's algorithm.
[0040] FIG. 4 is a diagram showing an example of a change in probability amplitude by Grover's algorithm. In Grover's algorithm, the following inversion and amplification process of the probability amplitude is performed N 1 / 2By repeating this process times, it is possible to search for the correct data from N pieces of data.
[0041] Graph 41 shows the probability amplitude of each of the ground states x1 to x4 in a superposition state of the ground states x1, x2, x3, and x4. The ground states x1 to x4 correspond to the data to be searched. In graph 41, the probability amplitude of each of the ground states x1 to x4 is N -1 / 2 It is.
[0042] In the inversion process of Grover's algorithm, the oracle U f applies. Oracle U f is expressed by the following equation (1).
[0043]
number
[0044] In equation (1), x indicates each ground state. In addition, v in equation (1) is the ground state corresponding to the correct data. In addition, f(x) in equation (1) is a function where f(v) = 1, and f(x) = 0 for x other than v. In addition, I in equation (1) is a unit matrix with N rows and N columns.
[0045] Graph 42 shows the oracle U for the superposition state of the ground states x1 to x4 shown in graph 41. f is applied to each of the ground states x1 to x4. The ground state corresponding to the correct answer data is assumed to be the ground state x3. In graph 42, the sign of the probability amplitude of only the ground state x3 among the ground states x1 to x4 is inverted compared to graph 41.
[0046] In the amplification process of Grover's algorithm, -W shown in the following equation (2) is applied.
[0047]
number
[0048] In equation (2), w indicates the state of superposition of all states. Graph 43 shows the probability amplitude of each of ground states x1 to x4 when -W is applied to the state shown in graph 42. In graph 43, the probability amplitudes of ground states x1 to x4 are inverted around the mean value compared to graph 42. By such inversion amplification processing, the probability amplitude of ground state x3 corresponding to the correct answer data becomes larger than that of ground states x1, x2, and x4.
[0049] Next, a specific example of executing the Grover algorithm with three quantum bits will be described. The state |ψ> of the superposition of states represented by three quantum bits is expressed by the following formula (3).
[0050]
number
[0051] Equation (3) expresses that for each of the three quantum bits, the probability amplitude for the state “0” and the probability amplitude for the state “1” are 2 -1 / 2 Equation (3) also shows that the probability amplitude of each of the states "000" to "111" represented by three quantum bits is 8. -1 / 2 Here, if the state "010" corresponds to the correct data, then Oracle U f When U is applied f |ψ> is expressed by the following equation (4).
[0052]
number
[0053] Equation (4) means that the probability amplitude of state "010" is -8 among states "000" to "111". -1 / 2 and the probability amplitude of states other than state "010" is 8 -1 / 2 In other words, equation (4) shows a state in which the sign of the probability amplitude of state "010" is inverted from the state shown in equation (3). f The average probability amplitude in |ψ> is given by the following equation (5).
[0054]
number
[0055] Status U f -WU, the state where -W is applied to |ψ> f |ψ> is expressed by the following equation (6).
[0056]
number
[0057] Equation (6) shows a state in which the probability amplitude of the states "000" to "111" from the state shown in equation (4) is inverted around the average value of the probability amplitude shown in equation (5). State -WU f The probability of the state being “010” in |ψ> is the square of the probability amplitude, and is therefore expressed by the following equation (7).
[0058]
number
[0059] As described above, the state |ψ> of the superposition of states "000" to "111" is -WU f By applying the -WU f is applied twice, the probability of reaching state "010" is 0.945.
[0060] Next, a quantum circuit for causing the quantum computer 300 to execute Grover's algorithm will be described. 5 is a diagram showing an example of a quantum circuit that executes Grover's algorithm with three quantum bits. Quantum circuit 50 shows the order of operations for each of quantum bits q0, q1, and q2 when Grover's algorithm is executed with three quantum bits with one iteration. Quantum circuit 50 has lines corresponding to quantum bits q0, q1, and q2. In quantum circuit 50, a line corresponding to quantum bit q0, a line corresponding to quantum bit q1, and a line corresponding to quantum bit q2 are arranged from the top. In quantum circuit 50, elements indicating operations to be performed earlier are arranged further to the left.
[0061] The blocks marked with H and arranged on the lines corresponding to the quantum bits q0, q1, and q2 of the quantum circuit 50 indicate H gates. The H gates indicate an operation of creating a superposition state. Furthermore, the blocks marked with X and arranged on the lines corresponding to the quantum bits q0, q1, and q2 of the quantum circuit 50 indicate X gates. The X gates indicate an operation of inverting the bit of the quantum bit corresponding to the line on which they are arranged.
[0062] In addition, the blocks marked with Z arranged on the lines corresponding to the quantum bits q0, q1, and q2 of the quantum circuit 50, and the two dots connected to the blocks marked with Z by lines and arranged on the lines corresponding to the quantum bits q0, q1, and q2, respectively, indicate a CCZ gate. The blocks marked with Z are arranged on the lines corresponding to the quantum bits that are the target bits of the CCZ gate, and the two dots are arranged on the lines corresponding to the quantum bits that are the two control bits of the CCZ gate. The CCZ gate indicates that a Z gate is applied to one target bit (phase is inverted) when the two control bits are "1".
[0063] Note that the CCZ gate is equivalent regardless of the combination of two control bits and one target bit set from three quantum bits. In other words, a CCZ gate with quantum bits q1 and q2 as control bits and quantum bit q0 as target bit may be replaced with a CCZ gate with quantum bits q0 and q2 as control bits and quantum bit q1 as target bit. Also, a CCZ gate with quantum bits q1 and q2 as control bits and quantum bit q0 as target bit may be replaced with a CCZ gate with quantum bits q0 and q1 as control bits and quantum bit q2 as target bit. In the following, a CCZ gate with two control bits and one target bit set from quantum bits q0, q1, and q2 may be referred to as a CCZ gate for quantum bits q0, q1, and q2.
[0064] The blocks in the quantum circuit 50, which are arranged on the lines corresponding to the quantum bits q0, q1, and q2, respectively, and which are made up of semicircular arcs and straight lines, indicate measurements. The quantum bits q0, q1, and q2 are determined to be in the "0" or "1" state by the measurements.
[0065] At the left end of the quantum circuit 50, H gates are arranged for each of the quantum bits q0, q1, and q2. By applying an H gate to each of the quantum bits q0, q1, and q2 as the first operation shown in the quantum circuit 50, the quantum bits q0, q1, and q2 are put into a superposition state (initialized) shown in formula (3). In addition, in the quantum circuit 50, a combination of an X gate and a CCZ gate indicating a process of applying an oracle is arranged to the right of the H gate indicating the initialization. In addition, in the quantum circuit 50, a combination of an H gate, an X gate, and a CCZ gate indicating an amplification process is arranged to the right of the combination of gates indicating the oracle. In addition, in the quantum circuit 50, observations for each of the quantum bits q0, q1, and q2 are arranged to the right of the combination of gates indicating the amplification process. The results of performing the inversion amplification process of Grover's algorithm once are output by the observations shown in the quantum circuit 50.
[0066] Note that quantum computer 300 may have devices that perform gate operations on two or less quantum bits, but may not have devices that can perform gate operations on three or more quantum bits. Thus, a gate for three quantum bits, such as a CCZ gate, is converted into an equivalent circuit that combines gates for two quantum bits or one quantum bit.
[0067] FIG. 6 is a diagram (part 1) showing an example of an equivalent circuit of a CCZ gate. Equivalent circuit 51 is a quantum circuit that is equivalent to a CCZ gate for quantum bits q0, q1, and q2, and is a combination of gates for two quantum bits or one quantum bit. The blocks marked with T arranged on the lines corresponding to the quantum bits q0, q1, and q2 in equivalent circuit 51 indicate T gates. The T gate indicates an operation of rotating the phase by a predetermined value. Also, the blocks marked with T arranged on the lines corresponding to the quantum bits q0, q1, and q2 in equivalent circuit 51 indicate † The block marked with is T † Indicates a gate. T † The gate indicates an operation of rotating the phase by a predetermined value in the opposite direction to that of the T gate.
[0068] In addition, the symbol combining a circle and a + placed on the line corresponding to each of the quantum bits q0, q1, and q2 in the equivalent circuit 51, and the dots connected to the symbol by lines and placed on the line corresponding to each of the quantum bits q0, q1, and q2, respectively, indicate a CNOT gate. The symbol combining a circle and a + is placed on the line corresponding to the quantum bit that is the target bit of the CNOT gate, and the dots are placed on the line corresponding to the quantum bit that is the control bit of the CNOT gate. The CNOT gate indicates that the bit of the target bit is inverted when the control bit is "1".
[0069] In this way, the CCZ gate can be converted into an equivalent circuit 51 that combines gates for two quantum bits or one quantum bit. Therefore, when the quantum computer 300 executes the process shown by the quantum circuit 50, the control computer 100 may generate a quantum circuit in which each of the two CCZ gates included in the quantum circuit 50 is converted into an equivalent circuit 51. Then, the control computer 100 may instruct the quantum bit control device 200 to control the quantum bit according to the generated quantum circuit.
[0070] In quantum computation by the quantum computer 300, noise contained in gate operations can cause errors in each quantum bit. Therefore, when two CCZ gates contained in the quantum circuit 50 are converted into an equivalent circuit 51, errors are more likely to occur in the quantum bit having a larger number of gate operations in the equivalent circuit 51. Therefore, in the second embodiment, when the quantum circuit contains multiple CCZ gates, the control computer 100 converts some of the CCZ gates into the equivalent circuit 51, and converts the remaining CCZ gates into an equivalent circuit in which each element of the equivalent circuit 51 is symmetrically moved up and down.
[0071] Next, the function of the control computer 100 will be described in detail. 7 is a block diagram showing an example of functions of the control computer. The control computer 100 has a storage unit 120, a quantum computing control unit 130, a gate detection unit 140, and a gate conversion unit 150. The storage unit 120 stores conversion information 121. In the conversion information 121, a gate to be converted and an equivalent circuit are registered in association with each other.
[0072] The quantum computing control unit 130 controls the quantum computing. First, the quantum computing control unit 130 acquires a quantum circuit. For example, the quantum computing control unit 130 receives a request for quantum computing by the quantum computer 300 and the quantum circuit from the terminal devices 31, 32, . . . Then, the quantum computing control unit 130 controls the quantum bit control device 200 according to the quantum circuit converted by the gate conversion unit 150.
[0073] The gate detection unit 140 detects a CCZ gate from the quantum circuit acquired by the quantum computation control unit 130. Furthermore, when a CCZ gate is detected from the quantum circuit, the gate detection unit 140 detects a CCZ gate for the same combination of quantum bits as the detected CCZ gate.
[0074] The gate conversion unit 150 converts a gate for three or more quantum bits included in a quantum circuit into an equivalent circuit. For example, the gate conversion unit 150 converts a CnNOT gate included in the quantum circuit into a combination of a CCX gate and a CNOT gate. The CCX gate is a gate that inverts one target bit when two control bits are "1". The CnNOT gate is a gate that inverts one target bit when n control bits are "1". The gate conversion unit 150 converts a CCX gate included in the quantum circuit into a combination of a CCZ gate and an H gate.
[0075] The gate conversion unit 150 converts the CCZ gate detected by the gate detection unit 140 into an equivalent circuit that is a combination of operations on one or two quantum bits. For example, the gate conversion unit 150 converts the CCZ gate detected by the gate detection unit 140 into an equivalent circuit 51. The gate conversion unit 150 also converts a CCZ gate for the same combination of quantum bits as the CCZ gate converted into the equivalent circuit into an equivalent circuit in which the elements of the converted equivalent circuit are symmetrically moved. For example, the gate conversion unit 150 converts the CCZ gate into an equivalent circuit in which each element of the equivalent circuit 51 is symmetrically moved up and down.
[0076] Note that the lines connecting the elements shown in Fig. 7 indicate part of the communication paths, and communication paths other than those shown in the figure can also be set. The function of each element shown in Fig. 7 can be realized, for example, by having a computer execute a program module corresponding to that element.
[0077] Next, the conversion information 121 stored in the storage unit 120 will be described in detail. 8 is a diagram showing an example of conversion information. The conversion information 121 has columns for detection gate and equivalent circuit. The detection gate column contains a gate to be detected. The equivalent circuit column contains an equivalent circuit of the gate to be detected. For example, the conversion information 121 contains a CCZ gate, an equivalent circuit 51, and an equivalent circuit in which each element of the equivalent circuit 51 is symmetrically moved up and down, registered in association with each other.
[0078] Next, the conversion process of the CCX gate by the gate conversion unit 150 will be described. FIG. 9 is a diagram showing an example of the conversion process of a CCX gate. The CCX gate indicates that an X gate is applied to one target bit (bit inversion) when two control bits are "1". In a quantum circuit, a symbol combining a circle and a + is placed on a line corresponding to a quantum bit that is a target bit of the CCX gate, and a point connected to the symbol by a line is placed on a line corresponding to each of the quantum bits that are two control bits. The gate conversion unit 150 converts a CCX gate included in a quantum circuit into an equivalent circuit combining an H gate and a CCZ gate.
[0079] Equivalent circuit 61 is a quantum circuit equivalent to a CCX gate with quantum bits q1 and q2 as control bits and quantum bit q0 as a target bit. Equivalent circuit 61 includes an H gate for quantum bit q0, CCZ gates for quantum bits q0, q1, and q2, and an H gate for quantum bit q0, which are arranged side by side. Gate conversion unit 150 can convert equivalent circuit 61 into equivalent circuits 62 and 63 by converting the CCZ gate included in equivalent circuit 61.
[0080] Equivalent circuit 62 is obtained by converting the CCZ gate included in equivalent circuit 61 into equivalent circuit 51. Moreover, equivalent circuit 63 is obtained by converting the CCZ gate included in equivalent circuit 61 into an equivalent circuit arranged by symmetrically shifting each element of equivalent circuit 51 up and down.
[0081] In this way, the gate conversion unit 150 can convert the CCX gate included in the quantum circuit into an equivalent circuit including a CCZ gate. By converting the CCZ gate into an equivalent circuit, the gate conversion unit 150 can suppress bias of gate operations toward a specific quantum bit in the quantum circuit including the CCX gate.
[0082] Next, the conversion process of the CnNOT gate by the gate conversion unit 150 will be described. FIG. 10 is a diagram showing an example of conversion processing of a CnNOT gate. The CnNOT gate indicates that one target bit is inverted when n control bits are "1". In a quantum circuit, a symbol combining a circle and a + is placed on a line corresponding to a quantum bit that is a target bit of the CnNOT gate, and a point connected to the symbol by a line is placed on a line corresponding to each of the quantum bits that are n control bits. The gate conversion unit 150 converts the CnNOT gate included in the quantum circuit into an equivalent circuit combining a CCX gate and a CNOT gate.
[0083] The equivalent circuit 71 is a quantum circuit equivalent to a C5NOT gate with quantum bits q0, q1, q2, q3, and q4 as control bits and quantum bit q5 as a target bit. The equivalent circuit 71 includes a CCX gate with any two of quantum bits q0 to q4, a0, a1, a2, and a3 as control bits and any one of quantum bits q0 to q4 and a0 to a3 as a target bit. The quantum bits a0 to a3 are ancillary bits. n-1 ancillary bits are used in the conversion of the CnNOT gate.
[0084] Equivalent circuit 71 includes two CCX gates with quantum bits q0 and q1 as control bits and quantum bit a0 as a target bit. Equivalent circuit 71 also includes two CCX gates with quantum bits q2 and a0 as control bits and quantum bit a1 as a target bit. Equivalent circuit 71 also includes two CCX gates with quantum bits q3 and a1 as control bits and quantum bit a2 as a target bit. Equivalent circuit 71 also includes two CCX gates with quantum bits q4 and a2 as control bits and quantum bit a3 as a target bit. Equivalent circuit 71 also includes one CNOT gate with quantum bit a3 as a control bit and quantum bit q5 as a target bit.
[0085] The gate conversion unit 150 can convert the CCX gate included in the equivalent circuit 71 into an equivalent circuit that combines a CCZ gate and an H gate. 11 is a diagram showing an example of an equivalent circuit of a CnNOT gate. The equivalent circuit 72 is obtained by converting the CCX gate included in the equivalent circuit 71 into an equivalent circuit that combines a CCZ gate and an H gate. In other words, the equivalent circuit 72 includes two CCZ gates for the same combination of quantum bits. For example, the equivalent circuit 72 includes two CCZ gates for quantum bits q0, q1, and a0.
[0086] The gate conversion unit 150 converts one of two CCZ gates for the same combination of quantum bits included in the equivalent circuit 72 into the equivalent circuit 51, and converts the other into an equivalent circuit in which each element of the equivalent circuit 51 is symmetrically moved up and down. This allows the gate conversion unit 150 to suppress bias in gate operations toward a specific quantum bit in a quantum circuit including a CnNOT gate.
[0087] Next, the procedure of the quantum circuit conversion process will be described in detail. 12 is a flowchart showing an example of a procedure for quantum circuit conversion processing. The processing shown in FIG. 12 will be described below in order of step numbers.
[0088] [Step S101] The quantum computation control unit 130 acquires a quantum circuit. For example, the quantum computation control unit 130 receives a request for quantum computation by the quantum computer 300 and the quantum circuit from the terminal devices 31, 32, . . .
[0089] [Step S102] The gate conversion unit 150 converts the CnNOT gate included in the quantum circuit into a combination of a CCX gate and a CNOT gate. For example, the gate conversion unit 150 detects the CnNOT gate included in the quantum circuit acquired in step S101. The gate conversion unit 150 generates an equivalent circuit by combining a CNOT gate and a plurality of CCX gates in which two of the control bit and n-1 ancillary bits of the detected CnNOT gate are set as control bits and one is set as a target bit. Then, the gate conversion unit 150 converts the detected CnNOT gate into the generated equivalent circuit.
[0090] [Step S103] The gate conversion unit 150 converts the CCX gate included in the quantum circuit into a combination of a CCZ gate and an H gate. For example, the gate conversion unit 150 detects a CCX gate included in the quantum circuit converted in step S102. The gate conversion unit 150 generates an equivalent circuit in which an H gate for the target bit of the detected CCX gate, a CCZ gate for the control bit and the target bit, and an H gate for the target bit are arranged side by side. Then, the gate conversion unit 150 converts the detected CCX gate into the generated equivalent circuit.
[0091] [Step S104] The gate detection unit 140 detects one CCZ gate from the quantum circuit. [Step S105] The gate detection unit 140 determines whether or not a CCZ gate is detected from the quantum circuit in step S104. If the gate detection unit 140 determines that a CCZ gate is detected from the quantum circuit in step S104, the process proceeds to step S106. If the gate detection unit 140 determines that a CCZ gate is not detected from the quantum circuit in step S104, the process proceeds to step S110.
[0092] [Step S106] The gate conversion unit 150 converts the CCZ gate detected in step S104 into an equivalent circuit that is a combination of operations on one or two quantum bits. For example, the gate conversion unit 150 converts the CCZ gate detected in step S104 into the equivalent circuit 51 registered in the conversion information 121.
[0093] [Step S107] The gate detection unit 140 detects, from the quantum circuit, one CCZ gate for the same combination of quantum bits as the CCZ gate detected in step S104.
[0094] [Step S108] The gate detection unit 140 determines whether or not a CCZ gate is detected from the quantum circuit in step S107. If the gate detection unit 140 determines that a CCZ gate is detected from the quantum circuit in step S107, the process proceeds to step S109. If the gate detection unit 140 determines that a CCZ gate is not detected from the quantum circuit in step S107, the process proceeds to step S104.
[0095] [Step S109] The gate conversion unit 150 converts the CCZ gate detected in step S107 into an equivalent circuit in which the elements of the equivalent circuit converted in step S106 are symmetrically moved. For example, the gate conversion unit 150 converts the CCZ gate detected in step S107 into an equivalent circuit in which the elements of the equivalent circuit 51 registered in the conversion information 121 are symmetrically moved up and down. Then, the process proceeds to step S104.
[0096] [Step S110] The quantum computing control unit 130 controls the quantum bit control device 200 in accordance with the converted quantum circuit. In this way, the gate conversion unit 150 converts one of the CCZ gates for the same combination of quantum bits into an equivalent circuit, and converts the other into an equivalent circuit in which each element of the equivalent circuit 51 is symmetrically shifted up and down. This allows the gate conversion unit 150 to suppress bias in gate operations toward a specific quantum bit.
[0097] The gate conversion unit 150 converts the CnNOT gate into a combination of a CCX gate and a CNOT gate, converts the CCX gate into a combination of a CCZ gate and an H gate, and then converts the CCZ gate. This allows the gate conversion unit 150 to suppress bias in gate operations toward a specific quantum bit even when the quantum circuit includes a CCX gate or a CnNOT gate.
[0098] Next, the quantum circuit after the conversion will be described. 13 is a diagram showing an example of a quantum circuit after conversion. The gate conversion unit 150 converts the quantum circuit 50 into a quantum circuit 50a by a quantum circuit conversion process. The quantum circuit 50a is obtained by converting one of the two CCZ gates included in the quantum circuit 50 into an equivalent circuit 51 and converting the other into an equivalent circuit 52. The equivalent circuit 52 is an equivalent circuit in which each element of the equivalent circuit 51 is symmetrically moved up and down. In the equivalent circuit 52, the arrangement of each element of the equivalent circuit 51 is inverted with respect to the line corresponding to the quantum bit q1 as an axis.
[0099] When the quantum computing control unit 130 acquires the quantum circuit 50, it controls the quantum bit control device 200 according to the quantum circuit 50a converted by the gate conversion unit 150. The quantum bit control device 200 performs gate operations on each quantum bit in the order shown in the quantum circuit 50a. This suppresses bias in gate operations on a specific quantum bit compared to the case where the two CCZ gates included in the quantum circuit 50 are converted into the equivalent circuit 51.
[0100] Next, we explain the effect of noise contained in gate operations on quantum computation. FIG. 14 is a diagram (part 1) showing an example of the relationship between quantum computation results and noise. Graph 81 shows the results of simulating quantum computation using a quantum circuit in which two CCZ gates included in the three-qubit Grover algorithm are converted into equivalent circuit 51, with the amount of noise in the gate operation being changed. The vertical axis of graph 81 shows the output probability of the state corresponding to the correct data. The horizontal axis of graph 81 shows the amount of noise included in the gate operation. Note that sqrt(ε) is an index of the amount of noise included in the gate operation. Each line in graph 81 shows the simulation result when the state corresponding to the correct data is "000" to "111".
[0101] Graph 82 shows the results of simulating quantum computation using a quantum circuit in which one of the two CCZ gates included in the 3-qubit Grover algorithm is converted into equivalent circuit 51 and the other is converted into equivalent circuit 52, with the amount of noise in the gate operation being changed. The meanings of the vertical axis, horizontal axis, and each line in graph 82 are the same as those in graph 81.
[0102] Graphs 81 and 82 show that, if there is no noise in the gate operation, the output probability of the state corresponding to the correct data is the theoretical value 0.781 shown in formula (7). Graphs 81 and 82 also show that, if the amount of noise in the gate operation increases, the output probability of the state corresponding to the correct data decreases. Here, the amount of decrease in the output probability with respect to an increase in the amount of noise in graph 82 is smaller than that in graph 81. In other words, graphs 81 and 82 show that when quantum computing is performed with a quantum circuit in which one of two CCZ gates is converted into equivalent circuit 51 and the other is converted into equivalent circuit 52, the effect of noise can be reduced more than when quantum computing is performed with a quantum circuit in which two CCZ gates are converted into equivalent circuit 51.
[0103] In this way, the gate conversion unit 150 converts one of the CCZ gates for the same combination of quantum bits into the equivalent circuit 51 and the other into the equivalent circuit 52, thereby reducing errors that occur due to the influence of noise contained in the gate operation being biased toward specific quantum bits. Thus, the gate conversion unit 150 can reduce errors in quantum computation.
[0104] The CCZ gate can be converted into an equivalent circuit other than the equivalent circuits 51 and 52 shown in the above example. The gate conversion unit 150 may convert the CCZ gate into an equivalent circuit other than the equivalent circuits 51 and 52.
[0105] FIG. 15 is a diagram (part 2) showing an example of an equivalent circuit of a CCZ gate. The equivalent circuit 53 is equivalent to a CCZ gate for quantum bits q0, q1, and q2, and is a quantum circuit that combines gates for two quantum bits or one quantum bit. In the equivalent circuit 53, each element arranged on the line corresponding to the quantum bit q0 of the equivalent circuit 51 is arranged on the line corresponding to the quantum bit q1. Also, in the equivalent circuit 53, each element arranged on the line corresponding to the quantum bit q1 of the equivalent circuit 51 is arranged on the line corresponding to the quantum bit q2. Also, in the equivalent circuit 53, each element arranged on the line corresponding to the quantum bit q2 of the equivalent circuit 51 is arranged on the line corresponding to the quantum bit q0.
[0106] Equivalent circuit 54 is equivalent to a CCZ gate for quantum bits q0, q1, and q2, and is an equivalent circuit in which each element of equivalent circuit 53 is symmetrically moved up and down. In equivalent circuit 54, the arrangement of each element of equivalent circuit 53 is inverted with respect to the line corresponding to quantum bit q1 as an axis. Gate conversion unit 150 may convert one of CCZ gates for the same combination of quantum bits into equivalent circuit 53, and the other into equivalent circuit 54.
[0107] 16 is a diagram (part 2) showing an example of the relationship between quantum computation results and noise. Graph 83 shows the results of simulating quantum computation by a quantum circuit in which two CCZ gates included in the three-qubit Grover algorithm are converted into equivalent circuit 53, with the amount of noise in the gate operation being changed. Graph 84 shows the results of simulating quantum computation by a quantum circuit in which one of two CCZ gates included in the three-qubit Grover algorithm is converted into equivalent circuit 53 and the other is converted into equivalent circuit 54, with the amount of noise in the gate operation being changed. The meanings of the vertical axis, horizontal axis, and each line in graphs 83 and 84 are the same as those in graph 81.
[0108] Graphs 83 and 84 show that, like graphs 81 and 82, when the amount of noise in the gate operation increases, the output probability of the state corresponding to the correct data decreases. Also, in graph 84, the decrease in the output probability with respect to the increase in the amount of noise is smaller than that in graph 83. Therefore, graphs 83 and 84 show that when quantum computing is performed with a quantum circuit in which one of two CCZ gates is converted to equivalent circuit 53 and the other is converted to equivalent circuit 54, the effect of noise can be reduced more than when quantum computing is performed with a quantum circuit in which two CCZ gates are converted to equivalent circuit 53.
[0109] FIG. 17 is a diagram (part 3) showing an example of an equivalent circuit of a CCZ gate. The equivalent circuit 55 is a quantum circuit that is equivalent to a CCZ gate for quantum bits q0, q1, and q2, and is a combination of gates for two quantum bits or one quantum bit. In the equivalent circuit 55, each element arranged on the line corresponding to the quantum bit q0 of the equivalent circuit 51 is arranged on the line corresponding to the quantum bit q2. Also, in the equivalent circuit 55, each element arranged on the line corresponding to the quantum bit q1 of the equivalent circuit 51 is arranged on the line corresponding to the quantum bit q0. Also, in the equivalent circuit 55, each element arranged on the line corresponding to the quantum bit q2 of the equivalent circuit 51 is arranged on the line corresponding to the quantum bit q1.
[0110] Equivalent circuit 56 is equivalent to a CCZ gate for quantum bits q0, q1, and q2, and is an equivalent circuit in which each element of equivalent circuit 55 is symmetrically shifted up and down. In equivalent circuit 56, the arrangement of each element of equivalent circuit 55 is inverted with respect to the line corresponding to quantum bit q1 as the axis. Gate conversion unit 150 may convert one of the CCZ gates for the same combination of quantum bits into equivalent circuit 55, and the other into equivalent circuit 56.
[0111] FIG. 18 is a diagram (part 3) showing an example of the relationship between quantum computation results and noise. Graph 85 shows the results of simulating quantum computation by a quantum circuit in which two CCZ gates included in the three-qubit Grover algorithm are converted into equivalent circuit 55, with the amount of noise in the gate operation being changed. Graph 86 shows the results of simulating quantum computation by a quantum circuit in which one of two CCZ gates included in the three-qubit Grover algorithm is converted into equivalent circuit 55 and the other into equivalent circuit 56, with the amount of noise in the gate operation being changed. The meanings of the vertical axis, horizontal axis, and each line in graphs 85 and 86 are the same as those in graph 81.
[0112] Graphs 85 and 86 show that, as with graphs 81 and 82, when the amount of noise in the gate operation increases, the output probability of the state corresponding to the correct data decreases. Also, in graph 86, the decrease in the output probability with respect to an increase in the amount of noise is smaller than that in graph 85. Therefore, graphs 85 and 86 show that when quantum computing is performed with a quantum circuit in which one of two CCZ gates is converted to equivalent circuit 55 and the other is converted to equivalent circuit 56, the effect of noise can be reduced more than when quantum computing is performed with a quantum circuit in which two CCZ gates are converted to equivalent circuit 55.
[0113] FIG. 19 is a diagram (part 4) showing an example of the relationship between quantum computation results and noise. Graph 87 shows the output probability of the state corresponding to the correct data when sqrt(ε)=0.3 for each quantum computation in the simulations shown in FIGS. 14, 16, and 18. Graph 87 shows the output probability when quantum computation is performed at sqrt(ε)=0.3 using a quantum circuit (one type of equivalent circuit) in which two CCZ gates included in the quantum circuit are converted into the same equivalent circuit. Graph 87 also shows the output probability when quantum computation is performed at sqrt(ε)=0.3 using a quantum circuit (two types of equivalent circuits) in which one of the two CCZ gates included in the quantum circuit is converted into an equivalent circuit in which each element of the other equivalent circuit is symmetrically moved up and down.
[0114] Graph 87 shows that the output probability is higher when quantum computing is performed by a quantum circuit in which two CCZ gates are converted into two types of equivalent circuits than when quantum computing is performed by a quantum circuit in which two CCZ gates are converted into one type of equivalent circuit. Therefore, the gate conversion unit 150 can reduce errors in quantum computing by converting two CCZ gates into two types of equivalent circuits.
[0115] Although the Grover algorithm for three quantum bits has been described above as an example, the Grover algorithm can also be executed for four or more quantum bits. 20 is a diagram showing an example of a quantum circuit that executes the Grover algorithm with six quantum bits. A quantum circuit 70 shows the order of operations for each of the quantum bits q0, q1, q2, q3, q4, and q5 when the Grover algorithm is executed with six quantum bits for one iteration.
[0116] At the left end of the quantum circuit 70, an H gate is arranged for each of the quantum bits q0 to q5. As the first operation shown in the quantum circuit 70, an H gate is applied to each of the quantum bits q0 to q5, so that the quantum bits q0 to q5 are put into a superposition state (initialized). In addition, in the quantum circuit 70, a combination of an X gate, an H gate, and a CnNOT gate, which indicates a process of applying an oracle, is arranged to the right of the H gate, which indicates an initialization. In addition, in the quantum circuit 70, a combination of an H gate, an X gate, and a CnNOT gate, which indicates an amplification process, is arranged to the right of the combination of gates, which indicates an oracle. In addition, in the quantum circuit 70, an observation for each of the quantum bits q0 to q5 is arranged to the right of the combination of gates, which indicates an amplification process. The observation shown in the quantum circuit 70 outputs a result when a 6-qubit inversion amplification process of Grover's algorithm is performed once.
[0117] The gate conversion unit 150 converts the CnNOT gate included in the quantum circuit 70 into a combination of a CCX gate and a CNOT gate, and converts the CCX gate into a combination of a CCZ gate and an H gate. Then, the gate conversion unit 150 converts one of two CCZ gates for the same combination of quantum bits converted from the CnNOT gate into an equivalent circuit 51, and converts the other into an equivalent circuit 52.
[0118] FIG. 21 is a diagram (part 5) showing an example of the relationship between quantum computing results and noise. Graph 91 shows the results of simulating quantum computing using a quantum circuit converted from a CnNOT gate included in the 6-qubit Grover algorithm, changing the amount of noise in the gate operation. The vertical axis of graph 91 shows the average output probability of the state corresponding to the correct data when the state corresponding to the correct data is "000000" to "111111". The horizontal axis of graph 91 shows the amount of noise included in the gate operation.
[0119] Graph 91 shows the simulation results of quantum computation using a quantum circuit (one type of equivalent circuit) in which two CCZ gates for the same combination of quantum bits converted from a CnNOT gate are converted into equivalent circuit 51. Graph 91 also shows the simulation results of quantum computation using a quantum circuit (two types of equivalent circuits) in which one of two CCZ gates for the same combination of quantum bits converted from a CnNOT gate is converted into equivalent circuit 51 and the other is converted into equivalent circuit 52.
[0120] According to graph 91, the reduction in the output probability is smaller when quantum computing is performed using a quantum circuit in which two CCZ gates are converted into two types of equivalent circuits than when quantum computing is performed using a quantum circuit in which two CCZ gates are converted into one type of equivalent circuit. In other words, graph 91 shows that the effect of noise can be reduced more when quantum computing is performed using a quantum circuit in which two CCZ gates are converted into two types of equivalent circuits than when quantum computing is performed using a quantum circuit in which two CCZ gates are converted into one type of equivalent circuit.
[0121] In this way, the gate conversion unit 150 can reduce errors that occur due to the influence of noise contained in the gate operation being biased toward a specific quantum bit, even in quantum computation executed by a quantum circuit including a CnNOT gate.
[0122] Although the embodiments have been described above, the configurations of the parts shown in the embodiments can be replaced with other parts having similar functions. Any other components or steps may be added. Furthermore, any two or more configurations (features) of the above-mentioned embodiments may be combined.
[0123] The foregoing merely illustrates the principles of the present invention. Further, since numerous modifications and changes are possible to those skilled in the art, the present invention is not limited to the exact construction and application shown and described above, and all corresponding modifications and equivalents are deemed to be within the scope of the present invention according to the appended claims and their equivalents. [Explanation of symbols]
[0124] 1 1st quantum circuit 2. First equivalent circuit 3 Second equivalent circuit 10 Quantum circuit design equipment 11 Processing section
Claims
1. a processing unit for detecting a first gate indicating a predetermined operation on a plurality of first quantum bits among the plurality of quantum bits and a second gate indicating the predetermined operation, the first gate being included in the first quantum circuit and converting the first gate into a first equivalent circuit in the first quantum circuit, and generating a second quantum circuit in which the second gate is converted into a second equivalent circuit arranged by symmetrically moving the elements of the first equivalent circuit in the arrangement direction of the plurality of first quantum bits; A quantum circuit design device having the above structure.
2. The predetermined operation is an operation of inverting a phase of a target bit of one of the first quantum bits in response to two control bits of the three first quantum bits. The quantum circuit design device according to claim 1.
3. The processing unit converts a third gate that inverts a bit of a target bit of the first quantum bit in response to two control bits of the first quantum bit into a third equivalent circuit including the predetermined operation. The quantum circuit conversion device according to claim 2.
4. The processing unit converts a fourth gate that inverts a bit of one target bit of the second quantum bit in response to three or more control bits of the second quantum bit including the first quantum bit into a fourth equivalent circuit including the third gate. The quantum circuit design device according to claim 3.
5. On the computer, For a first quantum circuit including a plurality of elements, the first quantum circuit indicating an order of operations on each of a plurality of quantum bits by an arrangement of each of the plurality of elements in the quantum circuit, detecting a first gate indicating a predetermined operation on a plurality of first quantum bits among the plurality of quantum bits and a second gate indicating the predetermined operation, the first quantum circuit including the first quantum circuit; converting the first gate in the first quantum circuit into a first equivalent circuit, and generating a second quantum circuit by converting the second gate into a second equivalent circuit arranged by symmetrically moving elements of the first equivalent circuit in a direction in which the first quantum bits are arranged; A quantum circuit design program that executes the processing.
6. The computer For a first quantum circuit including a plurality of elements, the first quantum circuit indicating an order of operations on each of a plurality of quantum bits by an arrangement of each of the plurality of elements in the quantum circuit, detecting a first gate indicating a predetermined operation on a plurality of first quantum bits among the plurality of quantum bits and a second gate indicating the predetermined operation, the first quantum circuit including the first quantum circuit; converting the first gate in the first quantum circuit into a first equivalent circuit, and generating a second quantum circuit by converting the second gate into a second equivalent circuit arranged by symmetrically moving elements of the first equivalent circuit in a direction in which the first quantum bits are arranged; Quantum circuit design method.
Citation Information
Patent Citations
Quantum algorithm operation device, method for it, program, and storage medium
JP2005250563A
Automatic optimization of large-scale quantum circuits with continuous parameters
JP2021503116A
Quantum gate for carrying out a Grover's quantum algorithm and a relative method of performing the interference operation of a Grover's quantum algorithm
US20040162640A1
Quantum circuit design for grover's algorithm
US7028275B1
Quantum circuit optimization
WO2020172504A1
