Quantum error mitigation method based on Z mixed state expression of quantum amplitude decay channel

Through the Z mixed state expression and Pauli Z operator based on the quantum amplitude attenuation channel, the problem of high computational complexity in high qubit quantum circuits is solved, the low complexity and high efficiency of quantum error mitigation are achieved, and the quantum technology is promoted. The development of computing.

CN118261260BActive Publication Date: 2024-10-08NANJING UNIV OF POSTS & TELECOMM
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410678135.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-29
Publication Date
2024-10-08
Estimated Expiration
2044-05-29

AI Technical Summary

Technical Problem

Existing quantum error mitigation solutions have high computational complexity in high-qubit quantum circuits, rely on classical computing power, and are difficult to effectively apply.

Method used

Based on the Z-mixed-state expression of the quantum amplitude-attenuating channel, the expected value of the output is measured through the Pauli Z operator, and a quantum circuit for estimating the quantum gate and quantum measurement noise parameters is constructed. The Z-mixed-state expression of the quantum amplitude-attenuating channel is used for error analysis. ease.

Benefits of technology

It reduces the error mitigation complexity of quantum circuits, effectively reduces computing costs, and promotes the development of quantum computing. It can achieve error mitigation at lower complexity and is close to the ideal noiseless output expected value.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118261260B_ABST
    Figure CN118261260B_ABST
Patent Text Reader

Abstract

The present invention discloses a quantum error mitigation method based on a Z mixed state expression of a quantum amplitude decay channel, and relates to the technical field of quantum error mitigation, specifically including: given any quantum circuit that can be run on a real quantum computer and any input quantum state, using the Pauli Z operator to measure the output expected value affected by noise; constructing a quantum circuit for estimating the noise parameters generated by a quantum gate in the quantum circuit and the noise parameters generated by quantum measurement, and using the Pauli Z operator to measure the output expected value; measuring the output expected value; using the conclusion of the derived Z mixed state expression of the quantum amplitude decay channel to perform error mitigation on the output expected value affected by noise in the original quantum circuit. The present invention can jointly mitigate the errors generated by quantum gates and quantum measurements with lower complexity, and provides a new and lower complexity error mitigation scheme for the field of quantum error mitigation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of quantum error mitigation, and in particular to a quantum error mitigation method based on a quantum amplitude decay channel Z mixed state expression. Background Art

[0002] With the development of quantum computers, we are in the era of noisy small and medium-scale quantum computing, which means that the current real quantum computers are affected by quantum noise during operation, especially the noise of quantum gates and quantum measurement noise, and errors may occur. Therefore, the field of quantum error mitigation has emerged. In this field, many scholars have proposed many quantum error mitigation solutions and made great contributions to this field. It is precisely because of the research and application of quantum error mitigation solutions that many quantum algorithms can output relatively reliable results on quantum computers.

[0003] However, although some quantum error mitigation schemes can achieve good results, their own computational complexity is high and they are more dependent on classical computing power, making them unsuitable for use in quantum circuits with a high number of qubits. For example, using neural network methods to mitigate quantum gate noise and quantum measurement noise, or using the average bit flip method to mitigate quantum measurement noise, both have a complexity of , where is the number of qubits in the quantum circuit. Although this error mitigation method can achieve good results, its complexity increases exponentially with the number of qubits, making it unsuitable for quantum circuits with a high number of qubits.

[0004] Considering that most of the current quantum circuits use the Pauli Z operator for quantum measurement to obtain output expectation values, the present invention provides a quantum error mitigation scheme based on the Z mixed state expression of the quantum amplitude decay channel, which can jointly mitigate quantum gate noise and quantum measurement noise with complexity, providing a new idea for the field of quantum error mitigation and promoting the development of this field. Summary of the invention

[0005] In view of the above existing problems, the present invention is proposed.

[0006] Therefore, the present invention provides a quantum error mitigation method based on the Z mixed state expression of the quantum amplitude decay channel, which can solve the problems of high computational complexity and reliance on classical computing power in traditional methods.

[0007] In order to solve the above technical problems, the present invention provides the following technical solutions, a quantum error mitigation method based on the Z mixed state expression of the quantum amplitude decay channel, comprising:

[0008] Given any quantum circuit that can be run on a real quantum computer and any input quantum state, the Pauli Z operator is used to measure the expected output value affected by noise; a quantum circuit is constructed to estimate the noise parameters generated by the quantum gates and the noise parameters generated by the quantum measurement in the quantum circuit, and the output expected value is measured using the Pauli Z operator; a quantum circuit is constructed to estimate some parameters of the input quantum state, and the output expected value is measured using a linear combination of the unit operator and the Pauli Z operator; the error of the output expected value of the original quantum circuit affected by noise is mitigated using the conclusion of the derived Z mixed state expression for the quantum amplitude decay channel.

[0009] As a preferred solution of the quantum error mitigation method based on the Z mixed state expression of the quantum amplitude decay channel described in the present invention, wherein: the use of the Pauli Z operator to measure the output expectation value affected by noise includes setting the input quantum state to The density matrix is ​​expressed as The quantum circuit is u, and the quantum depolarization channel noise generated by the quantum gate in the quantum circuit is:

