Parameter acquisition method and device for realizing pulse of CZ gate and quantum computer
By using state exchange and phase compensation waveform amplitude adjustment in quantum computing to obtain the parameters of the CZ gate pulse, the problem of determining the CZ gate pulse parameters in quantum computing is solved, the state exchange and phase accumulation of qubits are realized, and the quantum technology is improved. Calculation accuracy and efficiency.
Patent Information
- Application Number
- CN202310172849.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-23
- Publication Date
- 2024-08-30
AI Technical Summary
In quantum computing, how to effectively obtain the parameters to implement the Controlled-Z (CZ) gate pulse is an urgent problem that needs to be solved. The CZ gate is one of the two-bit entangled gates used for state exchange and phase accumulation, but existing technology Specific pulse parameters are difficult to determine.
By performing state exchange on the qubit using a waveform with positive amplitude, changing the amplitude of the waveform until the set condition is reached, obtaining the state exchange period as the time length of the frequency adjustment waveform, and setting the time length of the phase compensation waveform, changing the frequency adjustment and The amplitude of the phase compensation waveform is obtained as the pulse parameter when the conditional phase is π.
It achieves the acquisition of pulse parameters used to execute CZ gates, enabling state exchange and phase accumulation between qubits to implement two-bit gates, improving the accuracy and efficiency of quantum computing.
Smart Images

