Quantum error correction processing method, device and computer equipment
By constructing the noise model of the quantum chip, expressing and simulating independent and associated errors, and optimizing the target parameters, the problem of poor error correction effect of quantum chips is solved, and the error correction accuracy and effect are significantly improved.
Patent Information
- Application Number
- CN202310266030.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-14
- Publication Date
- 2024-11-29
- Estimated Expiration
- 2043-03-14
AI Technical Summary
When the prior art performs quantum error correction on quantum chips, the error correction effect is poor and it is difficult to accurately correct errors, resulting in a high logic error rate.
By constructing a noise model of a quantum chip, it represents the probability of independent errors and associated errors occurring in the operation, quantum error correction simulation is performed, and the target parameters are optimized to improve the error correction effect.
It improves the accuracy and effect of quantum error correction, significantly reduces the logical error rate, and solves the problem of poor error correction results.
Smart Images

Figure CN116306955B_ABST
Abstract
Description
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 found 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 the related art, when quantum error correction is performed on a quantum chip, error correction is performed only 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 solution has been proposed yet. Summary of the invention
[0005] The embodiments of the present invention provide a quantum error correction processing method, apparatus and computer equipment to at least solve the technical problem in the related art that when performing quantum error correction on a quantum chip, the error correction effect is poor.
[0006] 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 comprising independent errors and associated errors, the independent errors being errors caused by the operation itself, and the associated errors being errors caused by errors occurring in other operations associated with the operation; based on the noise model, simulating quantum error correction on the operation process of the quantum chip to obtain the probability of logical errors occurring after the quantum chip performs quantum error correction.
[0007] 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.
[0008] 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.
[0009] 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 a 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 of the quantum chip evolving over time within the predetermined time based on the Schrödinger equation.
[0010] 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.
[0011] 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 a noise model of the quantum chip based on the noise model of the target part.
[0012] 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 to the target local area, and a different local area that has no similarity to 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.
[0013] Optionally, 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, it also includes: determining a 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.
[0014] Optionally, simulating quantum error correction on 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 quantum error correction includes: simulating quantum error correction on the operation process of the quantum chip 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.
[0015] Optionally, the operation includes at least one of the following: a quantum gate operation, a quantum initialization operation, and a quantum measurement operation.
[0016] Optionally, the object of the operation is a superconducting quantum bit, and the superconducting quantum bit includes a Fluxonium quantum bit.
[0017] 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 occurring in other operations associated with the operation; and a processing module, for 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.
[0018] 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.
[0019] According to another aspect of the present invention, there is provided a computer device, comprising: a memory and a processor, wherein the memory stores a computer program; 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 processing methods.
[0020] In an embodiment of the present invention, a noise model of a quantum chip is constructed to represent the probability of errors in 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 described by the noise model is relatively accurate, and then when quantum error correction of the quantum chip is simulated based on the noise model, the quantum error correction is also more accurate; and 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 the associated errors, the subsequent simulation of quantum error correction based on the noise model is also more accurate, which effectively improves the effect of quantum error correction. It effectively solves the technical problem in the related art that when quantum error correction is performed on a quantum chip, the error correction effect is not good. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] 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:
[0022] Figure 1 A hardware structure block diagram of a computer terminal for implementing a quantum error correction processing method is shown;
[0023] Figure 2 A structural block diagram of a computing environment provided by an embodiment of the present invention;
[0024] Figure 3 is a flow chart of a quantum error correction processing method according to Embodiment 1 of the present invention;
[0025] Figure 4 is a flow chart of a quantum error correction processing method provided according to an optional embodiment of the present invention;
[0026] Figure 5 is the probability of an error occurring in an operation included in the quantum chip represented by the noise model according to an optional embodiment of the present invention;
[0027] Figure 6 is a schematic diagram of realizing global modeling based on local modeling according to an optional embodiment of the present invention;
[0028] Figure 7 is a structural block diagram of a quantum error correction processing device provided according to an embodiment of the present invention;
[0029] Figure 8 It is a structural block diagram of a computer terminal according to an embodiment of the present invention. DETAILED DESCRIPTION
[0030] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme 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 described embodiments 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 creative work should fall within the scope of protection of the present invention.
[0031] It should be noted that the terms "first", "second", etc. in the specification 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 data 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 that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0032] First, some nouns or terms that appear in the description of the embodiments of the present application are subject to the following explanations:
[0033] Quantum Error Correction (QEC) refers to various solutions for solving errors generated during a series of quantum operations.
[0034] Quantum Error Correcting Code (QECC): protects quantum information through redundancy, which corresponds to classical error correction code.
[0035] Decoder: Infers the original stored information through the error information of the error correction code.
[0036] Hamiltonian: determines how a quantum mechanical system evolves over time.
[0037] Quantum gate: The basic operation provided by a quantum computer.
[0038] The accuracy of quantum gates: the degree of consistency between the quantum gates actually implemented in the experiment and the quantum gates expected to be implemented.
[0039] Control of quantum gates: The desired quantum gate is generated by controlling the change of Hamiltonian over time. For example, for superconducting quantum bits, the desired Hamiltonian that changes over time is usually generated by an electrical signal generated by an arbitrary waveform generator.
[0040] Control parameters: Parameters that describe the control scheme, such as describing the waveform of the electrical signal generated by an arbitrary waveform generator.
[0041] Chip parameters: some intrinsic parameters of the quantum chip. They determine the form of the Hamiltonian. These parameters cannot be changed after the quantum chip is produced.
[0042] 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.
[0043] Fluxonium, a type of superconducting quantum bit, is composed of a Josephson junction in parallel with an inductor and a capacitor. In this structure, there is a large inductor (usually made of an array of a large number of Josephson junctions (~100) or a high dynamic inductor material). 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 about one order of magnitude).
[0044] 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, and 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.
[0045] Example 1
[0046] 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.
[0047] The method embodiment provided in Embodiment 1 of the present application can be executed in a mobile terminal, a computer terminal or a similar computing device. Figure 1FIG. 1 shows a hardware structure block diagram of a computer terminal for implementing a quantum error correction processing method. Figure 1 As shown, the computer terminal 10 (or mobile device) may include one or more processors (102a, 102b, ..., 102n are used to illustrate the figure, and the processor may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA, etc.), 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 can be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the above electronic device. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations shown.
[0048] 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 circuits". The data processing circuits may be embodied in whole or in part as software, hardware, firmware, or any other combination thereof. In addition, the data processing circuit 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 involved in the embodiments of the present application, the data processing circuit acts as a processor control (e.g., selection of a variable resistor terminal path connected to an interface).
[0049] The memory 104 can be used to store software programs and modules of application software, such as program instructions / data storage devices 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, the quantum error correction processing method of the above-mentioned application is realized. 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 arranged 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.
[0050] The transmission device is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of the computer terminal 10. In one example, the transmission device includes a network adapter (Network Interface Controller, NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device can be a radio frequency (Radio Frequency, RF) module, which is used to communicate with the Internet wirelessly.
[0051] 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).
[0052] Figure 1 The hardware structure block diagram shown can be used not only as an exemplary block diagram of the above-mentioned computer terminal 10 (or mobile device), but also as an exemplary block diagram of the above-mentioned server. In an optional embodiment, Figure 2 The block diagram shows the use of the above Figure 1 The computer terminal 10 (or mobile device) shown is an embodiment of a computing node in the computing environment 201. Figure 2 A structural block diagram of a computing environment provided by an embodiment of the present invention, such as Figure 2 As shown, computing environment 201 includes multiple computing nodes (such as servers) running on a distributed network (shown as 210-1, 210-2, ..., in the figure). The computing nodes all contain local processing and memory resources, and end users 202 can remotely run applications or store data in computing environment 201. Applications can be provided as multiple services 220-1, 220-2, 220-3 and 220-4 in computing environment 201, representing services "A", "D", "E" and "H" respectively.
[0053] The end user 202 can provide and access services through a web browser or other software application on the client. In some embodiments, the supply and / or request of the end user 202 can be provided to the entry gateway 230. The entry gateway 230 may include a corresponding agent to handle the supply and / or request for services (one or more services provided in the computing environment 201). For example, in an embodiment of the present invention, the end user 202 provides relevant information of the quantum chip based on the quantum error correction simulation of a quantum chip, and the computing environment provides the simulation of the entire quantum error correction, and then feeds the simulation results back to the end user 202.
[0054] 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, and execute 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 (Operating System, OS) so that multiple workloads can run on a single operating system instance.
[0055] In an embodiment based on container virtualization, several containers of a service can be assembled into a Pod (e.g., a Kubernetes Pod). Figure 2 As shown, service 220-2 can be equipped with one or more Pods 240-1, 240-2, ..., 240-N (collectively referred to as Pods). Pods can 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 a 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.
[0056] During operation, executing a user request from end user 202 may require invoking one or more services in computing environment 201, and executing one or more functions of a service may require invoking one or more functions of another service. Figure 2 As shown, service "A" 220-1 receives a user request from end user 202 from ingress gateway 230, service "A" 220-1 may call service "D" 220-2, and service "D" 220-2 may request service "E" 220-3 to perform one or more functions.
[0057] The computing environment mentioned above can be a cloud computing environment, where the allocation of resources is managed by cloud services, allowing the development of functions without considering the implementation, adjustment or expansion of servers. The computing environment allows developers to execute code that responds to events without building or maintaining complex infrastructure. Services can be divided to complete a set of functions that can be automatically and independently scaled, rather than expanding a single hardware device to handle potential loads.
[0058] In the above operating environment, in response to the above problems mentioned in this application, this application provides the following Figure 3 The quantum error correction method shown. Figure 3is a flow chart of a quantum error correction processing method according to Embodiment 1 of the present invention, such as Figure 3 As shown, the process includes the following steps:
[0059] Step S302, based on the target parameters of the quantum chip, construct a noise model of the quantum chip, 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. 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.
[0060] As an optional embodiment, the execution subject of the method of this embodiment can be a terminal or server for quantum error correction processing. Among them, the types of the above-mentioned terminal can be various, for example, it can be a mobile terminal with certain computing simulation, or it can be a fixed computer device with computing simulation function, etc. The type of the above-mentioned server can also be various, for example, it can be a local server or a virtual cloud server. The server can be a single computer device or a computer cluster integrated with multiple computer devices according to its computing power.
[0061] As an optional embodiment, the quantum chip may refer to a device set for realizing a certain function, and the device set includes multiple devices, such as quantum bits, quantum gates, quantum controllers, quantum reading resonant cavities, etc. For example, the quantum chip may be a quantum processor.
[0062] 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.
[0063] As an optional embodiment, the operation may be any operation in quantum operation, for example, it may be a quantum gate operation, a quantum measurement operation, a quantum initialization operation, etc.
[0064] 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.
[0065] As an optional embodiment, before constructing the noise model of the quantum chip based on the target parameters of the quantum chip, the target parameters of the quantum chip can be determined in a variety of ways. The target parameters can include a variety of types, for example, they can include chip parameters of the quantum chip, and they can also include control parameters of the quantum chip. For example, the target parameters of the quantum chip are determined in the following ways: 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; based on the chip parameters and control parameters, the target parameters of the quantum chip are determined. Among them, the above-mentioned chip parameters are some inherent parameters of the quantum chip, which will determine the form of the Hamiltonian, and these parameters cannot be changed after the quantum chip leaves the factory. The chip parameters are attribute parameters of the quantum chip, and the attribute parameters are used to identify the attribute information of the quantum chip. The attribute information is information that cannot be changed after the quantum chip leaves the factory, such as the size of each device in the quantum chip, capacitance, inductance, dielectric constant of the material, etc. The above control parameters are parameters that can be adjusted when the quantum chip is running, that is, 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.
[0066] Through the above processing, the chip parameters and control parameters of the quantum chip are used, that is, the chip parameters and adjustable control parameters are combined, that is, the dynamic and static parameters are combined to construct the noise model of the quantum chip, which 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 relies 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.
[0067] As an optional embodiment, the above noise model is used to represent the probability of errors in the quantum chip. Since the quantum chip includes multiple quantum operations when it is running, and there are also correlations between the multiple quantum operations, that is, the quantum operations will also affect each other, therefore, the noise model represents the probability of errors in each operation included in the operation process of the quantum chip. That is, the noise model can be used to represent the probability of errors in the operations included in the operation process of the quantum chip. 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. It should be noted that the above independent errors can be errors caused by the operation itself. For example, for a quantum gate operation, the logical operation performed is to flip the quantum state, 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 has an error, when the system quantum state is 0, the system quantum state will not be flipped, and after the operation is performed, the system quantum state is still 0; when the system quantum state is 1, the system quantum state will not be flipped, and the system quantum state will remain 1. The above-mentioned association error may be a direct association error or an indirect association error. The above-mentioned association error may be an error in the logical order of execution, or an error caused when the operations are executed independently but the execution results are combined.
[0068] 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 an error mechanism in one operation on the quantum chip at a time.
[0069] The above-mentioned associated error may be an error caused by an error in other operations associated with the operation, and the associated error may be an error in the operation caused by other operations that have a mutual correlation with the operation. Alternatively, the above-mentioned associated operation may be understood as an error in multiple operations on the quantum chip caused by some error mechanisms. For example, the associated operation on the quantum chip is that some error mechanisms cause errors in multiple bits on the quantum chip at one time, or some quantum gates that are performed simultaneously have errors together.
[0070] 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 used: based on the target parameters of the quantum chip, determine the system state characterization of the quantum chip; based on the system state characterization, obtain the evolution result of the quantum chip over time within a predetermined time, and the expected result within the predetermined time; obtain the difference between the evolution result and the expected result; based on the difference, construct a noise model of the quantum chip.
[0071] Among them, the system state characterization can be the system Hamiltonian of the quantum chip. When the system state characterization is the system Hamiltonian of the quantum chip, based on the system state characterization, when obtaining the evolution result of the quantum chip evolving over time within a predetermined time, the following processing method can be used: based on the system Hamiltonian, the Schrödinger equation of the quantum chip is established, 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, the evolution result obtained by the evolution of the quantum chip over time within a predetermined time is determined. 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. Among them, the evolution result can be used to characterize the system quantum state of the quantum chip. For example, for a quantum bit, a 2-dimensional space vector is used to represent it, and when there are n quantum bits, a 2-n-dimensional space vector is used to represent it, where n is a positive integer.
[0072] As an optional embodiment, the above-mentioned expected result is the theoretical result of the above-mentioned quantum chip within the predetermined time. When the difference between the above-mentioned evolution result and the expected result is obtained, the above-mentioned 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 above-mentioned system is 0.998, then the difference between the two is 0.002. It should be noted that the above-mentioned number 1, 0.998 is only an example of a real number, and the actual quantum state can be a complex number. When the system quantum state is composed of multiple quantum bits, it is a comparison between the vectors corresponding to the multi-dimensional quantum bits, and for a quantum chip, it is more likely to be a system composed of multiple quantum bits, so the difference is the comparison result between two multi-dimensional vectors.
[0073] As an optional embodiment, when constructing a noise model of a quantum chip, the probability of an error in the operation included in the quantum chip can be represented based on the above-mentioned difference obtained by computer simulation. Moreover, when constructing a noise model, the huge computing power required for simulating multiple quantum bits leads to low simulation efficiency. In order to improve the efficiency of subsequent simulations, when constructing a noise model, based on the difference, when constructing a noise model of a quantum chip, the following processing can be adopted: when the difference is a coherent error, the coherent error is converted into a Pauli error; based on the Pauli error, the noise model of the quantum chip is constructed. In quantum computing, coherent errors occur when a quantum system deviates from the expected behavior due to factors such as imperfect quantum bit control or interaction with the environment. These errors are certain and can be corrected using error correction codes. Therefore, in an embodiment of the present invention, coherent errors are caused by imperfect control of the quantum computing system, that is, by imperfect control of the quantum chip. Therefore, coherent errors in quantum computing systems are the cause of system inaccuracy, including various imperfect factors.
[0074] 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. The conversion of 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, conversion to Pauli errors can also make the simulation of quantum error correction more efficient on classical computers. In short, the conversion of coherent errors into random Pauli errors is an efficient processing technology for fault-tolerant quantum computing, which makes error correction more efficient by designing error correction codes to correct a wider range of errors. 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 simplify the complexity of errors, that is, they can effectively simplify the errors of quantum systems, facilitate the simulation of subsequent noise models, and improve simulation efficiency.
[0075] As an optional embodiment, the larger the quantum bits included in the quantum chip, the more computational effort the simulation will increase exponentially. Therefore, in order to further improve the simulation efficiency. A part can be selected from the quantum chip for local simulation, and then other parts can be simulated based on the local simulation results. For example, when constructing a noise model of a quantum chip based on the target parameters of the quantum chip, the following processing method can be used: intercepting the target part of the quantum chip; determining the local parameters of the target part based on the target parameters, wherein the local parameters include the device parameters of the target part and the local control parameters for controlling the target part; constructing the noise model of the target part based on the local parameters; constructing the noise model of the quantum chip based on the noise model of the target part. It should be noted that the above-mentioned target part of the quantum chip to be intercepted can be a representative part or a typical part of the quantum chip to be intercepted, for example, the part has the greatest possibility of similar errors with other parts, or the structure of the part appears the most times, etc. The above-mentioned local parameters refer to parameters used for noise simulation of the target part, including device parameters of the device included in the part, and also local control parameters for controlling the target part. Among them, the device parameters include structural parameters of the device, material parameters, etc. Structural parameters include size, shape, etc. Material parameters include dielectric constant, capacitance, resistance, inductance, etc. The above 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.
[0076] By selecting some typical or representative parts to construct the noise model, the noise model of other parts is constructed based on the constructed model. Since the target part has a 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 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 also effectively saved.
[0077] As an optional embodiment, when constructing the noise model of the quantum chip based on the noise model of the target local area, for each different part of the quantum chip, the noise model of the corresponding part is constructed based on the noise model of the target local area, which can be implemented in the following ways: determine the similar local area with similarity to the target local area, and the different local area with no similarity to the target local area; determine the noise model of the similar local area based on the noise model of the target local area; determine the noise model of the different local area; construct 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. Among them, the local area that is the same as or different from the target local area is divided, so that different local areas can be effectively treated separately, thereby effectively realizing the determination of the noise model corresponding to different parts, so as to efficiently obtain the noise model of the entire quantum chip. It should be noted that when determining the similar local area with similarity to the target local area, it can be determined based on the 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 local area that is the same as the above target local area is found as the similar local area, and the remaining part after the comparison can be considered as a different local area.
[0078] Step S304, 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.
[0079] As an optional embodiment, based on the noise model, the operation process of the quantum chip is simulated by quantum error correction to obtain the probability of logical errors occurring after the quantum chip performs quantum error correction, including: based on the noise model, the operation process of the quantum chip is simulated by quantum error correction to obtain the system quantum state of the quantum chip after the quantum chip performs quantum error correction; based on the system quantum state, the 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 logical errors occurring after the quantum chip performs quantum error correction is determined.
[0080] Among them, when counting the operations that have errors in the operation process of the quantum chip based on the system quantum state, it is possible to determine whether errors have occurred in the operations included in the operation process of the quantum chip based on the system quantum state, and then, based on the statistics of the operations that have errors, obtain statistical data, and then determine the probability of logical errors after the quantum chip performs quantum error correction based on the statistical data and the total number of operations. For example, for the 100 operations included in the entire quantum chip, 15 operations are erroneous, so the probability of logical errors after the quantum chip performs quantum error correction is 15%.
[0081] As an optional embodiment, after simulating quantum error correction of 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 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. Taking the probability of logical errors occurring in the quantum chip as the optimization target, the target parameters are gradient optimized based on the functional relationship between the probability of logical errors occurring and the target parameters. The use of gradient optimization can effectively improve the optimization efficiency of the target parameters. Among them, for the optimization of the target parameters, the target parameters can be derived based on the probability of logical errors occurring, the optimization direction of the target parameters can be determined, and the optimization of the target parameters can be achieved.
[0082] 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. Since the errors in the simulation include not only the errors caused by the operation itself, but also the errors caused by the associated operations associated with the operation, the noise described by the noise model is relatively accurate. Therefore, when the quantum error correction of the quantum chip is simulated based on the noise model, the quantum error correction is also more accurate; and 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 the associated errors, the subsequent simulation of quantum error correction based on the noise model is also more accurate, which effectively improves the effect of quantum error correction. It effectively solves the technical problem in the related technology that when performing quantum error correction on quantum chips, the error correction effect is not good.
[0083] Based on the above embodiments and optional embodiments, an optional implementation manner is provided.
[0084] As mentioned above, a good quantum error correction effect needs to be demonstrated on a superconducting chip. However, in the relevant technology, there is a lack of simulation tools to provide effect evaluation and optimization based on the evaluation results. Although there are some simplified noise models in the relevant technology to evaluate quantum error correction, they may not be consistent with the actual conditions of many superconducting quantum chips.
[0085] Figure 4 is a flow chart of a quantum error correction processing method provided according to an optional embodiment of the present invention, such as Figure 4 As shown, the process includes the following steps:
[0086] Step S1, determining the target parameters of the quantum chip, wherein the target parameters include chip parameters and control parameters, wherein the chip parameters are inherent design parameters of the quantum chip, for example, the capacitance and inductance of the quantum bit, etc. It can be the length and width of the coplanar waveguide, etc. The control parameters refer to the parameters used when controlling the quantum chip, and the control parameters can be adjusted according to the control needs.
[0087] Step S2, based on the target parameters, determine the Hamiltonian of the system corresponding to the quantum chip, and obtain the evolution result of the system within a certain time based on the Hamiltonian. For example, using the calculation principle of quantum mechanics, based on the Schrödinger equation to calculate how the system evolves (changes) over time, the evolution result within a certain time is obtained, wherein the certain time is the corresponding predetermined time mentioned above, and the time can be a time unit of the quantum chip, and the performance of the quantum chip is observed within the unit time.
[0088] 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.
[0089] Step S4, based on the difference, a noise model is constructed; in the operations included in the quantum chip, each logical operation has a probability of an error. The noise model describes the probability of what error will occur in each logical operation. Figure 5 is the probability of an error in the operation included in the quantum chip represented by the noise model according to an optional embodiment of the present invention, such as Figure 5 As shown, the quantum chip may include multiple quantum bits, and different operations can be formed between quantum bits. For example, in the figure, different lines represent different quantum bits, and the connection between quantum bits represents the operation performed based on the quantum bits. For example, for an operation connected to the leftmost in the figure, two quantum bits are involved, the quantum bit corresponding to the solid point is the control bit, which is used to output a control signal, and the quantum bit corresponding to the circle is the target bit, which is used to perform an operation based on the control signal output by the control bit. Specifically, for example, the operation is a CNOT gate operation, and when the state of the control bit is 1, the target bit performs a flip operation. The operation can be one of the operations in series, which is the first operation in series in the figure. There is a 1% probability that an error will occur in this operation.
[0090] Based on the above differences, when constructing a noise model, we can first adopt a method of local modeling of the quantum chip and then global modeling, so as to improve the efficiency of noise model establishment. Figure 6 is a schematic diagram of implementing global modeling based on local modeling according to an optional embodiment of the present invention, such as Figure 6As shown, the entire quantum chip includes multiple quantum bits, and the multiple quantum bits are arranged according to a certain arrangement order (it should be noted that only part of the structure is shown in the figure, and the quantum bits included in the quantum chip can also be arranged cyclically according to this rule). For example, in the figure, different labels correspond to different quantum bits, and the same labels correspond to the same quantum bits. When selecting local modeling, the structure framed on the right can be used as the target local, and then a similar local similar to the target local is found, such as the part framed on the left. Other different locals are structures formed by the first quantum bit and the second quantum bit in the first row. For these different locals, independent simulation is used to obtain simulation results. Similar operations are also used for other different locals in the quantum chip to obtain corresponding simulation results. Finally, the noise model of the quantum chip is synthesized based on the simulation results of the above target local, the simulation results of similar locals, and the simulation results of different locals. Using the above local modeling method, for similar locals similar to the target local, due to the similar structure, the simulation results of the target local can be directly used as the simulation results of the similar local, which greatly reduces repeated operations, effectively saves computing resources, and improves modeling efficiency.
[0091] Step S5, simulating quantum error correction through a noise model.
[0092] Step S6, obtaining the error rate after quantum error correction (it can also be the probability of logical bit error, which is the ultimate goal of concern).
[0093] It should be noted that the logic bit is composed of many real bits, and the purpose is to make its error rate very small. The probability of logic bit error: the logic bit has an initial state, and the real bits keep making errors during the process. Through continuous detection, the detection results are obtained. If the initial state is successfully inferred based on the final state and the detection results during the process, there is no logic error.
[0094] In addition, after obtaining the error rate after quantum error correction, the target parameters of the quantum chip can be optimized in reverse, and the optimization method can be a gradient optimization method. Among them, when gradient optimization is adopted, the target parameters can be derived based on the error rate.
[0095] Through the above optional implementation mode, it is possible to perform a detailed simulation of the quantum gate errors of a multi-bit quantum chip, and perform a 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, it is also possible to perform gradient optimization of the target parameters of the quantum chip based on the above simulation process. 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.
[0096] It should be noted that, for the above-mentioned method embodiments, for the sake of simplicity, they are all described as a series of action combinations, but those skilled in the art should know that the present invention is not limited by the described action sequence, because according to the present invention, certain steps can be performed in other sequences or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.
[0097] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, 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 a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods of various embodiments of the present invention.
[0098] Example 2
[0099] According to an embodiment of the present invention, a device for implementing the above-mentioned quantum error correction processing method is also provided. Figure 7 is a block diagram of a quantum error correction processing device according to an embodiment of the present invention. Figure 7 As shown, the device includes: a construction module 70 and a processing module 72, and the device is described from the front.
[0100] 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 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. A processing module 72 is connected to the above-mentioned construction module 70, and is used to simulate quantum error correction in the operation process of the quantum chip based on the noise model, and obtain the probability of logical errors occurring after the quantum chip performs quantum error correction.
[0101] It should be noted that the construction module 70 and the processing module 72 correspond to steps S302 to S304 in Example 1, and 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.
[0102] Example 3
[0103] 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.
[0104] Optionally, in this embodiment, the computer terminal may be located in at least one network device among a plurality of network devices of the computer network.
[0105] 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, construct a noise model of the quantum chip, 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. 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, the operation process of the quantum chip is simulated for quantum error correction to obtain the probability of logical errors after the quantum chip performs quantum error correction.
[0106] Optionally, Figure 8 is a structural block diagram of a computer terminal according to an embodiment of the present invention. Figure 8 As shown, the computer terminal may include: one or more (only one is shown in the figure) processors 82, a memory 84, etc.
[0107] Among them, 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 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, that is, realizing the above-mentioned quantum error correction processing method. The memory 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 instances, the memory may further include a memory remotely arranged relative to the processor, and these remote memories can 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.
[0108] 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 target parameters of the quantum chip, construct a noise model of the quantum chip, 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. 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, simulate quantum error correction in the operation process of the quantum chip to obtain the probability of logical errors after the quantum chip performs quantum error correction.
[0109] 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.
[0110] 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, including: determining the system state characterization of the quantum chip based on the target parameters of the quantum chip; obtaining the evolution results of the quantum chip over time within a predetermined time and the expected results within the predetermined time based on the system state characterization; obtaining the difference between the evolution result and the expected result; and constructing the noise model of the quantum chip based on the difference.
[0111] 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 system state characterization, obtain 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, 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 results obtained by the evolution of the quantum chip over time within the predetermined time.
[0112] 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 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.
[0113] 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, including: intercepting the target part of the quantum chip; determining the local parameters of the target part based on the target parameters, wherein the local parameters include the device parameters of the target part and the 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.
[0114] 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 noise model of the target local area, including: 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 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; 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.
[0115] The processor can call the information and application programs stored in the memory through the transmission device to execute the following steps: after simulating the quantum error correction of the operation process of the quantum chip based on the noise model and obtaining the probability of logical errors occurring after the quantum chip executes 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.
[0116] The processor can call the information and application programs stored in the memory through the transmission device to execute 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 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 in the operation process of the quantum chip to obtain statistical data; based on the statistical data, determine the probability of logical errors after the quantum chip performs quantum error correction.
[0117] The processor can call the information and application programs 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, quantum measurement operation.
[0118] 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, and the superconducting quantum bit includes a Fluxonium quantum bit.
[0119] It can be understood by those skilled in the art that Figure 8 The structure shown is for illustration only, and the computer terminal may also be a smart phone (such as an Android phone, an iOS phone, etc.), a tablet computer, a handheld computer, a mobile Internet device (Mobile Internet Devices, MID), a PAD, or other terminal devices. Figure 8 The structure of the electronic device is not limited. For example, the computer terminal 8 may also include Figure 8 More or fewer components (such as network interfaces, display devices, etc.) shown in, or having Figure 8 Different configurations are shown.
[0120] A person of ordinary skill in the art can 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 can include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0121] Example 4
[0122] 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 processing method provided in the above embodiment 1.
[0123] Optionally, in this embodiment, the computer-readable storage medium may be located in any one of the computer terminals in a computer terminal group in a computer network, or in any one of the mobile terminals in a mobile terminal group.
[0124] Optionally, in this embodiment, the computer-readable storage medium is configured to store program codes for performing the following steps: 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, errors including independent errors and associated errors, independent errors being errors caused by a single operation itself, and associated errors being errors caused by errors occurring 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.
[0125] Optionally, in this embodiment, the computer-readable storage medium is also configured to store program code for executing the following steps: before building a 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; determining the target parameters of the quantum chip based on the chip parameters and the control parameters.
[0126] Optionally, in this embodiment, the computer-readable storage medium is also 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 a 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.
[0127] Optionally, in this embodiment, the computer-readable storage medium is also 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 a predetermined time.
[0128] Optionally, in this embodiment, the computer-readable storage medium is also 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; constructing a noise model of the quantum chip based on the Pauli error.
[0129] Optionally, in this embodiment, the computer-readable storage medium is also 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.
[0130] Optionally, in this embodiment, the computer-readable storage medium is also configured to store program code for performing 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; 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.
[0131] Optionally, in this embodiment, the computer-readable storage medium is also configured to store program codes 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 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.
[0132] Optionally, in this embodiment, the computer-readable storage medium is also configured to store program code for executing the following steps: based on the 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 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 system quantum state, counting the 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.
[0133] 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, quantum measurement operation.
[0134] 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.
[0135] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0136] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0137] 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, and there may be other division methods in actual implementation, 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.
[0138] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0139] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0140] 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, in essence, 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, and the computer software product is stored in a computer-readable storage medium, including a number of 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 method described in each embodiment of the present invention. The aforementioned computer-readable storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.
[0141] 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 principle of the present invention. These improvements and modifications should also be regarded as 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 an error in an operation included in the operation process of the quantum chip, the error includes an independent error and an associated error, the independent error is an error caused by the operation itself, the associated error is an error caused by other operations associated with the operation, and the target parameters include chip parameters and control parameters; 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 the chip parameter and the control parameter of the quantum chip, wherein the chip parameter is a property parameter of the quantum chip, and the control parameter is a parameter that supports 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 operations that occur in error 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 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, and wherein the target parameters include chip parameters and control parameters; 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
Fault-tolerant error correction decoding method and device of quantum circuit, and chip
CN111510158A
Information processing method and device based on quantum system
CN115577791A