[0010]

[0011] Among them, p is a parameter, is the unit operator; the quantum amplitude decay channel noise generated by quantum measurement is:

[0012]

[0013] in, γ is a parameter, and represent the conjugate transpose of K0 and K1 respectively, rewriting the original expression of the quantum amplitude attenuation channel as follows:

[0014]

[0015] Among them, tr represents the trace operation, Z represents the Pauli Z operator, γ is the parameter of the quantum amplitude attenuation channel, so the quantum state ρ passes through the quantum circuit u and then through the quantum depolarization channel ε u , and finally through the quantum amplitude attenuation channel ε m , using the Pauli Z operator for measurement, and using the Z mixed state expression of the quantum amplitude decay channel to expand the actual measurement expectation value <Z obs >Should be:

[0016]

[0017] in,

[0018] As a preferred solution of the quantum error mitigation method based on the mixed state expression of quantum amplitude decay channel Z described in the present invention, wherein: the quantum circuit for estimating the noise parameters generated by the quantum gate in the quantum circuit and the noise parameters generated by the quantum measurement includes: constructing a quantum circuit for estimating the noise ε of the quantum gate in the quantum circuit u u Parameter p and quantum measurement noise ε m For a quantum circuit u' with parameter γ, all CNOT gates in the quantum circuit u are retained, while all single-bit gates are deleted. The noise level of the reconstructed circuit u' is close to that of the original quantum circuit u, that is,

[0019]

[0020]

[0021] p≈p'

[0022] Since the parameters of the quantum depolarization channel noise generated by each quantum gate are close, they are approximately considered equal. The |0> state is used as the input of the current reconstructed quantum circuit u' and the Pauli Z measurement is performed. The noise generated by the quantum gate and the quantum measurement noise are affected as follows:

[0023]

[0024] From a mathematical point of view, the density matrix of the |0> state is expressed as in The item is 0;

[0025] The final formula yields:

[0026]

[0027] However, since the |0> state is intentionally used as the input state, the expected value of the ideal noise-free output is 1, that is, And since p≈p', the above formula is transformed into:

[0028] <Z obs >0=p+(1-p)γ.

[0029] As a preferred solution of the quantum error mitigation method based on the quantum amplitude decay channel Z mixed state expression described in the present invention, wherein: the quantum circuit constructed for estimating the noise parameters generated by the quantum gate in the quantum circuit and the noise parameters generated by the quantum measurement also includes constructing a method for estimating the noise ε of the quantum gate in the quantum circuit u u Parameter p and quantum measurement noise ε mThe quantum circuit u'' and u'' with parameter γ convert the input state into the |1> state on the basis of retaining the quantum gate structure of u'. At the same time, an IFX gate is added at the end of the quantum circuit u' to ensure that the output of the |1> state is still the |1> state after passing through the quantum circuit u''. In the process of using the |0> state to input the quantum circuit and using the Pauli Z operator to measure and obtain the expected value of the output, since the quantum gate structure in the quantum circuit u' is all CNOT gates and the input state is the |0> state, theoretically, the output of the |0> state is still the |0> state after passing through the quantum circuit u', so there is no need to add an IFX gate; however, for the input state of the |1> state, through the quantum circuit composed of all CNOT gates, The output depends on the number and connection of CNOT gates, so it is necessary to add an IFX gate here to ensure that the output of the |1> state is still the |1> state after passing through the quantum circuit u”; if the expected value is greater than 0, the |1> state will most likely become the |0> state after passing through the quantum circuit u”, and a quantum NOT gate X gate is added at the end of the quantum circuit. At the same time, it is considered that the noise scale is not enough to flip the measurement expectation value, that is, it is determined that the parameter p of the quantum depolarization channel and the parameter γ of the quantum measurement noise are not too large; if the expected value is less than 0, no additional operation is required. After ensuring that the output of the |1> state is still the |1> state after passing through the quantum circuit u”, the Pauli Z operator is used for measurement, and the measurement result is:

[0030]

[0031] As a preferred solution of the quantum error mitigation method based on the Z mixed state expression of the quantum amplitude decay channel described in the present invention, wherein: the construction of the quantum circuit for estimating the noise parameters generated by the quantum gate in the quantum circuit and the noise parameters generated by the quantum measurement also includes, according to the last formula for measuring the output expectation value of the original quantum circuit under the Pauli Z operator, the result should be:

[0032]

[0033] Since the current input state is the |1> state, the density matrix is ​​expressed as So currently and The calculated result should be:

[0034]

[0035] Right now

[0036] <Z obs >1=-p+(1+p)γ

[0037] The left part of the formula is the output of the actual measured quantum circuit u". This formula is combined with the |0> state input into the quantum circuit, and the Pauli Z operator is used to measure it to obtain the output expected value. The last equation is solved simultaneously, and the following equation is obtained through p and γ:

[0038]

[0039]