Figure CN118569394A
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of quantum computing, and in particular relates to a method and device for acquiring parameters of a pulse for realizing a CZ gate, and a quantum computer. Background Art
[0002] Quantum computing and quantum information is an interdisciplinary subject based on the principles of quantum mechanics to achieve computing and information processing tasks. It has a very close relationship with quantum physics, computer science, informatics and other disciplines. Quantum logic gates are the basic units for completing quantum computing. During the execution of the entire quantum circuit, different quantum logic gates need to be executed at different times. A quantum logic gate is a basic quantum circuit that operates a small number of quantum bits. It is the basis of quantum circuits, just like the relationship between traditional logic gates and general digital circuits.
[0003] In quantum computing, in addition to the need to implement arbitrary operations on single-bit gates, multi-bit gates are also required, such as two-bit entangled gates and three-bit entangled gates. Among them, the two-bit entangled gate is the most concerned. Entangled gates refer to a type of quantum gate operation that can produce entanglement. Common two-bit gates include SWAP, iSWAP, Controlled-NOT (CNOT), and Controlled-Z (CZ).
[0004] CZ gate, also known as controlled phase gate, realizes CZ gate. A pulse needs to be obtained. By applying the pulse to a quantum bit to reduce its frequency, state exchange is realized and phase π is accumulated. NZ pulse can be used to realize frequency control of quantum bits. How to determine the specific parameters of the pulse for realizing CZ gate is an urgent problem to be solved. Therefore, it is necessary to propose a method for obtaining the parameters of the pulse for realizing CZ gate.
[0005] It should be noted that the information disclosed in the background technology section of this application is only intended to deepen the understanding of the general background technology of this application, and should not be regarded as an admission or suggestion in any form that the information constitutes prior art already known to those skilled in the art. Summary of the invention
[0006] The object of the present invention is to provide a method and device for obtaining the parameters of a pulse for realizing a CZ gate, and a quantum computer for obtaining the parameters of a pulse for realizing a CZ gate.
[0007] To achieve the above object, in a first aspect, the present invention provides a method for acquiring parameters of a pulse for realizing a CZ gate, wherein the pulse includes a frequency adjustment waveform and a phase compensation waveform, and the parameter acquisition method includes:
[0008] Using a first waveform with a positive amplitude to perform state exchange on the first quantum bit and the second quantum bit, continuously changing the amplitude of the first waveform until the degree of state exchange meets a first set condition, and obtaining a corresponding state exchange period as the time length of the frequency adjustment waveform;
[0009] Setting the time length of the phase compensation waveform;
[0010] Continuously changing the amplitudes of the frequency adjustment waveform and the phase compensation waveform, and obtaining a corresponding relationship between the conditional phase and the two amplitudes;
[0011] Obtain the amplitude of the frequency adjustment waveform and the phase compensation waveform corresponding to the conditional phase of π.
[0012] Preferably, the parameter acquisition method further includes:
[0013] Continuously changing the amplitudes of the frequency adjustment waveform and the phase compensation waveform, and using them to perform state exchange between the first quantum bit and the second quantum bit, and obtaining the corresponding relationship between the occupied state distribution of the final state and the two amplitudes;
[0014] Obtaining the amplitudes of the frequency adjustment waveform and the phase compensation waveform corresponding to when the occupied state distribution satisfies the second set condition;
[0015] Obtain the amplitudes of the frequency adjustment waveform and the phase compensation waveform corresponding to the case where the occupied state distribution satisfies the second set condition and the conditional phase is π.
[0016] Preferably, the frequency adjustment waveform includes a second waveform having a positive amplitude and a third waveform having a negative amplitude, and the second waveform and the third waveform are used to modulate the first quantum bit to the same frequency, wherein the frequency of the first quantum bit is higher than the frequency of the second quantum bit.
[0017] Preferably, the phase compensation waveform is between the second waveform and the third waveform, and the phase compensation waveform includes a fourth waveform with a positive amplitude and a fifth waveform with a negative amplitude, the amplitude of the fourth waveform is smaller than the amplitude of the second waveform, and the amplitude of the fifth waveform is smaller than the amplitude of the third waveform.
[0018] Preferably, the first setting condition includes:
[0019] The probability that the low-frequency qubit in the first qubit and the second qubit is in an excited state is less than a set value at a certain moment, or the probability that the low-frequency qubit in the first qubit and the second qubit is in a ground state is greater than a set value at a certain moment.
[0020] Preferably, the method for obtaining the conditional phase includes:
[0021] The pulse for implementing the CZ gate is applied to the second quantum bit and a Ramsey experiment is performed on the second quantum bit when a π pulse is applied to the first quantum bit and when a π pulse is not applied to the first quantum bit, respectively, to obtain the phase difference of the second quantum bit in the two cases, wherein the phase difference is the conditional phase, and the frequency of the second quantum bit is lower than the frequency of the first quantum bit.
[0022] Preferably, the step of setting the time length of the phase compensation waveform comprises:
[0023] The time length of the phase compensation waveform is set to 2*t, where t is the minimum pulse width that can be generated by the pulse generating device.
[0024] Preferably, the time length of the frequency adjustment waveform is an integer multiple of 2*t, where t is the minimum pulse width that can be generated by the pulse generating device.
[0025] Preferably, the minimum pulse width that can be generated by the pulse generating device is 0.625 nanoseconds.
[0026] Preferably, the second setting condition includes:
[0027] The occupied state distribution is that the probability that the low-frequency quantum bit in the first quantum bit and the second quantum bit is in an excited state is greater than a set value.
[0028] Preferably, the parameter acquisition method further includes:
[0029] The fidelity of the CZ gate executed by the acquired pulse is calibrated using a random benchmark experiment or a quantum process tomography experiment.
[0030] In a second aspect, the present application provides a parameter acquisition device for a pulse of a CZ gate, wherein the pulse includes a frequency adjustment waveform and a phase compensation waveform, and the parameter acquisition device includes:
[0031] A frequency adjustment waveform time acquisition module, which is configured to use a first waveform with a positive amplitude to perform state exchange on the first quantum bit and the second quantum bit, continuously change the amplitude of the first waveform until the state exchange degree meets the first set condition, and obtain the corresponding state exchange period as the time length of the frequency adjustment waveform;
[0032] A phase compensation waveform time acquisition module, which is configured to set the time length of the phase compensation waveform;
[0033] A conditional phase acquisition module, which is configured to continuously change the amplitudes of the frequency adjustment waveform and the phase compensation waveform, and acquire a corresponding relationship between the conditional phase and the two amplitudes;
[0034] The amplitude determination module is configured to obtain the amplitudes of the frequency adjustment waveform and the phase compensation waveform corresponding to the conditional phase being π.
[0035] In a third aspect, the present application provides a readable storage medium having a computer program stored thereon, and when the computer program is executed, it can implement the parameter acquisition method provided in the first aspect of the present application.
[0036] In a fourth aspect, the present application provides a quantum computer, comprising the parameter acquisition device provided in the second aspect of the present application.
[0037] Compared with the prior art, the technical solution of the present application has the following beneficial effects:
[0038] The method for obtaining the parameters of a pulse for implementing a CZ gate provided by the present invention first uses a first waveform with a positive amplitude to perform a state exchange between two quantum bits, and continuously changes the amplitude to obtain a state exchange cycle that meets the requirements as the time of the frequency adjustment waveform in the pulse. At this time, the frequency adjustment waveform can complete a cycle of state exchange between the two quantum bits, and then fix the time of the phase compensation waveform, and then continuously change the amplitude of the frequency adjustment waveform and the phase compensation waveform to obtain the corresponding conditional phase, and finally obtain the amplitude of the frequency adjustment waveform and the phase compensation waveform corresponding to the conditional phase of π as the parameters of the pulse. The technical solution provided by the present invention can obtain various parameters of the pulse for implementing the CZ gate, so that the acquired pulse can be used to execute a two-bit gate. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings required for use in the embodiments or the prior art description are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention, and the embodiments shown are only for illustrative purposes and do not limit the scope of the claims. In all drawings, the same reference numerals refer to similar but not necessarily identical elements.
[0040] Figure 1 A flow chart of a method for acquiring parameters of a pulse for implementing a CZ gate provided in an embodiment of the present invention;
[0041] Figure 2 A schematic diagram of a pulse waveform for implementing a CZ gate provided in an embodiment of the present invention;
[0042] Figure 3 A corresponding relationship diagram of the change of the state exchange effect over time and the amplitude in the process of executing the state exchange of the first waveform provided in an embodiment of the present invention;
[0043] Figure 4A schematic diagram of the structure of a device for acquiring pulse parameters of a CZ gate provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0044] The following will be described in more detail with reference to the schematic diagrams. Various details of the disclosed embodiments are included to aid understanding, and they should be considered as merely exemplary. Therefore, it should be appreciated by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope of the present disclosure. Similarly, for the sake of clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description.
[0045] In the description of the present invention, unless otherwise specified, the use of the terms "first", "second", etc. to describe various elements is not intended to limit the positional relationship, timing relationship, or importance relationship of these elements. Such terms are only used to distinguish one element from another. In some examples, the first element and the second element may refer to the same instance of the element, and in some cases, based on the description of the context, they may also refer to different instances.
[0046] The terms used in the description of various examples in this disclosure are only for the purpose of describing specific examples and are not intended to be limiting. Unless the context clearly indicates otherwise, if the number of elements is not specifically limited, the element can be one or more. In addition, the term "and / or" used in this disclosure covers any one of the listed items and all possible combinations.
[0047] The embodiment of the present invention provides a method for obtaining the parameters of a pulse for realizing a CZ gate. Figure 1 , Figure 1 A flow chart of the method for acquiring the parameters of the pulse for implementing the CZ gate provided by the embodiment of the present invention, from Figure 1 It can be seen that the parameter acquisition method includes:
[0048] Step S102: using a first waveform with a positive amplitude to perform state exchange on the first quantum bit and the second quantum bit, continuously changing the amplitude of the first waveform until the state exchange degree meets the first set condition, and obtaining the corresponding state exchange period as the time length of the frequency adjustment waveform;
[0049] Step S104: setting the time length of the phase compensation waveform;
[0050] Step S106: continuously changing the amplitudes of the frequency adjustment waveform and the phase compensation waveform, and obtaining a corresponding relationship between the conditional phase and the two amplitudes;
[0051] Step S108: Obtain the amplitude of the frequency adjustment waveform and the phase compensation waveform corresponding to the conditional phase of π.
[0052] In this embodiment, the first quantum bit and the second quantum bit are both arranged on a quantum chip, and other quantum bits are usually arranged on the quantum chip. All the quantum bits are coupled and connected, and all the quantum bits are coupled and connected with a first signal transmission line (XY line) and a second signal transmission line (Z line). The first control signal provided by the first control signal transmission line includes a quantum bit control signal, and the quantum bit control signal is used to control the change of the quantum state of the quantum bit; the second control signal provided by the second control signal transmission line includes a direct current bias signal (DC) and a fast modulation signal (AC), and the direct current bias signal and the fast modulation signal can both control the frequency of the quantum bit. All the quantum bits are also coupled and connected with a reading resonant cavity, and the resonance frequency of the reading resonant cavity will be offset according to the quantum state of the quantum bit directly coupled thereto. A reading detection signal can be applied to the reading resonant cavity, and a reading feedback signal transmitted or reflected from the reading resonant cavity is obtained, and the reading feedback signal is analyzed to obtain the quantum state of the quantum bit directly coupled thereto.
[0053] In large-scale quantum chips, in order to utilize the state exchange effect to realize the CZ gate or other two-bit gates, it is necessary to make the bit frequency of each quantum bit distributed according to "...high-low-high-low...". In the process of realizing the quantum state exchange between two quantum bits, the bit frequency value of the quantum bit with a lower bit frequency value is usually set to be fixed, and the quantum state exchange between the two quantum bits is realized by adjusting the quantum bit with a higher bit frequency value. We call the higher frequency of the two quantum bits a high-frequency quantum bit, and the lower frequency a low-frequency quantum bit. Specifically, in order to realize the quantum state exchange process in the embodiment of the present invention, the pulse for realizing the CZ gate is applied to the high-frequency quantum bit in the first quantum bit and the second quantum bit. In this embodiment, the first quantum bit is a high-frequency quantum bit, and the second quantum bit is a low-frequency quantum bit. The frequency of the high-frequency quantum bit is adjusted by the pulse, thereby realizing the quantum state exchange between the first quantum bit and the second quantum bit.
[0054] See also Figure 2 , Figure 2 A schematic diagram of a pulse waveform for implementing a CZ gate provided by an embodiment of the present invention, from Figure 2It can be seen that the pulse includes a frequency adjustment waveform and a phase compensation waveform. The frequency adjustment waveform is mainly used to adjust the frequency of the high-frequency quantum bit so that the first quantum bit and the second quantum bit are exchanged. The phase compensation waveform is mainly used to introduce a new phase so that after a cycle of state exchange, the conditional phase of π can be accumulated, thereby realizing the CZ gate.
[0055] In step S102 of the embodiment of the present invention, the first waveform is applied to the first quantum bit to adjust the frequency of the first quantum bit, realize the state exchange between the first quantum bit and the second quantum bit, and continuously change the amplitude of the first waveform to obtain the relationship between the state exchange degree of the first waveform of each amplitude and time during the state exchange process, see Figure 3 , Figure 3 The first waveform provided in the embodiment of the present invention performs a state exchange process in which the state exchange effect changes with time and corresponds to the amplitude. Figure 3 In the figure, the horizontal axis represents the amplitude of the first waveform, and the vertical axis represents time. Each column represents the relationship between the change of the state exchange degree over time during the state exchange process when the amplitude of the first waveform is the horizontal axis corresponding to the current column. The depth of color in the figure represents the state exchange degree. The darker the color, the higher the state exchange degree. The state exchange degree is usually represented by the probability of the low-frequency quantum bit (the second quantum bit in this embodiment) being in an excited state. The darker the color, the lower the probability of the second quantum bit being in an excited state, and the brighter the color, the higher the probability of the second quantum bit being in an excited state. From Figure 3 It can be seen from the figure that when the amplitude of the first waveform is between 0.39-0.40 volt-amperes, the alternation of light and dark colors in the figure is most obvious, and the state exchange degree is at a high level at this time. The period of state exchange at this time is obtained, that is, when the amplitude of the first waveform is fixed, Figure 3 In the column with the most obvious alternation between light and dark, the time from the first light color to the next light color (or from the first dark color to the next dark color) is a state exchange cycle. The state exchange cycle is used as the time length of the frequency adjustment waveform.
[0056] It should be noted that in the step S102, the first setting condition in this embodiment is specifically that the probability of the second quantum bit being in an excited state is less than a set value at a certain moment, that is, when the amplitude of the first waveform is a certain value (between 0.39 and 0.40 volt-amperes in this embodiment), the probability of the second quantum bit being in an excited state is less than a certain set value (for example, 1%) at a certain moment, and the specific value can be set according to the accuracy of the CZ gate to be obtained, and is not limited here. In addition, in other embodiments, the first setting condition can be that the probability of the second quantum bit being in the ground state is greater than the set value. In other embodiments, whether the probability of the first quantum bit being in the excited state or the ground state reaches the set value can also be used as the first setting condition.
[0057] In step S104 of the embodiment of the present invention, the time length of the phase compensation waveform is manually set;
[0058] In step S106 described in the embodiment of the present invention, the amplitudes of the frequency adjustment waveform and the phase compensation waveform are continuously changed, and the conditional phases corresponding to the two amplitudes are obtained; specifically, the step of obtaining the conditional phase that can be used in the embodiment of the present invention includes: applying the pulse for implementing the CZ gate to the second quantum bit and performing a Ramsey experiment on the second quantum bit when a π pulse is applied to the first quantum bit and when a π pulse is not applied, respectively, to obtain the phase difference of the second quantum bit in the two cases, wherein the phase difference is the conditional phase, and the frequency of the second quantum bit is lower than the frequency of the first quantum bit. In other embodiments of the present invention, other means may also be used to obtain the conditional phase corresponding to the pulse, which is not specifically limited here.
[0059] In step S108 of the embodiment of the present invention, the amplitude of the frequency adjustment waveform and the amplitude of the phase compensation waveform corresponding to the conditional phase being π are obtained.
[0060] The method for acquiring parameters of a pulse for implementing a CZ gate provided in an embodiment of the present invention can acquire various specific parameters of a pulse for implementing a CZ gate, thereby enabling the pulse to be used to execute a CZ gate and realize quantum computing.
[0061] Additionally, see Figure 2, the frequency adjustment waveform includes a second waveform with a positive amplitude and a third waveform with a negative amplitude, the second waveform and the third waveform are used to modulate the first quantum bit to the same frequency, wherein the frequency of the first quantum bit is higher than the frequency of the second quantum bit. Since the properties of quantum bits are not always perfect, the amplitudes of the second waveform and the second waveform are generally equal. When the properties of quantum bits are imperfect, it is necessary to ensure that the second waveform and the third waveform can adjust the frequency of the first quantum bit (i.e., the high-frequency quantum bit) to the same frequency.
[0062] In addition, the phase compensation waveform is between the second waveform and the third waveform, and the phase compensation waveform includes a fourth waveform with a positive amplitude and a fifth waveform with a negative amplitude, the amplitude of the fourth waveform is smaller than the amplitude of the second waveform, and the amplitude of the fifth waveform is smaller than the amplitude of the third waveform. Theoretically, the amplitudes of the fourth waveform and the fifth waveform can be higher than the amplitudes of the second waveform or the third waveform, but in actual processes, the amplitude of the pulse generated by the pulse generating device does not change directly suddenly. If the amplitude changes too much, more unpredictable phase changes will be introduced. Therefore, the amplitudes of the fourth waveform and the fifth waveform are limited to be smaller than the amplitudes of the second waveform or the third waveform.
[0063] In addition, also due to the limitation of the pulse generating device used in the embodiment of the present invention, in step S104, the time length of the phase compensation waveform can be set to 2*t, where t is the minimum pulse width that can be generated by the pulse generating device.
[0064] Likewise, the time length of the frequency adjustment waveform may be set to an integer multiple of 2*t, where t is the minimum pulse width that can be generated by the pulse generating device.
[0065] It should be noted that the time limit for the frequency adjustment waveform and the phase compensation waveform to be an integer multiple of 2t is only due to the limitation of the pulse generating device used in the embodiment of the present invention. For example, the minimum pulse width that can be generated by the pulse generating device used in the embodiment of the present invention is 0.625 nanoseconds. In other inventive embodiments, it can be other values.
[0066] In addition, the parameter acquisition method provided by the embodiment of the present invention further includes:
[0067] Step S107A: continuously changing the amplitudes of the frequency adjustment waveform and the phase compensation waveform, and using them to perform state exchange between the first quantum bit and the second quantum bit, and obtaining a corresponding relationship between the occupied state distribution of the final state and the two amplitudes;
[0068] Step S107B: obtaining the amplitudes of the frequency adjustment waveform and the phase compensation waveform corresponding to when the occupied state distribution satisfies the second set condition;
[0069] Step S110: Obtaining the amplitudes of the frequency adjustment waveform and the phase compensation waveform corresponding to when the occupied state distribution satisfies the second set condition and the conditional phase is π.
[0070] By acquiring the amplitudes of the frequency adjustment waveform and the phase compensation waveform when the conditional phase is π, the parameters required for the pulse to realize the CZ gate can be acquired. However, in the process of adjusting the amplitude, the degree of state exchange will also be affected to a certain extent. In order to further optimize the acquired parameters, when adjusting the amplitudes of the frequency adjustment waveform and the phase compensation waveform, a state exchange can be performed using the pulse to acquire the occupied state distribution of the final state, and finally the amplitude parameters corresponding to the occupied state distribution and the conditional phase satisfying the conditions at the same time can be acquired.
[0071] Specifically, the second setting condition includes: the occupied state distribution is that the probability that the low-frequency qubit in the first qubit and the second qubit is in an excited state is greater than a set value. In other embodiments, the second setting condition may also adopt other conditions.
[0072] In addition, the parameter acquisition method provided in this embodiment may further include:
[0073] The fidelity of the CZ gate executed by the acquired pulse is calibrated using a random benchmark experiment or a quantum process tomography experiment.
[0074] By using a random benchmark experiment or a quantum process tomography experiment to calibrate the fidelity of the CZ gate executed by the acquired pulse, the quality of the CZ gate executed by the pulse can be obtained and the quality of the pulse parameters can be evaluated.
[0075] Based on the same inventive concept, the present application also provides a device for acquiring parameters of a pulse for realizing a CZ gate, see Figure 4 , Figure 4 A schematic diagram of the structure of a parameter acquisition device for implementing a CZ gate pulse provided by an embodiment of the present invention, wherein the pulse includes a frequency adjustment waveform and a phase compensation waveform, and the parameter acquisition device includes:
[0076] A frequency adjustment waveform time acquisition module, which is configured to use a first waveform with a positive amplitude to perform state exchange on the first quantum bit and the second quantum bit, continuously change the amplitude of the first waveform until the state exchange degree meets the first set condition, and obtain the corresponding state exchange period as the time length of the frequency adjustment waveform;
[0077] A phase compensation waveform time acquisition module, which is configured to set the time length of the phase compensation waveform;
[0078] A conditional phase acquisition module, which is configured to continuously change the amplitudes of the frequency adjustment waveform and the phase compensation waveform, and acquire a corresponding relationship between the conditional phase and the two amplitudes;
[0079] The amplitude determination module is configured to obtain the amplitudes of the frequency adjustment waveform and the phase compensation waveform corresponding to the conditional phase being π.
[0080] It can be understood that the frequency adjustment waveform time acquisition module, the phase compensation waveform time acquisition module, the conditional phase acquisition module and the amplitude determination module can be combined in one device, or any one of the modules can be split into multiple sub-modules, or at least part of the functions of one of the frequency adjustment waveform time acquisition module, the phase compensation waveform time acquisition module, the conditional phase acquisition module and the amplitude determination module can be combined with at least part of the functions of another module and implemented in one functional module. According to an embodiment of the present invention, at least one of the frequency adjustment waveform time acquisition module, the phase compensation waveform time acquisition module, the conditional phase acquisition module and the amplitude determination module can be at least partially implemented as a hardware circuit, such as a field programmable gate array (FPGA), a programmable logic array (PLA), a system on a chip, a system on a substrate, a system on a package, an application specific integrated circuit (ASIC), or can be implemented in hardware or firmware in any other reasonable way of integrating or packaging the circuit, or in a suitable combination of software, hardware and firmware. Alternatively, at least one of the frequency adjustment waveform time acquisition module, the phase compensation waveform time acquisition module, the conditional phase acquisition module and the amplitude determination module can be at least partially implemented as a computer program module, and when the program is run by a computer, the function of the corresponding module can be executed.
[0081] Based on the same inventive concept, an embodiment of the present invention further provides a readable storage medium having a computer program stored thereon. When the computer program is executed, the parameter acquisition method provided by the embodiment of the present invention can be implemented.
[0082] Based on the same inventive concept, an embodiment of the present invention further provides a quantum computer, including the parameter acquisition device provided by an embodiment of the present invention.
[0083] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example" or "specific example" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments in a suitable manner. In addition, those skilled in the art may combine and combine different embodiments or examples described in this specification.
[0084] The above is only a preferred embodiment of the present invention and does not limit the present invention in any way. Any technician in the relevant technical field, without departing from the scope of the technical solution of the present invention, makes any form of equivalent replacement or modification to the technical solution and technical content disclosed in the present invention, which does not depart from the content of the technical solution of the present invention and still falls within the protection scope of the present invention.
Claims
1. A method for obtaining parameters of a pulse for realizing a CZ gate, characterized in that: The pulse includes a frequency adjustment waveform and a phase compensation waveform, and the parameter acquisition method includes: Using a first waveform with a positive amplitude to perform state exchange on the first quantum bit and the second quantum bit, continuously changing the amplitude of the first waveform until the degree of state exchange meets a first set condition, and obtaining a corresponding state exchange period as the time length of the frequency adjustment waveform; Setting the time length of the phase compensation waveform; Continuously changing the amplitudes of the frequency adjustment waveform and the phase compensation waveform, and obtaining a corresponding relationship between the conditional phase and the two amplitudes; Obtain the amplitude of the frequency adjustment waveform and the phase compensation waveform corresponding to the conditional phase of π.
2. The parameter acquisition method according to claim 1, characterized in that: The parameter acquisition method further includes: Continuously changing the amplitudes of the frequency adjustment waveform and the phase compensation waveform, and using them to perform state exchange between the first quantum bit and the second quantum bit, and obtaining the corresponding relationship between the occupied state distribution of the final state and the two amplitudes; Obtaining the amplitudes of the frequency adjustment waveform and the phase compensation waveform corresponding to when the occupied state distribution satisfies the second set condition; Obtain the amplitudes of the frequency adjustment waveform and the phase compensation waveform corresponding to the case where the occupied state distribution satisfies the second set condition and the conditional phase is π.
3. The parameter acquisition method according to claim 1, characterized in that: The frequency adjustment waveform includes a second waveform with a positive amplitude and a third waveform with a negative amplitude, and the second waveform and the third waveform are used to modulate the first quantum bit to the same frequency, wherein the frequency of the first quantum bit is higher than the frequency of the second quantum bit.
4. The parameter acquisition method according to claim 3, characterized in that: The phase compensation waveform is between the second waveform and the third waveform, and includes a fourth waveform with a positive amplitude and a fifth waveform with a negative amplitude. The amplitude of the fourth waveform is smaller than the amplitude of the second waveform, and the amplitude of the fifth waveform is smaller than the amplitude of the third waveform.
5. The parameter acquisition method according to claim 1, characterized in that: The first setting condition includes: The probability that the low-frequency qubit in the first qubit and the second qubit is in an excited state is less than a set value at a certain moment, or the probability that the low-frequency qubit in the first qubit and the second qubit is in a ground state is greater than a set value at a certain moment.
6. The parameter acquisition method according to claim 1, characterized in that: The method for obtaining the conditional phase includes: The pulse for implementing the CZ gate is applied to the second quantum bit and a Ramsey experiment is performed on the second quantum bit when a π pulse is applied to the first quantum bit and when a π pulse is not applied to the first quantum bit, respectively, to obtain the phase difference of the second quantum bit in the two cases, wherein the phase difference is the conditional phase, and the frequency of the second quantum bit is lower than the frequency of the first quantum bit.
7. The parameter acquisition method according to claim 1, characterized in that: The step of setting and fixing the time length of the phase compensation waveform comprises: The time length of the phase compensation waveform is set to 2*t, where t is the minimum pulse width that can be generated by the pulse generating device.
8. The parameter acquisition method according to claim 1, characterized in that: The time length of the frequency adjustment waveform is an integer multiple of 2*t, where t is the minimum pulse width that can be generated by the pulse generating device.
9. The parameter acquisition method according to claim 7 or 8, characterized in that: The minimum pulse width that can be generated by the pulse generating device is 0.625 nanoseconds.
10. The parameter acquisition method according to claim 2, characterized in that: The second setting condition includes: The occupied state distribution is that the probability that the low-frequency quantum bit in the first quantum bit and the second quantum bit is in an excited state is greater than a set value.
11. The parameter acquisition method according to claim 1, characterized in that: The parameter acquisition method further includes: The fidelity of the CZ gate executed by the acquired pulse is calibrated using a random benchmark experiment or a quantum process tomography experiment.
12. A device for acquiring parameters of pulses for realizing a CZ gate, characterized in that: The pulse includes a frequency adjustment waveform and a phase compensation waveform, and the parameter acquisition device includes: A frequency adjustment waveform time acquisition module, which is configured to use a first waveform with a positive amplitude to perform state exchange on the first quantum bit and the second quantum bit, continuously change the amplitude of the first waveform until the state exchange degree meets the first set condition, and obtain the corresponding state exchange period as the time length of the frequency adjustment waveform; A phase compensation waveform time acquisition module, which is configured to set the time length of the phase compensation waveform; A conditional phase acquisition module, which is configured to continuously change the amplitudes of the frequency adjustment waveform and the phase compensation waveform, and acquire a corresponding relationship between the conditional phase and the two amplitudes; The amplitude determination module is configured to obtain the amplitudes of the frequency adjustment waveform and the phase compensation waveform corresponding to the conditional phase being π.
13. A readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed, the parameter acquisition method according to any one of claims 1 to 11 can be implemented.
14. A quantum computer, characterized in that: It comprises the parameter acquisition device as claimed in claim 12.
