Quantum error correction processing method and apparatus, and computer device
By constructing a noise model of the quantum chip to represent and simulate independent and correlated errors during its operation, the problem of poor error correction effect of quantum chips in the existing technology is solved, and higher error correction accuracy and logical error rate are achieved. control.
Patent Information
- Application Number
- PCT/CN2024/075860
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-03-14
- Filing Date
- 2024-02-04
- Publication Date
- 2024-09-19
AI Technical Summary
When the existing technology performs quantum error correction on quantum chips, the error correction effect is poor, and it is difficult to accurately correct errors generated during quantum operations.
By constructing a noise model of the quantum chip to represent the probability of independent errors and correlated errors during the operation of the quantum chip, quantum error correction simulations are performed to improve the accuracy and effect of error correction.
It significantly improves the accuracy and effect of quantum error correction, ensures that the logical error rate is at a low level, and improves the reliability of quantum computing.
Smart Images

Figure CN2024075860_19092024_PF_FP_ABST
Abstract
Description
Quantum error correction processing method, device and computer equipment Technical Field
[0001] The present invention relates to the field of quantum technology, and in particular to a quantum error correction processing method, device and computer equipment. Background Art
[0002] Quantum Error Correction (QEC) refers to various solutions for solving errors generated during a series of quantum operations on quantum chips. One quantum error correction method is to use quantum error correction codes, that is, by treating multiple physical quantum bits as a logical quantum bit, errors can be discovered and corrected without destroying the information stored in the logical quantum bits. In order to achieve quantum computing, the logical error rate needs to be kept at a low level. Therefore, a good quantum error correction effect needs to be demonstrated on the quantum chip. However, in related technologies, when performing quantum error correction on quantum chips, error correction is only performed based on some simple influencing factors. Therefore, it is difficult to perform quantum error correction accurately, resulting in poor error correction effect.
[0003] Therefore, in the related art, when performing quantum error correction on quantum chips, there is a technical problem of poor error correction effect.
[0004] To address the above-mentioned problems, no effective solutions have been proposed so far.
[0005] Summary of the Invention
[0006] The embodiments of the present invention provide a quantum error correction processing method, apparatus, and computer device to at least solve the technical problem in related technologies of poor error correction effect when performing quantum error correction on quantum chips.
[0007] According to one aspect of an embodiment of the present invention, a quantum error correction processing method is provided, comprising: constructing a noise model of the quantum chip based on target parameters of the quantum chip, wherein the noise model is used to represent the probability of errors occurring in operations included in the operation process of the quantum chip, the errors including independent errors and associated errors, the independent errors being errors caused by the operation itself, and the associated errors being errors caused by errors in other operations associated with the operation; and simulating quantum error correction of the operation process of the quantum chip based on the noise model to obtain the probability of logical errors occurring after the quantum chip performs quantum error correction.
[0008] Optionally, before constructing the noise model of the quantum chip based on the target parameters of the quantum chip, the method further includes: obtaining chip parameters and control parameters of the quantum chip, wherein the chip parameters are attribute parameters of the quantum chip, and the control parameters are parameters that support adjustment when the quantum chip is running; and determining the target parameters of the quantum chip based on the chip parameters and the control parameters.
[0009] Optionally, constructing the noise model of the quantum chip based on the target parameters of the quantum chip includes: determining a system state characterization of the quantum chip based on the target parameters of the quantum chip; obtaining an evolution result of the quantum chip evolving over time within a predetermined time, and an expected result within the predetermined time based on the system state characterization; obtaining a difference between the evolution result and the expected result; and constructing the noise model of the quantum chip based on the difference.
[0010] Optionally, obtaining the evolution result of the quantum chip evolving over time within a predetermined time based on the system state characterization includes: when the system state characterization is the system Hamiltonian of the quantum chip, establishing the Schrödinger equation of the quantum chip based on the system Hamiltonian, wherein the Schrödinger equation is used to describe the evolution relationship of the system quantum state of the quantum chip over time; and determining the evolution result obtained by the evolution of the quantum chip over time within the predetermined time based on the Schrödinger equation.
[0011] Optionally, constructing the noise model of the quantum chip based on the difference includes: when the difference is a coherent error, converting the coherent error into a Pauli error; and constructing the noise model of the quantum chip based on the Pauli error.
[0012] Optionally, constructing the noise model of the quantum chip based on the target parameters of the quantum chip includes: intercepting a target part of the quantum chip; determining local parameters of the target part based on the target parameters, wherein the local parameters include device parameters of the target part and local control parameters for controlling the target part; constructing a noise model of the target part based on the local parameters; and constructing the noise model of the quantum chip based on the noise model of the target part.
[0013] Optionally, constructing the noise model of the quantum chip based on the noise model of the target local area includes: determining a similar local area that has similarity with the target local area, and a different local area that has no similarity with the target local area; determining the noise model of the similar local area based on the noise model of the target local area; determining the noise model of the different local area; and constructing the noise model of the quantum chip based on the noise model of the target local area, the noise model of the similar local area, and the noise model of the different local area.
[0014] Optionally, after simulating quantum error correction on the operation process of the quantum chip based on the noise model and obtaining the probability of logical errors occurring after the quantum chip performs quantum error correction, the method further includes: determining a functional relationship between the probability of logical errors occurring in the quantum chip and the target parameter; and performing gradient optimization on the target parameter based on the functional relationship.
[0015] Optionally, simulating the operation process of the quantum chip with quantum error correction based on the noise model to obtain the probability of a logical error occurring after the quantum chip performs quantum error correction includes: simulating the operation process of the quantum chip with quantum error correction based on the noise model to obtain a system quantum state of the quantum chip after the quantum chip performs quantum error correction; counting erroneous operations occurring in the operation process of the quantum chip based on the system quantum state to obtain statistical data; and determining the probability of a logical error occurring after the quantum chip performs quantum error correction based on the statistical data.
[0016] Optionally, the operation includes at least one of the following: a quantum gate operation, a quantum initialization operation, and a quantum measurement operation.
[0017] Optionally, the object of the operation is a superconducting quantum bit, and the superconducting quantum bit includes a Fluxonium quantum bit.
[0018] According to another aspect of the present invention, a quantum error correction processing device is provided, comprising: a construction module for constructing a noise model of the quantum chip based on target parameters of the quantum chip, wherein the noise model is used to represent the probability of errors occurring in operations included in the operation process of the quantum chip, wherein the errors include independent errors and associated errors, wherein the independent errors are errors caused by the operation itself, and the associated errors are errors caused by errors in other operations associated with the operation; and a processing module for simulating quantum error correction of the operation process of the quantum chip based on the noise model to obtain the probability of logical errors occurring after the quantum chip performs quantum error correction.
[0019] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium includes a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute any one of the above-mentioned quantum error correction processing methods.
[0020] According to another aspect of the present invention, a computer device is provided, comprising: a memory and a processor, wherein the memory stores a computer program; and the processor is configured to execute the computer program stored in the memory, wherein when the computer program is executed, the processor executes any one of the above-described quantum error correction methods.
[0021] In an embodiment of the present invention, a noise model of a quantum chip is constructed to represent the probability of errors in operations during the operation of the quantum chip. Since the errors in the simulation include not only errors caused by the operation itself, but also errors caused by associated operations associated with the operation, the noise model describes the noise more accurately. Therefore, when quantum error correction is simulated on the quantum chip based on the noise model, the quantum error correction is also more accurate. After obtaining the probability of logical errors occurring after the quantum chip performs quantum error correction, the quantum error correction effect can be reflected more directly and accurately. Since the noise model not only represents the errors caused by the operation itself, but also represents associated errors, the subsequent simulation of quantum error correction based on the noise model is also more accurate, effectively improving the effect of quantum error correction. This effectively solves the technical problem in the related art of poor error correction effect when performing quantum error correction on quantum chips. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:
[0023] FIG1 shows a hardware structure block diagram of a computer terminal for implementing a quantum error correction processing method;
[0024] FIG2 is a block diagram of a computing environment provided by an embodiment of the present invention;
[0025] FIG3 is a flow chart of a quantum error correction method according to Embodiment 1 of the present invention;
[0026] FIG4 is a flow chart of a quantum error correction method according to an optional embodiment of the present invention;
[0027] FIG5 is a diagram showing the probability of errors in operations included in a quantum chip represented by a noise model according to an optional embodiment of the present invention;
[0028] FIG6 is a schematic diagram of implementing global modeling based on local modeling according to an optional embodiment of the present invention;
[0029] FIG7 is a block diagram of a quantum error correction processing device according to an embodiment of the present invention;
[0030] FIG8 is a structural block diagram of a computer terminal according to an embodiment of the present invention. DETAILED DESCRIPTION
[0031] In order to enable those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the embodiments described are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of the present invention.
[0032] It should be noted that the terms "first", "second", etc. in the description and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0033] First, some nouns or terms that appear in the description of the embodiments of the present application are subject to the following interpretations:
[0034] Quantum Error Correction (QEC): refers to various solutions for resolving errors generated during a series of quantum operations.
[0035] Quantum Error Correcting Code (QECC): protects quantum information through redundancy, corresponding to classical error correction code.
[0036] Decoder: Infers the original stored information through the error information of the error correction code.
[0037] Hamiltonian: determines how a quantum mechanical system evolves over time.
[0038] Quantum gate: The fundamental operation provided by a quantum computer.
[0039] The precision of quantum gates: the degree of consistency between the quantum gates actually realized in the experiment and the quantum gates expected to be realized.
[0040] Quantum gate control: The desired quantum gate is generated by controlling the time-varying Hamiltonian. For example, for superconducting qubits, the desired time-varying Hamiltonian is usually generated by an arbitrary waveform generator.
[0041] Control parameters: Parameters that describe a control scheme, such as the waveform of an electrical signal generated by an arbitrary waveform generator.
[0042] Chip parameters: These are intrinsic parameters of a quantum chip. They determine the form of the Hamiltonian. These parameters cannot be changed after the quantum chip is produced.
[0043] Gradient optimization: A specific type of optimization algorithm. Its characteristic is to accelerate the optimization process by calculating the gradient of the objective function with the optimization parameters.
[0044] Fluxonium, a type of superconducting qubit, consists of a Josephson junction connected in parallel with an inductor and capacitor. This structure features a large inductor (typically fabricated using an array of numerous (~100) Josephson junctions or high-dynamic inductor materials). The electric energy (EC) corresponding to the capacitor, the magnetic energy (EL) corresponding to the inductor, and the Josephson energy (EJ) are close to each other (within approximately one order of magnitude).
[0045] Transmon (Transmission line shunted plasma oscillation qubit) is a first-level quantum bit under the capacitive quantum bit (charge qubit, also known as charge quantum bit copper-pairbox) in the superconducting quantum bit. It is used to increase the ratio between the Josephson energy (EJ) and the charge energy (EC) to flatten the dispersion relation of the system energy state to the gate charge. It has a large capacitor connected in parallel at both ends of the Josephson junction to reduce the sensitivity to charge noise. The coupling capacitance between it and a linear resonant cavity makes it form a circuit quantum electrodynamics (circuit-QED) system with the linear resonant cavity, which can realize the manipulation and readout of the quantum bit.
[0046] Example 1
[0047] According to an embodiment of the present invention, a method embodiment of a quantum error correction processing method is also provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0048] The method embodiment provided in Example 1 of the present application can be executed in a mobile terminal, a computer terminal or a similar computing device. Figure 1 shows a hardware structure block diagram of a computer terminal for implementing a quantum error correction processing method. As shown in Figure 1, the computer terminal 10 (or mobile device) may include one or more processors (102a, 102b, ..., 102n are used in the figure to illustrate, and the processor may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA), a memory 104 for storing data, and a transmission device for communication functions. In addition, it may also include: a display, an input / output interface (I / O interface), a universal serial bus (USB) port (which may be included as one of the ports of the BUS bus), a network interface, a power supply and / or a camera. It will be understood by those skilled in the art that the structure shown in Figure 1 is only illustrative and does not limit the structure of the above-mentioned electronic device. For example, the computer terminal 10 may also include more or fewer components than those shown in Figure 1, or have a configuration different from that shown in Figure 1.
[0049] It should be noted that the one or more processors and / or other data processing circuits described above may generally be referred to herein as "data processing circuitry". The data processing circuitry may be embodied in whole or in part as software, hardware, firmware, or any other combination thereof. In addition, the data processing circuitry may be a single independent processing module, or may be incorporated in whole or in part into any of the other components in the computer terminal 10 (or mobile device). As described in the embodiments of the present application, the data processing circuitry serves as a processor control (e.g., selection of a variable resistor terminal path connected to an interface).
[0050] The memory 104 can be used to store software programs and modules of application software, such as the program instructions / data storage device corresponding to the quantum error correction processing method in the embodiment of the present invention. The processor executes various functional applications and data processing by running the software programs and modules stored in the memory 104, that is, implementing the quantum error correction processing method of the above-mentioned application. The memory 104 may include a high-speed random access memory and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory remotely located relative to the processor, and these remote memories may be connected to the computer terminal 10 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.
[0051] The transmission device is used to receive or send data via a network. Specific examples of the aforementioned network may include a wireless network provided by the communications provider of the computer terminal 10. In one embodiment, the transmission device includes a network interface controller (NIC), which can be connected to other network devices via a base station to enable communication with the Internet. In another embodiment, the transmission device may be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0052] The display may be, for example, a touch screen liquid crystal display (LCD) that enables a user to interact with a user interface of the computer terminal 10 (or mobile device).
[0053] The hardware structure block diagram shown in FIG1 can serve not only as an exemplary block diagram of the computer terminal 10 (or mobile device) described above, but also as an exemplary block diagram of the server described above. In an optional embodiment, FIG2 shows, as a block diagram, an embodiment of using the computer terminal 10 (or mobile device) shown in FIG1 as a computing node in a computing environment 201. FIG2 is a structural block diagram of a computing environment provided by an embodiment of the present invention. As shown in FIG2, the computing environment 201 includes multiple computing nodes (such as servers) (illustrated as 210-1, 210-2, ...) running on a distributed network. The computing nodes all include local processing and memory resources, and the end user 202 can remotely run applications or store data in the computing environment 201. Applications can be provided as multiple services 220-1, 220-2, 220-3, and 220-4 in the computing environment 201, representing services "A," "D," "E," and "H," respectively.
[0054] End user 202 can provide and access services through a web browser or other software application on a client. In some embodiments, the end user 202's provision and / or request can be provided to the entry gateway 230. The entry gateway 230 may include a corresponding agent to handle the provision and / or request for services (one or more services provided by the computing environment 201). For example, in an embodiment of the present invention, when performing a quantum error correction simulation on a quantum chip, the end user 202 provides relevant information about the quantum chip, and the computing environment provides the entire quantum error correction simulation, and then feeds the simulation results back to the end user 202.
[0055] Services are provided or deployed based on various virtualization technologies supported by the computing environment 201. In some embodiments, services can be provided based on virtual machine (VM)-based virtualization, container-based virtualization, and / or similar methods. Virtual machine-based virtualization can be to simulate a real computer by initializing a virtual machine, executing programs and applications without directly contacting any actual hardware resources. While the virtual machine virtualizes the machine, according to container-based virtualization, a container can be started to virtualize the entire operating system (OS) so that multiple workloads can run on a single operating system instance.
[0056] In one embodiment based on container virtualization, several containers of a service can be assembled into a Pod (e.g., a Kubernetes Pod). For example, as shown in Figure 2, service 220-2 can be equipped with one or more Pods 240-1, 240-2, ..., 240-N (collectively referred to as Pods). The Pod may include a proxy 245 and one or more containers 242-1, 242-2, ..., 242-M (collectively referred to as containers). One or more containers in the Pod process requests related to one or more corresponding functions of the service, and the proxy 245 generally controls network functions related to the service, such as routing, load balancing, etc. Other services can also be accompanied by Pods similar to Pods.
[0057] During operation, executing a user request from end user 202 may require invoking one or more services in computing environment 201. Executing one or more functions of one service may require invoking one or more functions of another service. As shown in FIG2 , service "A" 220-1 receives a user request from end user 202 from ingress gateway 230. Service "A" 220-1 may invoke service "D" 220-2, and service "D" 220-2 may request service "E" 220-3 to execute one or more functions.
[0058] This computing environment can be a cloud computing environment, where resource allocation is managed by cloud services, allowing for feature development without having to worry about implementing, adjusting, or scaling servers. This computing environment allows developers to execute code in response to events without building or maintaining complex infrastructure. Services can be partitioned to perform a set of functions that can scale independently and automatically, rather than scaling a single hardware device to handle the potential load.
[0059] In the above operating environment, in response to the above problems mentioned in this application, this application provides a quantum error correction processing method as shown in Figure 3. Figure 3 is a flow chart of the quantum error correction processing method according to embodiment 1 of the present invention. As shown in Figure 3, the process includes the following steps:
[0060] Step S302: Constructing a noise model for the quantum chip based on the target parameters of the quantum chip. The noise model is used to represent the probability of errors occurring in operations included in the operation process of the quantum chip. Errors include independent errors and correlated errors. Independent errors are errors caused by a single operation itself, and correlated errors are errors caused by errors in other operations associated with the operation.
[0061] As an optional embodiment, the execution entity of the method of this embodiment can be a terminal or server used for quantum error correction processing. The terminal can be of various types, for example, a mobile terminal capable of certain computational simulations or a fixed computer device with computational simulation capabilities. The server can also be of various types, for example, a local server or a virtual cloud server. Depending on the computing power, the server can be a single computer device or a computer cluster composed of multiple integrated computers.
[0062] As an optional embodiment, the quantum chip may refer to a device collection for implementing a certain function, where the device collection includes multiple devices, such as quantum bits, quantum gates, quantum controllers, quantum readout resonant cavities, etc. For example, the quantum chip may be a quantum processor.
[0063] As an optional embodiment, the quantum error correction processing method involved in the embodiment of the present invention can be a simulation processing method, that is, after performing quantum error correction on the quantum chip through computer simulation, the probability of logical errors occurring in the quantum chip after quantum error correction is obtained.
[0064] As an optional embodiment, the operation may be any operation in quantum operation, for example, a quantum gate operation, a quantum measurement operation, a quantum initialization operation, etc.
[0065] As an optional embodiment, the object of the operation may be a superconducting qubit, and the superconducting qubit may be of various types, for example, a Transmon qubit or a Fluxonium qubit.
[0066] As an optional embodiment, before constructing a quantum chip noise model based on the target parameters of the quantum chip, the target parameters of the quantum chip can be determined using various methods. These target parameters can include various types, such as chip parameters of the quantum chip or control parameters of the quantum chip. For example, the target parameters of the quantum chip can be determined by obtaining the chip parameters and control parameters of the quantum chip, where the chip parameters are attribute parameters of the quantum chip and the control parameters are parameters that can be adjusted during the operation of the quantum chip; and then determining the target parameters of the quantum chip based on the chip parameters and control parameters. The aforementioned chip parameters are inherent parameters of the quantum chip that determine the form of the Hamiltonian and cannot be changed after the quantum chip leaves the factory. The chip parameters are attribute parameters of the quantum chip that identify attribute information of the quantum chip. This attribute information cannot be changed after the quantum chip leaves the factory, such as the size, capacitance, inductance, and dielectric constant of the material of each device in the quantum chip. The above-mentioned control parameters are parameters that can be adjusted during the operation of the quantum chip. That is, they are parameters that describe the control scheme. For example, when describing the waveform of the electrical signal generated by an arbitrary waveform generator, the corresponding control parameters can be the amplitude and frequency of the waveform, etc.
[0067] Through the above processing, the chip parameters and control parameters of the quantum chip are used, that is, the combination of unchanging chip parameters and adjustable control parameters, that is, the combination of dynamic and static parameters, to construct a noise model of the quantum chip. This can be more in line with the actual operation scenario of the quantum chip. Therefore, compared with the related technology that only relies on some simple parameters (for example, only based on some simple and fixed chip parameters) to characterize the factors that can cause errors in the quantum chip, it can more accurately represent the entire operation scenario of the quantum chip. Therefore, when performing corresponding quantum error correction, it can also be more comprehensive and accurate.
[0068] As an optional embodiment, the noise model described above is used to represent the probability of errors occurring in a quantum chip. Since a quantum chip operates by including multiple quantum operations, and these operations are interrelated, meaning they influence each other, the noise model represents the probability of errors occurring in each operation included in the quantum chip's operation. This noise model can be used to represent the probability of errors occurring in each operation included in the quantum chip's operation. Errors include independent errors and correlated errors. Independent errors are errors caused by a single operation itself, while correlated errors are errors caused by errors in other operations associated with the operation. It should be noted that the independent errors described above can be errors caused by the operation itself. For example, in a quantum gate operation, the logical operation performed is a quantum state flip—that is, when the system quantum state is 0, it is converted to 1, and when the system quantum state is 1, it is converted to 0. If the operation itself is erroneous, then if the system quantum state is 0, the system quantum state flip will not be executed, and after the operation is executed, the system quantum state will remain 0. Similarly, if the system quantum state is 1, the system quantum state flip will not be executed, and the system quantum state will remain 1. The above-mentioned correlation errors can be direct or indirect. They can be errors in the logical order of execution, or errors caused by combining the results of independent operations.
[0069] Therefore, the above-mentioned independent error can refer to an error caused by the operation itself, which is not caused by other related operations. Alternatively, the above-mentioned independent error can be understood as an error caused by a single error mechanism in a single operation on the quantum chip.
[0070] The aforementioned correlated errors can be errors caused by errors in other operations associated with the operation. These correlated errors can also be errors in the operation itself caused by other operations that are mutually correlated with the operation. Alternatively, the aforementioned correlated operations can be understood as errors in multiple operations on a quantum chip caused by some error mechanism. For example, correlated operations on a quantum chip can be errors in multiple bits on the quantum chip caused by some error mechanism at once, or errors in multiple simultaneously executed quantum gates.
[0071] As an optional embodiment, when constructing a noise model of a quantum chip based on the target parameters of the quantum chip, the following method can be adopted: based on the target parameters of the quantum chip, determining the system state representation of the quantum chip; based on the system state representation, obtaining the evolution result of the quantum chip over time within a predetermined time, and the expected result within the predetermined time; obtaining the difference between the evolution result and the expected result; and constructing the noise model of the quantum chip based on the difference.
[0072] The system state representation can be the system Hamiltonian of the quantum chip. When the system state representation is the system Hamiltonian of the quantum chip, the following processing method can be used to obtain the evolution result of the quantum chip over time based on the system state representation: establish the Schrödinger equation of the quantum chip based on the system Hamiltonian, where the Schrödinger equation is used to describe the evolution relationship of the system quantum state of the quantum chip over time; and determine the evolution result of the quantum chip over time based on the Schrödinger equation. Using the above processing, the evolution of the system quantum state of the quantum chip over time is obtained by solving the Schrödinger equation in quantum mechanics. After the predetermined time is determined, the evolution result corresponding to the predetermined time can be obtained. The evolution result can be used to characterize the system quantum state of the quantum chip. For example, for a quantum bit, a two-dimensional space vector is used to represent it, and for n quantum bits, a 2n-dimensional space vector is used to represent it, where n is a positive integer.
[0073] As an optional embodiment, the expected result is the theoretical result of the quantum chip within the predetermined time. When obtaining the difference between the evolution result and the expected result, the difference is the difference between the evolution result after the computer simulates the evolution through calculation and the theoretical result. To give a simple example, when the quantum system corresponding to the quantum chip is a single quantum bit, for example, within a predetermined time, the theoretical quantum state of the single quantum bit, that is, the expected quantum state, is 1, and the evolution result of the quantum state of the single quantum bit determined based on the Hamiltonian of the system is 0.998, then the difference between the two is 0.002. It should be noted that the above-mentioned numbers 1 and 0.998 are only examples of real numbers, and the actual quantum state can be a complex number. When the quantum state of the system is composed of multiple quantum bits, it is a comparison between the vectors corresponding to the multi-dimensional quantum bits. For a quantum chip, it is more likely that the system is composed of multiple quantum bits. Therefore, the difference is the comparison result between two multi-dimensional vectors.
[0074] As an optional embodiment, when constructing a noise model for a quantum chip, the differences obtained through computer simulation can be used to represent the probability of errors in the operations included in the quantum chip. Furthermore, when constructing a noise model, the computational power required to simulate multiple qubits is enormous, resulting in low simulation efficiency. To improve subsequent simulation efficiency, when constructing the noise model for the quantum chip based on the differences, the following process can be employed: if the differences are coherent errors, the coherent errors are converted to Pauli errors; and the noise model for the quantum chip is constructed based on the Pauli errors. In quantum computing, coherent errors occur when a quantum system deviates from expected behavior due to factors such as imperfect qubit control or interactions with the environment. These errors are deterministic and can be corrected using error-correcting codes. Therefore, in this embodiment of the present invention, coherent errors are caused by imperfect control of the quantum computing system, that is, imperfect control of the quantum chip. Therefore, in quantum computing systems, coherent errors are the cause of system inaccuracies, including various imperfect factors.
[0075] On the other hand, Pauli errors refer to random errors that affect quantum systems, such as thermal noise or electromagnetic interference. Therefore, Pauli errors can be simulated as random Pauli operations with a certain probability. Converting coherent errors into random Pauli errors is an efficient processing method in fault-tolerant quantum computing, which can make error correction more effective. At the same time, converting to Pauli errors can also make the simulation of quantum error correction more efficient on classical computers. In short, converting coherent errors into random Pauli errors is an efficient processing technology for fault-tolerant quantum computing. By designing error correction codes to correct errors in a wider range, error correction is made more effective. Therefore, converting coherent errors into Pauli errors can simply and efficiently characterize the errors of the quantum system corresponding to the quantum chip. Therefore, compared with coherent errors, Pauli errors simplifies the complexity of errors, that is, they can effectively simplify the errors of the quantum system, facilitate the simulation of subsequent noise models, and improve simulation efficiency.
[0076] As an optional embodiment, the larger the number of qubits a quantum chip includes, the exponentially increased computational effort required for simulation. Therefore, to further improve simulation efficiency, a portion of the quantum chip can be selected for local simulation, and then other portions can be simulated based on the local simulation results. For example, when constructing a noise model for a quantum chip based on the target parameters of the quantum chip, the following processing method can be used: intercepting a target portion of the quantum chip; determining local parameters of the target portion based on the target parameters, where the local parameters include device parameters of the target portion and local control parameters that control the target portion; constructing a noise model for the target portion based on the local parameters; and constructing a noise model for the quantum chip based on the noise model of the target portion. It should be noted that the target portion of the quantum chip intercepted can be a representative or typical portion of the quantum chip, for example, the portion with the highest probability of similar errors as other portions, or the portion with the most frequent structure occurrences. The local parameters refer to the parameters used for noise simulation of the target portion, including device parameters of the device included in the portion and local control parameters that control the target portion. Device parameters include device structural parameters and material parameters. Structural parameters include size, shape, etc. Material parameters include dielectric constant, capacitance, resistance, inductance, etc. The above-mentioned local control parameters are parameters of the signal input to the target part when simulating the target part, such as the amplitude and frequency of the input microwave signal.
[0077] By selecting some typical or representative parts to construct noise models, noise models are constructed for other parts based on the constructed models. Since the target part has certain typicality and representativeness, after simulating the target part, other similar parts or the same parts can directly apply the simulation results. For some other parts with relatively large deviations, the simulation results can also be adjusted accordingly. Compared with directly simulating all parts, the efficiency of model construction is effectively improved and computing resources are effectively saved.
[0078] As an optional embodiment, when constructing a noise model for a quantum chip based on the noise model of a target local area, the noise model of the corresponding part is constructed for each different part of the quantum chip based on the noise model of the target local area. This can be achieved by: determining similar local areas that have similarities with the target local area, and different local areas that do not have similarities with the target local area; determining the noise model of similar local areas based on the noise model of the target local area; determining the noise model of different local areas; and constructing the noise model of the quantum chip based on the noise model of the target local area, the noise model of similar local areas, and the noise model of different local areas. Partitioning is performed based on the parts that are the same as or different from the target local area, so that different parts can be effectively treated separately, thereby effectively determining the noise models corresponding to different parts, and thus efficiently obtaining the noise model of the entire quantum chip. It should be noted that when determining similar local areas that have similarities with the target local area, the determination can be based on comparison of each local area. For example, for quantum bits that are repeatedly arranged in a certain order, the repeated structure is selected as the target local area, and then the parts that are the same as the target local area are found as similar local areas. The parts remaining after the comparison can be considered as different local areas.
[0079] Step S304: Based on the noise model, a quantum error correction simulation is performed on the operation process of the quantum chip to obtain the probability of a logical error occurring after the quantum chip performs quantum error correction.
[0080] As an optional embodiment, based on a noise model, quantum error correction is simulated in the operation process of the quantum chip to obtain the probability of a logical error occurring after the quantum chip performs quantum error correction, including: based on the noise model, quantum error correction is simulated in the operation process of the quantum chip to obtain the system quantum state of the quantum chip after the quantum chip performs quantum error correction; based on the system quantum state, erroneous operations occurring in the operation process of the quantum chip are counted to obtain statistical data; based on the statistical data, the probability of a logical error occurring after the quantum chip performs quantum error correction is determined.
[0081] When counting operations that result in errors during the operation of the quantum chip based on the system quantum state, it is possible to determine whether an error occurred for each operation included in the quantum chip's operation based on the system quantum state. Subsequently, based on the statistical data obtained from the operations that resulted in errors, the probability of a logical error occurring after the quantum chip performs quantum error correction is determined based on the statistical data and the total number of operations. For example, if 15 of the 100 operations included in the quantum chip result in errors, the probability of a logical error occurring after the quantum chip performs quantum error correction is 15%.
[0082] As an optional embodiment, after simulating quantum error correction during the operation of a quantum chip based on a noise model and obtaining the probability of a logical error occurring after the quantum chip performs quantum error correction, the method further includes: determining a functional relationship between the probability of a logical error occurring in the quantum chip and a target parameter; and performing gradient optimization on the target parameter based on the functional relationship. Taking the probability of a logical error occurring in the quantum chip as the optimization target, gradient optimization is performed on the target parameter based on the functional relationship between the probability of a logical error occurring and the target parameter. Using gradient optimization can effectively improve the optimization efficiency of the target parameter. Specifically, the target parameter can be differentiated based on the probability of a logical error occurring to determine the optimization direction of the target parameter and achieve optimization of the target parameter.
[0083] Through the above processing, a noise model of the quantum chip is constructed to represent the probability of errors in the operation of the quantum chip during operation. Since the errors in the simulation include not only errors caused by the operation itself, but also errors caused by associated operations associated with the operation, the noise model describes the noise more accurately. Therefore, when quantum error correction of the quantum chip is simulated based on the noise model, the quantum error correction is also more accurate. After obtaining the probability of logical errors after the quantum chip performs quantum error correction, the quantum error correction effect can be reflected more directly and accurately. Since the noise model not only represents the errors caused by the operation itself, but also represents associated errors, the subsequent simulation of quantum error correction based on the noise model is also more accurate, effectively improving the effect of quantum error correction. This effectively solves the technical problem in the related art of poor error correction effect when performing quantum error correction on quantum chips.
[0084] Based on the above embodiment and optional embodiment, an optional implementation manner is provided.
[0085] As mentioned above, excellent quantum error correction performance is required on superconducting chips. However, the relevant technologies lack simulation tools to evaluate this performance and optimize it accordingly. Although some simplified noise models are used to evaluate quantum error correction, they may not necessarily reflect the actual conditions of many superconducting quantum chips.
[0086] FIG4 is a flow chart of a quantum error correction method according to an optional embodiment of the present invention. As shown in FIG4 , the process includes the following steps:
[0087] Step S1: Determine target parameters for the quantum chip. The target parameters include chip parameters and control parameters. Chip parameters are inherent design parameters of the quantum chip, such as the capacitance and inductance of a quantum bit. Control parameters may include the length and width of a coplanar waveguide. Control parameters are parameters used to control the quantum chip and can be adjusted based on control needs.
[0088] Step S2: Based on the target parameters, the Hamiltonian of the system corresponding to the quantum chip is determined, and the evolution result of the system over a certain period of time is obtained based on the Hamiltonian. For example, the computational principles of quantum mechanics are used to calculate how the system evolves (changes) over time based on the Schrödinger equation, and the evolution result over a certain period of time is obtained, where the certain period of time is the corresponding predetermined time, which can be a time unit of the quantum chip, and the performance of the quantum chip is observed within this unit of time.
[0089] Step S3: determining the difference between the evolution result and the expected result, that is, determining the difference between the evolution result obtained by the above evolution and the ideal operation to be achieved.
[0090] Step S4: Construct a noise model based on this difference. For each logical operation in the quantum chip, there is a probability of an error occurring. The noise model describes the probability of each logical operation occurring in each error. Figure 5 illustrates the error probability for operations in the quantum chip as represented by the noise model according to an optional embodiment of the present invention. As shown in Figure 5, the quantum chip may include multiple qubits, which can perform different operations between qubits. For example, in the figure, different lines represent different qubits, and the connections between qubits represent the operations performed on the qubits. For example, the leftmost connection in the figure involves two qubits. The qubit corresponding to the solid dot is the control bit, which outputs a control signal, and the qubit corresponding to the circle is the target bit, which performs an operation based on the control signal output by the control bit. Specifically, for example, the operation is a CNOT gate operation. When the control bit is in the state of 1, the target bit performs a flip operation. The operation can be one of the operations in the series, in the figure, the first operation in the series, and this operation has a 1% probability of an error occurring.
[0091] When constructing a noise model based on the above differences, one can first perform local modeling on the quantum chip, followed by global modeling, thereby improving the efficiency of noise modeling. Figure 6 is a schematic diagram of global modeling based on local modeling, provided in an optional embodiment of the present invention. As shown in Figure 6, the entire quantum chip includes multiple qubits, which are arranged according to a certain order (it should be noted that the figure only shows a partial structure, and the qubits included in the quantum chip can also be arranged in a cyclic pattern). For example, in the figure, different labels correspond to different qubits, and the same labels correspond to the same qubit. When selecting local modeling, the structure framed on the right can be used as the target local area, and then similar local areas similar to the target local area are found, such as the structure framed on the left. Other different local areas, such as the structure formed by the first and second qubits in the first row, are simulated independently to obtain simulation results for these different local areas. Similar operations are also performed on other different local areas in the quantum chip to obtain corresponding simulation results. Ultimately, the noise model of the quantum chip is obtained by combining the simulation results of the target local area, the simulation results of similar local areas, and the simulation results of different local areas. Using the above-mentioned local modeling method, for similar local parts that are similar to the target local part, due to their similar structures, the simulation results of the target local part can be directly used as the simulation results of the similar local part, which greatly reduces repeated operations, effectively saves computing resources, and improves modeling efficiency.
[0092] Step S5: simulate quantum error correction using a noise model.
[0093] Step S6: Obtain the error rate after quantum error correction (which can also be the probability of logical bit error, which is the ultimate goal of interest).
[0094] It should be noted that logical bits are composed of many real bits, and the goal is to minimize the error rate. The probability of a logical bit error is as follows: The logical bits have an initial state. During the process, real bits continuously make errors, and through continuous testing, test results are obtained. If the initial state can be successfully inferred based on the final state and the test results during the process, there is no logical error.
[0095] Furthermore, after obtaining the error rate after quantum error correction, the target parameters of the quantum chip can be optimized in reverse. The optimization method can be gradient optimization. When gradient optimization is used, the target parameters can be derived based on the error rate.
[0096] Through the above optional implementation method, it is possible to perform a detailed simulation of the quantum gate errors of a multi-bit quantum chip, and perform quantum error correction simulation based on specific multi-bit errors to obtain the error rate of the quantum chip after quantum error correction. In addition, based on the above simulation process, it is also possible to perform gradient optimization of the target parameters of the quantum chip. Since the target parameters include the chip parameters and control parameters of the quantum chip, the joint optimization of the chip parameters and the control parameters is effectively achieved.
[0097] It should be noted that for the aforementioned method embodiments, for simplicity of description, they are all expressed as a series of action combinations. However, those skilled in the art should be aware that the present invention is not limited by the order of the actions described, because according to the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in this specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.
[0098] Through the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus the necessary general hardware platform, and of course it can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a computer-readable storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for enabling a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods of various embodiments of the present invention.
[0099] Example 2
[0100] According to an embodiment of the present invention, a device for implementing the above-mentioned quantum error correction processing method is also provided. FIG7 is a structural block diagram of the quantum error correction processing device provided according to an embodiment of the present invention. As shown in FIG7 , the device includes: a construction module 70 and a processing module 72. The device is described in the front.
[0101] A construction module 70 is used to construct a noise model of the quantum chip based on the target parameters of the quantum chip, wherein the noise model is used to represent the probability of errors occurring in the operations included in the operation process of the quantum chip, and the errors include independent errors and correlated errors. Independent errors are errors caused by a single operation itself, and correlated errors are errors caused by errors in other operations associated with the operation. A processing module 72 is connected to the above-mentioned construction module 70 and is used to simulate quantum error correction during the operation process of the quantum chip based on the noise model to obtain the probability of logical errors occurring after the quantum chip performs quantum error correction.
[0102] It should be noted that the construction module 70 and processing module 72 correspond to steps S302 to S304 in Example 1. The examples and application scenarios implemented by the modules and the corresponding steps are the same, but are not limited to the contents disclosed in Example 1. It should be noted that the modules, as part of the device, can be run in the computer terminal 10 provided in Example 1.
[0103] Example 3
[0104] The embodiment of the present invention can provide a computer terminal, which can be any computer terminal device in a computer terminal group. Optionally, in this embodiment, the computer terminal can also be replaced by a terminal device such as a mobile terminal.
[0105] Optionally, in this embodiment, the computer terminal may be located in at least one network device among a plurality of network devices of a computer network.
[0106] In this embodiment, the above-mentioned computer terminal can execute the program code of the following steps in the quantum error correction processing method of the application: based on the target parameters of the quantum chip, constructing a noise model of the quantum chip, wherein the noise model is used to represent the probability of errors occurring in the operations included in the operation process of the quantum chip, wherein the errors include independent errors and associated errors. Independent errors are errors caused by a single operation itself, and associated errors are errors caused by errors in other operations associated with the operation; based on the noise model, quantum error correction is simulated on the operation process of the quantum chip to obtain the probability of logical errors occurring after the quantum chip executes quantum error correction.
[0107] Alternatively, Figure 8 is a structural block diagram of a computer terminal according to an embodiment of the present invention. As shown in Figure 8 , the computer terminal may include: one or more (only one is shown in the figure) processors 82, a memory 84, and the like.
[0108] The memory can be used to store software programs and modules, such as the program instructions / modules corresponding to the quantum error correction processing method and device in the embodiments of the present invention. The processor executes the software programs and modules stored in the memory to perform various functional applications and data processing, that is, to implement the above-mentioned quantum error correction processing method. The memory may include high-speed random access memory and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory may further include a memory remotely located relative to the processor, and these remote memories may be connected to the computer terminal 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.
[0109] The processor can call the information and application programs stored in the memory through the transmission device to perform the following steps: construct a noise model of the quantum chip based on the target parameters of the quantum chip, wherein the noise model is used to represent the probability of errors occurring in the operations included in the operation process of the quantum chip, and the errors include independent errors and correlated errors. Independent errors are errors caused by a single operation itself, and correlated errors are errors caused by errors in other operations associated with the operation; based on the noise model, simulate quantum error correction in the operation process of the quantum chip to obtain the probability of logical errors occurring after the quantum chip performs quantum error correction.
[0110] The processor can call the information and application programs stored in the memory through the transmission device to perform the following steps: before building the noise model of the quantum chip based on the target parameters of the quantum chip, it also includes: obtaining the chip parameters and control parameters of the quantum chip, wherein the chip parameters are the attribute parameters of the quantum chip, and the control parameters are the parameters that support adjustment when the quantum chip is running; based on the chip parameters and the control parameters, determining the target parameters of the quantum chip.
[0111] The processor can call the information and application stored in the memory through the transmission device to perform the following steps: constructing a noise model of the quantum chip based on the target parameters of the quantum chip, including: determining the system state representation of the quantum chip based on the target parameters of the quantum chip; obtaining the evolution result of the quantum chip over time within a predetermined time and the expected result within the predetermined time based on the system state representation; obtaining the difference between the evolution result and the expected result; and constructing the noise model of the quantum chip based on the difference.
[0112] The processor can call the information and application stored in the memory through the transmission device to perform the following steps: based on the system state representation, obtain the evolution result of the quantum chip evolving over time within a predetermined time, including: when the system state representation is the system Hamiltonian of the quantum chip, establish the Schrödinger equation of the quantum chip based on the system Hamiltonian, wherein the Schrödinger equation is used to describe the evolution relationship of the system quantum state of the quantum chip over time; based on the Schrödinger equation, determine the evolution result obtained by the quantum chip evolving over time within the predetermined time.
[0113] The processor can call the information and application stored in the memory through the transmission device to perform the following steps: constructing a noise model of the quantum chip based on the difference, including: when the difference is a coherent error, converting the coherent error into a Pauli error; constructing a noise model of the quantum chip based on the Pauli error.
[0114] The processor can call the information and application programs stored in the memory through the transmission device to perform the following steps: constructing a noise model of the quantum chip based on the target parameters of the quantum chip, including: intercepting a target part of the quantum chip; determining local parameters of the target part based on the target parameters, wherein the local parameters include device parameters of the target part and local control parameters for controlling the target part; constructing a noise model of the target part based on the local parameters; and constructing a noise model of the quantum chip based on the noise model of the target part.
[0115] The processor can call the information and application stored in the memory through the transmission device to perform the following steps: constructing a noise model of the quantum chip based on the noise model of the target local area, including: determining a similar local area that is similar to the target local area, and a different local area that is not similar to the target local area; determining a noise model of a similar local area based on the noise model of the target local area; determining a noise model of a different local area; and constructing a noise model of the quantum chip based on the noise model of the target local area, the noise model of the similar local area, and the noise model of the different local area.
[0116] The processor can call the information and application programs stored in the memory through the transmission device to perform the following steps: after simulating the operation process of the quantum chip with quantum error correction based on the noise model and obtaining the probability of logical errors occurring after the quantum chip performs quantum error correction, it also includes: determining the functional relationship between the probability of logical errors occurring in the quantum chip and the target parameters; and performing gradient optimization on the target parameters based on the functional relationship.
[0117] The processor can call the information and application programs stored in the memory through the transmission device to perform the following steps: based on the noise model, simulate the quantum error correction of the operation process of the quantum chip to obtain the probability of logical errors occurring after the quantum chip performs quantum error correction, including: based on the noise model, simulate the quantum error correction of the operation process of the quantum chip to obtain the system quantum state of the quantum chip after the quantum chip performs quantum error correction; based on the system quantum state, count the erroneous operations that occur in the operation process of the quantum chip to obtain statistical data; based on the statistical data, determine the probability of logical errors occurring after the quantum chip performs quantum error correction.
[0118] The processor can call the information and application stored in the memory through the transmission device to perform the following steps: the operation includes at least one of the following: quantum gate operation, quantum initialization operation, and quantum measurement operation.
[0119] The processor can call the information and application programs stored in the memory through the transmission device to perform the following steps: the object of the operation is a superconducting quantum bit, which includes a Fluxonium quantum bit.
[0120] Those skilled in the art will appreciate that the structure shown in FIG8 is merely illustrative, and that the computer terminal may also be a smartphone (e.g., an Android phone, an iOS phone, etc.), a tablet computer, a handheld computer, a mobile internet device (MID), a PAD, or other terminal device. FIG8 does not limit the structure of the aforementioned electronic devices. For example, the computer terminal 8 may include more or fewer components (e.g., a network interface, a display device, etc.) than those shown in FIG8 , or may have a configuration different from that shown in FIG8 .
[0121] A person skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing the hardware related to the terminal device through a program, and the program can be stored in a computer-readable storage medium, which may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0122] Example 4
[0123] The embodiment of the present invention further provides a computer-readable storage medium. Optionally, in this embodiment, the computer-readable storage medium can be used to store the program code executed by the quantum error correction method provided in the first embodiment.
[0124] Optionally, in this embodiment, the computer-readable storage medium may be located in any computer terminal in a computer terminal group in a computer network, or in any mobile terminal in a mobile terminal group.
[0125] Optionally, in this embodiment, the computer-readable storage medium is configured to store program code for performing the following steps: constructing a noise model of the quantum chip based on the target parameters of the quantum chip, wherein the noise model is used to represent the probability of errors occurring in operations included in the operation process of the quantum chip, and errors include independent errors and associated errors. Independent errors are errors caused by a single operation itself, and associated errors are errors caused by errors in other operations associated with the operation; based on the noise model, simulating quantum error correction in the operation process of the quantum chip to obtain the probability of logical errors occurring after the quantum chip performs quantum error correction.
[0126] Optionally, in this embodiment, the computer-readable storage medium is further configured to store program code for executing the following steps: before constructing the noise model of the quantum chip based on the target parameters of the quantum chip, it also includes: obtaining chip parameters and control parameters of the quantum chip, wherein the chip parameters are attribute parameters of the quantum chip, and the control parameters are parameters that support adjustment when the quantum chip is running; and determining the target parameters of the quantum chip based on the chip parameters and the control parameters.
[0127] Optionally, in this embodiment, the computer-readable storage medium is further configured to store program code for executing the following steps: constructing a noise model of the quantum chip based on the target parameters of the quantum chip, including: determining a system state characterization of the quantum chip based on the target parameters of the quantum chip; obtaining an evolution result of the quantum chip evolving over time within a predetermined time and an expected result within the predetermined time based on the system state characterization; obtaining a difference between the evolution result and the expected result; and constructing a noise model of the quantum chip based on the difference.
[0128] Optionally, in this embodiment, the computer-readable storage medium is further configured to store program code for executing the following steps: based on the system state characterization, obtaining the evolution results of the quantum chip evolving over time within a predetermined time, including: when the system state characterization is the system Hamiltonian of the quantum chip, establishing the Schrödinger equation of the quantum chip based on the system Hamiltonian, wherein the Schrödinger equation is used to describe the evolution relationship of the system quantum state of the quantum chip over time; based on the Schrödinger equation, determining the evolution results obtained by the evolution of the quantum chip over time within the predetermined time.
[0129] Optionally, in this embodiment, the computer-readable storage medium is further configured to store program code for performing the following steps: constructing a noise model of the quantum chip based on the difference, including: when the difference is a coherent error, converting the coherent error into a Pauli error; and constructing a noise model of the quantum chip based on the Pauli error.
[0130] Optionally, in this embodiment, the computer-readable storage medium is further configured to store program code for executing the following steps: constructing a noise model of the quantum chip based on target parameters of the quantum chip, including: intercepting a target part of the quantum chip; determining local parameters of the target part based on the target parameters, wherein the local parameters include device parameters of the target part and local control parameters for controlling the target part; constructing a noise model of the target part based on the local parameters; and constructing a noise model of the quantum chip based on the noise model of the target part.
[0131] Optionally, in this embodiment, the computer-readable storage medium is further configured to store program code for executing the following steps: constructing a noise model of the quantum chip based on the noise model of the target local area, including: determining a similar local area that has similarity to the target local area, and a different local area that has no similarity to the target local area; determining a noise model of a similar local area based on the noise model of the target local area; determining a noise model of a different local area; and constructing a noise model of the quantum chip based on the noise model of the target local area, the noise model of the similar local area, and the noise model of the different local area.
[0132] Optionally, in this embodiment, the computer-readable storage medium is further configured to store program code for executing the following steps: after simulating quantum error correction on the operation process of the quantum chip based on the noise model and obtaining the probability of logical errors occurring after the quantum chip performs quantum error correction, it also includes: determining a functional relationship between the probability of logical errors occurring in the quantum chip and a target parameter; and performing gradient optimization on the target parameter based on the functional relationship.
[0133] Optionally, in this embodiment, the computer-readable storage medium is further configured to store program code for executing the following steps: based on a noise model, simulating quantum error correction on the operation process of the quantum chip to obtain the probability of a logical error occurring after the quantum chip performs quantum error correction, including: based on a noise model, simulating quantum error correction on the operation process of the quantum chip to obtain a system quantum state of the quantum chip after the quantum chip performs quantum error correction; based on the system quantum state, counting erroneous operations occurring in the operation process of the quantum chip to obtain statistical data; based on the statistical data, determining the probability of a logical error occurring after the quantum chip performs quantum error correction.
[0134] Optionally, in this embodiment, the computer-readable storage medium is further configured to store program codes for executing the following steps: the operation includes at least one of the following: quantum gate operation, quantum initialization operation, and quantum measurement operation.
[0135] Optionally, in this embodiment, the computer-readable storage medium is further configured to store program codes for executing the following steps: the object of the operation is a superconducting quantum bit, and the superconducting quantum bit includes a Fluxonium quantum bit.
[0136] The serial numbers of the above embodiments of the present invention are for description only and do not represent the advantages or disadvantages of the embodiments.
[0137] In the above embodiments of the present invention, the description of each embodiment has its own focus. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0138] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0139] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.
[0140] In addition, the functional units in the various embodiments of the present invention may be integrated into a single processing unit, each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.
[0141] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it 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 all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a computer-readable storage medium, including a number of instructions for enabling a computer device (which can be a personal computer, server or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned computer-readable storage medium includes: various media that can store program codes, such as a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk.
[0142] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as within the scope of protection of the present invention.
Claims
1. A quantum error correction processing method, characterized in that: include: Based on the target parameters of the quantum chip, a noise model of the quantum chip is constructed, wherein the noise model is used to represent the probability of errors in the operations included in the operation process of the quantum chip, and the errors include independent errors and associated errors. The independent errors are errors caused by the operations themselves, and the associated errors are errors caused by errors in other operations associated with the operations. Based on the noise model, a quantum error correction simulation is performed on the operation process of the quantum chip to obtain the probability of a logical error occurring after the quantum chip performs quantum error correction.
2. The method according to claim 1, characterized in that: Before constructing the noise model of the quantum chip based on the target parameters of the quantum chip, the method further includes: Acquire chip parameters and control parameters of the quantum chip, wherein the chip parameters are attribute parameters of the quantum chip, and the control parameters are parameters that support adjustment when the quantum chip is running; Based on the chip parameters and the control parameters, the target parameters of the quantum chip are determined.
3. The method according to claim 1, characterized in that The step of constructing a noise model of the quantum chip based on target parameters of the quantum chip includes: Determining a system state representation of the quantum chip based on target parameters of the quantum chip; Based on the system state representation, obtaining an evolution result of the quantum chip evolving over time within a predetermined time, and an expected result within the predetermined time; Obtaining a difference between the evolution result and the expected result; Based on the difference, a noise model of the quantum chip is constructed.
4. The method according to claim 3, characterized in that The step of obtaining the evolution result of the quantum chip evolving over time within a predetermined time based on the system state representation includes: When the system state is characterized by the system Hamiltonian of the quantum chip, a Schrödinger equation of the quantum chip is established based on the system Hamiltonian, wherein the Schrödinger equation is used to describe the evolution relationship of the system quantum state of the quantum chip over time; Based on the Schrödinger equation, an evolution result of the quantum chip evolving over time within the predetermined time is determined.
5. The method according to claim 3, characterized in that: The step of constructing a noise model of the quantum chip based on the difference comprises: In the case where the difference is a coherent error, converting the coherent error into a Pauli error; Based on the Pauli error, a noise model of the quantum chip is constructed.
6. The method according to claim 1, characterized in that The step of constructing a noise model of the quantum chip based on target parameters of the quantum chip includes: intercepting a target portion of the quantum chip; Based on the target parameters, determining local parameters of the target part, wherein the local parameters include device parameters of the target part and local control parameters for controlling the target part; Based on the local parameters, construct a noise model of the target local area; Based on the local noise model of the target, a noise model of the quantum chip is constructed.
7. The method according to claim 6, characterized in that The step of constructing the noise model of the quantum chip based on the local noise model of the target includes: Determine a similar part that is similar to the target part, and a different part that is not similar to the target part; Determining the noise model of the similar local area based on the noise model of the target local area; Determining the noise models of the different local areas; A noise model of the quantum chip is constructed based on the noise model of the target local area, the noise model of the similar local area, and the noise model of the different local area.
8. The method according to claim 1, characterized in that After simulating quantum error correction on the operation process of the quantum chip based on the noise model to obtain the probability of logical errors occurring after the quantum chip performs quantum error correction, the method further includes: Determining a functional relationship between a probability of a logical error occurring in the quantum chip and the target parameter; Based on the functional relationship, the target parameter is gradient optimized.
9. The method according to claim 1, characterized in that: The simulating the quantum error correction of the operation process of the quantum chip based on the noise model to obtain the probability of a logical error occurring after the quantum chip performs the quantum error correction includes: Based on the noise model, simulating quantum error correction on the operation process of the quantum chip to obtain the system quantum state of the quantum chip after the quantum chip performs quantum error correction; Based on the quantum state of the system, statistics are collected on erroneous operations during the operation of the quantum chip to obtain statistical data; Based on the statistical data, the probability of a logical error occurring after the quantum chip performs quantum error correction is determined.
10. The method according to claim 1, characterized in that The operation includes at least one of the following: quantum gate operation, quantum initialization operation, and quantum measurement operation.
11. The method according to any one of claims 1 to 10, characterized in that The object of the operation is a superconducting quantum bit, and the superconducting quantum bit includes a Fluxonium quantum bit.
12. A quantum error correction processing device, characterized in that: include: A construction module is used to construct a noise model of the quantum chip based on the target parameters of the quantum chip, wherein the noise model is used to represent the probability of an error occurring in an operation included in the operation process of the quantum chip, wherein the error includes an independent error and an associated error, wherein the independent error is an error caused by the operation itself, and the associated error is an error caused by an error occurring in other operations associated with the operation; A processing module is used to simulate quantum error correction on the operation process of the quantum chip based on the noise model to obtain the probability of logical errors occurring after the quantum chip performs quantum error correction.
13. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute the quantum error correction processing method according to any one of claims 1 to 11.
14. A computer device, characterized in that: include: Memory and processor, The memory stores a computer program; The processor is used to execute the computer program stored in the memory, and when the computer program is run, the processor executes the quantum error correction processing method according to any one of claims 1 to 11.
Citation Information
Patent Citations
Quantum error correction decoding system and method, fault-tolerant quantum error correction system and chip
CN112988451A
Method and device for eliminating quantum bubble noise, electronic equipment and medium
CN114580649A
Quantum error correction processing method and device and computer equipment
CN116306955A
Systems and methods for optimizing quantum computers
US11334693B1