[0040] As a preferred solution of the quantum error mitigation method based on the quantum amplitude decay channel Z mixed state expression of the present invention, wherein: the construction of a quantum circuit for estimating some parameters of the input quantum state includes: using the quantum circuit u operator, where Z is the Pauli Z operator, is the unit operator, and the input quantum state The density matrix is ​​expressed as The quantum state first passes through the quantum depolarization channel and then through the quantum amplitude decay channel. The operator is used to measure, The matrix representation of the operator is The result is:

[0041]

[0042] The left part is the actual measured value, and the p and γ on the right are the estimated parameters. The right side of the equation only has An unknown number, so the calculation is as follows:

[0043]

[0044] As a preferred solution of the quantum error mitigation method based on the Z mixed state expression of the quantum amplitude decay channel described in the present invention, wherein: the quantum circuit for estimating some parameters of the input quantum state also includes obtaining p and γ and Afterwards, the error can be mitigated according to the last formula for measuring the expected value of the output of the original quantum circuit under the Pauli Z operator, that is, the expected value of the measurement result after the quantum state passes through the quantum depolarization channel and then through the quantum amplitude channel under the Pauli Z operator is:

[0045]

[0046] in represents the expected value of the measurement affected by noise, represents the expected value of an ideal noise-free measurement.

[0047] As a preferred solution of the quantum error mitigation method based on the Z mixed state expression of the quantum amplitude decay channel described in the present invention, wherein: the quantum circuit constructed for estimating partial parameters of the input quantum state also includes:

[0048] The final error mitigation expression is obtained by transposition transformation:

[0049]

[0050] Will <Z ideal >Rewrite as <Z mitigated >, represents the expected value after error mitigation, which will be implemented on the N quantum circuits that need error mitigation.

[0051] A computer device comprises a memory and a processor, wherein the memory stores a computer program, and is characterized in that when the processor executes the computer program, the steps of a quantum error mitigation method based on a Z mixed state expression of a quantum amplitude decay channel are implemented.

[0052] A computer-readable storage medium having a computer program stored thereon, characterized in that when the computer program is executed by a processor, the steps of a quantum error mitigation method based on a Z mixed state expression of a quantum amplitude decay channel are implemented.

[0053] Beneficial effects of the present invention: The method of the present invention performs error mitigation on the expected output value of a quantum computer based on the Z mixed state expression of a quantum amplitude decay channel. The method shows that when the quantum noise generated by a quantum gate satisfies a quantum depolarization channel and the quantum noise generated by a quantum measurement satisfies a quantum amplitude decay channel, when the Pauli Z operator is used for measurement, the parameters of the quantum depolarization channel and the parameters of the quantum amplitude decay channel can be estimated by the present method, and the output expected value affected by the quantum noise is error mitigated according to the conclusion related to the Z mixed state expression of the quantum amplitude decay channel proposed by the present invention, so that the mitigated expected value is close to the ideal noise-free scenario. The present invention can perform error mitigation on the output of a quantum circuit with lower complexity, effectively reducing the computing cost and promoting the development of quantum computing. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.

[0055] Figure 1 A schematic flow chart of a quantum error mitigation method based on a quantum amplitude decay channel Z mixed state expression provided for one embodiment of the present invention.

[0056] Figure 2 A partial schematic diagram of the first step of a quantum error mitigation method based on a quantum amplitude decay channel Z mixed state expression provided by an embodiment of the present invention.

[0057] Figure 3 A quantum circuit structure diagram of a quantum error mitigation method based on a quantum amplitude decay channel Z mixed state expression provided by an embodiment of the present invention.

[0058] Figure 4 A partial schematic diagram of the left part of the second step of a quantum error mitigation method based on a quantum amplitude decay channel Z mixed state expression provided by an embodiment of the present invention.

[0059] Figure 5 A structural diagram of a quantum circuit for estimating parameters of a quantum depolarization channel and a quantum amplitude decay channel in a quantum error mitigation method based on a Z mixed state expression of a quantum amplitude decay channel provided by an embodiment of the present invention.

[0060] Figure 6 A partial schematic diagram of the right part of the second step of a quantum error mitigation method based on a quantum amplitude decay channel Z mixed state expression provided by an embodiment of the present invention.

[0061] Figure 7 A schematic diagram of the results of running the Z mixed state expression based on the quantum amplitude decay channel provided by one embodiment of the present invention.

[0062] Figure 8 A result diagram of a quantum error mitigation solution based on the Z mixed state expression of a quantum amplitude decay channel provided by one embodiment of the present invention. DETAILED DESCRIPTION

[0063] In order to make the above-mentioned purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are described in detail below in conjunction with the drawings of the specification. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary persons in the art without creative work should fall within the scope of protection of the present invention.

[0064] In the following description, many specific details are set forth to facilitate a full understanding of the present invention, but the present invention may also be implemented in other ways different from those described herein, and those skilled in the art may make similar generalizations without violating the connotation of the present invention. Therefore, the present invention is not limited to the specific embodiments disclosed below.

