Computer-readable recording medium, quantum calculation method, and information processing apparatus
By using gate teleportation circuits and random rotation operations of auxiliary states in quantum computing, combined with [[4,2,2]] code encoding, the problem of extended computing time and error accumulation caused by repeated operations of T gates is solved, and a more efficient Efficient fault-tolerant quantum computing.
Patent Information
- Application Number
- CN202410122974.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2023-03-13
- Filing Date
- 2024-01-29
- Publication Date
- 2024-09-13
AI Technical Summary
In fault-tolerant quantum computing, the method of using T gates to achieve arbitrary rotation angles requires repeating a large number of gate operations, resulting in extended calculation time and accumulation of errors.
By using gate teleportation circuits and auxiliary states in quantum computing, random rotation operations are implemented until the target rotation angle is reached, reducing the number of required gate operations and reducing the error rate through [[4,2,2]] code encoding.
Computation times are shortened, error accumulation is reduced, a smaller number of physical qubits is used, and accuracy similar to traditional methods is achieved.
Smart Images

Figure CN118643909A
Abstract
Description
Technical Field
[0001] The embodiments discussed herein relate to quantum computing methods and information processing devices. Background Art
[0002] In calculations using quantum computers, quantum calculations based on quantum circuits are performed by performing gate operations on qubits. An individual qubit is the smallest unit of information used in calculations, corresponding to a bit in a classical computer (classical bit). Unlike a classical bit, a qubit can represent a superposition state of "0" and "1".
[0003] The information about a qubit can be corrupted (errors can occur), for example, due to interactions with the environment or errors in gate operations. Countermeasures against such errors are quantum error correction and quantum error mitigation.
[0004] Quantum error correction is a process for detecting the occurrence of errors and correcting them through encoding (redundancy) in which multiple qubits are combined. Hereinafter, unencoded qubits will be referred to as "physical qubits" and a group of encoded qubits will be referred to as "logical qubits". Quantum error mitigation is a process in which computation is continued in the presence of errors and the effects of the errors are mitigated, for example, by modifying quantum circuits or extrapolating measurement results.
[0005] A quantum computer that performs quantum computations while performing quantum error correction on logical qubits is called a "fault-tolerant quantum computer (FTQC)". FTQC is able to perform various quantum computations by combining predetermined basic gates (this set is called a "universal gate set"). The predetermined basic gates are H-gate, CNOT-gate, S-gate, and T-gate. H-gate, CNOT-gate, and S-gate are quantum gates of Clifford gates, and T-gate is a quantum gate of non-Clifford gates. The set of these basic gates is called "Clifford+T".
[0006] Various techniques related to FTQC have been proposed. For example, a fault-tolerant computing method has been proposed that reduces the number of physical qubits and physical quantum gates used in quantum Clifford circuits. A method for designing a circuit that randomly performs non-unitary calculations has also been proposed. In addition, a technique has been proposed that effectively increases the code distance and the number of T gates by integrating quantum error correction and quantum error mitigation into an effective FTQC architecture while sacrificing a certain sampling overhead. In addition, a logical Clifford+T circuit implementation method has been proposed for mitigating errors caused by noisy logical T gates by using a pseudo-probabilistic method while protecting Clifford operations from noise through quantum error correction. A technique has also been proposed that allows magic states to have better fidelity than the 2-qubit gates used to generate magic states. A method called lattice surgery has also been proposed that is able to efficiently perform logical Clifford gates by using surface codes on a quantum computer that is limited to, for example, two-dimensional nearest neighbor (2DNN) connections represented by superconducting methods.
[0007] Japanese National Publication No. 2022-520293 of the International Patent Application;
[0008] U.S. Patent Application Publication No. 2005 / 0167658;
[0009] Yasunari Suzuki, Suguru Endo, Keisuke Fujii, and Yuuki Tokunaga, “Quantum Error Mitigation as a Universal Error Reduction Technique: Applications from the NISQ to the Fault-Tolerant Quantum Computing Eras,” PRX QUANTUM 3, 010345 (2022), American Physical Society, March 18, 2022;
[0010] Christophe Piveteau, David Sutter, Sergey Bravyi, Jay M. Gambetta, and Kristan Temme, “Error Mitigation for Universal Gates on Encoded Qubits,” Physical Review Letters, volume 127, issue 20, November 12, 2021;
[0011] Ying Li, “Amagic state’s fidelity can be superior to the operations that created it,” New Journal of Physics, vol. 17, February 13, 2015;
[0012] Clare Horsman, Austin G Fowler, Simon Devitt, Rodney Van Meter, “Surfacecode quantum computing by lattice surgery”, New Journal of Physics, 14(12), 123001 (page 27), December 7, 2012;
[0013] V. Kliuchnikov, D. Maslov, and M. Mosca, “Practical Approximation of Single-Qubit Unitaries by Single-Qubit Quantum Clifford and T Circuits,” IEEE Transactions on Computers, Vol. 65, No. 1, pp. 161–172, January 1, 2016.
[0014] In fault-tolerant quantum computing using Clifford+T, T gates can be used to rotate the (irrational multiples of 2π) to rotate the logical qubit around a certain rotation axis. By repeatedly rotating with an angle However, in order to achieve rotation at an arbitrary angle with sufficient accuracy, even with the best method known to date, the gate operation of the T gate needs to be repeated about 100 times, resulting in a prolonged calculation time. Summary of the invention
[0015] In one aspect of the embodiments, an objective is to reduce computation time in fault-tolerant quantum computing.
[0016] In one aspect, a non-transitory computer-readable recording medium storing a computer program is provided, the computer program causing a computer to execute a process, the process comprising: for a rotation gate as a quantum gate performed on an encoded logical qubit, setting a target rotation angle set in the rotation gate to a designated rotation angle; generating a first logical qubit having a predetermined auxiliary state based on the designated rotation angle; performing a random rotation operation that results in a positive rotation with the designated rotation angle or a negative rotation whose sign is opposite to that of the designated rotation angle by using the first logical qubit and a second logical qubit on which the rotation gate is performed as inputs; and repeating the process for generating the first logical qubit and the process for performing the rotation operation while updating the designated rotation angle based on the target rotation angle until the rotation operation results in a positive rotation. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 An example of a quantum computing method according to a first embodiment is shown;
[0018] Figure 2 An example of a system configuration according to a second embodiment is shown;
[0019] Figure 3 A hardware example of a quantum computing system is shown;
[0020] Figure 4 The properties of a qubit are shown;
[0021] Figure 5 An example of quantum error correction is shown;
[0022] Figure 6 Examples of basic gates used in fault-tolerant quantum computing are shown;
[0023] Figure 7 An example of a circuit implementing a T-gate is shown;
[0024] Figure 8 An example of rotating to an arbitrary rotation angle by using a T-gate is shown;
[0025] Fig. 9 An example of a quantum circuit for performing a gate operation with arbitrary rotations is shown;
[0026] Fig.10 An example of repeatedly performing the operation until the target rotation angle is obtained is shown;
[0027] Fig.11 An example of a quantum circuit for preparing an auxiliary state is shown;
[0028] Fig.12 An example of expansion to the surface code is shown;
[0029] Fig.13 An example of error detection based on syndrome measurement is shown;
[0030] Fig.14 An example of an X syndrome measurement is shown;
[0031] Fig.15 An example of a Z syndrome measurement is shown;
[0032] Fig.16 An example of a quantum circuit for detecting errors in the [[4,2,2]] code is shown;
[0033] Fig.17 is a block diagram illustrating an example of the functionality of a quantum computing system;
[0034] Fig.18 shows the data flow between functions;
[0035] Fig.19 is a block diagram showing an example of the functionality of a Clifford operation execution unit;
[0036] Fig. 20 is a block diagram illustrating example functionality of an arbitrary rotation execution unit;
[0037] Fig.21 is a flow chart showing the process of quantum computing processing;
[0038] Fig. 22 is a flowchart showing an example of a process in which a quantum circuit performs processing;
[0039] Fig.23 An example of a numerical calculation result indicating a logic error rate is shown;
[0040] Fig.24 shows an example of a calculation result indicating an auxiliary state error rate; and
[0041] Fig.25 An example of a logical qubit arrangement is shown. DETAILED DESCRIPTION
[0042] Hereinafter, embodiments will be described with reference to the accompanying drawings. As long as there is no conflict, each embodiment can be implemented by combining a plurality of embodiments.
[0043] [First embodiment]
[0044] The first embodiment is a quantum computing method for shortening the computing time in fault-tolerant quantum computing.
[0045] Figure 1 An example of the quantum computing method according to the first embodiment is shown. Figure 1An information processing device 10 that executes the quantum computing method according to the first embodiment is shown. The information processing device 10 executes the quantum computing method according to the first embodiment by, for example, executing a quantum computing program.
[0046] The information processing apparatus 10 includes a storage unit 11, a processing unit 12, and a qubit device 13. The storage unit 11 is, for example, a memory or a storage device of the information processing apparatus 10. The processing unit 12 is, for example, a processor or an arithmetic circuit of the information processing apparatus 10. The qubit device 13 is a device for implementing a qubit, which is a basic unit of information in quantum computing. The qubit device 13 has a plurality of physical qubits. By combining a plurality of physical qubits, the information processing apparatus 10 generates an encoded logical qubit.
[0047] The storage unit 11 stores a quantum circuit 1 describing the process of quantum computing to be performed. For example, the quantum circuit 1 is described by using a quantum gate that can be performed in fault-tolerant quantum computing. One of the quantum gates that can be performed in fault-tolerant quantum computing is a rotation gate 2 that instructs a rotation operation at an arbitrary angle.
[0048] The processing unit 12 performs fault-tolerant quantum computing based on the quantum circuit 1. For example, the processing unit 12 generates a plurality of encoded logical qubits by using the physical qubits in the qubit device 13. Next, the processing unit 12 performs the gate operation of the quantum gate described in the quantum circuit 1 on the logical qubits. The processing unit 12 implements fault-tolerant quantum computing by performing error detection and error correction while performing the gate operation on the logical qubits.
[0049] For example, the processing unit 12 sequentially executes the quantum gates described in the quantum circuit 1. When the quantum gate executed on the encoded logical qubit is the rotation gate 2, the processing unit 12 sets the target rotation angle θ0 set in the rotation gate 2 to the initial value of the specified rotation angle θ (θ0 and θ are real numbers). Next, the processing unit 12 generates a first logical qubit 4 having a predetermined auxiliary state based on the specified rotation angle. For example, the processing unit 12 generates a first logical qubit 4 having a predetermined auxiliary state. Z (θ0)|+> of the first logical qubit 4 of the auxiliary state. The auxiliary state R Z (θ0)|+> Figure 1 Indicated as R Z (θ0)|+ L > to clearly indicate that the qubit is in a logical qubit state.
[0050] The processing unit 12 performs a rotation gate 2 on the first logical qubit 4 and the second logical qubit 5 (state |ψ L>) as input, a rotation operation is performed according to the gate teleportation circuit 3. The gate teleportation circuit 3 is a quantum circuit that instructs a random gate operation that results in a forward rotation with a specified rotation angle θ or a reverse rotation with a sign opposite to that of the specified rotation angle θ. For example, the random gate operation results in a forward rotation with a probability of 1 / 2 and a reverse rotation with a probability of 1 / 2.
[0051] The processing unit 12 repeats the process for generating the first logical qubit 4 and the process for performing the rotation operation while updating the designated rotation angle based on the target rotation angle until the rotation operation results in a forward rotation. For example, when the rotation operation performed by using the first logical qubit generated by applying the first designated rotation angle as an input results in a reverse rotation, the processing unit 12 sets an angle twice the first designated rotation angle as a second designated rotation angle applied to the next process for generating the first logical qubit. In this case, if the first rotation operation (θ=θ0) results in a reverse rotation, the designated rotation angle θ is updated to 2θ0. If the second rotation operation (θ=2θ0) results in a reverse rotation, the designated rotation angle θ is updated to 4θ0.
[0052] Whether the rotation operation has resulted in forward rotation or reverse rotation is determined based on the measurement result performed in the execution process of the gate teleportation circuit 3. For example, if the measurement result indicates "1", the processing unit 12 determines that the rotation operation has resulted in forward rotation, and if the measurement result indicates "0", the rotation operation has resulted in reverse rotation.
[0053] As described above, the processing unit 12 is capable of performing an arbitrary rotation to the target rotation angle θ0 by repeating the generation of the first logical qubit 4 and the execution of the random rotation operation while updating the specified rotation angle θ until the rotation operation results in a positive rotation. In order to achieve a positive rotation with the target rotation angle θ0, two rotation operations are performed on average for an arbitrary rotation. Therefore, the number of gate operations required is small, thereby shortening the calculation time. Since the number of gate operations required is small, unnecessary error accumulation is prevented. In addition, since a gate operation that uses a large number of physical qubits as in magic state distillation is not performed in the execution of an arbitrary rotation, a smaller number of physical qubits are used.
[0054] For example, the processing unit 12 generates a first logical qubit 4 encoded by using a [[4,2,2]] code, which represents the state of two logical qubits having four physical qubits and whose code distance is 2. By using this encoding, a first logical qubit 4 having fewer errors is generated.
[0055] If the code distance of the second logical qubit 5 is greater than 2, the processing unit 12 extends the code distance of the [[4, 2, 2]] code to a predetermined code distance, thereby generating a first logical qubit 4 having a predetermined code distance. In this way, the processing unit 12 is able to generate a first logical qubit 4 that is encoded by using the [[4, 2, 2]] code and has a code distance that matches the accuracy required for quantum computing.
[0056] There is a case where an error is detected regarding the auxiliary state of the first logical qubit 4. In this case, the processing unit 12 redoes the process for generating the first logical qubit 4 having the auxiliary state. In this way, the processing unit 12 generates the first logical qubit 4 having the auxiliary state with a low error rate.
[0057] When the rotation operation results in a reverse rotation and the specified rotation angle θ is updated, the angle of twice the current specified rotation angle θ may exceed π. In this case, a smaller absolute value of the rotation angle can be set by reversing the sign of the rotation and performing the rotation in the opposite direction, rather than by setting the angle of twice the current specified rotation angle θ as the next specified rotation angle θ. Therefore, for example, if the remainder obtained by dividing the angle of twice the first specified rotation angle by 2π is 0 or greater than 0 and less than π, the processing unit 12 sets the angle corresponding to the remainder to the second specified rotation angle. If the remainder is greater than π and less than or equal to 2π, the processing unit 12 sets the angle obtained by subtracting 2π from the remainder to the second specified rotation angle. In this way, the specified rotation angle θ can be prevented from becoming too large, and problems that may be caused by an excessively large rotation angle (e.g., an increase in the error rate) can be prevented from occurring.
[0058] [Second embodiment]
[0059] The second embodiment is a quantum computing system for realizing universal quantum computing.
[0060] Figure 2 An example of a system configuration according to a second embodiment is shown. A quantum computing system 30 includes a classical computer 100 and a quantum computer 200. The classical computer 100 is a computer which is a so-called von Neumann computer. The quantum computer 200 is a non-von Neumann computer that applies the principles of quantum mechanics. The classical computer 100 is connected to a terminal 31 via a network 20, and the terminal is a von Neumann computer used by a user.
[0061] The user uses the terminal 31 to create a quantum circuit for solving a target problem by using quantum computing. The created quantum circuit is transmitted from the terminal to the quantum computing system 30. In the quantum computing system 30, the classical computer 100 and the quantum computer 200 operate in coordination with each other to perform quantum computing according to the acquired quantum circuit. Next, the quantum computing system 30 transmits the calculation result to the terminal 31.
[0062] Figure 3 A hardware example of a quantum computing system is shown. A classical computer 100 is fully controlled by a processor 101. The processor 101 is connected to a memory 102 and a plurality of peripheral devices via a bus 109. The processor 101 may be a multiprocessor. The processor 101 is, for example, a central processing unit (CPU), a microprocessing unit (MPU), or a digital signal processor (DSP). At least one of the functions implemented by causing the processor 101 to execute a program may be implemented by an electronic circuit such as an application specific integrated circuit (ASIC) or a programmable logic device (PLD).
[0063] The memory 102 is used as a main storage device of the classic computer 100. At least one of an operating system (OS) program and an application program executed by the processor 101 is temporarily stored in the memory 102. In addition, various data used for processing performed by the processor 101 are stored in the memory 102. For example, a volatile semiconductor storage device such as a random access memory (RAM) is used as the memory 102.
[0064] Peripheral devices connected to the bus 109 are a storage device 103 , a graphics processing unit (GPU) 104 , an input interface 105 , an optical drive 106 , a device connection interface 107 , and a network interface 108 .
[0065] The storage device 103 reads and writes data on its internal recording medium electrically or magnetically. The storage device 103 is used as an auxiliary storage device of the classic computer 100. OS programs, application programs, and various data are stored in the storage device 103. For example, a hard disk drive (HDD) or a solid state drive (SSD) can be used as the storage device 103.
[0066] The GPU 104 is an arithmetic device that performs image processing. The GPU 104 is an example of a graphic controller. The GPU 104 is connected to the monitor 21. The GPU 104 displays an image on the screen of the monitor 21 according to a command from the processor 101. Examples of the monitor 21 include a display device using organic electroluminescence (EL) and a liquid crystal display device.
[0067] The input interface 105 is connected to the keyboard 22 and the mouse 23. The input interface 105 transmits a signal transmitted from the keyboard 22 or the mouse 23 to the processor 101. The mouse 23 is an example of a pointing device, and a different pointing device may be used alternatively. Examples of different pointing devices include a touch panel, a tablet computer, a touch pad, and a trackball.
[0068] The optical drive 106 uses a laser or the like to read and write data on the optical disk 24. The optical disk 24 is a portable recording medium on which data has been recorded so that the data can be read by optical reflection. Examples of the optical disk 24 include a digital versatile disk (DVD), a DVD-RAM, a compact disk read only memory (CD-ROM), and a recordable CD (CD-R) / rewritable CD (CD-RW).
[0069] The device connection interface 107 is a communication interface for connecting a peripheral device to the classic computer 100. For example, a memory device 25 and a memory reader / writer 26 may be connected to the device connection interface 107. The memory device 25 is a recording medium having a function of communicating with the device connection interface 107. The memory reader / writer 26 is a device for reading and writing data on a memory card 27. The memory card 27 is a card-type recording medium.
[0070] The network interface 108 is connected to the network 20. The network interface 108 exchanges data with other computers or communication devices via the network 20. The network interface 108 is, for example, a wired communication interface connected to a wired communication device such as a switch or a router via a cable. Alternatively, the network interface 108 may be a wireless communication interface connected to a wireless communication device such as a base station or an access point wirelessly via radio waves.
[0071] The quantum computer 200 and the classical computer 100 share a bus 109. The quantum computer 200 can perform information communication with elements in the classical computer 100 via the bus 109.
[0072] The quantum computer 200 includes a quantum arithmetic processing device 201 connected to the bus 109. The quantum arithmetic processing device 201 performs a gate operation on a qubit based on a quantum gate described in a quantum circuit and measures the state of the qubit. The quantum arithmetic processing device 201 includes a qubit device 202 and a qubit control signal generator 203. The qubit device 202 holds the states of a plurality of qubits and performs a gate operation on the qubits. The qubit control signal generator 203 generates a control signal instructing to perform a gate operation on a qubit or to measure a qubit.
[0073] The quantum computing system 30 can realize the processing function according to the second embodiment by using the above-mentioned hardware. Figure 3The quantum computing system 30 shown is implemented with the same hardware.
[0074] The classical computer 100 implements the processing function according to the second embodiment by, for example, executing a program recorded in a computer-readable recording medium. The program describing the processing content executed by the classical computer 100 can be recorded in various recording media. For example, the program executed by the classical computer 100 can be stored in a storage device 103. The processor 101 loads at least one program in the storage device 103 to the memory 102 and executes the program. The program executed by the classical computer 100 can be recorded in a portable recording medium, such as an optical disk 24, a memory device 25, or a memory card 27. For example, under the control of the processor 101, the program stored in the portable recording medium is first installed in the storage device 103 and then becomes executable. Alternatively, the processor 101 can read the program directly from the portable recording medium and execute the program.
[0075] Next, why it is necessary to implement FTQC and technical issues in implementing FTQC will be described.
[0076] Figure 4 The characteristics of a qubit are shown. Qubit 41 is the smallest unit of information in quantum computer 200 and can be set to state |0>, state |1>, or a superposition state of |0> and |1>. In the superposition state, the probability of the measured value of qubit 41 indicating |0> or |1> is randomly determined. For example, when the probability of |0> and the probability of |1> are the same, the superposition state of qubit 41 is represented as "2 -1 / 2 (|0>+|1>)”.
[0077] Information about qubit 41 may be destroyed by interaction with the environment, errors in operation, etc. (errors may occur). For example, if the superposition state is destroyed by an error, the state of qubit 41 may change to state |0>. In order to improve the calculation accuracy, it is necessary to detect the qubit in which an error has occurred, and it is necessary to correct the state of the qubit to its correct state.
[0078] Therefore, a technique called quantum error correction is proposed. In quantum error correction, encoding is performed by combining multiple qubits. When encoding is performed, the state of one or more logical qubits is represented by multiple physical qubits used in the encoding. Based on the overall state of multiple encoded qubits, the qubit in which an error occurs is detected and corrected.
[0079] Figure 5 An example of quantum error correction is shown. Figure 5 As shown, logical qubit 42 is defined by a plurality of physical qubits 42a, 42b, ..., and 42n. Figure 5The example in assumes that the state of each of the plurality of physical qubits 42a, 42b, ..., 42n represents |0>, an error occurs, and the state of physical qubit 42b is thus inverted to |1>. In this case, the error is detected based on information obtained from the state of each of the plurality of physical qubits 42a, 42b, ..., and 42n. Next, the physical qubit 42b in which the error occurs is determined, and the state of the physical qubit 42b is corrected.
[0080] By performing quantum error correction in this manner as needed, even if an error occurs in a physical qubit, as long as the number of errors is within an allowable range, the logical qubit 42 remains in its correct state. By combining predetermined basic gates, quantum computing can be achieved while performing quantum error correction on the logical qubit.
[0081] Figure 6 Examples of basic gates used in fault-tolerant quantum computing are shown. For example, the basic gates used in quantum computing performed while performing quantum error correction are H gate 43a, CNOT gate 43b, S gate 43c, and T gate 43d. H gate 43a is called a Hadamard gate, and is a quantum gate that rotates the state of a qubit 180 degrees around an axis tilted at 45 degrees between the Z axis and the X axis. CNOT gate 43b is a quantum gate that maintains the state of the target qubit if the state of the control qubit represents |0>, and reverses the state of the target qubit (|0> to |1> or |1> to |0>) if the state of the control qubit represents |1>. S gate 43c is a quantum gate that rotates the state around the Z axis by π / 2. T gate 43d is a quantum gate that rotates the state around the Z axis by π / 4.
[0082] Among these quantum gates, the H gate, CNOT gate, and S gate are called "Clifford gates." In contrast, the T gate is called a "non-Clifford gate." Figure 6 The basic gates in are collectively referred to as "Clifford+T". "Clifford+T" used in the calculation of the quantum computer 200 plays a similar function to AND, XOR, and NOT used in the classical computer 100. That is, by combining quantum gates of "Clifford+T", various quantum calculations can be performed.
[0083] Clifford+T's T-gate is made executable by combining a gate teleportation circuit with a qubit state called a "magic state."
[0084] Figure 7An example of a circuit implementing a T-gate is shown. The gate teleportation circuit 44a implements a gate operation of changing the state of the qubit |ψ> to T|ψ> by applying the T-gate 44 to the qubit. Assuming that the state of the first qubit input to the gate teleportation circuit 44a represents |ψ>, the state |π / 4> is input as the second qubit (auxiliary qubit). This state |π / 4> is called a "magic state". The magic state is a logical state represented by a logical quantum gate.
[0085] Gate teleportation circuit 44a includes a CNOT gate that receives the second qubit as a control qubit and the first qubit as a target qubit. After the CNOT gate, the state of the first qubit is measured. If the measurement result indicates |0>, no gate operation is performed on the second qubit. If the measurement result indicates |1>, an S gate and an X gate are performed on the second qubit (in Figure 7 The CNOT gate, S gate and X gate of the gate teleportation circuit 44a are all gate operations performed on the encoded logical qubit.
[0086] In fault-tolerant quantum computing using Clifford+T, a large number of physical qubits are used. Typically, one million or more physical qubits are used. Most (e.g., 90% or more) of the large number of physical qubits are used for arbitrary rotation angles of logical qubits. For arbitrary rotation angles, many T-gate-based gate operations are performed.
[0087] Based on the rotation angle θ and the rotation axis n=(n x , n y , n z ) is represented by equation (1).
[0088]
[0089] The gate operation based on the T gate is expressed by equation (2).
[0090]
[0091] By applying the gate operation represented by equation (2) to equation (1), it can be seen that the rotation is a rotation around the Z axis at an angle of "π / 4".
[0092] If the H gate is combined with the T gate, the gate operation represented by equation (3) is obtained.
[0093]
[0094] The gate operation represented by equation (3) is a rotation around the X axis at an angle of "π / 4". Multiplying equation (2) by equation (3) yields equation (4).
[0095]
[0096] The gate operation represented by equation (4) is about the rotation axis n = (cos(π / 8), sin(π / 8), cos(π / 8)) to satisfy Rotation angle The rotation angle achieved is an irrational multiple of 2π. Repeat this rotation to achieve rotation to any angle.
[0097] Figure 8 An example of rotating to an arbitrary rotation angle by using a T gate is shown. In the graph 45, the horizontal axis represents the number of T gate operations and the vertical axis represents the angle. θ represents the target angle. The single circle on the dotted line in the graph 45 represents the rotation angle. (irrational multiple of 2π) The angle obtained after a single rotation. Repeat the rotation angle The rotation of the T-gate operation is performed so that the angle represented by the black circle reaches the target angle. It is known that by using the arbitrary rotation T-gate decomposition method (V. Kliuchnikov, D. Maslov, and M. Mosca, "Practical Approximation of Single-Qubit Unitaries by Single-Qubit Quantum Clifford and T Circuits", IEEE Transactions on Computers, Vol. 65, No. 1, pp. 161-172, January 1, 2016), the T-gate operation needs to be repeated about 100 times to achieve a Z-axis rotation of π / 128 degrees with an accuracy of about 10 -10 , which is the most effective method known so far.
[0098] As described above, any rotation angle is achieved by repeating the T-gate operation. In order to perform these gate operations based on the T-gate on the logical qubit, it is necessary to prepare the auxiliary qubit in the magic state as described above.
[0099] In order to generate an accurate magic state, a gate operation is performed that inputs some noisy magic state into a predetermined quantum circuit and extracts the state without error. This gate operation is called "magic state distillation". For example, when performing 15 to 1 distillation, 15 logical qubits are used to generate a single magic state. When a single logical qubit is encoded by 100 physical qubits, 1500 physical qubits are consumed.
[0100] The accuracy of the T-gate depends on the accuracy of the magic state. Therefore, in order to improve the accuracy of the T-gate, the number of magic states input into the magic state distillation is increased. Therefore, the number of physical qubits used for the T-gate operation is about 1,000 to 10,000. If this operation is performed by a quantum computer with a scale of 10,000 physical qubits, all resources are consumed by the magic state distillation, and therefore, the quantum computation itself becomes unexecutable. Therefore, it is important to establish a quantum computing method that maintains fault tolerance as much as possible with a limited number of physical qubits.
[0101] As mentioned previously, there are known techniques for reducing the number of physical qubits used in FTQC (Yasunari Suzuki, Suguru Endo, Keisuke Fujii, and Yuuki Tokunaga, “Quantum Error Mitigation as a Universal Error Reduction Technique: Applications from the NISQ to the Fault-Tolerant Quantum Computing Eras,” PRX QUANTUM 3, 010345 (2022), American Physical Society, March 18, 2022; and Christophe Piveteau, David Sutter, Sergey Bravyi, Jay M. Gambetta, and Kristan Temme, “Error Mitigation for Universal Gates on EncodedQubits”, Physical Review Letters, Volume 127, Issue 20, November 12, 2021 (hereinafter referred to as “Piveteau”). Although these techniques successfully reduce the number of physical qubits, a large number of inaccurate T-gates are used to perform gate operations with arbitrary rotations. As a result, many errors are accumulated. Therefore, the accuracy of the T-gate needs to be improved.
[0102] For example, the above-mentioned Ying Li (hereinafter referred to as "Li") in "Amagic state's fidelity can be superior to the operations that created it", New Journal of Physics, Vol. 17, February 13, 2015, discloses a technique for improving the accuracy of the T gate, that is, a technique for improving the accuracy of preparing the magic state. According to this technique, an uncoded magic state is first prepared and then encoded. Assuming that the probability of any operation causing an error is p, according to the magic state error rate P of "Li" L For "P L≈46p / 15". In the above "Piveteau", the magic state is prepared by temporarily unencoded logical qubits. According to the magic state error rate P of "Piveteau", L It is "P L ≈30p".
[0103] As described above, according to "Li" and "Piveteau", uncoded states are partially used, and errors occurring in the uncoded states deteriorate the precision of the magic state. This deterioration of the precision of the magic state leads to deterioration of the precision of the T gate. As a result, the precision of the gate operation becomes insufficient for arbitrary rotations. Therefore, it is difficult to say that the techniques proposed by "Li" and "Piveteau" are sufficiently practical.
[0104] As described above, the T-gate operation is repeated many times for arbitrary rotation, and it is difficult to accurately perform the T-gate operation with the current number of physical qubits. As a result, the accuracy of the gate operation is insufficient for arbitrary rotation.
[0105] To solve this problem, the quantum computing system 30 according to the second embodiment implements a gate operation of arbitrary rotation without using a T gate. Specifically, when performing quantum computing, the quantum computing system 30 directly performs arbitrary rotation without using a T gate (Clifford+ rotation). In this operation, the quantum computing system 30 implements precise rotation by effectively performing a preparation process of an auxiliary state for arbitrary rotation.
[0106] Fig. 9 An example of a quantum circuit for performing a gate operation with arbitrary rotation is shown. The gate teleportation circuit 50 is a circuit that realizes a rotation (R Z In the gate teleportation circuit 50, the operation target state |ψ> is input to the first qubit, and the auxiliary state “R Z (θ)|+ L >” is input to the second qubit.
[0107] In the gate teleportation circuit 50, first, a CNOT gate operation using the second qubit as a control qubit and the first qubit as a target qubit is performed. If the measurement result of the first qubit indicates "+1", an X gate operation is performed on the second qubit.
[0108] If the measurement result of the first qubit indicates "+1", the state of the second qubit indicates "R Z (θ)|ψ>". If the measurement result of the first qubit indicates "0", the state of the second qubit indicates "R Z (-θ)|ψ>". In this way, after the gate operation of arbitrary rotation is performed by the gate teleportation circuit 50, "RZ (θ)|ψ>” or “R Z (-θ)|ψ>". That is, the output state can randomly represent the reverse rotation. The output state represents "R Z (θ)|ψ>” and the output state represents “R Z The probability of (-θ)|ψ>” is “1 / 2”.
[0109] Because the output state of the gate teleportation circuit 50 randomly causes the target to rotate (forward rotation) or reverse rotation, the quantum computing system 30 repeats the same gate operation until the output state causes the target to rotate.
[0110] Fig.10 An example of repeated execution until the target rotation angle is obtained is shown. For example, if the gate operation for rotating to the target angle θ fails and results in a reverse rotation (-θ), the quantum computing system 30 performs a rotation at an angle of 2θ in the gate operation for the next rotation. If the gate operation for the rotation at an angle of 2θ also fails and results in a reverse rotation (-2θ), the sum of the two rotation angles represents -3θ. In this case, the quantum computing system 30 performs, for example, a rotation at an angle of 4θ in the gate operation for the next rotation.
[0111] Assuming that the probability of successful rotation and the probability of failed rotation are both 1 / 2, the average number of rotation operations to obtain a successful rotation is "1×(1 / 2)+2×(1 / 4)+…=Σ n n2 -n =2". That is, the quantum computing system 30 can realize arbitrary rotation by executing the gate operation of the gate teleportation circuit 50 twice on average.
[0112] The quantum computing system 30 is able to always keep the rotation angle within the range [-π, π) by performing a process in which the rotation angle has a 2π periodicity. For example, a rotation of a target angle θ will be considered. The quantum computing system 30 sets the remainder obtained by dividing θ by 2π to θ' (θ'=θ-2πn) (n is an integer). In this case, θ'∈[0, 2π].
[0113] After the next determination of θ′ in processes 1 and 2 , the quantum computing system 30 determines the rotation angle for the next rotation operation in process 3 .
[0114] 1. If 0≤θ'<π, then θ"=θ'.
[0115] 2. If π<θ'≤2π, then θ”=θ’-2π.
[0116] 3. θ” is used as the final rotation angle (θ”∈[-π,π)).
[0117] While repeating the arbitrary rotation, the quantum computing system 30 performs the processes 1 to 3 so that the rotation has the smallest possible absolute value. As a result, since the rotation angle is not excessive, error propagation is prevented.
[0118] By using the gate teleportation circuit 50 as described above, arbitrary rotation does not require the use of magic states. The gate teleportation circuit 50 uses auxiliary states, not magic states. Therefore, the auxiliary states are prepared before the gate teleportation is performed in the gate teleportation circuit 50. The accuracy of the prepared auxiliary states affects the overall accuracy of arbitrary rotation.
[0119] Fig.11 An example of a quantum circuit for preparing an auxiliary state is shown. The auxiliary state input to the gate teleportation circuit 50 can be generated by using an error correction code called "[[4,2,2]] code 52". [[4,2,2]] code 52 means that four physical qubits are used to represent the state of two qubits, and the code distance is "2".
[0120] The input states of the four physical qubits in the auxiliary state preparation circuit 51 are all |0>. In the auxiliary state preparation circuit 51, first, among the four physical qubits, the gate operations of Hadamard gates 51a and 51b are performed on the second physical qubit and the fourth physical qubit. Next, the gate operation of CNOT gate 51c using the second physical qubit as the control qubit and the first physical qubit as the target qubit is performed. At the same time, the gate operation of CNOT gate 51d using the fourth physical qubit as the control qubit and the third physical qubit as the target qubit is performed. Next, a gate operation of a gate around the z-axis “e” is performed on the first physical qubit and the third physical qubit. -i(1 / 2)θZ0Z2 ”(The number immediately following Z is the subscript of Z) is a 2-qubit rotation gate 51e.
[0121] The gate operation performed by the 2-qubit rotation gate 51e is represented by equation (5).
[0122]
[0123] Since the revolving gate 51e represented by equation (5) is a revolving gate performed on uncoded physical qubits, the revolving gate 51e is easily performed by the quantum computer 200. For example, if the quantum computer 200 is an ion trap quantum computer, the revolving gate 51e can be performed by using an XX revolving gate R XX (θ) and H gates are executed without change. If the quantum computer 200 is a superconducting quantum computer, the rotation gate 51e can be formed by using, for example, a cross-resonance gate R ZX (θ) and H gates are executed without change. Even if these are not available, the rotation gate 51e can be implemented by combining the CNOT gate and the RZ gate (R ZThe output of the auxiliary state preparation circuit 51 is used as the encoded auxiliary state "R Z (θ)|+ L >".
[0124] When the gate teleportation circuit 50 and the auxiliary state preparation circuit 51 are used, a coded auxiliary state is generated from the [[4, 2, 2]] code 52, and a coded gate operation for arbitrary rotation is performed in the coded state. In this way, arbitrary rotation is achieved without canceling the encoding. If the encoding is canceled, the error rate will increase. However, the above operation prevents the increase in the error rate.
[0125] The code distance of the auxiliary state generated from the [[4,2,2]] code 52 is "2". However, the auxiliary state used as the input of the gate teleportation circuit 50 for realizing arbitrary rotation needs to be encoded by the code distance applied to the gate teleportation circuit 50. Therefore, in the quantum computing system 30, the auxiliary state generated from the [[4,2,2]] code 52 is expanded to a surface code with a target code distance d.
[0126] Fig.12 An example of extension to a surface code is shown. Surface code 53 is an extension of [[4,2,2]] code 52 to code distance "5" (d=5). In the upper left corner of surface code 53, a state prepared with [[4,2,2]] code 52 is set. The other physical qubits are all initialized to |0> or |+>. In surface code 53, shaded circles represent physical qubits initialized to |0>, and black circles represent physical qubits initialized to |+>.
[0127] In the quantum computing system 30, syndrome measurement is performed on the entire surface code 53. The Z stabilizers of the surface code 53 are the lattice surfaces in the shaded area, and the X stabilizers are the lattice surfaces in the white area.
[0128] In the quantum computing system 30, error detection is performed based on the syndrome measurement result. If an error is detected, the generated auxiliary state is discarded, and the process for generating the auxiliary state is performed again. In this way, it is possible to generate the auxiliary state with as few errors as possible.
[0129] Next, syndrome measurement will be described.
[0130] Fig.13 An example of error detection based on syndrome measurement is shown. The logical qubits of the surface code 54 are each in a simultaneous eigenstate with an eigenvalue of +1 for the stabilizer operator defined in the lattice surface. The surface code 54 has one logical degree of freedom (9 qubits - 8 stabilizers).
[0131] The logical Z operator is defined on the boundary indicated by the thick solid line 54a. The logical X operator is defined on the boundary indicated by the thick dashed line 54b. Three qubits are located on the line indicating the logical Z operator. Similarly, three qubits are located on the line indicating the logical X operator. That is, the code distance is "3".
[0132] By measuring the eigenvalues of the stabilizer operator, errors occurring in the physical qubits included in the surface code 54 can be detected. The eigenvalues of the stabilizer are called "symptoms". The measurement of eigenvalues is called "symptom measurement". If there are no errors, all syndrome values represent +1.
[0133] If an error occurs in any of the physical qubits, the eigenvalues of the stabilizers around this physical qubit are reversed. For example, if an X error occurs in the central physical qubit, the eigenvalues of the two Z stabilizers sandwiching the error qubit are reversed to "-1".
[0134] The syndrome measurement is performed by using ancillary qubits.
[0135] Fig.14 An example of X syndrome measurement is shown. Physical qubits 55a to 55d and an auxiliary qubit 55e included in the X stabilizer 55 are used (a CNOT gate operation can be performed on the auxiliary qubit 55e together with each of these physical qubits 55a to 55d). The quantum circuit 56 for X syndrome measurement receives |0> as the initial state of the auxiliary qubit 55e. A gate operation of a Hadamard gate is performed on the auxiliary qubit 55e.
[0136] Next, by using the auxiliary qubit 55e as a control qubit and by using each of the physical qubits 55a to 55d as a target qubit, gate operations of four CNOT gates are sequentially performed. The numbers assigned to the physical qubits 55a to 55d represent the order in which the operations of the CNOT gates are performed. Next, a gate operation of the Hadamard gate is performed on the auxiliary qubit 55e. Finally, the state of the auxiliary qubit 55e is measured.
[0137] If an X error occurs in any one of physical qubits 55 a to 55 d , the state of auxiliary qubit 55 e is inverted according to quantum circuit 56 .
[0138] Fig.15An example of Z-symbol measurement is shown. Physical qubits 57a to 57d and auxiliary qubit 57e included in Z-stabilizer 57 are used (a CNOT gate operation can be performed on auxiliary qubit 57e together with each of these physical qubits 57a to 57d). The quantum circuit 58 for Z-symbol measurement receives |0> as the initial state of auxiliary qubit 57e. Next, by using auxiliary qubit 57e as the target qubit and using each of physical qubits 57a to 57d as the control qubit, gate operations of four CNOT gates are sequentially performed. The numbers assigned to physical qubits 57a to 57d represent the order in which the operations of the CNOT gates are performed. Finally, the state of auxiliary qubit 57e is measured.
[0139] If a Z error occurs in any one of physical qubits 57 a to 57 d , the state of auxiliary qubit 57 e is inverted according to quantum circuit 58 .
[0140] Fig.16 An example of a quantum circuit for detecting an error of the [[4,2,2]] code is shown. Quantum circuit 59 is capable of detecting an error of the [[4,2,2]] code 52. In addition to the four physical qubits (identification numbers 0 to 3) included in the [[4,2,2]] code 52, quantum circuit 59 also uses four physical qubits (M0 to M3).
[0141] [[4,2,2]] The stabilizer operators of code 52 are X0X1X2X3 and Z0Z1Z2Z3. Physical qubits M0 to M3 are auxiliary qubits for syndrome measurement. In quantum circuit 59, quantum gates surrounded by rectangular dashed lines are executed simultaneously. By executing quantum circuit 59, eigenvalues (syndromes) of two stabilizer operators are obtained. Whether there is an error is determined based on the obtained syndrome.
[0142] The quantum computing system 30 accurately detects errors of the [[4, 2, 2]] code 52 based on the quantum circuit 59. Once the error is detected, the quantum computing system 30 performs the process for generating the auxiliary state again. In this way, the quantum computing system 30 is able to generate accurate auxiliary states without generating unnecessary errors.
[0143] By using the physical qubit error rate p, the auxiliary state error rate is expressed as "2p / 15". This auxiliary state error rate is sufficiently smaller than the magic state error rate 46p / 15 according to "Li" and the magic state error rate 30p according to "Piveteau". That is, it is possible to generate an auxiliary state "R" that is more accurate than these magic states. Z (θ)|+ L >". Since the auxiliary state is accurately generated, the teleportation circuit 50 (see Fig. 9 ) use these precise auxiliary states to achieve precise arbitrary rotations.
[0144] Fig.17 1 is a block diagram showing an example of functions of a quantum computing system. The classical computer 100 includes a quantum circuit decomposition unit 110, a gate operation scheduler 120, and a post-processing unit 130. The quantum computer 200 includes a logical qubit initialization unit 210, a gate operation branching unit 220, and a logical qubit measurement unit 230. In addition, the quantum computing system includes a Clifford operation execution unit 310 and an arbitrary rotation execution unit 320 as functions realized by causing the classical computer 100 and the quantum computer 200 to operate in coordination with each other.
[0145] The quantum circuit decomposition unit 110 decomposes the quantum circuit for solving the target problem into basic gates (Clifford gates or arbitrary rotation gates). The gate operation scheduler 120 manages the order of gate operations. The post-processing unit 130 performs predetermined arithmetic processing on the qubit measurement results. The logical qubit initialization unit 210 initializes the logical qubit. The gate operation branch unit 220 instructs the Clifford operation execution unit 310 or the arbitrary rotation execution unit 320 to perform the gate operation according to whether the gate operation to be performed next is a Clifford operation or an arbitrary rotation. The logical qubit measurement unit 230 measures the state of the logical qubit. The Clifford operation execution unit 310 performs a gate operation corresponding to the Clifford operation on the logical qubit. The arbitrary rotation execution unit 320 performs a gate operation corresponding to the arbitrary rotation on the logical qubit.
[0146] Fig.17 The lines shown connecting various functions indicate a portion of a communication path, and other functions may also be provided. Fig.17 Communication paths other than the communication paths shown. The various functions implemented by the classic computer 100 can be implemented, for example, by causing the processor 101 to execute program modules corresponding to these functions.
[0147] Fig.18 The data flow between functions is shown. For example, the quantum circuit decomposition unit 110 acquires a quantum circuit from the terminal 31. After decomposing the acquired quantum circuit into basic gates, the quantum circuit decomposition unit 110 transmits information such as the obtained gates, the number of gates, the types of gates, and the execution order of these gates to the gate operation scheduler 120. In addition, the quantum circuit decomposition unit 110 transmits the number of logical qubits used for quantum computing to the logical qubit initialization unit 210. The logical qubit initialization unit 210 initializes the state of the logical qubit and notifies the gate operation branch unit 220 of the completion of the initialization.
[0148] The gate operation scheduler 120 manages the execution order of the basic gates, and transmits gate operation branch information indicating whether the quantum gate to be executed next is a Clifford operation or an arbitrary rotation to the gate operation branch unit 220. If the quantum gate to be executed next is a Clifford operation, the gate operation scheduler 120 transmits information indicating the kind of the gate to the Clifford operation execution unit 310. If the quantum gate to be executed next is an arbitrary rotation, the gate operation scheduler 120 transmits information indicating the rotation angle to the arbitrary rotation execution unit 320. In addition, the gate operation scheduler 120 transmits measurement target information indicating the logical qubit to be measured after the gate operation to the logical qubit measurement unit 230.
[0149] If the quantum gate to be executed next is a Clifford gate, the gate operation branch unit 220 instructs the Clifford operation execution unit 310 to execute the gate operation. In addition, if the quantum gate to be executed next is an arbitrary rotation, the gate operation branch unit 220 instructs the arbitrary rotation execution unit 320 to execute the gate operation.
[0150] In response to the instruction to perform the gate operation, the Clifford operation execution unit 310 executes the gate operation of the corresponding quantum gate, which is the Clifford operation, and transmits information indicating that the gate operation is completed to the logical qubit measurement unit 230. If the arbitrary rotation execution unit 320 executes the arbitrary rotation gate operation in response to the instruction to perform the gate operation and successfully rotates to the target angle, the arbitrary rotation execution unit 320 transmits information indicating that the gate operation is completed to the logical qubit measurement unit 230. If the rotated gate operation results in a reverse rotation, the arbitrary rotation execution unit 320 transmits a correction rotation request signal to the gate operation scheduler 120. In response to the correction rotation request signal, the gate operation scheduler 120 calculates a new rotation angle and transmits the calculated rotation angle to the arbitrary rotation execution unit 320.
[0151] When the gate operation is completed, the logical qubit measurement unit 230 measures the state of the measurement target logical qubit. Next, the logical qubit measurement unit 230 transmits the measured value to the post-processing unit 130. The post-processing unit 130 performs predetermined arithmetic processing on the measured value and outputs the result value as a calculation result.
[0152] Next, the function of the Clifford operation execution unit 310 will be described in detail.
[0153] Fig.193 is a block diagram showing a functional example of a Clifford operation execution unit. The Clifford operation execution unit 310 includes a Clifford operation unit 311, a syndrome measurement unit 312, an error position estimation unit 313, and an error correction unit 314. Among these functions, the error position estimation unit 313 is a function implemented by the classical computer 100. In addition, the Clifford operation unit 311, the syndrome measurement unit 312, and the error correction unit 314 are functions implemented by the quantum computer 200.
[0154] The Clifford operation unit 311 performs a gate operation of the Clifford operation on the logical qubit based on the type of the gate and the input quantum state of the gate operation target qubit. The input quantum state is the state of the logical qubit when the gate operation instruction is input.
[0155] The syndrome measurement unit 312 measures the syndrome of the logical qubit on which the gate operation has been performed. The syndrome measurement unit 312 transmits syndrome information indicating the measurement result to the error position estimation unit 313. The error position estimation unit 313 estimates the error position based on the syndrome information. The error position estimation unit 313 transmits the estimated error information indicating the error position estimation result to the error correction unit 314. The error correction unit 314 identifies the presence or absence of an error based on the estimated error information. If an error exists, the error correction unit 314 performs a gate operation for correcting the state of the physical qubit at the error position. The error correction unit 314 notifies the completion of the gate operation to the logical qubit measurement unit 230 by using the corrected state of the logical qubit as the output quantum state.
[0156] Fig. 20 3 is a block diagram showing example functions of an arbitrary rotation execution unit. The arbitrary rotation execution unit 320 includes an auxiliary state generation unit 321, a syndrome measurement unit 322, an error determination unit 323, a gate teleportation unit 324, a successful rotation determination unit 325, a syndrome measurement unit 326, an error position estimation unit 327, and an error correction unit 328. Among these functions, the error determination unit 323, the successful rotation determination unit 325, and the error position estimation unit 327 are implemented by the classical computer 100. In addition, the auxiliary state generation unit 321, the syndrome measurement unit 322, the gate teleportation unit 324, the syndrome measurement unit 326, and the error correction unit 328 are implemented by the quantum computer 200.
[0157] Upon acquiring information about the rotation angle, the auxiliary state generation unit 321 generates an auxiliary state for performing rotation to the rotation angle. The auxiliary state generation unit 321 notifies the syndrome measurement unit 322 of information indicating the logical qubit in the auxiliary state. The syndrome measurement unit 322 measures the syndrome of the auxiliary state. The syndrome measurement unit 322 transmits information about the measured syndrome to the error determination unit 323.
[0158] The error determination unit 323 determines the presence or absence of an error based on the measured syndrome. If the error determination unit 323 determines that an error exists, the error determination unit 323 transmits an auxiliary state regeneration signal to the auxiliary state generation unit 321. Upon receiving the auxiliary state regeneration signal, the auxiliary state generation unit 321 generates the auxiliary state again.
[0159] If the error determination unit 323 determines that there is no error, the syndrome measurement unit 322 transmits information about the logical quantum circuit in the auxiliary state to the gate teleportation unit 324 .
[0160] The gate teleportation unit 324 uses the auxiliary state to perform a rotation operation based on the gate teleportation circuit. The gate teleportation unit 324 will perform a rotation operation based on the gate teleportation circuit ( Fig. 9 The measurement value obtained by the measurement performed in the execution process of the gate teleportation circuit 50 in the embodiment of the present invention is transmitted to the successful rotation determination unit 325. Based on the measurement value, the successful rotation determination unit 325 determines whether the rotation to the specified rotation angle has been successful. If the rotation fails, the successful rotation determination unit 325 transmits a correction rotation request signal to the door operation scheduler 120.
[0161] If the successful rotation determination unit 325 determines that the rotation has been successful, the gate teleportation unit 324 notifies the completion of the rotation operation to the syndrome measurement unit 326. The syndrome measurement unit 326 measures the syndrome of the rotated logical qubit. The syndrome measurement unit 326 transmits information about the measured syndrome to the error position estimation unit 327.
[0162] Based on the measured syndrome, the error position estimation unit 327 determines the presence or absence of an error. The error position estimation unit 327 transmits the estimated error information indicating the error position estimation result to the error correction unit 328. Based on the estimated error information, the error correction unit 328 identifies the presence or absence of an error. If an error exists, the error correction unit 328 performs a gate operation for correcting the state of the physical qubit at the error position. The error correction unit 328 notifies the completion of the gate operation to the logical qubit measurement unit 230 by using the corrected state of the logical qubit as the output quantum state.
[0163] Next, the procedure of quantum computing processing will be described with reference to a flowchart.
[0164] Fig.21 is a flowchart showing an example of a process of quantum computing processing. In the following, the steps will be described according to the step numbers. Fig.21 Processing shown.
[0165] [Step S101] Upon receiving a quantum circuit to be executed, the quantum circuit decomposition unit 110 in the classical computer 100 decomposes the quantum gates in the quantum circuit into basic gates (Clifford gates or arbitrary rotation gates). The quantum circuit decomposition unit 110 sets the number of generated basic gates to N (N is a natural number).
[0166] [Step S102 ] The logical qubit initialization unit 210 in the quantum computer 200 initializes the state of the logical qubit.
[0167] [Step S103] The classical computer 100 and the quantum computer 200 operate in coordination with each other to execute the quantum circuit. The quantum circuit execution process will be described in detail below (see Fig. 22 ).
[0168] [Step S104 ] The post-processing unit 130 in the classical computer 100 performs predetermined arithmetic processing on the measurement values obtained by the quantum computer 200 , and outputs the calculation results.
[0169] Next, the quantum circuit execution process will be described below.
[0170] Fig. 22 is a flowchart showing an example of a process in which a quantum circuit performs processing. In the following, the steps will be described according to the step numbers. Fig. 22 Processing shown.
[0171] [Step S201] The door operation scheduler 120 repeats steps S202 to S212 while counting up the loop variable i from 1 until the loop variable i reaches N.
[0172] [Step S202] The gate operation scheduler 120 determines whether the i-th gate is a quantum gate for arbitrary rotation or a Clifford gate. If the i-th gate is a quantum gate for arbitrary rotation, the process proceeds to step S205. If the i-th gate is a Clifford gate, the process proceeds to step S203.
[0173] [Step S203] The gate operation scheduler 120 causes the quantum computer 200 to perform a Clifford gate operation. For example, the gate operation scheduler 120 transmits data operation branch information indicating that the next quantum gate is a Clifford operation to the gate operation branch unit 220. In addition, the gate operation scheduler 120 transmits information about the type of gate to be performed next to the Clifford operation execution unit 310. The gate operation branch unit 220 instructs the Clifford operation execution unit 310 to perform a gate operation. The Clifford operation execution unit 310 performs a gate operation of a Clifford gate on a logical qubit.
[0174] [Step S204] The Clifford operation execution unit 310 performs error correction processing. For example, the Clifford operation execution unit 310 measures the syndrome of the logical qubit and determines whether there is an error based on the syndrome. If there is an error, the Clifford operation execution unit 310 determines the error position. When an error is detected, the Clifford operation execution unit 310 performs a gate operation for correcting the error. Next, the process proceeds to step S213.
[0175] [Step S205] The gate operation scheduler 120 repeats steps S206 to S211 until the arbitrary rotation performed by using the quantum computer 200 succeeds. For example, the gate operation scheduler 120 transmits data operation branch information indicating that the next quantum gate is an arbitrary rotation to the gate operation branch unit 220. In addition, the gate operation scheduler 120 transmits the rotation angle to the arbitrary rotation execution unit 320. The gate operation branch unit 220 instructs the arbitrary rotation execution unit 320 to perform the gate operation.
[0176] [Step S206] The gate operation scheduler 120 sets the rotation angle to be performed. For example, the gate operation scheduler 120 sets the initial rotation angle to the angle θ specified by the i-th quantum gate. In addition, the gate operation scheduler 120 sets the rotation angle used in the subsequent rotation to an angle twice the previous angle, for example.
[0177] [Step S207] The arbitrary rotation execution unit 320 performs a gate operation according to the auxiliary state preparation circuit. As a result of the gate operation, an auxiliary state is generated.
[0178] [Step S208] The arbitrary rotation execution unit 320 determines whether there is an error in the auxiliary state. If there is an error, the process proceeds to step S207, and the auxiliary state is generated again. If there is no error, the process proceeds to step S209.
[0179] [Step S209] The arbitrary rotation execution unit 320 performs gate processing on the logical qubit according to the gate teleportation circuit. In this step, the arbitrary rotation execution unit 320 determines whether the rotation has succeeded based on the measurement value obtained in the process of executing the gate teleportation circuit. If the rotation fails (if the rotation results in reverse rotation), the arbitrary rotation execution unit 320 outputs a correction rotation request signal.
[0180] [Step S210] The arbitrary rotation execution unit 320 performs error correction processing. For example, the arbitrary rotation execution unit 320 measures the syndrome of the logical qubit and determines whether there is an error based on the syndrome. If there is an error, the arbitrary rotation execution unit 320 determines the error position. When an error is detected, the arbitrary rotation execution unit 320 performs a gate operation for correcting the error.
[0181] [Step S211] The arbitrary rotation execution unit 320 determines whether the arbitrary rotation is successful. For example, if the measurement value obtained in the process of executing the gate teleportation circuit indicates |1>, the arbitrary rotation execution unit 320 determines that the arbitrary rotation has been successful. If the arbitrary rotation fails, the arbitrary rotation execution unit 320 outputs a correction rotation request signal.
[0182] [Step S212] If the arbitrary rotation is successful, the process proceeds to step S213. For example, unless a correction rotation request signal is output from the arbitrary rotation execution unit 320, the door operation scheduler 120 determines that the arbitrary rotation has been successful.
[0183] [Step S213] If the value of the loop variable i reaches N, the gate operation scheduler 120 ends the quantum circuit execution process. If the value of the loop variable i is less than N, the gate operation scheduler 120 increments N by 1 and repeats steps S202 to S212.
[0184] The above quantum computing realizes arbitrary rotation without using T-gates, and requires a smaller number of gate operations than conventional techniques in which the T-gate operation is repeated multiple times (for example, about 100 times). As a result, the quantum computing execution time is shortened and error accumulation is reduced. In addition, when performing arbitrary rotations, gate operations that use a large number of physical qubits (such as magic state distillation) are not performed. That is, the number of physical qubits used is smaller. Although errors still exist in the absence of magic state distillation, the error rate is reduced by using the state preparation method of the [[4,2,2]] code, thereby achieving appropriate accuracy. Although the above flowchart has been described assuming that N gates are executed sequentially, multiple groups of simultaneously executable gates can be executed in parallel.
[0185] Hereinafter, an execution example based on specific assumptions will be described.
[0186] The logical qubits are configured by using a rotating surface code (code distance d = 7, 9) (see Clare Horsman, Austin G Fowler, Simon Devitt, Rodney Van Meter, "Surface code quantum computing by lattice surgery", New Journal of Physics, 14 (12), 123001 (page 27), December 7, 2012). The number of available physical qubits is 10000. The error occurrence model is modeled by circuit-level noise. Circuit-level noise is a model in which any type of operation (initialization, gate operation, measurement) will cause errors. Circuit-level noise is a model close to actual quantum computing. The following description also assumes that the probability of an error occurring is p = 10 -4 .
[0187] The scale of quantum computation that can be performed under these conditions will be described, and the results will be presented in Fig.23 Shown in.
[0188] Fig.23 An example of numerical calculation results indicating a logical error rate is shown. Graph 61 indicates the correlation (p correlation) of logical Z errors with respect to physical errors. The horizontal axis represents the physical error rate, and the vertical axis represents the logical Z error rate. Line 61a represents the p correlation when the code distance d=7, and line 61b represents the p correlation when the code distance d=9.
[0189] Graph 62 shows the p-correlation of logical X errors. The horizontal axis shows the physical error rate, and the vertical axis shows the logical X error rate. Line 62a shows the p-correlation when the code distance d=7, and line 62b shows the p-correlation when the code distance d=9.
[0190] The p-correlation is obtained by equation (6).
[0191]
[0192] Equation (6) includes C i and p th,i (i=X, Z), which is a constant based on the incorrect setting of Z and X. In the calculation example shown in Figure 61 (when i=Z), “C Z =0.068" and "p th,Z =0.0039". In the calculation example shown in Figure 62 (when i=X), "C X =0.082" and "p th,X =0.0042”.
[0193] Assume p = 10 -4 , the total logical error rate is p L=p L,Z +p_ L,X (Assume that logical Z error and logical X error occur independently).
[0194] The logical error rate when p=10-4 and code distance d=7 is as follows.
[0195] p_L=0.068(p / 0.0039) (7+1) / 2 +0.082(p / 0.0042) (7+1) / 2 =5.8×10 -8
[0196] The logical error rate when p=10-4 and code distance d=9 is as follows.
[0197] p_L=0.068(p / 0.0039) (9+1) / 2 +0.082(p / 0.0042) (9+1) / 2 =1.5×10 -9
[0198] exist Fig.24 Result obtained by performing numerical calculation on the error rate of preparing the assist state for arbitrary rotation is shown in FIG.
[0199] Fig.24 An example of a calculation result indicating an auxiliary state error rate is shown. Graph 63 indicates the p-correlation of the auxiliary state error rate. In Graph 63, the horizontal axis indicates the physical error rate and the vertical axis indicates the auxiliary state error rate. Line 63a indicates the p-correlation when the code distance d=3, line 63b indicates the p-correlation when the code distance d=5, line 63c indicates the p-correlation when the code distance d=7, and line 63d indicates the p-correlation when the code distance d=9. Line 63e indicates the case where the auxiliary state error rate is "2p / 15".
[0200] As shown in Figure 63, the error rate of a single auxiliary state has a p-dependency of approximately 2p / 15. -4 When the auxiliary state error rate is "2p / 15 = 1.3 × 10 -5 ”.
[0201] Through these numerical calculations, it is determined that the auxiliary state error rate is sufficiently lower than the magic state error rate.
[0202] By appropriately arranging the physical qubits constituting the logical qubits, the number of physical qubits used to input auxiliary states to the gate teleportation circuit 50 can be reduced.
[0203] Fig.25 An example of a logical qubit arrangement is shown. Fig.25In the diagram, logical qubits 71 to 78 are represented by rectangles. Each of the logical qubits 71 to 78 is a set of physical qubits used for encoding. The six logical qubits 71 to 76 in the middle are logical qubits used as quantum computing data. The two logical qubits 77 and 78 on the right and left are logical qubits for generating auxiliary states of arbitrary rotations. The other areas are workspaces for computing.
[0204] When an arbitrary rotation is performed on any one of the logical qubits 71 to 76, the auxiliary state preparation circuit 51 performs a gate operation on one of the logical qubits 77 and 78, thereby generating an auxiliary state. Next, the logical qubit indicating the auxiliary state and the logical qubit on which the arbitrary rotation is performed are input to the gate teleportation circuit 50. In this way, the gate operation of the arbitrary rotation is realized by executing the gate teleportation circuit 50.
[0205] exist Fig.25 In the arrangement shown, when there are 10,000 physical qubits and the code distance d = 9, the number of logical qubits available for quantum computing is 37. When the code distance d = 7, the number of logical qubits available for quantum computing is 64. For example, when the code distance d = 9, the number of Clifford operations is “6.9×10 8 times” or any rotation of “3.8×10 4 times” can be performed on 37 logical qubits. When the code distance d = 7, the Clifford operation is “1.7×10 7 times” or any rotation of “3.8×10 4 times” can be performed on 64 logical qubits. The computations that can be performed when the code distance d = 7 are difficult to simulate for classical computers.
[0206] As described above, although about 100 gate operations need to be performed when Clifford+T is used, according to the second embodiment, only two gate operations are performed on average. Therefore, unnecessary error accumulation is reduced and the calculation time is shortened. In addition, since magic state distillation is not performed when performing arbitrary rotations, the number of physical qubits used is reduced. In addition, since the number of errors in arbitrary rotations is minimized by effectively preparing auxiliary states, the number of executable arbitrary rotations is increased. Therefore, for example, a device with a scale of 10,000 qubits can calculate quantum circuits that cannot be simulated by classical computers. That is, the quantum computing system 30 is able to achieve its maximum computing performance with a limited number of qubits.
[0207] [Other embodiments]
[0208] According to the second embodiment, the quantum computer 200 is used to perform quantum computing. However, when the scale of the problem is small or the required accuracy is low, the function of the quantum computer 200 can be replaced by quantum simulation of the classical computer 100.
[0209] Although it has been based on the implementation of arbitrary rotation R Z The second embodiment is described by taking as an example the door operation of a revolving door with respect to (θ), but any rotation about another rotation axis can also be performed in the same manner.
[0210] The above embodiments have been described as examples, and the configuration of each unit according to the embodiments may be replaced by other configurations having equivalent functions. In addition, other components or processes may be added. Two or more configurations (features) in the above embodiments may be combined.
[0211] On the one hand, the computation time of fault-tolerant quantum computing can be shortened.
Claims
1. A non-transitory computer-readable recording medium storing a computer program for causing a computer to execute a process, the process comprising: For a rotation gate as a quantum gate performed on an encoded logical qubit, setting a target rotation angle set in the rotation gate to a specified rotation angle; generating a first logical qubit having a predetermined auxiliary state based on the specified rotation angle; performing a random rotation operation that results in a forward rotation having the specified rotation angle or a reverse rotation having a sign opposite to that of the specified rotation angle by using the first logical qubit and the second logical qubit on which the rotation gate is performed as input; as well as While updating the designated rotation angle based on the target rotation angle, a process for generating the first logical qubit and a process for performing the rotation operation are repeated until the rotation operation results in the positive rotation.
2. The non-transitory computer-readable recording medium according to claim 1, wherein: The process for generating the first logical qubit includes: when the specified rotation angle is θ, generating a qubit having a representation R Z (θ)|+>, wherein θ is a real number.
3. The non-transitory computer-readable recording medium according to claim 1, wherein: The process for generating the first logical qubit includes generating the first logical qubit encoded by using a [[4,2,2]] code, wherein the [[4,2,2]] code represents a state of two logical qubits having four physical qubits and whose code distance is 2.
4. The non-transitory computer-readable recording medium according to claim 3, wherein: The process for generating the first logical qubit includes extending the code distance of the [[4, 2, 2]] code to a predetermined code distance, thereby generating the first logical qubit having the predetermined code distance.
5. The non-transitory computer-readable recording medium according to claim 1, wherein: The process for generating the first logical qubit includes redoing the process for generating the first logical qubit having the auxiliary state upon detecting an error with respect to the auxiliary state.
6. The non-transitory computer-readable recording medium according to claim 1, wherein: Repeating the process for generating the first logical qubit and the process for performing the rotation operation includes: when the rotation operation performed by using the first logical qubit generated by applying a first designated rotation angle as an input causes the reverse rotation, setting an angle twice the first designated rotation angle as a second designated rotation angle, the second designated rotation angle being applied to a next process for generating the first logical qubit.
7. The non-transitory computer-readable recording medium according to claim 6, wherein: Repeating the process for generating the first logical qubit and the process for performing the rotation operation includes: when a remainder obtained by dividing an angle twice the first designated rotation angle by 2π is 0 or greater than 0 and less than π, setting an angle corresponding to the remainder as the second designated rotation angle, and when the remainder is greater than π and less than or equal to 2π, setting an angle obtained by subtracting 2π from the remainder as the second designated rotation angle.
8. The non-transitory computer-readable recording medium according to claim 1, wherein: The rotation operation is a rotation operation of a gate teleportation circuit according to a random gate operation indicating the forward rotation or the reverse rotation.
9. A quantum computing method performed by a computer, the quantum computing method comprising: When the quantum gate executed on the encoded logical qubit is a rotation gate, setting, by the processor, a target rotation angle set in the rotation gate to a specified rotation angle; generating, by the processor, a first logical qubit having a predetermined auxiliary state based on the specified rotation angle; performing, by the processor, a random rotation operation by using the first logical qubit and a second logical qubit on which the rotation gate is performed as input, the random rotation operation resulting in a forward rotation having the specified rotation angle or a reverse rotation having a sign opposite to that of the specified rotation angle; as well as Repeating, by the processor, a process for generating the first logical qubit and a process for performing the rotation operation while updating the designated rotation angle based on the target rotation angle until the rotation operation results in the positive rotation.
10. An information processing device, comprising: Memory; as well as A processor is coupled to the memory and configured to perform a process, the process comprising: For a rotation gate as a quantum gate performed on an encoded logical qubit, setting a target rotation angle set in the rotation gate to a specified rotation angle, generating a first logical qubit having a predetermined auxiliary state based on the specified rotation angle, performing a random rotation operation that results in a forward rotation having the specified rotation angle or a reverse rotation having a sign opposite to that of the specified rotation angle by using the first logical qubit and the second logical qubit on which the rotation gate is performed as inputs, and While updating the designated rotation angle based on the target rotation angle, a process for generating the first logical qubit and a process for performing the rotation operation are repeated until the rotation operation results in the positive rotation.
