Quantum computing methods and equipment
By optimizing the phase of the driving pulse in quantum computing and changing with the evolution time of the qubit, the problem of the quantum computing process being susceptible to noise is solved, and shorter computing time and higher robustness are achieved.
Patent Information
- Application Number
- CN202010039098.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-01-14
- Publication Date
- 2024-11-22
- Estimated Expiration
- 2040-01-14
AI Technical Summary
The quantum computing process is susceptible to noise, resulting in longer calculation time, which in turn reduces the robustness of the computing process.
By determining the quantum gates that need to be used for quantum computing, and determining the pulse parameters of the driving pulse based on these quantum gates and preset conditions, especially making the phase of the driving pulse change with the evolution time of the qubit, in order to optimize the evolution path of the qubit, thereby Shorten the total evolution time and reduce the impact of noise.
It effectively shortens the total evolution time of quantum computing, reduces the impact of noise on quantum computing processes, and improves the robustness of computing.
Smart Images

Figure CN113191499B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of quantum computing technology, and in particular to a quantum computing method and device. Background Art
[0002] Quantum computing is the process of changing the quantum state of a qubit by applying a quantum gate (also called a quantum logic gate) to the qubit. The quantum gate is a mathematical description of the controlled evolution of the qubit during quantum computing. The effect of the quantum gate on the qubit can be represented by the product of the matrix representing the quantum gate and the vector representing the initial state of the qubit.
[0003] In the related art, adiabatic quantum computing technology is usually used for quantum computing. When using adiabatic quantum computing technology for quantum computing, it is necessary to ensure adiabatic conditions during the computing process to ensure the effective implementation of the computing process.
[0004] However, this adiabatic condition will result in a longer calculation time, which in turn makes the calculation process more susceptible to noise. Summary of the invention
[0005] The present application provides a quantum computing method and device, which can solve the problem that the current quantum computing process is more susceptible to noise.
[0006] In a first aspect, a quantum computing method is provided, the method comprising: determining one or more quantum gates required to perform quantum computing; determining pulse parameters of a driving pulse according to one or more quantum gates and conditions set for performing quantum computing, the conditions comprising that the phase of the driving pulse changes with the evolution duration of the quantum bit during the quantum computing process; generating a driving pulse according to the pulse parameters; and performing quantum computing under the action of the driving pulse. The evolution duration of the quantum bit includes the duration from the start time of the quantum bit evolution to any evolution time during the quantum computing process, and the any evolution time includes any evolution time from the start time of the quantum bit evolution to the end time of the quantum bit evolution.
[0007] The quantum computing method provided in the embodiment of the present application determines one or more quantum gates required for quantum computing, determines the pulse parameters of the driving pulse according to the one or more quantum gates and the pre-set conditions for executing quantum computing, and generates a driving pulse according to the pulse parameters, and then performs quantum computing under the action of the driving pulse. Wherein, the condition includes that the phase of the driving pulse changes with the evolution duration of the quantum bit during the quantum computing process. Since the evolution path of the quantum bit is determined by the driving pulse, when the phase of the driving pulse changes with the evolution duration, the evolution path of the quantum bit can be optimized by the phase of the driving pulse to achieve the purpose of shortening the total evolution duration. Correspondingly, when the total evolution duration of the quantum computing is shorter, the probability of the quantum computing process being affected by noise is smaller. Therefore, when the phase of the driving pulse changes with time, compared with the related technology with constant evolution duration, the influence of noise on the quantum computing process can be reduced, and the robustness of quantum computing can be improved.
[0008] In the embodiment of the present application, in order to ensure that the calculation time of quantum computing is as short as possible, the phase of the driving pulse can be changed with the evolution time of the quantum bit during the quantum computing process, so as to use the phase of the driving pulse to optimize the evolution path of the quantum bit and achieve the purpose of shortening the total evolution time. In addition, when optimizing the evolution path, the specific quantum problem to be solved by the quantum computing can be optimized, and the quantum problem in the quantum computing process can be realized by one or more quantum gates, and the quantum gate can be used to act on the quantum bit to make the overall phase of the quantum bit represent. Correspondingly, another way to express this condition can be: the phase of the driving pulse changes with the overall phase of the quantum bit generated by the quantum gate when solving the quantum problem.
[0009] That is, the implementation process of determining the pulse parameters of the driving pulse according to one or more quantum gates and the conditions set for performing quantum computing may include: determining the overall phase of the quantum bit produced by the one or more quantum gates acting on the quantum bit; and determining the phase of the driving pulse according to the overall phase and conditions produced by the one or more quantum gates on the quantum bit.
[0010] In one implementation, the condition may include: during the quantum computing process, when the evolution time of the quantum bit is longer, the phase of the driving pulse at the evolution time corresponding to the evolution time is larger.
[0011] Further, the condition may include: the phase of the driving pulse increases linearly with the product of the angle difference that the quantum bit needs to generate during the quantum computing process and the evolution time, and the angle difference is the difference between the solid angle that the quantum bit needs to generate during the quantum computing process and 2π. The solid angle is determined according to the overall phase.
[0012] For example, the condition can be the phase of the driving pulse at the evolution time t The overall phase γ and the total evolution time τ required for quantum computation satisfy
[0013] In a second aspect, a quantum computing device is provided, which includes: a determination module for determining one or more quantum gates required to perform quantum computing; the determination module is also used to determine the pulse parameters of a driving pulse based on the one or more quantum gates and the set conditions for performing quantum computing, the conditions including that the phase of the driving pulse changes with the evolution time of the quantum bit during the quantum computing process, and the evolution time of the quantum bit at any evolution moment is the time from any evolution moment to the starting moment of the quantum computing process; a generation module is used to generate a driving pulse based on the pulse parameters; and a processing module is used to perform quantum computing under the action of the driving pulse.
[0014] Optionally, the determination module is specifically used to: determine the overall phase of the quantum bit produced by each quantum gate in one or more quantum gates acting on the quantum bit; determine the phase of the driving pulse according to the overall phase and conditions produced by the quantum bit by one or more quantum gates.
[0015] Optionally, the condition includes: during the quantum computing process, when the evolution time of the quantum bit is longer, the phase of the driving pulse at the evolution moment corresponding to the evolution time is larger.
[0016] Optionally, the condition includes: the phase of the driving pulse increases linearly with the product of the angle difference that the quantum bit needs to generate during the quantum computing process and the evolution time, the angle difference is the difference between the solid angle that the quantum bit needs to generate during the quantum computing process and 2π, and the solid angle is determined according to the overall phase.
[0017] Optionally, the condition includes: the phase of the driving pulse at the evolution time t The overall phase γ and the total evolution time τ required for quantum computation satisfy
[0018] In a third aspect, a quantum computing device is provided, which includes: a processor and a memory, wherein a computer program is stored in the memory, and when the processor executes the computer program, the quantum computing device implements the quantum computing method provided in the first aspect.
[0019] In a fourth aspect, a storage medium is provided. When instructions in the storage medium are executed by a processor, the quantum computing method provided in the first aspect is implemented. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Figure 1 It is a schematic diagram of an implementation scenario involved in a quantum computing method provided in an embodiment of the present application;
[0021] Figure 2 It is a schematic diagram of the structure of a quantum chip provided in an embodiment of the present application;
[0022] Figure 3 is a flow chart of a quantum computing method provided in an embodiment of the present application;
[0023] Figure 4 is a flow chart of a method for determining pulse parameters of a driving pulse provided by an embodiment of the present application;
[0024] Figure 5 It is a schematic diagram of the effect of performing quantum computing according to the quantum computing method provided in an embodiment of the present application;
[0025] Figure 6 This is a schematic diagram of the effect of performing quantum computing according to the NHQC method provided in an embodiment of the present application;
[0026] Figure 7 It is a schematic diagram comparing the effects of performing quantum computing according to a quantum computing method provided in an embodiment of the present application and performing quantum computing according to an NHQC method;
[0027] Figure 8 It is a schematic diagram comparing the effects of another quantum computing method provided in an embodiment of the present application and quantum computing performed according to the NHQC method;
[0028] Fig. 9 is a schematic diagram of the structure of a quantum computing device provided in an embodiment of the present application;
[0029] Fig.10 It is a schematic diagram of the structure of another quantum computing device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0030] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.
[0031] To facilitate understanding, the terms involved in the embodiments of the present application are explained below.
[0032] Quantum computing is the process of changing the quantum state of a quantum bit (qubit) by acting a quantum gate (also called a quantum logic gate) on a quantum bit. Usually, a quantum gate is generated by a driving pulse acting on a quantum computing device. In addition, the process by which a quantum bit changes during quantum computing can be called an evolution process, that is, the evolution process starts from the start time of the evolution of the quantum bit and ends at the end time of the evolution of the quantum bit. Any moment in the evolution process is an evolution moment. The time from the start time of the evolution of the quantum bit to any evolution moment is the evolution time of the quantum bit at any evolution moment. The state of the quantum bit at any evolution moment is called a quantum state.
[0033] The qubit is the basic unit for storing data, or it can be said that the qubit is the basic unit for quantum computing based on quantum logic. In traditional computing, 0 and 1 are used as the basic units of binary. What is different from traditional computing is that quantum computing can calculate 0 and 1 at the same time, so that the qubit can be in a linear superposition state of 0 and 1, that is, the state of the qubit |Ψ>=α×|0>+β×|1>, where |0> and |1> are the basic states of the qubit (also called the ground state). α is the probability amplitude of the qubit on |0>, |α| 2 represents the probability that the quantum bit is at |0>. β is the probability amplitude of the quantum bit at |1>, |β| 2 represents the probability amplitude of the qubit being in |1>. In one example, α and β satisfy: |α| 2 +|β| 2 =1.
[0034] A quantum gate is a mathematical description of the controlled evolution of a quantum bit during quantum computing. The effect of a quantum gate on a quantum bit can be represented by the product of a matrix representing the quantum gate and a vector representing the initial state of the quantum bit.
[0035] Hamiltonian is used to describe the energy change of the energy level system where the quantum bit is located under the action of the driving pulse. In the embodiment of the present application, the Hamiltonian of the energy level system H 1 (t) is:
[0036]
[0037] in, is the phase of the driving pulse, and Ω(t) is the amplitude of the driving pulse. tan(θ / 2)=Ω 0e (t) / Ω 1e(t), and Hc represents the Hermitian conjugate of the monomial preceding Hc. For example, in the first line of Formula 1, the monomial preceding Hc in the first line is The Hc in the first line represents The Hermitian conjugate of . In the second line of Formula 1, the monomial preceding Hc in the second line is The Hc in the first line represents Hermitian conjugation.
[0038] Schrödinger equation ( Schrodinger equation is also called Schrodinger wave equation. The Schrodinger equation is used to describe the energy fluctuation state of the energy level system, and its expression is:
[0039]
[0040] in, is the solution of the Schrödinger equation. In the embodiment of the present application, when mutually orthogonal dressed state bases |b> and |d> are used to represent the Hamiltonian of the energy level system, |Φ ± (t)> can be expressed by the angle χ, the angle α(t) and the global phase ζ(t):
[0041]
[0042] Since the energy of |d> is 0, |d> is not reflected in Formula 3. In addition, in the embodiment of the present application, |b>=sin(θ / 2)×e iφ1 ×|0>+cos(θ / 2)×|1>, |d>=cos(θ / 2)×|0>+sin(θ / 2)×e -iφ1 ×|1>.
[0043] The embodiment of the present application provides a quantum computing method, by determining one or more quantum gates required to perform quantum computing, determining the pulse parameters of a driving pulse according to the one or more quantum gates and the pre-set conditions for performing quantum computing, and generating a driving pulse according to the pulse parameters, and then performing quantum computing under the action of the driving pulse. The condition includes that the phase of the driving pulse changes with the evolution time of the quantum bit during the quantum computing process.
[0044] Since the evolution path of the quantum bit is determined by the driving pulse, when the phase of the driving pulse changes with the evolution time, the evolution path of the quantum bit can be optimized by the phase of the driving pulse to achieve the purpose of shortening the total evolution time. Correspondingly, when the total evolution time of quantum computing is shorter, the probability of the quantum computing process being affected by noise is smaller. Therefore, when the phase of the driving pulse changes with time, the influence of noise on the quantum computing process can be reduced, and the robustness of quantum computing can be improved.
[0045] Figure 1 Schematic diagram of the implementation scenario involved in the quantum computing method provided in the embodiment of the present application. Figure 1 As shown, the implementation scenario includes: a processor 10, a controller 20 and a quantum chip 30. The processor 10 is used to determine the pulse parameters of the driving pulse used to drive the quantum chip 30 to perform quantum computing according to the quantum problem that needs to be calculated in the quantum computing process, and send the pulse parameters to the controller 20. The pulse parameters are used to indicate the driving pulse. For example, the pulse parameters may include the amplitude, phase and frequency of the driving pulse. The controller 20 is used to generate a driving pulse according to the pulse parameters of the driving pulse, and apply the driving pulse to the quantum chip 30. In an implementable manner, the controller 20 may include a pulse generator, which is used to perform the operation of generating a driving pulse. The quantum chip 30 is used to perform quantum computing under the driving action of the control field formed by the driving pulse. Optionally, the type of the quantum chip 30 may be a superconducting quantum chip or a diamond color center quantum chip, etc., which is not specifically limited in the embodiments of the present application.
[0046] Among them, the quantum problem is the goal of quantum computing. For example, assuming that the purpose of quantum computing is to change |0> into |1>, the quantum problem of the quantum computing can be described as changing |0> into |1>.
[0047] Optionally, the processor 10, the controller 20, and the quantum chip 30 can be deployed in a variety of ways. Optionally, the processor 10, the controller 20, and the quantum chip 30 can be deployed in different devices, respectively, or some or all of the processor 10, the controller 20, and the quantum chip 30 can be deployed in the same device. For example, the processor 10 can be deployed in a traditional computing device, and the controller 20 and the quantum chip 30 can be deployed in a quantum computing device. Alternatively, the processor 10, the controller 20, and the quantum chip 30 can all be deployed in a quantum computing device. For example, Figure 1 This is a schematic diagram of the processor 10, controller 20 and quantum chip 30 deployed in the same quantum computing device X.
[0048] It should be noted that the controller 20 may also have a computing function, which is not specifically limited in the embodiment of the present application. When the controller 20 has a computing function, the controller 20 may determine the pulse parameters of the driving pulse used to drive the quantum chip 30 to perform quantum computing according to the quantum problem to be calculated in the quantum computing process, and generate a driving pulse according to the pulse parameters, and apply the driving pulse to the quantum chip 30. Accordingly, the processor 10 may not be included in the implementation scenario.
[0049] Figure 2 is a schematic diagram of the structure of a quantum chip 30 provided in an embodiment of the present application, such as Figure 2 As shown, Figure 2 The "M"-shaped device is a quantum chip 30, which is used to perform quantum computing. The quantum chip 30 is connected to the XY control line 40, the Z control line 50 and the resonant cavity 60 respectively. The XY control line 40 is used to input a driving pulse to the quantum chip 30, and drive the quantum chip 30 to perform quantum computing in a microwave manner. That is, one end of the XY control line 40 can be connected to the Figure 1 The driving pulse generated by the controller 2 can act on the quantum chip 30 through the XY control line 40. The Z control line 50 is used to input a direct current to the quantum chip 30, and drive the quantum chip 30 to perform quantum calculations in the form of a direct current. During the calculation process, the quantum chip 30 will output photons to the resonant cavity 60, and the resonant cavity 60 can resonate the photons so as to obtain the calculation results according to the photons that have undergone the resonant action.
[0050] Below Figure 1 Taking the implementation scenario shown as an example, the implementation process of the quantum computing method provided in the embodiment of the present application is explained. Figure 3 A flowchart of a quantum computing method provided in an embodiment of the present application. Figure 3 As shown, the method comprises the following steps:
[0051] Step 301: Determine one or more quantum gates required to perform quantum computing.
[0052] The quantum computing process is usually performed on a specified quantum problem. That is, before performing quantum computing, it is necessary and possible to know in advance the quantum problem that the quantum computing is to solve. Quantum computing can be achieved by acting on quantum bits through one or more quantum gates. In addition, many quantum gates are defined in quantum theory, and different quantum gates have different effects on quantum bits. Therefore, after determining the quantum problem to be solved by quantum computing, one or more quantum gates required to perform the quantum computing can be determined.
[0053] For example, quantum theory defines quantum gates such as the Hadamard gate, Pauli-X gate, Pauli-Z gate, and phase-shift gate. The Hadamard gate is used to convert |0> into ( and turns |1> into The Adama Gate can use the matrix express.
[0054] The Pauli-X gate is used to convert |0> to |1> and |1> to |0>, that is, the Pauli-X gate is equivalent to the logical NOT gate in classical computing. The Pauli-X gate can use the matrix express.
[0055] The Pauli-Z gate is used to keep |0> unchanged and change |1> to |-1>. The Pauli-Z gate can use the matrix express.
[0056] The phase shift gate is used to keep |0> unchanged and turn |1> into e iθ ×|1>. The Pauli-Z gate can use the matrix Indicated by. Where θ represents the phase shift.
[0057] For example, when the quantum problem is to change |0> to |1>, it can be determined that the quantum gate required to implement quantum computing is the Pauli-X gate. iθ ×|1>, it can be determined that the quantum gates required to realize quantum computing are the Pauli-X gate and the phase-shift gate.
[0058] Step 302: Determine pulse parameters of a driving pulse according to one or more quantum gates and set conditions for performing quantum computing.
[0059] The condition for executing quantum computing is used to indicate the conditions that need to be met by the driving pulse used to drive the quantum chip to perform quantum computing. In the embodiment of the present application, in order to ensure that the calculation time of the quantum computing is as short as possible, the phase of the driving pulse can be changed with the evolution time of the quantum bit during the quantum computing process, so as to use the phase of the driving pulse to optimize the evolution path of the quantum bit and achieve the purpose of shortening the total evolution time. That is, the condition includes that the phase of the driving pulse changes with the evolution time of the quantum bit during the quantum computing process.
[0060] Among them, the evolution time of the quantum bit includes the time from the start time of the quantum bit evolution to any evolution time in the quantum computing process, and the any evolution time includes any evolution time from the start time of the quantum bit evolution to the end time of the quantum bit evolution. For example, assuming that the start time of the quantum computing process is 0 and the end time is τ, it can be known that the total evolution time of the quantum bit is τ, and any time between [0, τ] is the evolution time of the quantum bit. Correspondingly, the evolution time of the quantum bit can include the time from the start time of the quantum bit evolution to any evolution time.
[0061] Furthermore, when optimizing the evolution path, the optimization can be performed for the specific quantum problem to be solved by quantum computing, and the quantum problem in the quantum computing process can be realized by one or more quantum gates. Therefore, the condition for executing quantum computing can also indicate that the phase of the driving pulse changes with the one or more quantum gates required for the quantum problem. In quantum theory, different quantum gates act on quantum bits, causing the overall phase of the quantum bits to be different. Therefore, the overall phase generated by the quantum gate on the quantum bit can be used to represent the quantum gate. Accordingly, another way to express the condition can be: the phase of the driving pulse changes with the overall phase generated by the quantum gate on the quantum bit when solving the quantum problem.
[0062] Therefore, if Figure 4 As shown, in one possible implementation of step 302, the implementation process of determining the pulse parameter of the driving pulse may include:
[0063] Step 3021: determine the overall phase of the quantum bit produced by each quantum gate in the one or more quantum gates acting on the quantum bit.
[0064] In quantum theory, when different quantum gates act on a quantum bit, the overall phase generated by the quantum bit is different. That is, there is a corresponding relationship between the quantum gate and the overall phase generated by the quantum gate acting on the quantum bit. Therefore, after determining the one or more quantum gates required to perform quantum computing, the overall phase corresponding to each of the one or more quantum gates can be determined, and based on the overall phase corresponding to each quantum gate, the overall phase generated by the one or more quantum gates required for quantum computing acting on the quantum bit can be determined. Optionally, the overall phase generated by the one or more quantum gates required for quantum computing acting on the quantum bit can be the sum of the overall phases corresponding to the one or more quantum gates.
[0065] For example, when the quantum gate required for quantum computing is a Pauli-X gate, since the overall phase corresponding to the Pauli-X gate is π / 2, the overall phase generated by the quantum gate required for quantum computing acting on the quantum bit is π / 2.
[0066] For another example, when the quantum gates required for quantum computing are a Pauli-X gate and another quantum gate, since the overall phase corresponding to the Pauli-X gate is π / 2, and the overall phase corresponding to the other quantum gate is π / 4, the overall phase generated by the one or more quantum gates required for quantum computing acting on the quantum bit is π / 2+π / 4=3×π / 4.
[0067] Step 3022: Determine the phase of the driving pulse according to the overall phase and conditions of the quantum bit generated by one or more quantum gates.
[0068] Since the conditions for executing quantum computing include the phase of the driving pulse changing with the evolution time of the quantum bit and the overall phase generated by the quantum gate on the quantum bit, after determining the overall phase generated by the quantum gate on the quantum bit, the phase of the driving pulse can be determined based on the overall phase and the condition.
[0069] Optionally, the condition may include: during the quantum computing process, when the evolution time of the quantum bit is longer, the phase of the driving pulse at the evolution time corresponding to the evolution time is larger. The specific function form of the change in the phase of the driving pulse with the evolution time can be determined according to the application requirements. For example, the phase of the driving pulse can increase linearly with the product of the angle difference that the quantum bit needs to generate during the quantum computing process and the evolution time, where the angle difference is the difference between the solid angle that the quantum bit needs to generate during the quantum computing process and 2π, and the solid angle is determined according to the overall phase. In one implementable method, the phase of the driving pulse at the evolution time t is The overall phase γ and the total evolution time τ required for quantum computing can satisfy:
[0070] Furthermore, the amplitude of the driving pulse may be the maximum amplitude of the pulse that the pulse generator can provide to the quantum chip. For example, according to the performance of the pulse generator and the performance of the quantum chip, it can be determined that the amplitude of the pulse that the pulse generator can provide to the quantum chip is [0, Ω 0 ], accordingly, the amplitude of the driving pulse can be Ω 0 .
[0071] At the same time, in order to ensure that the driving pulse can effectively act on the quantum chip, the frequency of the driving pulse can be equal to the frequency of the energy level in the energy level system where the quantum bit is located.
[0072] The following is an explanation of the principle of determining the phase and amplitude of the drive pulse:
[0073] In the embodiment of the present application, when the phase of the driving pulse changes with the evolution time of the quantum bit during the quantum computing process, it is assumed that the Hamiltonian H of the energy level system where the quantum bit is located is 1 (t) can be expressed as:
[0074]
[0075] When using the mutually orthogonal dressed state bases |b> = sin(θ / 2)×e iφ1 ×|0> + cos(θ / 2)×|1> and |d> = cos(θ / 2)×|0> + sin(θ / 2)×e -iφ1 ×|1> to represent the Hamiltonian of the energy level system, the Hamiltonian H 1 (t) of this energy level system can be expressed as:
[0076]
[0077] The Schrödinger equation satisfied by this energy level system is:
[0078] Moreover, when using the mutually orthogonal dressed state bases |b> and |d> to represent the Hamiltonian of the energy level system, the solution of this Schrödinger equation can be expressed as:
[0079]
[0080] Substituting Equation (4) and Equation (3) into Equation (2), the phase and amplitude Ω(t) of the driving pulse satisfy:
[0081]
[0082] where represents the derivative of ζ(t), represents the derivative of, is the derivative of α(t). Therefore, it can be determined that the phase of this driving pulse changes with the evolution duration of the qubit during the quantum computing process. Moreover, since the evolution path during the evolution process is determined by the amplitude and phase of the driving pulse, when the phase of this driving pulse changes with the evolution duration, it can be determined that the evolution path for optimizing quantum computing can be optimized.
[0083] Furthermore, according to the calculation formula of the quantum gate U(t) = U be (t) + |d><d| (Equation (6)), and U be (t) satisfies:
[0084]
[0085] where α ± (t) = (α(t) ± α(0)) / 2.
[0086] In the process of cyclic evolution, substituting ζ(τ) = 2×π into Formula 6, we can obtain that U(τ), |b> and |d> satisfy:
[0087]
[0088] Among them, γ is the overall phase generated during the cyclic evolution process, and γ = γ g +γ d , the γ g is the geometric phase, the γ d is the dynamic phase, and according to γ g and γ d The calculation formula can be obtained:
[0089]
[0090] In this formula 8, it is assumed that φ g = -α-(τ) / 2, we can get γ d =φ g -γ g . And, since φ g =-α - (τ) / 2, we can determine the φ g is a quantity determined by the geometric characteristics of the evolution process, and γ g is the geometric phase, accordingly, γ can be determined d The change is determined by the geometric characteristics of the evolution process, that is, the dynamical quantity in the energy level system is eliminated. In addition, since the dynamical phase is very sensitive to noise, when the dynamical phase in the overall phase is eliminated, the properties of the geometric phase can suppress the influence of some noise on the quantum computing process, and can reduce the influence of noise on the quantum computing process.
[0091] And, according to Formula 7, we can get:
[0092]
[0093] Formula 9 can be regarded as a mathematical description of the movement process of the quantum bit producing an overall phase of γ / 2 after rotating by an angle of γ around n=(sinθ×cosφ, sinθ×sinφ,cosθ). That is, the technical problem solved by Formula 9 is to rotate by an angle of γ around n=(sinθ×cosφ, sinθ×sinφ,cosθ) so that the quantum bit produces an overall phase of γ / 2. Among them, since the values of θ, γ and φ can be arbitrary, the quantum gate shown in Formula 9 can be any single-bit quantum gate, that is, according to the quantum gate in Formula 9, quantum computing using any single-bit quantum gate can be realized. It can be determined that the quantum computing method provided in the embodiment of the present application can realize any quantum computing.
[0094] Furthermore, according to the time optimization technique, when the Hamiltonian H of the energy level system 1 (t) satisfies the quantum brachistochrone equation (QBE) , the shortest evolution path can be determined. and μ j is the Lagrange multiplier. And, since the evolution path of the quantum bit is determined by the driving pulse, by combining Formula 5 and the QBE equation, the phase of the driving pulse that optimizes the evolution path to the shortest path can be determined: and amplitude Ω(t).
[0095] And, for a realizable energy level system, the energy of the energy level system It should be a constant between [0, E]. Tr(x) is the trace of x. And the maximum value E of this energy can be determined according to the performance of the pulse generator and the performance of the quantum chip. That is, assuming that according to the performance of the pulse generator and the performance of the quantum chip, the amplitude of the pulse that the pulse generator can provide to the quantum chip is [0, Ω 0 ], then E can be equal to Ω 0 .
[0096] Under this constraint, the amplitude of the driving pulse that optimizes the evolution path to the shortest path can be determined as: 0 , by combining Formula 5 and the QBE equation, the phase of the driving pulse that optimizes the evolution path to the shortest path can be determined. Should meet and Therefore, it can be determined that when the phase and amplitude of the driving pulse meet this condition, the quantum bit can evolve along the shortest path.
[0097] As can be seen from the above, in the embodiment of the present application, since the evolution process of the quantum bit is based on the Schrödinger equation, and the evolution process is not subject to other restrictions, the evolution process has a non-adiabatic property, that is, the quantum computing process is a non-adiabatic quantum computing process. Therefore, there is no need to ensure adiabatic conditions in the quantum computing process, which can further ensure that the calculation time of the quantum computing can be shortened, and the conditions for performing quantum computing are relaxed, reducing the difficulty of implementing quantum computing.
[0098] It should be noted that the above description of the process of determining the amplitude and phase of the driving pulse is based on the energy level system being a three-level system and the quantum gate being a single-bit quantum gate. When the energy level system is a system of other energy levels and / or the quantum gate is a quantum gate of other bits, the process of determining the amplitude and phase of the driving pulse can refer to the above content accordingly and will not be repeated here.
[0099] Step 303: Generate a driving pulse according to the pulse parameters.
[0100] In the embodiment of the present application, the processor can calculate the pulse parameters of the driving pulse and provide the pulse parameters to the controller, so that the pulse generator in the controller generates the driving pulse according to the pulse parameters.
[0101] Step 304: Perform quantum computing under the action of the driving pulse.
[0102] After the pulse generator generates a driving pulse according to the pulse parameters, the driving pulse can be provided to the quantum chip, so that the quantum chip can perform quantum calculations on quantum problems under the driving action of the driving pulse.
[0103] In order to verify the effectiveness of the quantum computing method provided in the embodiment of the present application, the gate fidelity of the quantum gate can be used to measure the accuracy of the quantum computing, and the higher the fidelity, the more accurate the result of the quantum computing. In addition, the embodiment of the present application provides comparative data of the fidelity of quantum computing performed according to the quantum computing method provided in the embodiment of the present application and according to the nonadiabatic holonomic quantum computation (NHQC) method.
[0104] in, Figure 5 and Figure 6 The ordinate represents the frequency ratio of the driving pulse used in quantum computing to the energy level frequency of the energy level system, and the abscissa represents the amplitude of the driving pulse and the Ω 0 The amplitude ratio of Figure 5 and Figure 6 The value on the middle circle indicates the fidelity of the area within the circle. Figure 5 According to the quantum computing method provided in the embodiment of the present application, Figure 6 According to the NHQC method. Figure 5 and Figure 6 It can be seen that when the frequency ratio is smaller, the fidelity is higher (corresponding to the darker grayscale in the figure), and when the amplitude ratio is smaller, the fidelity is higher. Figure 5 and Figure 6By comparison, it can be seen that when using the quantum computing method provided in the embodiment of the present application and the NHQC method for quantum computing, when the frequency ratio of the two quantum computing methods is the same and the amplitude ratio is the same, the fidelity obtained according to the quantum computing method provided in the embodiment of the present application is higher. Therefore, it can be determined that the accuracy of quantum computing performed using the quantum computing method provided in the embodiment of the present application is higher.
[0105] Figure 7 The vertical axis is the fidelity, the horizontal axis is the ratio of the overall phase γ to π, and the Figure 7 The solid line in the middle shows how the fidelity changes as the ratio increases when the quantum computing method provided in the embodiment of the present application is used for quantum computing. Figure 7 The middle dashed line shows how the fidelity changes as the ratio increases when the NHQC method is used for quantum computing. In addition, since the total evolution time required for the evolution process of all quantum problems is 2π / Ω when the NHQC method is used for quantum computing, as the overall phase γ increases, the ratio of the overall phase γ to π increases, and the fidelity increases. When the quantum computing method provided in the embodiment of the present application is used for calculation, the total evolution time τ is determined by the overall phase γ, for example And when the total evolution time is shorter, the probability of the evolution process being affected by noise is lower, and the fidelity is higher. Therefore, it can be determined that when the ratio of the total evolution time τ to π is closer to 1, the fidelity is lower. Therefore, according to this Figure 7 It can be determined that the greater the difference between the overall phase γ and π, the higher the accuracy of quantum calculation using the embodiment of the present application. Figure 7 The fluctuations in the lines are caused by fast oscillation terms caused by weak harmonics and quantum bit leakage.
[0106] Figure 8 The vertical axis is the fidelity, the horizontal axis is the decoherence rate (unit is 2π×1 kHz), and the Figure 8 The solid line in the middle shows how the fidelity changes with the decoherence rate when the quantum computing method provided in the embodiment of the present application is used for quantum computing. Figure 8 The middle dashed line shows how the fidelity changes with the decoherence rate when the NHQC method is used for quantum computing. Figure 8 It can be seen that when the quantum computing method provided in the embodiment of the present application is used for quantum computing, as the decoherence rate increases, the decrease in fidelity is small, and the fidelity of quantum computing using the quantum computing method provided in the embodiment of the present application is always greater than the fidelity of quantum computing using the NHQC method. Therefore, it can be determined that the quantum computing method provided in the embodiment of the present application can effectively suppress the decoherence effect.
[0107] Moreover, the quantum computing method provided in the embodiments of the present application can be applied to various types of quantum chips, such as superconducting quantum chips or diamond color center quantum chips, etc. Therefore, the quantum computing method provided in the embodiments of the present application has good applicability.
[0108] In summary, the quantum computing method provided by the embodiment of the present application determines the one or more quantum gates required for quantum computing, determines the pulse parameters of the driving pulse according to the one or more quantum gates and the pre-set conditions for performing quantum computing, and generates a driving pulse according to the pulse parameters, and then performs quantum computing under the action of the driving pulse, because the condition includes that the phase of the driving pulse changes with the evolution duration of the quantum bit during the quantum computing process. Since the evolution path of the quantum bit is determined by the driving pulse, when the phase of the driving pulse changes with the evolution duration, the evolution path of the quantum bit can be optimized by the phase of the driving pulse to achieve the purpose of shortening the total evolution duration. Correspondingly, when the total evolution duration of the quantum computing is shorter, the probability of the quantum computing process being affected by noise is smaller. Therefore, when the phase of the driving pulse changes with time, compared with the related technology with constant evolution duration, the influence of noise on the quantum computing process can be reduced, and the robustness of quantum computing can be improved.
[0109] The present application embodiment provides a quantum computing device, such as Fig. 9 As shown, the quantum computing device 90 includes:
[0110] The determination module 901 is used to determine one or more quantum gates required to perform quantum computing.
[0111] The determination module 901 is also used to determine the pulse parameters of the driving pulse according to one or more quantum gates and the set conditions for performing quantum computing, wherein the conditions include that the phase of the driving pulse changes with the evolution time of the quantum bit during the quantum computing process.
[0112] The generating module 902 is used to generate a driving pulse according to the pulse parameters.
[0113] The processing module 903 is used to perform quantum computing under the action of the driving pulse.
[0114] Optionally, the determination module 901 is specifically used to: determine the overall phase of the quantum bit generated by each quantum gate in the one or more quantum gates acting on the quantum bit, and determine the phase of the driving pulse according to the overall phase and conditions of the quantum bit generated by the one or more quantum gates.
[0115] Optionally, the condition includes: during the quantum computing process, when the evolution time of the quantum bit is longer, the phase of the driving pulse at the evolution moment corresponding to the evolution time is larger.
[0116] Optionally, the condition includes: the phase of the driving pulse increases linearly with the product of the angle difference that the quantum bit needs to generate during the quantum computing process and the evolution time, the angle difference is the difference between the solid angle that the quantum bit needs to generate during the quantum computing process and 2π, and the solid angle is determined according to the overall phase.
[0117] Optionally, the condition includes the phase of the driving pulse at the evolution time t The overall phase γ and the total evolution time τ required for quantum computation satisfy
[0118] In summary, the quantum computing device provided by the embodiment of the present application determines the quantum gates required for quantum computing by determining the module, determines the pulse parameters of the driving pulse according to one or more quantum gates and the pre-set conditions for performing quantum computing, generates the driving pulse according to the pulse parameters, and the processing module performs quantum computing under the action of the driving pulse, wherein the condition includes that the phase of the driving pulse changes with the evolution duration of the quantum bit during the quantum computing process. Because the condition includes that the phase of the driving pulse changes with the evolution duration of the quantum bit during the quantum computing process. Since the evolution path of the quantum bit is determined by the driving pulse, when the phase of the driving pulse changes with the evolution duration, the evolution path of the quantum bit can be optimized by the phase of the driving pulse to achieve the purpose of shortening the total evolution duration. Accordingly, when the total evolution duration of the quantum computing is shorter, the probability of the quantum computing process being affected by noise is smaller. Therefore, when the phase of the driving pulse changes with time, compared with the related technology with constant evolution duration, the influence of noise on the quantum computing process can be reduced, and the robustness of quantum computing can be improved.
[0119] An embodiment of the present application provides a quantum computing device. Fig.10 A possible architecture diagram of a quantum computing device is provided as an example. Fig.10 As shown, the quantum computing device 100 may include a processor 1001, a controller 1002, and a quantum chip 1003. The processor 1001 and the controller 1002 may be connected via a data bus. The controller 1002 and the quantum chip 1003 may be connected via a control bus.
[0120] Among them, the processor 1001 is used to determine the pulse parameters of the driving pulse used to drive the quantum chip 1003 to perform quantum computing according to the quantum problem that needs to be calculated in the quantum computing process, and send the pulse parameters to the controller 1002. The controller 1002 is used to generate a driving pulse according to the pulse parameters of the driving pulse, and apply the driving pulse to the quantum chip 1003. The quantum chip 1003 is used to perform quantum computing under the driving action of the control field formed by the driving pulse. Optionally, the type of the quantum chip 1003 can be a superconducting quantum chip or a diamond color center quantum chip, etc., which is not specifically limited in the embodiments of the present application.
[0121] Furthermore, to ensure the realization of the functions of the processor 1001, the quantum computing device 100 may also include: a memory 1004, a communication interface 1005 and a bus 1006. The functions realized by the processor 1001, the memory 1004, the communication interface 1005 and the bus 1006 may be functions realized by a traditional computing device.
[0122] Furthermore, in the quantum computing device, the number of processors 1001 may be one or more. Fig.10 Only one of the processors 1001 is shown. Optionally, the processor 1001 may be a central processing unit (CPU). If the quantum computing device has multiple processors 1001, the types of the multiple processors 1001 may be different or the same. Optionally, the multiple processors of the quantum computing device may also be integrated into a multi-core processor.
[0123] The memory 1004 stores computer instructions and data. The memory 1004 can store computer instructions and data required to implement the quantum computing method provided in the present application. For example, the memory 1004 can store the correspondence between the quantum gate and the overall phase of the quantum bit caused by the quantum gate acting on the quantum bit, as well as the conditions for performing quantum computing, etc. The memory 1004 can be any one or any combination of the following storage media: non-volatile memory (such as read-only memory (ROM), solid state disk (SSD), hard disk (HDD), optical disk, etc.), volatile memory.
[0124] The communication interface 1005 can be any one or any combination of the following devices: a network interface (such as an Ethernet interface), a wireless network card, or other devices with network access functions. The communication interface 1005 is used for data communication between the quantum computing device and other computing devices. For example, other computing devices can send the correspondence between the quantum gate and the overall phase to the quantum computing device 100 through the communication interface 1005 to update the correspondence stored in the quantum computing device 100.
[0125] Fig.10 The bus 1006 is also drawn as an example. The bus 1006 can connect the processor 1001 with the memory 1004 and the communication interface 1005. In this way, through the bus 1006, the processor 1001 can access the memory 1004, and can also use the communication interface 1005 to exchange data with other computing devices. Among them, the bus 1006 can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig.10 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0126] The embodiment of the present application also provides a storage medium, which is a non-volatile computer-readable storage medium. When the instructions in the storage medium are executed by the processor, the quantum computing method in the embodiment of the present application is implemented.
[0127] The embodiment of the present application also provides a computer program product containing instructions. When the computer program product is run on a computing device, the computing device executes the quantum computing method in the embodiment of the present application.
[0128] A person skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.
[0129] In the embodiments of the present application, the terms "first", "second" and "third" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance. The term "at least one" means one or more, and the term "plurality" means two or more, unless otherwise expressly defined.
[0130] The term "and / or" in this application is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.
[0131] The above description is only an optional embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the concept and principle of the present application shall be included in the protection scope of the present application.
Claims
1. A quantum computing method, characterized in that: The method comprises: determining one or more quantum gates to be used to perform the quantum computation; Determining pulse parameters of a driving pulse according to the one or more quantum gates and the conditions set for performing quantum computing, wherein the conditions include that the phase of the driving pulse changes with the evolution time of the quantum bit during the quantum computing process; generating the driving pulse according to the pulse parameter; Quantum calculations are performed under the action of the driving pulses.
2. The method according to claim 1, characterized in that The step of determining the pulse parameters of the driving pulse according to the one or more quantum gates and the set conditions for performing quantum computing comprises: Determine an overall phase of the quantum bit produced by each quantum gate of the one or more quantum gates acting on the quantum bit; The phase of the driving pulse is determined according to the overall phase of the quantum bit generated by the one or more quantum gates and the condition.
3. The method according to claim 1 or 2, characterized in that: The condition includes: during the quantum computing process, when the evolution time of the quantum bit is longer, the phase of the driving pulse at the evolution time corresponding to the evolution time is larger.
4. The method according to claim 3, characterized in that The conditions include: the phase of the driving pulse increases linearly with the product of the angle difference that the quantum bit needs to generate during the quantum computing process and the evolution time, the angle difference is the difference between the solid angle that the quantum bit needs to generate during the quantum computing process and 2π, and the solid angle is determined according to the overall phase generated by each quantum gate in the one or more quantum gates acting on the quantum bit.
5. The method according to claim 4, characterized in that The conditions include: the phase of the driving pulse at the evolution time t The overall phase γ and the total evolution time τ required for quantum computation satisfy 6. A quantum computing device, characterized in that The quantum computing device comprises: A determination module, used to determine one or more quantum gates required to perform quantum computing; The determination module is further used to determine the pulse parameters of the driving pulse according to the one or more quantum gates and the set conditions for performing quantum computing, wherein the conditions include that the phase of the driving pulse changes with the evolution time of the quantum bit during the quantum computing process; A generating module, used for generating the driving pulse according to the pulse parameter; A processing module is used to perform quantum computing under the action of the driving pulse.
7. The quantum computing device according to claim 6, characterized in that The determining module is specifically used for: Determine an overall phase of the quantum bit produced by each quantum gate of the one or more quantum gates acting on the quantum bit; The phase of the driving pulse is determined according to the overall phase of the quantum bit generated by the one or more quantum gates and the condition.
8. The quantum computing device according to claim 6 or 7, characterized in that The condition includes: during the quantum computing process, when the evolution time of the quantum bit is longer, the phase of the driving pulse at the evolution time corresponding to the evolution time is larger.
9. The quantum computing device according to claim 8, characterized in that The conditions include: the phase of the driving pulse increases linearly with the product of the angle difference that the quantum bit needs to generate during the quantum computing process and the evolution time, the angle difference is the difference between the solid angle that the quantum bit needs to generate during the quantum computing process and 2π, and the solid angle is determined according to the overall phase generated by each quantum gate in the one or more quantum gates acting on the quantum bit.
10. The quantum computing device according to claim 9, characterized in that The conditions include: the phase of the driving pulse at the evolution time t The overall phase γ and the total evolution time τ required for quantum computation satisfy