[0065] Secondly, the term "one embodiment" or "embodiment" as used herein refers to a specific feature, structure, or characteristic that may be included in at least one implementation of the present invention. The term "in one embodiment" that appears in different places in this specification does not necessarily refer to the same embodiment, nor does it refer to a separate or selective embodiment that is mutually exclusive with other embodiments.

[0066] The present invention is described in detail with reference to schematic diagrams. When describing the embodiments of the present invention, for the sake of convenience, the cross-sectional diagrams showing the device structure will not be partially enlarged according to the general scale, and the schematic diagrams are only examples, which should not limit the scope of protection of the present invention. In addition, in actual production, the three-dimensional dimensions of length, width and depth should be included.

[0067] At the same time, in the description of the present invention, it should be noted that the directions or positional relationships indicated by the terms "upper, lower, inner and outer" are based on the directions or positional relationships shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific direction, be constructed and operated in a specific direction, and therefore cannot be understood as limiting the present invention. In addition, the terms "first, second or third" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance.

[0068] In the present invention, unless otherwise clearly specified and limited, the terms "install, connect, connect" should be understood in a broad sense, for example: it can be a fixed connection, a detachable connection or an integral connection; it can also be a mechanical connection, an electrical connection or a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0069] Example 1

[0070] Reference Figure 1 , which is the first embodiment of the present invention, provides a quantum error mitigation method based on a quantum amplitude decay channel Z mixed state expression, comprising:

[0071] Given any quantum circuit that can be run on a real quantum computer and any input quantum state, the Pauli Z operator is used to measure the expected output value affected by noise; a quantum circuit is constructed to estimate the noise parameters generated by the quantum gates and the noise parameters generated by the quantum measurement in the quantum circuit, and the output expected value is measured using the Pauli Z operator; a quantum circuit is constructed to estimate some parameters of the input quantum state, and the output expected value is measured using a linear combination of the unit operator and the Pauli Z operator; the error of the output expected value of the original quantum circuit affected by noise is mitigated using the conclusion of the derived Z mixed state expression for the quantum amplitude decay channel.

[0072] The method of using the Pauli Z operator to measure the output expectation value affected by noise includes setting the input quantum state to be The density matrix is ​​expressed as The quantum circuit is u, and the quantum depolarization channel noise generated by the quantum gate in the quantum circuit is:

[0073]

[0074] Among them, p is a parameter, is the unit operator; the quantum amplitude decay channel noise generated by quantum measurement is:

[0075]

[0076] in, γ is a parameter, and represent the conjugate transpose of K0 and K1 respectively, rewriting the original expression of the quantum amplitude attenuation channel as follows:

[0077]

[0078] Among them, tr represents the trace operation, Z represents the Pauli Z operator, γ is the parameter of the quantum amplitude decay channel, so the quantum state After passing through the quantum circuit u, it passes through the quantum depolarization channel ε u , and finally through the quantum amplitude attenuation channel ε m , using the Pauli Z operator for measurement, and using the Z mixed state expression of the quantum amplitude decay channel to expand the actual measurement expectation value <Z obs >Should be:

[0079]

[0080] in,

[0081] The method of constructing a quantum circuit for estimating noise parameters generated by a quantum gate in a quantum circuit and noise parameters generated by a quantum measurement includes constructing a quantum circuit for estimating noise ε of a quantum gate in a quantum circuit u. u Parameter p and quantum measurement noise ε m For a quantum circuit u' with parameter γ, all CNOT gates in the quantum circuit u are retained, while all single-bit gates are deleted. The noise level of the reconstructed circuit u' is close to that of the original quantum circuit u, that is,

[0082]

[0083]

[0084] p≈p'

[0085] Since the parameters of the quantum depolarization channel noise generated by each quantum gate are close, they are approximately considered equal. The |0> state is used as the input of the current reconstructed quantum circuit u' and the Pauli Z measurement is performed. The noise generated by the quantum gate and the quantum measurement noise are affected as follows:

[0086]

[0087] From a mathematical point of view, the density matrix of the |0> state is expressed as in The item is 0;

[0088] The final formula yields:

[0089]

[0090] However, since the |0> state is intentionally used as the input state, the expected value of the ideal noise-free output is 1, that is, And since p≈p', the above formula is transformed into:

[0091] <Z obs >0=p+(1-p)γ.

