A quantum computer fidelity control method, system, device and medium
By setting fidelity thresholds and microwave parameters in quantum computers, and calculating and correcting fidelity through specific quantum operations, the problem of degradation of the fidelity of quantum computers is solved, and more accurate quantum computing is achieved.
Patent Information
- Application Number
- CN202211179240.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-27
- Publication Date
- 2025-03-28
- Estimated Expiration
- 2042-09-27
AI Technical Summary
The fidelity of quantum computers decreases over time, mainly due to the various interferences in the external environment on the control of quantum chips, resulting in changes in the qubit microwave parameters.
By setting the fidelity threshold of the quantum computer and the microwave parameters of the qubit, and when the fidelity decreases, the qubits are continuously acted on the qubit through the Pauli-X gate and the operation of rotating π/2 counterclockwise around the Y axis of the Bloch ball, the actual density matrix is calculated, and the fidelity of the quantum computer is then calculated. If the fidelity is less than the threshold, the qubit microwave parameters are corrected to improve the fidelity.
The calculation and correction of quantum computer fidelity is realized to ensure that quantum computing provides more accurate references and avoid the fidelity decline caused by changes in microwave parameters.
Smart Images

Figure CN115511092B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to a quantum computer fidelity control method, system, device and medium. Background Art
[0002] Since the beginning of the 21st century, the development of computing power has promoted the continuous progress of human society, science and civilization. However, as the size of transistors on traditional chips continues to decrease, they will eventually encounter the quantum tunneling effect at a certain microscopic threshold, causing the failure of classical logic gates and hindering the further development of computing power. In this context, people urgently need to seek a new way to increase computing power. Quantum computing itself has natural parallelism, and its computing power increases exponentially with the number of quantum bits. It has computing potential far exceeding classical computing and is one of the most popular new computing methods. However, the development of quantum computing technology is far from mature, and the development of quantum computers has not reached the stability level of engineering mass production. The fidelity of quantum bit operations often decreases over time. This is mainly due to the various interferences in the control of quantum chips by the external environment, which will cause the microwave parameters corresponding to the quantum bits to change. At this time, if the quantum bits are still controlled according to the original microwave parameters, the fidelity of quantum computer operations will be significantly reduced. Summary of the invention
[0003] In view of this, the present invention proposes a quantum computer fidelity control method, system, device and medium, which can calculate the fidelity of a quantum computer and adjust the fidelity when the calculated fidelity drops significantly, thereby providing a more accurate reference for quantum computing.
[0004] Based on the above purpose, an embodiment of the present invention provides a quantum computer fidelity control method, which specifically includes the following steps:
[0005] Setting steps: Setting the fidelity threshold and quantum bit microwave parameters of the quantum computer;
[0006] Action step: under the set quantum bit microwave parameters, the Pauli-X gate and the operation of rotating counterclockwise by π / 2 around the Y axis of the Bloch sphere are continuously applied to the quantum bit in the |0> state to obtain the quantum bit in the actual state, and the quantum bit in the actual state is calculated by the quantum state tomography method to obtain the corresponding actual density matrix;
[0007] Fidelity calculation step: obtaining an ideal density matrix obtained by continuously applying the Pauli-X gate and the operation of rotating counterclockwise about the Y axis of the Bloch sphere by π / 2 to the quantum bit in the |0> state, calculating the inner product of the ideal density matrix and the actual density matrix, and finding the trace of the inner product result to obtain the fidelity of the quantum computer;
[0008] Comparison step: comparing the calculated fidelity with the fidelity threshold;
[0009] Correction step: In response to the calculated fidelity being less than the fidelity threshold, the set quantum bit microwave parameters are corrected to obtain a fidelity that meets the use requirements.
[0010] In some embodiments, the quantum bit microwave parameters include: frequency, length and amplitude of the microwave pulse.
[0011] In some embodiments, modifying the set quantum bit microwave parameters to obtain a fidelity that meets the use requirements includes:
[0012] Selecting one of the frequency, length and amplitude of the microwave pulse as a first correction parameter, modifying the value of the first correction parameter, and returning to the action step, the fidelity calculation step and the comparison step;
[0013] In response to the fidelity of the quantum computer obtained based on the modified first correction parameter being greater than the fidelity threshold, determining that the fidelity of the quantum computer meets the use requirements, and resetting the quantum bit microwave parameters based on the modified first correction parameter;
[0014] In response to the fidelity of the quantum computer obtained based on the modified first correction parameter being less than the fidelity threshold, one of the remaining quantum bit microwave parameters other than the first correction parameter is selected from the frequency, length and amplitude of the microwave pulse as the second correction parameter, and the value of the second correction parameter is modified, and the action step, the fidelity calculation step and the comparison step are returned.
[0015] In some embodiments, the method further comprises:
[0016] In response to the fidelity of the quantum computer obtained based on the modified second correction parameter being greater than the fidelity threshold, determining that the fidelity of the quantum computer meets the use requirements, and resetting the quantum bit microwave parameters based on the modified second correction parameter;
[0017] In response to the fidelity of the quantum computer obtained based on the modified second correction parameter being less than the fidelity threshold, a quantum bit microwave parameter other than the first correction parameter and the second correction parameter is selected from the frequency, length and amplitude of the microwave pulse as a third correction parameter, and the value of the third correction parameter is modified, and the action step, the fidelity calculation step and the comparison step are returned.
[0018] In some embodiments, the method further comprises:
[0019] In response to the fidelity of the quantum computer obtained based on the modified third correction parameter being greater than the fidelity threshold, determining that the fidelity of the quantum computer meets the use requirements, and resetting the quantum bit microwave parameters based on the modified third correction parameter;
[0020] In response to the fidelity of the quantum computer obtained based on the modified third correction parameter being less than the fidelity threshold, the quantum computer is re-debugged to obtain a fidelity that meets usage requirements.
[0021] In some embodiments, obtaining an ideal density matrix obtained by successively applying a Pauli-X gate and a counterclockwise rotation of π / 2 about the Y axis of the Bloch sphere to a quantum bit in the |0> state comprises:
[0022] Applying the Pauli-X gate to the qubit in the |0> state yields a qubit in the |1> state.
[0023] Applying a counterclockwise rotation of π / 2 around the Y axis of the Bloch sphere to the qubit in the |1> state to obtain a qubit in an ideal |-> state and a corresponding ideal density matrix;
[0024] Get the ideal density matrix.
[0025] In some embodiments, after the comparison step, the method further comprises:
[0026] Determining step: In response to the fidelity obtained by the calculation being greater than or equal to a fidelity threshold of the quantum computer, determining that the fidelity of the quantum computer meets the usage requirements.
[0027] Another aspect of the embodiments of the present invention further provides a quantum computer fidelity control system, including:
[0028] A setting module, the setting module is configured to set a fidelity threshold and quantum bit microwave parameters of a quantum computer;
[0029] An action module, wherein the action module is configured to continuously act on the quantum bit in the |0> state by performing a Pauli-X gate and a counterclockwise rotation of π / 2 around the Y axis of the Bloch sphere under the set quantum bit microwave parameters to obtain a quantum bit in an actual state, and calculate the quantum bit in the actual state by a quantum state tomography method to obtain a corresponding actual density matrix;
[0030] A fidelity calculation module, wherein the fidelity calculation module is configured to obtain an ideal density matrix obtained by continuously applying a Pauli-X gate and a counterclockwise rotation of π / 2 around the Y axis of the Bloch sphere to a quantum bit in the |0> state, calculate an inner product of the ideal density matrix and the actual density matrix, and find a trace of the inner product result to obtain the fidelity of the quantum computer;
[0031] A comparison module, the comparison module is configured to compare the calculated fidelity with the fidelity threshold;
[0032] A correction module, wherein the correction module is configured to correct the set quantum bit microwave parameters to obtain a fidelity that meets the use requirements in response to the calculated fidelity being less than the fidelity threshold.
[0033] According to another aspect of an embodiment of the present invention, a computer device is provided, comprising: at least one processor; and a memory, wherein the memory stores a computer program executable on the processor, and the computer program implements the steps of the above method when executed by the processor.
[0034] According to another aspect of the embodiments of the present invention, a computer-readable storage medium is provided, which stores a computer program that implements the above method steps when executed by a processor.
[0035] The present invention has at least the following beneficial technical effects: through the scheme of the present invention, the calculation of the fidelity of a quantum computer is realized, and when the calculated fidelity is less than the set fidelity threshold, the fidelity is corrected by adjusting the quantum bit microwave parameters, providing a more accurate reference for quantum computing. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other embodiments can be obtained based on these drawings without paying creative work.
[0037] Figure 1A block diagram of an embodiment of a quantum computer fidelity control method provided by the present invention;
[0038] Figure 2 A schematic diagram of an embodiment of a quantum computer fidelity control system provided by the present invention;
[0039] Figure 3 A schematic diagram of the structure of an embodiment of a computer device provided by the present invention;
[0040] Figure 4 A schematic diagram of the structure of an embodiment of a computer-readable storage medium provided by the present invention. DETAILED DESCRIPTION
[0041] In order to make the objectives, technical solutions and advantages of the present invention more clearly understood, the embodiments of the present invention are further described in detail below in combination with specific embodiments and with reference to the accompanying drawings.
[0042] It should be noted that all expressions using "first" and "second" in the embodiments of the present invention are for distinguishing two non-identical entities with the same name or non-identical parameters. It can be seen that "first" and "second" are only for the convenience of expression and should not be understood as limitations on the embodiments of the present invention. The subsequent embodiments will not explain this one by one.
[0043] Based on the above objectives, the first aspect of the embodiments of the present invention provides an embodiment of a method for controlling the fidelity of a quantum computer. Figure 1 As shown, it includes the following steps:
[0044] Setting step (S10): setting the fidelity threshold and quantum bit microwave parameters of the quantum computer;
[0045] Action step (S20): under the set quantum bit microwave parameters, the Pauli-X gate and the operation of rotating counterclockwise by π / 2 around the Y axis of the Bloch sphere are continuously applied to the quantum bit in the |0> state to obtain the quantum bit in the actual state, and the quantum bit in the actual state is calculated by the quantum state tomography method to obtain the corresponding actual density matrix;
[0046] Fidelity calculation step (S30): obtaining an ideal density matrix obtained by continuously applying the Pauli-X gate and the operation of rotating counterclockwise by π / 2 around the Y axis of the Bloch sphere to the quantum bit in the |0> state, and calculating the inner product of the ideal density matrix and the actual density matrix, and finding the trace of the inner product result to obtain the fidelity of the quantum computer;
[0047] Comparison step (S40): comparing the calculated fidelity with the fidelity threshold;
[0048] Correction step (S50): In response to the calculated fidelity being less than the fidelity threshold, the set quantum bit microwave parameters are corrected to obtain a fidelity that meets the use requirements.
[0049] Specifically, we first set the fidelity threshold of the quantum computer and the microwave parameters of the quantum bit, and then continuously apply the Pauli-X gate (hereinafter referred to as the X gate) and the counterclockwise rotation of the π / 2 angle around the Y axis of the Bloch sphere (hereinafter referred to as the Y2p operation) to the quantum bit in the initial state |0> to obtain the quantum bit in the actual state The quantum bit is obtained by quantum state tomography (QST) method. The density matrix Obtain the density matrix ρ- corresponding to the quantum bit in the ideal |-> state obtained by continuously applying the Pauli-X gate (hereinafter referred to as the X gate) to the quantum bit in the initial state |0> and rotating it counterclockwise around the Y axis of the Bloch sphere at an angle of π / 2, Calculate the density matrix and the inner product of ρ-, and find the trace of the result The result is used to express and ρ - the similarity of the two matrices, that is, the fidelity of the quantum computer operation at this time.
[0050] Then will The calculation result is compared with the preset fidelity threshold. If the calculation result is greater than the set expected threshold, it is considered that the control of the quantum computer is in a normal state at this time, which meets the use requirements of the quantum computer, and there is no need to change the microwave parameters at this time; if the calculation result is less than the set expected threshold, it is considered that the microwave parameters of the quantum bit have changed at this time, and the quantum bit microwave parameters corresponding to the X gate and Y2p operation are updated, and the action step, fidelity calculation step and comparison step are repeated until the calculation result is greater than the preset threshold.
[0051] Through the above scheme, the calculation of the fidelity of the quantum computer is realized. When the calculated fidelity is less than the set fidelity threshold, the fidelity is corrected and adjusted by adjusting the quantum bit microwave parameters to provide a more accurate reference for quantum computing.
[0052] In some embodiments, the quantum bit microwave parameters include: frequency, length and amplitude of the microwave pulse.
[0053] In some embodiments, modifying the set quantum bit microwave parameters to obtain a fidelity that meets the use requirements includes:
[0054] Selecting one of the frequency, length and amplitude of the microwave pulse as a first correction parameter, modifying the value of the first correction parameter, and returning to the action step, the fidelity calculation step and the comparison step;
[0055] In response to the fidelity of the quantum computer obtained based on the modified first correction parameter being greater than the fidelity threshold, determining that the fidelity of the quantum computer meets the use requirements, and resetting the quantum bit microwave parameters based on the modified first correction parameter;
[0056] In response to the fidelity of the quantum computer obtained based on the modified first correction parameter being less than the fidelity threshold, one of the remaining quantum bit microwave parameters other than the first correction parameter is selected from the frequency, length and amplitude of the microwave pulse as the second correction parameter, and the value of the second correction parameter is modified, and the action step, the fidelity calculation step and the comparison step are returned.
[0057] In some embodiments, the method further comprises:
[0058] In response to the fidelity of the quantum computer obtained based on the modified second correction parameter being greater than the fidelity threshold, determining that the fidelity of the quantum computer meets the use requirements, and resetting the quantum bit microwave parameters based on the modified second correction parameter;
[0059] In response to the fidelity of the quantum computer obtained based on the modified second correction parameter being less than the fidelity threshold, a quantum bit microwave parameter other than the first correction parameter and the second correction parameter is selected from the frequency, length and amplitude of the microwave pulse as a third correction parameter, and the value of the third correction parameter is modified, and the action step, the fidelity calculation step and the comparison step are returned.
[0060] In some embodiments, the method further comprises:
[0061] In response to the fidelity of the quantum computer obtained based on the modified third correction parameter being greater than the fidelity threshold, determining that the fidelity of the quantum computer meets the use requirements, and resetting the quantum bit microwave parameters based on the modified third correction parameter;
[0062] In response to the fidelity of the quantum computer obtained based on the modified third correction parameter being less than the fidelity threshold, the quantum computer is re-debugged to obtain a fidelity that meets usage requirements.
[0063] In some embodiments, obtaining an ideal density matrix obtained by successively applying a Pauli-X gate and a counterclockwise rotation of π / 2 about the Y axis of the Bloch sphere to a quantum bit in the |0> state comprises:
[0064] Applying the Pauli-X gate to the qubit in the |0> state yields a qubit in the |1> state.
[0065] Applying a counterclockwise rotation of π / 2 around the Y axis of the Bloch sphere to the qubit in the |1> state to obtain a qubit in an ideal |-> state and a corresponding ideal density matrix;
[0066] Get the ideal density matrix.
[0067] Specifically, the qubit in the initial state |0> is continuously subjected to Pauli-X gates and counterclockwise rotations of π / 2 around the Y axis of the Bloch sphere. Ideally, the first X gate will prepare the qubit from the |0> state to the |1> state, and the subsequent Y2p operation will rotate the qubit from the |1> state to the negative direction of the X axis, that is, to obtain a qubit in the ideal |-> state, and its density matrix corresponds to
[0068] In some embodiments, after the comparison step, the method further comprises:
[0069] Determining step: In response to the fidelity obtained by the calculation being greater than or equal to a fidelity threshold of the quantum computer, determining that the fidelity of the quantum computer meets the usage requirements.
[0070] The specific implementation of the present invention is described below through another specific embodiment.
[0071] S1, select the quantum computer control fidelity threshold, set it as t, and set the quantum bit microwave parameters, which include the frequency of the microwave pulse, the length of the microwave pulse, and the amplitude of the microwave pulse;
[0072] S2, apply the X gate to the qubit in the |0> state to change the qubit state from |0> to |1>;
[0073] S3, the qubit processed by S2 is subjected to the operation Y2p of rotating counterclockwise by π / 2 around the Y axis of the Bloch sphere. Ideally, the qubit will be prepared to the |-> state, but since the qubit state parameters may be offset, the actual qubit state after the X gate and Y2p operation can be set to The actual quantum bit state is analyzed by quantum tomography method: Calculate the actual density matrix
[0074] S4, calculate the actual quantum state after S2 and S3 operations The similarity between the density matrix and the ideal state|->, that is, the density matrix is calculated The inner product with ρ- and then take the trace of the resulting value Let the calculation result be s;
[0075] S5. Compare s with the preset threshold t in S1;
[0076] S6. If s >= t, it is considered that the operation fidelity of the quantum computer meets the requirements and no correction is needed;
[0077] S7. If s < t, it is considered that the qubit control parameters have changed at this time, and the microwave parameters for controlling the qubits of the quantum computer need to be corrected. The microwave parameters that need to be corrected include the frequency of the microwave pulse, the length of the microwave pulse, and the amplitude of the microwave pulse. Here, taking the amplitude of the microwave pulse as an example, the correction process is described as follows:
[0078] S7.1. Assume that the amplitude of the microwave pulse applied in S2 - S3 is A, the preset correction step size of the microwave pulse amplitude is a, the upper limit of the correction range is m, and the lower limit is n;
[0079] S7.2. When s < t, change the amplitude of the microwave controlled by the quantum computer to A + a, and return to steps S2 - S5 to compare s obtained from the fidelity calculation and t;
[0080] S7.3. If s >= t, then select A + a as the new amplitude of the microwave controlled by the quantum computer;
[0081] S7.4. If s < t, then change the amplitude of the microwave controlling the qubit to A - a, and return to steps S2 - S5 to compare s obtained from the fidelity calculation and t;
[0082] S7.5. If s measured in S7.4 < t, then apply S2 - S5 with the pulse amplitudes of A + pa and A - qa (where p, q = 2, 3, 4, 5..., and there is a conditional limit that A + pa < m, A - qa < n) until the measured s > t;
[0083] S7.6. If the microwave amplitude that satisfies s > t is still not found after scanning the range (n, m), then set the microwave amplitude to A again, and use a method similar to S7.1 - S7.6 to change the corresponding duration and frequency of the microwave pulse;
[0084] S8. If the microwave parameters corresponding to s > t cannot be obtained by changing the duration, amplitude, and frequency of the microwave pulse, it means that the decrease in the control fidelity of the quantum computer has nothing to do with the microwave control parameters of the quantum chip, and the quantum computer needs to be re - debugged.
[0085] Through the above scheme, the calculation of the fidelity of the quantum computer is realized. When the calculated fidelity is less than the set fidelity threshold, the fidelity is corrected and adjusted by adjusting the quantum bit microwave parameters to provide a more accurate reference for quantum computing.
[0086] Based on the same inventive concept, according to another aspect of the present invention, Figure 2 As shown, an embodiment of the present invention further provides a quantum computer fidelity control system, comprising:
[0087] A setting module 110, wherein the setting module 110 is configured to set a fidelity threshold and quantum bit microwave parameters of a quantum computer;
[0088] An action module 120, wherein the action module 120 is configured to continuously act on the quantum bit in the |0> state by performing a Pauli-X gate and a counterclockwise rotation of π / 2 around the Y axis of the Bloch sphere under the set quantum bit microwave parameters to obtain a quantum bit in an actual state, and calculate the quantum bit in the actual state by a quantum state tomography method to obtain a corresponding actual density matrix;
[0089] A fidelity calculation module 130, wherein the fidelity calculation module 130 is configured to obtain an ideal density matrix obtained by continuously applying a Pauli-X gate and a counterclockwise rotation of π / 2 around the Y axis of the Bloch sphere to a quantum bit in the |0> state, calculate an inner product of the ideal density matrix and the actual density matrix, and find a trace of the inner product result to obtain the fidelity of the quantum computer;
[0090] A comparison module 140, wherein the comparison module 140 is configured to compare the calculated fidelity with the fidelity threshold;
[0091] The correction module 150 is configured to correct the set quantum bit microwave parameters to obtain a fidelity that meets the use requirements in response to the calculated fidelity being less than the fidelity threshold.
[0092] Based on the same inventive concept, according to another aspect of the present invention, Figure 3 As shown, an embodiment of the present invention further provides a computer device 30, which includes a processor 310 and a memory 320. The memory 320 stores a computer program 321 that can be run on the processor. When the processor 310 executes the program, the steps of the above method are performed.
[0093] Among them, the memory, as a non-volatile computer-readable storage medium, can be used to store non-volatile software programs, non-volatile computer executable programs and modules, such as the program instructions / modules corresponding to the quantum computer fidelity control method in the embodiment of the present application. The processor executes various functional applications and data processing of the system by running the non-volatile software programs, instructions and modules stored in the memory, that is, the quantum computer fidelity control method of the above method embodiment is implemented.
[0094] The memory may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required by at least one function; the data storage area may store data created according to the use of the system, etc. In addition, the memory may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some embodiments, the memory may optionally include a memory remotely arranged relative to the processor, and these remote memories may be connected to the local module via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0095] Based on the same inventive concept, according to another aspect of the present invention, Figure 4 As shown, an embodiment of the present invention further provides a computer-readable storage medium 40, which stores a computer program 410 for executing the above method when executed by a processor.
[0096] Finally, it should be noted that a person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, the storage medium of the program can be a disk, an optical disk, a read-only storage memory (ROM) or a random access memory (RAM), etc. The above-mentioned computer program embodiments can achieve the same or similar effects as the corresponding above-mentioned arbitrary method embodiments.
[0097] It will also be appreciated by those skilled in the art that various exemplary logic blocks, modules, circuits and algorithm steps described in conjunction with the disclosure herein can be implemented as electronic hardware, computer software or a combination of the two. In order to clearly illustrate this interchangeability of hardware and software, a general description has been given to the functions of various schematic components, blocks, modules, circuits and steps. Whether this function is implemented as software or hardware depends on specific applications and the design constraints imposed on the entire system. Those skilled in the art can implement the function in various ways for each specific application, but this implementation decision should not be interpreted as causing a departure from the disclosed scope of the embodiments of the present invention.
[0098] The above are exemplary embodiments disclosed in the present invention, but it should be noted that various changes and modifications may be made without departing from the scope of the embodiments disclosed in the present invention as defined in the claims. The functions, steps and / or actions of the method claims according to the disclosed embodiments described herein do not need to be performed in any particular order. The serial numbers of the embodiments disclosed in the above embodiments of the present invention are for description only and do not represent the advantages and disadvantages of the embodiments. In addition, although the elements disclosed in the embodiments of the present invention may be described or required in individual form, they may also be understood as multiple unless explicitly limited to the singular.
[0099] It should be understood that, as used herein, the singular forms "a", "an" are intended to include the plural forms as well, unless the context clearly supports an exception. It should also be understood that, as used herein, "and / or" refers to any and all possible combinations including one or more of the associated listed items.
[0100] A person skilled in the art should understand that the discussion of any of the above embodiments is only exemplary and is not intended to imply that the scope of the disclosure of the embodiments of the present invention (including the claims) is limited to these examples; under the concept of the embodiments of the present invention, the technical features in the above embodiments or different embodiments can also be combined, and there are many other changes in different aspects of the embodiments of the present invention as above, which are not provided in detail for the sake of simplicity. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the embodiments of the present invention should be included in the protection scope of the embodiments of the present invention.
Claims
1. A quantum computer fidelity control method, characterized in that: include: Setting steps: Setting the fidelity threshold and quantum bit microwave parameters of the quantum computer; The quantum bit microwave parameters include: frequency, length and amplitude of microwave pulses; Action step: under the set quantum bit microwave parameters, the Pauli-X gate and the operation of rotating counterclockwise by π / 2 around the Y axis of the Bloch sphere are continuously applied to the quantum bit in the |0> state to obtain the quantum bit in the actual state, and the quantum bit in the actual state is calculated by the quantum state tomography method to obtain the corresponding actual density matrix; Fidelity calculation step: obtaining an ideal density matrix obtained by continuously applying the Pauli-X gate and the operation of rotating counterclockwise about the Y axis of the Bloch sphere by π / 2 to the quantum bit in the |0> state, calculating the inner product of the ideal density matrix and the actual density matrix, and finding the trace of the inner product result to obtain the fidelity of the quantum computer; Comparison step: comparing the calculated fidelity with the fidelity threshold; Correction step: in response to the calculated fidelity being less than the fidelity threshold, correcting the set quantum bit microwave parameters to obtain a fidelity that meets the use requirements; wherein, correcting the set quantum bit microwave parameters to obtain a fidelity that meets the use requirements includes: Selecting one of the frequency, length and amplitude of the microwave pulse as a first correction parameter, modifying the value of the first correction parameter, and returning to the action step, the fidelity calculation step and the comparison step; In response to the fidelity of the quantum computer obtained based on the modified first correction parameter being greater than the fidelity threshold, determining that the fidelity of the quantum computer meets the use requirements, and resetting the quantum bit microwave parameters based on the modified first correction parameter; In response to the fidelity of the quantum computer obtained based on the modified first correction parameter being less than the fidelity threshold, one of the remaining quantum bit microwave parameters other than the first correction parameter is selected from the frequency, length and amplitude of the microwave pulse as a second correction parameter, and the value of the second correction parameter is modified, and the action step, the fidelity calculation step and the comparison step are returned; In response to the fidelity of the quantum computer obtained based on the modified second correction parameter being greater than the fidelity threshold, determining that the fidelity of the quantum computer meets the use requirements, and resetting the quantum bit microwave parameters based on the modified second correction parameter; In response to the fidelity of the quantum computer obtained based on the modified second correction parameter being less than the fidelity threshold, selecting a quantum bit microwave parameter other than the first correction parameter and the second correction parameter from the frequency, length and amplitude of the microwave pulse as a third correction parameter, modifying the value of the third correction parameter, and returning to the action step, the fidelity calculation step and the comparison step; In response to the fidelity of the quantum computer obtained based on the modified third correction parameter being greater than the fidelity threshold, determining that the fidelity of the quantum computer meets the use requirements, and resetting the quantum bit microwave parameters based on the modified third correction parameter; In response to the fidelity of the quantum computer obtained based on the modified third correction parameter being less than the fidelity threshold, the quantum computer is re-debugged to obtain a fidelity that meets usage requirements.
2. The method according to claim 1, characterized in that The ideal density matrix obtained by applying the Pauli-X gate and the operation of rotating π / 2 counterclockwise around the Y axis of the Bloch sphere to the quantum bit in the |0> state includes: Applying the Pauli-X gate to the qubit in the |0> state yields a qubit in the |1> state. Applying a counterclockwise rotation of π / 2 around the Y axis of the Bloch sphere to the qubit in the |1> state to obtain a qubit in an ideal |-> state and a corresponding ideal density matrix; Get the ideal density matrix.
3. The method according to claim 1, characterized in that After the comparison step, it also includes: Determining step: In response to the fidelity obtained by the calculation being greater than or equal to a fidelity threshold of the quantum computer, determining that the fidelity of the quantum computer meets the usage requirements.
4. A quantum computer fidelity control system, characterized in that: include: A setting module, the setting module is configured to set a fidelity threshold and quantum bit microwave parameters of a quantum computer; The quantum bit microwave parameters include: frequency, length and amplitude of microwave pulses; An action module, wherein the action module is configured to continuously act on the quantum bit in the |0> state by performing a Pauli-X gate and a counterclockwise rotation of π / 2 around the Y axis of the Bloch sphere under the set quantum bit microwave parameters to obtain a quantum bit in an actual state, and calculate the quantum bit in the actual state by a quantum state tomography method to obtain a corresponding actual density matrix; A fidelity calculation module, wherein the fidelity calculation module is configured to obtain an ideal density matrix obtained by continuously applying a Pauli-X gate and a counterclockwise rotation of π / 2 around the Y axis of the Bloch sphere to a quantum bit in the |0> state, calculate an inner product of the ideal density matrix and the actual density matrix, and find a trace of the inner product result to obtain the fidelity of the quantum computer; A comparison module, the comparison module is configured to compare the calculated fidelity with the fidelity threshold; A correction module, wherein the correction module is configured to correct the set quantum bit microwave parameters to obtain a fidelity that meets the use requirements in response to the calculated fidelity being less than the fidelity threshold; wherein the correction of the set quantum bit microwave parameters to obtain a fidelity that meets the use requirements includes: Selecting one of the frequency, length and amplitude of the microwave pulse as a first correction parameter, modifying the value of the first correction parameter, and returning to the action step, the fidelity calculation step and the comparison step; In response to the fidelity of the quantum computer obtained based on the modified first correction parameter being greater than the fidelity threshold, determining that the fidelity of the quantum computer meets the use requirements, and resetting the quantum bit microwave parameters based on the modified first correction parameter; In response to the fidelity of the quantum computer obtained based on the modified first correction parameter being less than the fidelity threshold, one of the remaining quantum bit microwave parameters other than the first correction parameter is selected from the frequency, length and amplitude of the microwave pulse as a second correction parameter, and the value of the second correction parameter is modified, and the action step, the fidelity calculation step and the comparison step are returned; In response to the fidelity of the quantum computer obtained based on the modified second correction parameter being greater than the fidelity threshold, determining that the fidelity of the quantum computer meets the use requirements, and resetting the quantum bit microwave parameters based on the modified second correction parameter; In response to the fidelity of the quantum computer obtained based on the modified second correction parameter being less than the fidelity threshold, selecting a quantum bit microwave parameter other than the first correction parameter and the second correction parameter from the frequency, length and amplitude of the microwave pulse as a third correction parameter, modifying the value of the third correction parameter, and returning to the action step, the fidelity calculation step and the comparison step; In response to the fidelity of the quantum computer obtained based on the modified third correction parameter being greater than the fidelity threshold, determining that the fidelity of the quantum computer meets the use requirements, and resetting the quantum bit microwave parameters based on the modified third correction parameter; In response to the fidelity of the quantum computer obtained based on the modified third correction parameter being less than the fidelity threshold, the quantum computer is re-debugged to obtain a fidelity that meets usage requirements.
5. A computer device comprising: at least one processor; as well as A memory storing a computer program executable on the processor, wherein the processor executes the steps of the method according to any one of claims 1 to 3 when executing the program.
6. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 3 are performed.
Citation Information
Patent Citations
Quantum state fidelity determination method and device, equipment and storage medium
CN112529197A
Optical pulse generation method for performing high-fidelity control on ensemble quantum bits
CN114528999A