[0092] The method of constructing a quantum circuit for estimating the noise parameters generated by the quantum gate and the noise parameters generated by the quantum measurement in the quantum circuit also includes constructing a method for estimating the noise ε of the quantum gate in the quantum circuit u. u Parameter p and quantum measurement noise ε mThe quantum circuit u'' and u'' with parameter γ convert the input state into the |1> state on the basis of retaining the quantum gate structure of u'. At the same time, an IFX gate is added at the end of the quantum circuit u' to ensure that the output of the |1> state is still the |1> state after passing through the quantum circuit u''. In the process of using the |0> state to input the quantum circuit and using the Pauli Z operator to measure and obtain the expected value of the output, since the quantum gate structure in the quantum circuit u' is all CNOT gates and the input state is the |0> state, theoretically, the output of the |0> state is still the |0> state after passing through the quantum circuit u', so there is no need to add an IFX gate; however, for the input state of the |1> state, through the quantum circuit composed of all CNOT gates, The output depends on the number and connection of CNOT gates, so it is necessary to add an IFX gate here to ensure that the output of the |1> state is still the |1> state after passing through the quantum circuit u”; if the expected value is greater than 0, the |1> state will most likely become the |0> state after passing through the quantum circuit u”, and a quantum NOT gate X gate is added at the end of the quantum circuit. At the same time, it is considered that the noise scale is not enough to flip the measurement expectation value, that is, it is determined that the parameter p of the quantum depolarization channel and the parameter γ of the quantum measurement noise are not too large; if the expected value is less than 0, no additional operation is required. After ensuring that the output of the |1> state is still the |1> state after passing through the quantum circuit u”, the Pauli Z operator is used for measurement, and the measurement result is:

[0093]

[0094] The construction of a quantum circuit for estimating the noise parameters generated by the quantum gates and the noise parameters generated by the quantum measurement in the quantum circuit also includes that the result obtained according to the last formula for measuring the output expectation value of the original quantum circuit under the Pauli Z operator should be:

[0095]

[0096] Since the current input state is the |1> state, the density matrix is ​​expressed as So currently and The calculated result should be:

[0097]

[0098] Right now

[0099] <Z obs >1=-p+(1+p)γ

[0100] The left part of the formula is the actual measured output of the quantum circuit u". This formula is combined with the |0> state input into the quantum circuit, and the Pauli Z operator is used to measure it to obtain the output expected value. The last equation is solved simultaneously, and the following equation is obtained through p and γ:

[0101]

[0102]

[0103] The construction of a quantum circuit for estimating some parameters of an input quantum state comprises: applying operator, where Z is the Pauli Z operator, is the unit operator, and the density matrix of the input quantum state ρ is expressed as The quantum state first passes through the quantum depolarization channel and then through the quantum amplitude decay channel. The operator is used to measure, The matrix representation of the operator is The result is:

[0104]

[0105] The left part is the actual measured value, and the p and γ on the right are the estimated parameters. The right side of the equation only has An unknown number, so the calculation is as follows:

[0106]

[0107] The construction of a quantum circuit for estimating partial parameters of an input quantum state also includes obtaining p and γ and Afterwards, the error can be mitigated according to the last formula for measuring the expected value of the output of the original quantum circuit under the Pauli Z operator, that is, the expected value of the measurement result after the quantum state passes through the quantum depolarization channel and then through the quantum amplitude channel under the Pauli Z operator is:

[0108]

[0109] in represents the expected value of the measurement affected by noise, represents the expected value of an ideal noise-free measurement.

[0110] The construction of a quantum circuit for estimating partial parameters of an input quantum state also includes:

[0111] The final error mitigation expression is obtained by transposition transformation:

[0112]

[0113] Will <Z ideal >Rewrite as <Z mitigated >, represents the expected value after error mitigation, which will be implemented on the N quantum circuits that need error mitigation.

[0114] Example 2

[0115] Reference Figure 2-Figure 8 , which is an embodiment of the present invention, provides a quantum error mitigation method based on the Z mixed state expression of the quantum amplitude decay channel. In order to verify the beneficial effects of the present invention, scientific demonstration is carried out through experiments.

[0116] Experiment-related pictures include: Figure 2 It is the first step of the flowchart of the quantum error mitigation solution based on the Z mixed state expression of the quantum amplitude decay channel in the embodiment; Figure 3 yes Figure 2 The quantum circuit structure diagram of the embodiment adopts the Trotterstep quantum circuit, which is a quantum circuit commonly used in the field of quantum error mitigation. It is a four-qubit quantum circuit, which includes an RX revolving gate, an RZ revolving gate, and a CNOT gate. The quantum error mitigation solution is implemented on this quantum circuit to observe the effect; Figure 4 It is the left part of the second step of the flow diagram of the quantum error mitigation solution based on the Z mixed state expression of the quantum amplitude decay channel in the embodiment, that is, constructing a quantum circuit for estimating the parameters of the quantum depolarization channel and the quantum amplitude decay channel, using the |0> state to input the quantum circuit, and using the Pauli Z operator to measure it to obtain the output expected value; Figure 5 yes Figure 4 A structural diagram of a quantum circuit for estimating parameters of a quantum depolarization channel and a quantum amplitude decay channel in an embodiment, wherein all single-bit gates are deleted and all CNOT gates are retained; Figure 6 The second step right part of the flow diagram of the quantum error mitigation solution based on the Z mixed state expression of the quantum amplitude decay channel in the embodiment is to construct a quantum circuit for estimating the parameters of the quantum depolarization channel and the quantum amplitude decay channel, use the |1> state to input the quantum circuit, and use the Pauli Z operator to measure it to obtain the output expected value. The quantum circuit structure diagram is shown in Figure 5 Finally, an IFX gate is added. Specifically, in this embodiment, since the input state is the |1> state, its theoretical output after passing through the first quantum circuit is still the |1> state. Therefore, in this embodiment, the IFX gate is equal to the unit gate, that is, the X gate is not added. Figure 7It is the result of simulating the operation of this embodiment using the Pennylane library in Python, where the ordinate is the expected value and the abscissa is the rotation angle of the RX revolving gate. In this embodiment, the angles of the four RX revolving gates are set to the same value, and simulation experiments are carried out under four conditions of rotation angles of 0, 0.2, 0.4, and 0.6. These four different rotation angles will lead to different ideal output expected values ​​of the quantum circuit, which are represented by triangles with arrows pointing to the right in the figure. The angles of the RZ revolving gates are all set to -0.2, indicating that there is an RZ single-qubit gate in this quantum circuit. At the end of the first quantum circuit, the quantum depolarization channel noise generated by the quantum gate and the quantum amplitude attenuation channel noise generated by the quantum measurement are added, and then the Pauli Z measurement is performed on it. The number of measurements is set to 1000 times. The experiment is run continuously for 30 times to obtain the measurement expectation value affected by noise, which is represented by a triangle with an arrow pointing upward in the figure. The quantum error mitigation scheme based on the Z mixed state expression of the quantum amplitude decay channel was implemented on the quantum circuit. Similarly, the number of measurements was set to 1000 times, and the experiment was run continuously for 30 times to obtain the value after the error mitigation of this scheme, which is represented by a triangle with an arrow pointing left in the figure. At the same time, the comparative experiment uses the zero noise extrapolation method, which is a mainstream quantum error mitigation method at present. It focuses on mitigating the noise of the quantum gate, but it does not consider the noise of the quantum measurement. The result is represented by a triangle with an arrow pointing downward in the figure. Figure 8 This is a graph of the results of implementing the quantum error mitigation scheme based on the Z mixed state expression of the quantum amplitude decay channel on a real quantum computer on the IBM platform. The ordinate is the expected value, and the abscissa is different processing methods, namely the ideal expected value, the expected value without any error mitigation, and the expected value after using the quantum error mitigation scheme based on the Z mixed state expression of the quantum amplitude decay channel.

[0117] S1, such as Figure 2 , measure the output expectation value of the original quantum circuit under the Pauli Z operator and measure the original quantum circuit under The output expectation value under the operator is used to estimate some parameters of the density matrix of the input quantum state; specifically in this example, a quantum state ρ is input into the Trotterstep quantum circuit on the first quantum circuit, and the Pauli Z operator and The operator measures the Trotterstep quantum circuit and obtains the measurement expectation value <Z obs > and <Z obs >2;

[0118] S2, such as Figure 4, construct a quantum circuit for estimating the parameters of the quantum depolarization channel and the quantum amplitude attenuation channel, use the |0> state to input the quantum circuit, and use the Pauli Z operator to measure it to obtain the output expectation value; specifically in this example, the RX revolving gate and RZ revolving gate in the Trotterstep quantum circuit are deleted, all CNOT gates in the Trotterstep quantum circuit are retained, and then the |0> state is input into the quantum circuit, and the Pauli Z operator is used to measure it to obtain the measurement expectation value <Z obs >0;

[0119] S3, such as Figure 6 , construct a quantum circuit for estimating the parameters of the quantum depolarization channel and the quantum amplitude attenuation channel, use the |1> state to input the quantum circuit, and use the Pauli Z operator to measure it to obtain the expected output value; specifically in this example, that is, add the IFX gate at the end of the quantum circuit of the first quantum bit, then specifically for this quantum circuit, since the CNOT gate on the first bit uses itself as the control bit, theoretically it will not change, so the IFX gate here is equal to the unit gate, that is, no more operations are added; then use the |1> state to input the quantum circuit, and use the Pauli Z operator to measure it to obtain the expected output value <Z obs >1;

[0120] S4. Use the results obtained from S1-S4 to mitigate the error of the expected output value of the original quantum circuit. Specifically for this example, according to the conclusions obtained from the previous theoretical analysis, the results estimated in the parameter estimation part should be:

[0121]

[0122] So the error mitigation result for this qubit is

[0123]

[0124] S5. If the outputs of N quantum circuits need to be error mitigated, steps S1-S4 are implemented on the N quantum circuits respectively; specifically in this embodiment, since the original quantum circuit only performs Pauli Z measurement on the first quantum bit and the remaining bits are not measured, error mitigation is not required.

[0125] The quantum error mitigation scheme of the embodiment based on the Z mixed state expression of the quantum amplitude decay channel is experimentally verified as follows:

[0126] The experiment was conducted using the Python-based Pennylane library provided by Pennylane and the Trotterstep quantum circuit, which is as follows Figure 3As shown, there are four quantum bits, including RX revolving gate, RZ revolving gate and CNOT gate. At the end of the quantum circuit, the noise function in the Pennylane library is used to add noise to the quantum circuit to simulate the real environment, and the quantum depolarization channel noise generated by the quantum gate in the quantum circuit and the quantum amplitude decay channel noise generated by the quantum measurement are added respectively. In the experiment, the parameter p of the quantum depolarization channel is set to 0.88, because it is more in line with the noise level in the real quantum computer, and the parameter γ of the quantum amplitude decay channel is set to 0.2. Finally, the Pauli Z operator is measured on the first quantum circuit to obtain the output expectation value and the error is mitigated according to the steps of the quantum error mitigation scheme based on the Z mixed state expression of the quantum amplitude decay channel. In the comparative experiment part, the comparative scheme adopts the current mainstream zero noise extrapolation method. Its main idea is to use the unitary gate to fold and amplify the noise, measure different expectation values ​​under different noise levels, fit these expectation value points by function fitting, and finally extrapolate the function to the function value when the noise level is 0, that is, the ideal noise-free expectation value. This method is currently popular in the field of quantum error mitigation, but it also has a flaw, that is, the unitary gate folding operation only amplifies the noise generated by the quantum gate in the quantum circuit, and it does not take into account the influence of measurement noise, so when the measurement noise is taken into account, it may not work effectively. The final result is shown in the figure Figure 7 As shown. The quantum error mitigation scheme based on the Z mixed state expression of the quantum amplitude decay channel has the best mitigation effect and is closest to the ideal value; the zero noise extrapolation method does play a certain role in error mitigation, but because it cannot alleviate the measurement noise, the final effect is not as good as the quantum error mitigation scheme based on the Z mixed state expression of the quantum amplitude decay channel; and the situation where no error mitigation is adopted is the worst, and the gap with the ideal value is the farthest.

[0127] In the experiment, the program was not only simulated on a classical computer, but also verified on a real quantum computer on the IBM platform. The Qiskit framework was used on the IBM platform to program and operate the quantum computer, and the experiment was conducted on the quantum computer ibm_osaka. In the experiment, a two-bit quantum circuit was randomly constructed. In order to observe the effect of error mitigation, the ideal output expectation value of the quantum circuit under the Pauli Z algorithm was ensured to be 1. The number of measurements was set to 1000, and the results of the operation on the real quantum computer are as follows: Figure 8 As shown. It can be seen that the quantum error mitigation scheme based on the Z mixed state expression of the quantum amplitude decay channel can be directly implemented on a real quantum computer and achieve good results.

[0128] The complexity of the error scheme is usually measured by the number of parameters that need to be estimated. When the quantum error mitigation scheme based on the Z mixed state expression of the quantum amplitude decay channel performs error mitigation on N bits in an N quantum bit circuit, it is necessary to expand the expectation value of the Pauli Z operator for these N quantum circuits into the product of the expectation values ​​of the Pauli Z operator for a single quantum circuit under N single quantum bits, that is,

[0129]

[0130] Each of the N products needs to be error-mitigated, i.e.

[0131]

[0132] final:

[0133] <Z mitigated >=∏ <Z mitigated > i

[0134] Therefore, the complexity of the quantum error mitigation solution based on the Z mixed state expression of the quantum amplitude decay channel is O(N), where N is the number of quantum bits. The error mitigation solution based on average bit flipping proposed by some scholars is to establish a relationship between the input vector and the output vector using a correction matrix. In the case of N quantum bits, the dimensions of the input and output vectors are 2. N , then the complexity required to estimate all the parameters of this matrix is ​​O(2 2N ).

[0135] From the above comparison, it can be seen that compared with the zero-noise extrapolation method, the quantum error mitigation scheme based on the Z mixed state expression of the quantum amplitude decay channel in the embodiment shows higher accuracy and better performance at lower complexity, providing new ideas and contributions to the field of quantum error mitigation.

[0136] Although the present invention has been described in detail with reference to the aforementioned embodiments, it is still possible for those skilled in the art to modify the technical solutions described in the aforementioned embodiments, or to make equivalent substitutions for some of the technical features therein. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

[0137] Example 3

[0138] The third embodiment of the present invention is different from the first two embodiments in that:

[0139] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc., which can store program codes.

[0140] Those skilled in the art will appreciate that the embodiments of the present application can be provided as methods, systems, or computer program products. Therefore, the present application can adopt the form of complete hardware embodiments, complete software embodiments, or embodiments in combination with software and hardware. Moreover, the present application can adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code. The scheme in the embodiments of the present application can be implemented in various computer languages, for example, object-oriented programming language Java and literal scripting language JavaScript, etc.

[0141] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0142] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0143] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0144] Although the preferred embodiments of the present application have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present application.

[0145] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

Claims

1. A quantum error mitigation method based on the Z mixed state expression of the quantum amplitude decay channel, characterized by: include, Given any quantum circuit that can run on a real quantum computer and any input quantum state, use the Pauli Z operator to measure the output expectation value affected by noise; Construct a quantum circuit for estimating the noise parameters generated by quantum gates and quantum measurements in the quantum circuit and measure the output expectation value using the Pauli Z operator; Construct a quantum circuit for estimating some parameters of the input quantum state and measure the output expectation value using a linear combination of the unity operator and the Pauli Z operator; The error of the output expectation value of the original quantum circuit affected by noise is mitigated by using the deduced conclusion of the Z mixed state expression of the quantum amplitude decay channel. The method of using the Pauli Z operator to measure the output expectation value affected by noise includes setting the input quantum state to be The density matrix is ​​expressed as The quantum circuit is u, and the quantum depolarization channel noise generated by the quantum gate in the quantum circuit is: Among them, p is a parameter, is the unit operator; the quantum amplitude decay channel noise generated by quantum measurement is: in, γ is a parameter, and represent the conjugate transpose of K0 and K1 respectively, rewriting the original expression of the quantum amplitude attenuation channel as follows: Among them, tr represents the trace operation, Z represents the Pauli Z operator, γ is the parameter of the quantum amplitude attenuation channel. After the quantum state ρ passes through the quantum circuit u, it passes through the quantum depolarization channel ε u and the quantum amplitude decay channel ε m , the Pauli Z operator is used for measurement, and the actual measurement expectation value is obtained by expanding the Z mixed state expression of the quantum amplitude decay channel <Z obs >Should be: in, 2. The quantum error mitigation method based on the Z mixed state expression of the quantum amplitude decay channel according to claim 1, characterized in that: The method of constructing a quantum circuit for estimating noise parameters generated by a quantum gate in a quantum circuit and noise parameters generated by a quantum measurement includes constructing a quantum circuit for estimating noise ε of a quantum gate in a quantum circuit u. u Parameter p and quantum measurement noise ε m For the quantum circuit u' with parameter γ, all CNOT gates in the quantum circuit u are retained, and the single-bit gates are deleted, that is: p≈p' Using the |0> state as the input of the current reconstructed quantum circuit u' and performing Pauli Z measurement, the noise generated by the quantum gate and the quantum measurement noise are affected as follows: The density matrix of the |0> state is expressed as in The item is 0; get: for: <Z obs >0=p+(1-p)γ.

3. The quantum error mitigation method based on the Z mixed state expression of the quantum amplitude decay channel according to claim 2, characterized in that: The method of constructing a quantum circuit for estimating the noise parameters generated by the quantum gate in the quantum circuit and the noise parameters generated by the quantum measurement also includes constructing a method for estimating the noise ε of the quantum gate in the quantum circuit u. u Parameter p and quantum measurement noise ε m The quantum circuit u' and u' with parameter γ transform the input state into the |1> state while retaining the quantum gate structure of u'. When the |0> state is input into the quantum circuit and the Pauli Z operator is used to measure the output expectation value, the quantum gate structure in the quantum circuit u' is a CNOT gate, and the input state is the |0> state. If the expected value is less than 0, it is determined that the |1> state is output through the quantum circuit u' as the |1> state, and the Pauli Z operator is used for measurement. The measurement result is:

4. The quantum error mitigation method based on the Z mixed state expression of the quantum amplitude decay channel according to claim 3 is characterized in that: The construction of a quantum circuit for estimating noise parameters generated by quantum gates and noise parameters generated by quantum measurements in the quantum circuit also includes obtaining the following result based on the output expectation value of the original quantum circuit under the Pauli Z operator: The current input state is the |1> state, and the density matrix is ​​expressed as and The calculated results are: Right now: <Z obs >1=-p+(1+p)γ The left part of the formula is the output of the actual measured quantum circuit u", which is solved by the output expectation value measured using the |0> state input quantum circuit and the Pauli Z operator. The following equation is obtained through p and γ:

5. The quantum error mitigation method based on the Z mixed state expression of the quantum amplitude decay channel according to claim 4, characterized in that: The construction of a quantum circuit for estimating some parameters of an input quantum state comprises: applying operator, where Z is the Pauli Z operator, is the unit operator, and the input quantum state The density matrix is ​​expressed as After the quantum state passes through the quantum depolarization channel and the quantum amplitude attenuation channel, the result is: Among them, the left part is the actual measured value, and the p and γ on the right are the estimated parameters. The following formula is obtained by calculation:

6. The quantum error mitigation method based on the Z mixed state expression of the quantum amplitude decay channel according to claim 5, characterized in that: The construction of a quantum circuit for estimating some parameters of the input quantum state also includes that the expected value of the measurement result under the Pauli Z operator after the quantum state passes through the quantum depolarization channel and the quantum amplitude channel is: in represents the expected value of the measurement affected by noise, Represents the expected value of an ideal noise-free measurement.

7. The quantum error mitigation method based on the Z mixed state expression of the quantum amplitude decay channel according to claim 6, characterized in that: The construction of a quantum circuit for estimating some parameters of the input quantum state also includes obtaining the final error mitigation expression by transposition transformation: Will <Z ideal >Rewrite as <Z mitigated >, which represents the expected value after error mitigation, and is implemented on the N quantum circuits undergoing error mitigation.

8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.

9. A computer-readable storage medium having a computer program stored thereon, 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 7 are implemented.

Citation Information

Patent Citations

  • Thermal state preparation method and equipment under quantum system and storage medium

    CN116245184A

  • Verified quantum phase estimation

    CN116508030A