Quantum Bit Processing Method, Apparatus and Computer Device

By dividing the quantum bits into multiple parts and using integral equations to calculate the electromagnetic interaction between these parts, the problem of too long calculation time caused by the large amount of calculation in the qubit simulation is solved, and a more efficient calculation process is achieved.

CN114638194BActive Publication Date: 2025-07-01深圳季轴量子有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210164282.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-18
Publication Date
2025-07-01
Estimated Expiration
2041-10-18

AI Technical Summary

Technical Problem

The calculation amount is large during the simulation of qubits, resulting in too long calculation time.

Method used

By determining the multiple parts included in the qubit, the electromagnetic interaction between the multiple parts is determined by using the integral equation to obtain the electromagnetic parameters of the surface of the multiple parts, and sum these parameters to obtain the electromagnetic parameters of the qubit.

Benefits of technology

The calculation amount is reduced, the calculation efficiency is improved, the calculation time is shortened, and the accuracy and speed of qubit simulation are significantly improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114638194B_ABST
    Figure CN114638194B_ABST
Patent Text Reader

Abstract

The present invention discloses a method, apparatus and computer device for processing qubits. Among them, the method includes: determining a plurality of parts included in a qubit; using an integral equation to determine the electromagnetic interaction between the plurality of parts to obtain the electromagnetic parameters of the surfaces of the plurality of parts, wherein the integral equation respectively uses Green's functions to characterize the electromagnetic interaction between the plurality of parts; summing the electromagnetic parameters of the surfaces of the plurality of parts to obtain the electromagnetic parameters of the qubit. The present invention solves the technical problems of large computational amount and long calculation time occurring in the simulation process of qubits in the related art.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of quantum, and in particular, to a method, device, and computer device for processing quantum bits. Background Technique

[0002] In the design and simulation of quantum bits, electromagnetic calculation methods are needed to extract quantum circuit parameters and calculate the distribution of electromagnetic fields in the environment to analyze the decoherence of quantum states. Accurate and efficient electromagnetic simulation can effectively assist in the design of quantum chips and achieve qubits with high decoherence times through design.

[0003] In the related art, most current simulations of quantum bits are calculated using the finite element method. The finite element method requires three-dimensional mesh generation of the structure and environment in electromagnetic simulation and solving large matrix equations. During the mesh generation process, the structure and environment can be divided into a large number of three-dimensional structures, such as tetrahedrons. The material parameters in the structure and environment will be defined in each tetrahedron to achieve a more accurate description of the environment. After meshing, a finite number of tetrahedrons will be used as the smallest units carrying electromagnetic fields and substituted into Maxwell's equations for solution. However, when using the above solution to solve problems, since this method designs the meshing within a three-dimensional volume, a large number of the smallest units will be generated, resulting in a large number of unknowns to be calculated.

[0004] For the above problems, no effective solution has been proposed yet. Summary of the Invention

[0005] Embodiments of the present invention provide a method, device, and computer device for processing quantum bits to at least solve the technical problems of large computational amount and long calculation time in the simulation process of quantum bits in the related art.

[0006] According to an aspect of an embodiment of the present invention, a method for processing quantum bits is provided, including: determining a plurality of parts included in a quantum bit; using an integral equation to determine the electromagnetic interaction between the plurality of parts to obtain electromagnetic parameters on the surfaces of the plurality of parts, where the integral equation uses Green's functions to characterize the electromagnetic interaction between the plurality of parts respectively; summing the electromagnetic parameters on the surfaces of the plurality of parts to obtain the electromagnetic parameters of the quantum bit.

[0007] Optionally, the using an integral equation to determine the electromagnetic interaction between the plurality of parts to obtain the electromagnetic parameters on the surfaces of the plurality of parts includes: calculating the electromagnetic parameters on the surfaces of the plurality of parts using Gaussian quadrature.

[0008] Optionally, the electromagnetic interaction between the multiple parts is determined by using an integral equation to obtain the electromagnetic parameters of the surfaces of the multiple parts, including: performing two-dimensional mesh dissection on the surfaces of the multiple parts respectively to obtain a plurality of meshes; calculating the electromagnetic parameters of the plurality of meshes by using the integral equation to obtain the electromagnetic parameters of the surfaces of the multiple parts respectively.

[0009] Optionally, the performing two-dimensional mesh dissection on the surfaces of the multiple parts respectively to obtain a plurality of meshes includes: performing two-dimensional mesh dissection on the surfaces of the multiple parts respectively by using a method that combines a uniform refinement method and a boundary refinement method to obtain a plurality of meshes.

[0010] Optionally, the performing two-dimensional mesh dissection on the surfaces of the multiple parts respectively by using a method that combines a uniform refinement method and a boundary refinement method to obtain a plurality of meshes includes: performing two-dimensional mesh dissection on the non-boundary regions of the surfaces of the multiple parts respectively by using the uniform refinement method, and performing two-dimensional mesh dissection on the boundary regions of the surfaces of the multiple parts respectively by using the boundary refinement method to obtain the plurality of meshes.

[0011] Optionally, the meshes obtained by dissection are triangular meshes, and the aspect ratios of the triangular meshes obtained by using the uniform refinement method are the same; the closer the triangular meshes obtained by using the boundary refinement method are to the boundary of the boundary region, the smaller the obtained triangular meshes are, and the aspect ratios of the triangular meshes are inconsistent.

[0012] Optionally, the electromagnetic parameters include at least one of the following: electric field energy, electric field occupancy rate.

[0013] According to one aspect of the embodiments of the present invention, a quantum bit processing method is provided, including: displaying a quantum bit import control on an interaction interface; in response to an operation on the import control, displaying an image of the quantum bit on the interaction interface; receiving an instruction to obtain the electromagnetic parameters of the quantum bit; in response to the instruction, displaying a plurality of parts included in the quantum bit on the interaction interface; displaying the electromagnetic parameters of the quantum bit on the interaction interface, where the electromagnetic parameters are obtained by summing the electromagnetic parameters of the surfaces of the multiple parts, and the electromagnetic parameters of the surfaces of the multiple parts are obtained after determining the electromagnetic interaction between the multiple parts by using an integral equation, and the integral equation uses a Green's function to characterize the electromagnetic interaction between the multiple parts.

[0014] According to one aspect of an embodiment of the present invention, a qubit processing device is provided, including: a first determination module configured to determine a plurality of parts included in a qubit; a first processing module configured to determine electromagnetic interactions between the plurality of parts by using an integral equation to obtain electromagnetic parameters of surfaces of the plurality of parts, where the integral equation respectively uses Green's function to characterize the electromagnetic interactions between the plurality of parts; and a second processing module configured to sum the electromagnetic parameters of the surfaces of the plurality of parts to obtain electromagnetic parameters of the qubit.

[0015] According to one aspect of an embodiment of the present invention, a qubit processing device is provided, including: a first display module configured to display a qubit import control on an interaction interface; a second display module configured to, in response to an operation on the import control, display an image of the qubit on the interaction interface; a first receiving module configured to receive an instruction to obtain electromagnetic parameters of the qubit; a third display module configured to, in response to the instruction, display a plurality of parts included in the qubit on the interaction interface; and a fourth display module configured to display the electromagnetic parameters of the qubit on the interaction interface, where the electromagnetic parameters are obtained by summing the electromagnetic parameters of surfaces of the plurality of parts, and the electromagnetic parameters of the surfaces of the plurality of parts are obtained after determining the electromagnetic interactions between the plurality of parts by using an integral equation, and the integral equation uses Green's function to characterize the electromagnetic interactions between the plurality of parts.

[0016] According to one aspect of an embodiment of the present invention, a computer-readable storage medium is provided. When instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute any one of the qubit processing methods.

[0017] According to one aspect of an embodiment of the present invention, a computer program product is provided, including a computer program which, when executed by a processor, implements any one of the qubit processing methods.

[0018] According to one aspect of an embodiment of the present invention, a computer device is provided, including: a memory and a processor, where the memory stores a computer program; and the processor is configured to execute the computer program stored in the memory, and when the computer program runs, the processor is enabled to execute any one of the qubit processing methods.

[0019] In the embodiments of the present invention, by determining multiple parts included in a qubit, the electromagnetic interaction between the multiple parts is determined through an integral equation, and then the electromagnetic parameters on the surfaces of the multiple parts are obtained. By efficiently processing each part separately and summing the electromagnetic parameters on the surfaces of the multiple parts, the purpose of obtaining the electromagnetic parameters of the qubit is achieved, thereby solving the technical problems of large computational amount and long calculation time in the simulation process of qubits in the related art. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] The drawings described herein are used to provide a further understanding of the present invention and form a part of this application. The schematic embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation to the present invention. In the drawings:

[0021] Figure 1 shows a hardware structure block diagram of a computer terminal for implementing a qubit processing method;

[0022] Figure 2 is a flowchart of the first qubit processing method according to Embodiment 1 of the present invention;

[0023] Figure 3 is a flowchart of the second qubit processing method according to Embodiment 1 of the present invention;

[0024] Figure 4 is an efficiency comparison diagram obtained by the method for calculating the electric field occupancy rate provided by the embodiment of the present invention;

[0025] Figure 5 is a schematic diagram of the capacitance calculation method provided by the embodiment of the present invention;

[0026] Figure 6 is a schematic diagram of the effects of using the integral equation method and the finite element method in the capacitance calculation method provided by the embodiment of the present invention;

[0027] Figure 7 is a calculation flowchart for extracting capacitance parameters in the capacitance calculation method provided by the embodiment of the present invention;

[0028] Figure 8 is an efficiency schematic diagram obtained by the capacitance calculation method provided by the embodiment of the present invention;

[0029] Figure 9 is a schematic diagram of the uniform refinement scheme in the mesh refinement method provided by an alternative embodiment of the present invention;

[0030] Figure 10 is a schematic diagram of the boundary refinement scheme in the mesh refinement method provided by an alternative embodiment of the present invention;

[0031] Figure 11 It is a structural block diagram of the first quantum bit processing device provided in Embodiment 2 of the present invention;

[0032] Figure 12 It is a structural block diagram of the second quantum bit processing device provided in Embodiment 3 of the present invention;

[0033] Figure 13 It is a device block diagram of a terminal according to an embodiment of the present invention. Specific embodiments

[0034] In order to enable those skilled in the art to better understand the solution of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

[0035] 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 do not have to be used to describe a specific order or sequence. It should be understood that such data can be interchanged under appropriate circumstances 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 "comprising" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device comprising a series of steps or units does not have to be limited to those steps or units clearly listed, but may include other steps or units not clearly listed or inherent to these processes, methods, products or devices.

[0036] First, some nouns or terms that appear in the process of describing the embodiments of the present application are applicable to the following explanations:

[0037] Electrostatic field integral equation: A method for simulating electrostatic fields, also known as the method of moments.

[0038] Superconducting qubit: A qubit implemented using a superconducting scheme.

[0039] Electric field participation rate: Characterizes the proportion of local electric field energy in the total energy of the space, and is used to analyze the dissipation problem of superconducting qubits in the medium.

[0040] Decoherence: A popular term is "wave function collapse effect", which is one of the basic mathematical properties of quantum mechanics. It refers to the phenomenon that the probability amplitude of the originally continuously distributed wave function instantaneously degenerates into a δ-function (Dirac δ-function, with an infinite value at a specific point and zero values at all other points, and the total area of the entire function graph is defined as 1) discretely distributed at a certain specific point after experiencing "observation".

[0041] Decoherence time: Simply put, it is the time that a quantum state can exist before being destroyed by various factors (mainly coupling with the environment).

[0042] Quantum decoherence, also known as quantum disentanglement: In quantum mechanics, the quantum coherence of an open quantum system gradually disappears over time due to quantum entanglement with the external environment, and this effect is called quantum decoherence. Quantum decoherence is the consequence of the quantum entanglement between the quantum system and the environment.

[0043] Bit time: It is the time required to send 1 bit, and this time unit is closely related to the data rate. If you want to convert bit time to microseconds, you must know what the data rate is. For example, if the data rate is 10 Mb / s, then 100 bit times are equal to 10 microseconds.

[0044] Finite Element Method (FEM): A numerical technique for finding approximate solutions to boundary value problems of partial differential equations. When solving, the entire problem area is decomposed, and each sub-area becomes a simple part, and this simple part is called a finite element.

[0045] Conformal / non-conformal: In mesh generation, if the overlapping part of two adjacent elements forms the faces, lines, and points of the element, then the mesh is conformal.

[0046] Triangular mesh: A mesh composed of triangles, usually due to the meshing of the object surface.

[0047] Mesh refinement: A method of dividing mesh elements into finer ones

[0048] Embodiment 1

[0049] According to an embodiment of the present invention, an embodiment of a quantum bit 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 the logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in a different order than here.

[0050] The method embodiment provided by the first embodiment of this application can be executed on a mobile terminal, a computer terminal, or a similar computing device.Figure 1 The figure shows a hardware block diagram of a computer terminal (or mobile device) for implementing a quantum bit processing method. As Figure 1 shown, the computer terminal 10 (or mobile device) may include one or more processors (shown as 102a, 102b, ……, 102n in the figure, and the processors may include, but are not limited to, processing devices such as a microprocessor MCU or a programmable logic device FPGA), a memory 104 for storing data, and a transmission module for communication functions. In addition, it may further 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. Those of ordinary skill in the art can understand that Figure 1 the structure shown is only schematic and does not limit the structure of the above-mentioned electronic device. For example, the computer terminal 10 may further include more or fewer components than those Figure 1 shown, or have a different configuration from that Figure 1 shown.

[0051] It should be noted that the above one or more processors 102 and / or other data processing circuits can generally be referred to as "data processing circuits" in this article. The data processing circuit can be embodied in software, hardware, firmware, or any combination thereof, in whole or in part. In addition, the data processing circuit can be a single independent processing module, or be incorporated in whole or in part into any one of the other elements in the computer terminal 10 (or mobile device). As involved in the embodiments of the present application, the data processing circuit is used for processor control (such as the selection of a variable resistance terminal path connected to an interface).

[0052] 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 bit processing method in the embodiments of the present invention. The processor 102 executes various functional applications and data processing by running the software programs and modules stored in the memory 104, that is, implements the quantum bit processing method of the above-mentioned application program. 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, a flash memory, or other non-volatile solid-state memories. In some instances, the memory 104 may further include a memory remotely disposed relative to the processor 102, and these remote memories can be connected to the computer terminal 10 through a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an enterprise intranet, a local area network, a mobile communication network, and combinations thereof.

[0053] The transmission device is used to receive or send data via a network. Specific examples of the above-mentioned network may include a wireless network provided by the 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 may be a Radio Frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0054] The display can be, for example, a touch-screen liquid crystal display (LCD), which enables the user to interact with the user interface of the computer terminal 10 (or mobile device).

[0055] Under the above operating environment, the present application provides a Figure 2 qubit processing method as shown. Figure 2 It is a flowchart of the first qubit processing method according to Embodiment 1 of the present invention. As Figure 2 shown, the method includes the following steps:

[0056] Step S202, determining multiple parts included in the qubit;

[0057] Step S204, using an integral equation to determine the electromagnetic interaction between the multiple parts, and obtaining the electromagnetic parameters of the surfaces of the multiple parts, wherein the integral equation respectively uses Green's function to characterize the electromagnetic interaction between the multiple parts;

[0058] Step S206, summing the electromagnetic parameters of the surfaces of the multiple parts to obtain the electromagnetic parameters of the qubit.

[0059] Through the above steps, by determining the multiple parts included in the qubit, using an integral equation to determine the electromagnetic interaction between the multiple parts, and then obtaining the electromagnetic parameters of the surfaces of the multiple parts, by efficiently processing each part respectively and summing the electromagnetic parameters of the surfaces of the multiple parts, the purpose of obtaining the electromagnetic parameters of the qubit is achieved, thereby solving the technical problems of large computational amount and long calculation time in the simulation process of qubits in the related art.

[0060] As an alternative embodiment, multiple parts included in the qubit are determined. For example, in a quantum chip, it can be divided at the physical level. That is, the core design of the quantum chip will be divided into multiple parts (for example, including two plates, control lines, ground, etc. that make up the qubit). These multiple parts belong to the same layer to determine the multiple parts included in the qubit by design; it can also be divided at other levels, that is, the user can divide according to the functions performed by each part, or can be divided according to the positions where each part is located, which is not limited here. By determining the multiple parts included in the qubit, it provides a basis for subsequent separate calculations for the multiple parts of the qubit, reducing the amount of calculation per time and making the calculation simpler.

[0061] As an alternative embodiment, an integral equation is used to determine the electromagnetic interaction between multiple parts, and the electromagnetic parameters of the surfaces of the multiple parts are obtained. Among them, the integral equation uses the Green's function to characterize the electromagnetic interaction between multiple parts respectively. When using the integral equation to confirm the electromagnetic interaction between multiple parts, the integral equation should be able to characterize the environment and structure where the multiple parts are located. According to the different characterization capabilities of each integral equation, or with different emphases in different environments and structures, the integral equation can be flexibly selected. A matrix can be constructed through the integral equation, and the electromagnetic interaction between each part can be described numerically. For example, a matrix can be constructed using the Green's function, and the integral equation corresponding to each part can be determined by solving the matrix. The Green's function can characterize the structure and environment of the qubit in the corresponding part, and a two-dimensional grid is meshed to obtain the electromagnetic parameters of the corresponding part. By calculating the integral equation for each part to obtain the electromagnetic parameters, when calculating each part, the quantity and number of positions to be calculated are greatly reduced, effectively improving the calculation efficiency.

[0062] It should be noted that the above electromagnetic parameters can refer to various relevant parameters of the qubit. For example, the electric field energy in the local loss region of the qubit, the electric field energy in the entire space region of the qubit, the occupancy rate of the electric field, that is, the ratio of the electric field energy in the local loss region to the entire space energy, and so on.

[0063] As an alternative embodiment, when using an integral equation to determine the electromagnetic interaction between multiple parts and obtain the electromagnetic parameters of the surfaces of the multiple parts, the following method can be adopted: The surfaces of the multiple parts are respectively meshed into two-dimensional grids to obtain multiple grids; the integral equation is used to calculate the electromagnetic parameters of the multiple grids, and the electromagnetic parameters of the surfaces of the multiple parts are obtained respectively. Through the multiple grids obtained by meshing the surfaces of the multiple parts into two-dimensional grids, the integral equation operation is performed to obtain the electromagnetic parameters of the surfaces of the multiple parts. The electromagnetic parameters of the surfaces of the multiple parts can be obtained more accurately and quickly.

[0064] As an alternative embodiment, the surfaces of multiple parts are respectively subjected to two-dimensional mesh subdivision to obtain multiple meshes, including: adopting a mixed method of uniform refinement method and boundary refinement method to respectively perform two-dimensional mesh subdivision on the surfaces of multiple parts to obtain multiple meshes. When using any one of the uniform refinement or boundary refinement schemes alone, the problem of qubit simulation cannot be well solved: only using uniform refinement will lead to an exponential increase in the number of unknowns and increase the computational burden; only using boundary refinement will result in the inability to well control the computational accuracy of the non-boundary regions. Therefore, by mixing the uniform refinement and boundary refinement schemes, the characteristics of the meshes can be well maintained.

[0065] As an alternative embodiment, adopting a mixed method of uniform refinement method and boundary refinement method, the surfaces of multiple parts are respectively subjected to two-dimensional mesh subdivision to obtain multiple meshes, including: using the uniform refinement method to respectively perform two-dimensional mesh subdivision on the non-boundary regions of the surfaces of multiple parts, and using the boundary refinement method to respectively perform two-dimensional mesh subdivision on the boundary regions of the surfaces of multiple parts to obtain multiple meshes. In the non-boundary regions, the uniform refinement method is adopted, and a small number of uniform refinement layers are used to effectively optimize the accuracy of the non-boundary regions and at the same time effectively control the number of unknowns; in the boundary regions, the boundary refinement method is adopted, and the mesh subdivision at the boundary can be arbitrarily refined in the vertical direction, which can greatly improve the computational accuracy of the boundary, and at the same time the number of unknowns increases linearly and is controlled within a small range.

[0066] As an alternative embodiment, the meshes obtained by subdivision are triangular meshes. The aspect ratios of the triangular meshes obtained by using the uniform refinement method are the same; the closer the triangular meshes obtained by using the boundary refinement method are to the boundary of the boundary region, the smaller the obtained triangular meshes are, and the aspect ratios of the triangular meshes are inconsistent. In the uniform refinement method, the aspect ratios of the triangular meshes are the same, and after multiple layers of refinement, multiple small meshes with the same aspect ratio can be generated, which can maintain the conformality of the meshes and is beneficial to structured processing; in the boundary refinement method, when the meshes are close to the boundary, the meshes gradually become smaller, which can better characterize the singularity at the boundary. By using the above two methods, the local conformality of the meshes can be maintained, which is beneficial to improving the computational accuracy while controlling the number of unknowns.

[0067] As an alternative embodiment, the electromagnetic parameters of multiple parts of the surface are summed to obtain the electromagnetic parameters of the qubit. There are also many ways to sum the electromagnetic parameters of multiple parts. The method of integral equations is often used. For example, the Gaussian summation method can be used for summation to obtain the electromagnetic parameters of the entire qubit, ensuring the complete acquisition of the electromagnetic parameters of the entire qubit. For example, in the scenario of qubit decoherence, when accurately calculating the electric field occupancy near the surface of the qubit superconducting material, the Gaussian integral method can be used to calculate the electric field occupancy in the ultra-thin region, effectively solving the problem that the surface energy density of the superconducting material is essentially divergent, and the calculation is relatively accurate, so that the accuracy and efficiency of the electric field occupancy calculation in the qubit can be effectively controlled. By simply calculating the electromagnetic parameters of multiple parts, the electromagnetic parameters of the qubit can be obtained. After efficiently and accurately calculating the electromagnetic parameters of each region, the electromagnetic parameters of the qubit can be simply and accurately calculated, greatly reducing the amount of calculation and accelerating the calculation speed.

[0068] As an alternative embodiment, the core design in the quantum chip (qubit) is divided into multiple parts: including two plates constituting the qubit, control lines, ground, etc. (Of course, such a division is relatively natural and will not be elaborated here). Among them, these parts are on the same flat layer inside the chip. Then, the interactions between the various parts are used to construct a matrix using the integral equation method, that is, the interactions between the various parts are described numerically. Among them, the Green's function is used in the integral equation method to characterize the structure and environment of each part of the qubit in the corresponding flat layer (that is, the characteristics of the (electromagnetic) interactions between the various parts). To accurately obtain the numerical expressions of these characteristics, each part can be meshed, and the Green's function is calculated for each small mesh after meshing, so as to obtain the numerical value of each element in the matrix, thereby constructing a complete matrix. By solving this matrix and summing the charges of multiple parts, the lumped effect of the interactions between the various parts can be obtained.

[0069] In a specific scenario, when examining the decoherence problem of the qubit, it is necessary to accurately calculate the electric field occupancy near the surface of the qubit superconducting material. Under the above-mentioned scheme, the electric field near the surface of the superconducting material and its electric field occupancy can be reconstructed. For example, the Gaussian integral method can be used to calculate the electric field occupancy in the ultra-thin region, which can effectively solve the problem that the surface energy density of the superconducting material is essentially divergent, and the calculation is relatively accurate.

[0070] Therefore, the accuracy and efficiency of the calculation of the electric field occupancy in qubits can be effectively controlled. Compared with using other methods, the method of the above embodiments and optional implementation manners can greatly reduce the calculation time, significantly improve the calculation accuracy, and the calculation accuracy can be effectively controlled. This solves the technical problem of large calculation amount and long calculation time in the simulation process of qubits in the related art.

[0071] Figure 3 is a flowchart of the second method for processing qubits according to Embodiment 1 of the present invention. As Figure 3 shown, the method includes the following steps:

[0072] Step S302, display a qubit import control on the interaction interface;

[0073] Step S304, in response to an operation on the import control, display an image of the qubit on the interaction interface;

[0074] Step S306, receive an instruction to obtain the electromagnetic parameters of the qubit;

[0075] Step S308, in response to the instruction, display multiple parts included in the qubit on the interaction interface;

[0076] Step S310, display the electromagnetic parameters of the qubit on the interaction interface, where the electromagnetic parameters are obtained by summing the electromagnetic parameters of the surfaces of multiple parts, and the electromagnetic parameters of the surfaces of multiple parts are obtained after determining the electromagnetic interaction between multiple parts by using an integral equation, and the integral equation uses a Green's function to characterize the electromagnetic interaction between multiple parts.

[0077] Through the above steps, by displaying a qubit import control on the interaction interface and responding to an operation on the import control, the image of the qubit can be displayed, and then by receiving and responding to an instruction to obtain the electromagnetic parameters of the qubit, multiple parts included in the qubit are determined, the electromagnetic interaction between multiple parts is determined by an integral equation, and then the electromagnetic parameters of the surfaces of multiple parts are obtained. By efficiently processing each part separately and summing the electromagnetic parameters of the surfaces of multiple parts, the purpose of obtaining the electromagnetic parameters of the qubit is achieved, thus solving the technical problem of large calculation amount and long calculation time in the simulation process of qubits in the related art.

[0078] Based on the above embodiments and optional embodiments, an optional implementation manner is provided, which is specifically described below.

[0079] In the related art, most of the current simulations of qubits are calculated using the finite element method. The finite element method requires three-dimensional mesh generation for the structure and environment in electromagnetic simulations and solving large matrix equations. During the mesh generation process, the structure and environment can be divided into a large number of three-dimensional structures, such as tetrahedrons. The material parameters in the structure and environment will be defined in each tetrahedron to achieve a more accurate description of the environment. After the division, a finite number of tetrahedrons will be used as the smallest units carrying the electromagnetic field and substituted into Maxwell's equations for solution.

[0080] However, when using the above scheme to solve problems, since this method designs the division within a three-dimensional volume, a large number of smallest units will be generated, resulting in a large number of unknowns in the calculation. The finite element method has the following disadvantages: it consumes a large amount of calculation time; it is difficult to accurately calculate the singular electromagnetic field at the corners of metal structures; the above disadvantages make it difficult to achieve efficient automation of qubit design.

[0081] In view of this, in an alternative embodiment of the present invention, a scheme for superconducting qubit simulation and electric field occupancy calculation based on the electrostatic field integral equation is provided. This scheme accelerates the simulation of superconducting qubits and accurately calculates the electric field occupancy in superconducting qubits. The following is a detailed description of the alternative embodiments of the present invention.

[0082] (1) Calculate the electric field occupancy;

[0083] For analyzing the decoherence of qubits, it is often necessary to calculate the electric field occupancy, that is, the ratio of the electric field energy in the local loss region to the total energy in the entire space. This local loss region is often only a few nanometers, and the integral equation method can efficiently and accurately calculate the energy in this region. The steps are as follows:

[0084] S1, divide the loss region into several flat layers using the Gaussian quadrature method;

[0085] S2, calculate the energy density of each layer using the integral equation in each flat layer;

[0086] S3, sum using the Gaussian quadrature method to obtain the electric field energy of the region.

[0087] It should be noted that Figure 4 is a comparison chart of the efficiency obtained by the method for calculating the electric field occupancy provided by the embodiment of the present invention. As Figure 4 shown, using the above integral equation scheme, for calculating the electric field occupancy, the efficiency can be increased by more than 50 times.

[0088] (2) Calculate the energy density of each layer using the integral equation in each flat layer;

[0089] When calculating the energy density of each flat layer using the integral equation, the integral equation method can adopt the analytical Green's function as the characterization function of the environment. Therefore, there is no need to perform grid division on the three-dimensional structure, and only two-dimensional grid division is required for the object surface. As a result, the difficulty of grid division is greatly reduced, and the number of position quantities to be calculated is also greatly reduced, which will effectively improve the calculation efficiency.

[0090] The following is a specific example. Taking the calculation of the capacitance between two pieces of metal as an example:

[0091] Figure 5 is a schematic diagram of the capacitance calculation method provided according to the embodiment of the present invention. As Figure 5 shown, two rectangular metals 1 and 2 are placed on the dielectric substrate to calculate the capacitance between the two metals. Figure 6 is a schematic diagram of the effects of using the integral equation method and the finite element method in the capacitance calculation method provided according to the embodiment of the present invention. As Figure 6 shown, when using the integral equation, only the surface of the rectangular metal needs to be meshed, while the finite element method requires three-dimensional meshing of the entire space. The reduction in complexity is very significant.

[0092] Figure 7 is a calculation flowchart for extracting capacitance parameters in the capacitance calculation method provided according to the embodiment of the present invention. As Figure 7 shown, after meshing the surfaces of the rectangular metals 1 and 2 (as shown in the left part of Figure 7 ), the following scheme can be adopted to continue extracting capacitance parameters:

[0093] S1, set the voltage difference. As shown in the middle part of Figure 7 , the white metal 1 and the black metal 2 represent different voltages (electric potentials φ) being set;

[0094] S2, solve the charge distribution. As shown in the right part of Figure 7 , different charges q (1) , q (2) ; are distributed on the metals 1 and 2 with different voltages above. Among them, q is obtained by solving , where is the matrix constructed by the Green's function. Q (1) is obtained by summing q (1) , and Q (2) is obtained by summing q (2) ;

[0095] S3, extract the capacitance value. From the formula C = Q / φ, the capacitance C Figure 7 in 11 , C 21 is obtained.

[0096] The above steps can be extended to multiple metals, and finally the capacitance C between each metal can be solved.

[0097] It should be noted that Figure 8 is a schematic diagram of efficiency obtained according to the capacitance calculation method provided by the embodiment of the present invention. As Figure 8 shown, by using the above solution of the integral equation for capacitance, the efficiency can be increased by nearly 50 times.

[0098] (3) Non-conformal surface boundary triangle mesh refinement.

[0099] An optional embodiment of the present invention also provides a non-conformal surface boundary triangle mesh refinement method, which is an easy-to-operate mesh refinement scheme suitable for simulating boundary singularities and is particularly effective for calculating the electric field occupancy in a quantum chip.

[0100] In the process of solving the above integral equation, the mesh refinement method is used. When using numerical methods to solve differential equations, it is necessary to perform mesh partitioning on the environment and boundary of the problem to be solved. In such problems, due to the sudden change of boundary conditions, the solution quantity has singular values at the boundary, making accurate numerical solution extremely difficult. When analyzing the loss of a quantum chip, it is necessary to accurately analyze the electric field occupancy in the ultra-thin region. It is extremely difficult for general numerical calculations to handle such problems.

[0101] In view of this, an optional embodiment of the present invention provides a non-conformal surface boundary triangle mesh refinement method, which refines the mesh partitioning of the boundary and optimizes the mesh step by step in an iterative manner, and can optimize and approximate any curved surface / plane to generate a conformal mesh. The mesh formatting method provided by the optional embodiment of the present invention is a further optimization of the general grid subdivision for the calculation cost in the application of superconducting quantum chips, and can more effectively solve related problems in the field of superconducting quantum. The mesh refinement method provided by the optional embodiment of the present invention will be described in detail below.

[0102] The optional embodiment of the present invention will be described in detail by taking the refinement of a roughly partitioned triangular mesh as an example:

[0103] (1) Uniform refinement

[0104] Figure 9 is a schematic diagram of the uniform refinement scheme in the mesh refinement method provided by the optional embodiment of the present invention. As Figure 9 shown, after multiple refinements, multiple small meshes with the same aspect ratio can be generated. Using uniform refinement, the triangles adhered to the surface are divided into four small triangles. This uniform refinement can be used multiple times and can maintain the conformality of the mesh. If the scheme only acts on the boundary triangles, non-conformal meshes will be generated. At the same time, the number of triangles will increase exponentially with the refinement level.

[0105] (2) Boundary refinement

[0106] Figure 10 is a schematic diagram of a boundary refinement scheme in a mesh refinement method provided in an optional embodiment of the present invention, such as Figure 10 As shown, the triangles are divided parallel to the boundary and the triangle height t_i satisfies t_i / t_{i+1}=constant>1. When the mesh approaches the boundary, the mesh gradually becomes smaller, which can better characterize the singularity at the boundary. The boundary triangle is divided into multiple smaller triangles using a step-by-step attenuation scheme. At the same time, the mesh can maintain conformality locally; the number of meshes increases linearly with the number of refinement layers, that is, the number of triangles increases linearly, and the aspect ratio of the triangle will gradually change.

[0107] Using only one of the above uniform refinement or boundary refinement solutions cannot solve the problem of singular point simulation well: using only uniform refinement will cause the unknown quantity to increase exponentially, increasing the calculation burden; using only boundary refinement will result in the calculation accuracy of non-boundary areas cannot be well controlled.

[0108] Therefore, the mesh refinement scheme proposed in the optional embodiment of the present invention is to use a mixed uniform refinement and boundary refinement scheme, so that the characteristics of the mesh can be well maintained.

[0109] It should be noted that in the design of superconducting quantum chips, electrostatic field analysis is usually only required for planar structures. Therefore, the optimization approximation of arbitrary curved surfaces is not important and will bring additional computational costs. At the same time, non-common grids are also suitable for electrostatic field analysis.

[0110] Through the above optional implementation, the following beneficial effects can be achieved:

[0111] (1) Accelerated the simulation of superconducting quantum bits;

[0112] (2) Accurately calculate the electric field occupancy in superconducting qubits;

[0113] (3) In the mesh refinement method, a small number of uniform refinement layers is used to effectively optimize the accuracy of non-boundary areas and effectively control the number of unknown quantities;

[0114] (4) In the mesh refinement method, the mesh at the boundary is arbitrarily refined in the vertical direction, which can greatly improve the calculation accuracy of the boundary. At the same time, the unknown quantity grows linearly and is controlled within a smaller range.

[0115] It should be noted that, for the foregoing method embodiments, for the sake of simple description, they are all expressed as a series of action combinations. However, 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 essential to the present invention.

[0116] Through the description of the above embodiments, those skilled in the art can clearly understand that the quantum bit processing method according to the above embodiments can be implemented by means of software plus a necessary general hardware platform. Of course, it 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, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. The computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes several instructions for causing a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods of the various embodiments of the present invention.

[0117] Embodiment 2

[0118] According to an embodiment of the present invention, there is also provided a device 1 for implementing the above quantum bit processing method. Figure 11 It is a structural block diagram of the quantum bit processing device 1 provided according to Embodiment 2 of the present invention, as Figure 11 shown. The device includes: a first determination module 1102, a first processing module 1104, and a second processing module 1106. The device will be described below.

[0119] The first determination module 1102 is used to determine multiple parts included in the quantum bit; the first processing module 1104 is connected to the first determination module 1102 and is used to determine the electromagnetic interaction between the multiple parts by using an integral equation to obtain the electromagnetic parameters of the surfaces of the multiple parts, where the integral equation respectively uses a Green's function to characterize the electromagnetic interaction between the multiple parts; the second processing module 1106 is connected to the first processing module 1104 and is used to sum the electromagnetic parameters of the surfaces of the multiple parts to obtain the electromagnetic parameters of the quantum bit.

[0120] It should be noted here that the above first determination module 1102, first processing module 1104, and second processing module 1106 correspond to steps S202 to S206 in Embodiment 1. The examples and application scenarios implemented by the two modules and the corresponding steps are the same, but are not limited to the content disclosed in the above Embodiment 1. It should be noted that the above modules, as part of the device, can run in the computer terminal 10 provided in Embodiment 1.

[0121] Example 3

[0122] According to an embodiment of the present invention, there is also provided a second apparatus for implementing the above qubit processing method. Figure 12 It is a structural block diagram of the second qubit processing apparatus provided in Embodiment 3 of the present invention. As Figure 12 shown, the apparatus includes: a first display module 1202, a second display module 1204, a first receiving module 1206, a third display module 1208, and a fourth display module 1210. The apparatus will be described below.

[0123] The first display module 1202 displays a qubit import control on the interaction interface; the second display module 1204 is connected to the first display module 1202 and is configured to respond to an operation on the import control and display an image of the qubit on the interaction interface; the first receiving module 1206 is connected to the second display module 1204 and is configured to receive an instruction to obtain the electromagnetic parameters of the qubit; the third display module 1208 is connected to the first receiving module 1206 and is configured to respond to the instruction and display multiple parts included in the qubit on the interaction interface; the fourth display module 1210 is connected to the third display module 1208 and is configured to display the electromagnetic parameters of the qubit on the interaction interface, where the electromagnetic parameters are obtained by summing the electromagnetic parameters of the surfaces of multiple parts, and the electromagnetic parameters of the surfaces of multiple parts are obtained after determining the electromagnetic interaction between multiple parts by using an integral equation, and the integral equation uses a Green's function to characterize the electromagnetic interaction between multiple parts.

[0124] It should be noted here that the above first display module 1202, second display module 1204, first receiving module 1206, third display module 1208, and fourth display module 1210 correspond to steps S302 to S310 in Embodiment 1. The instances and application scenarios implemented by multiple modules and corresponding steps are the same, but are not limited to the content disclosed in the above Embodiment 1. It should be noted that the above modules, as part of the apparatus, can run in the computer terminal 10 provided in Embodiment 1.

[0125] Example 4

[0126] An embodiment of the present invention may provide a computer terminal, and the computer terminal may be any computer terminal device in a computer terminal group. Optionally, in this embodiment, the above computer terminal may also be replaced with a terminal device such as a mobile terminal.

[0127] Optionally, in this embodiment, the above computer terminal may be located in at least one network device among multiple network devices of a computer network.

[0128] In this embodiment, the above computer terminal may execute the program code of the following steps in the qubit processing method of the application program: determining multiple parts included in the qubit; using an integral equation to determine the electromagnetic interaction between the multiple parts to obtain the electromagnetic parameters of the surfaces of the multiple parts, where the integral equation respectively uses Green's function to characterize the electromagnetic interaction between the multiple parts; summing the electromagnetic parameters of the surfaces of the multiple parts to obtain the electromagnetic parameters of the qubit.

[0129] Wherein, the memory can be used to store software programs and modules, such as the program instructions / modules corresponding to the qubit processing detection method and device in the embodiments 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, implements the above-mentioned qubit 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 memories, or other non-volatile solid-state memories. In some instances, the memory may further include a memory remotely set relative to the processor, and these remote memories can be connected to terminal A through a network. Examples of the above network include but are not limited to the Internet, enterprise intranet, local area network, mobile communication network, and combinations thereof.

[0130] The processor can call the information and application program stored in the memory through the transmission device to execute the following steps: determining multiple parts included in the qubit; using an integral equation to determine the electromagnetic interaction between the multiple parts to obtain the electromagnetic parameters of the surfaces of the multiple parts, where the integral equation respectively uses Green's function to characterize the electromagnetic interaction between the multiple parts; summing the electromagnetic parameters of the surfaces of the multiple parts to obtain the electromagnetic parameters of the qubit.

[0131] Optionally, the above processor may further execute the program code of the following steps: using an integral equation to determine the electromagnetic interaction between the multiple parts to obtain the electromagnetic parameters of the surfaces of the multiple parts, including: calculating the electromagnetic parameters of the surfaces of the multiple parts by using the Gaussian quadrature method.

[0132] Optionally, the above processor may further execute the program code of the following steps: using an integral equation to determine the electromagnetic interaction between the multiple parts to obtain the electromagnetic parameters of the surfaces of the multiple parts, including: respectively performing two-dimensional grid meshing on the surfaces of the multiple parts to obtain multiple grids; using an integral equation to calculate the electromagnetic parameters of the multiple grids to respectively obtain the electromagnetic parameters of the surfaces of the multiple parts.

[0133] Optionally, the above-mentioned processor can also execute the program code of the following steps: performing two-dimensional mesh generation on the surfaces of multiple parts respectively to obtain multiple meshes, including: performing two-dimensional mesh generation on the surfaces of multiple parts respectively in a manner that combines the uniform refinement method and the boundary refinement method to obtain multiple meshes.

[0134] Optionally, the above-mentioned processor can also execute the program code of the following steps: performing two-dimensional mesh generation on the surfaces of multiple parts respectively in a manner that combines the uniform refinement method and the boundary refinement method to obtain multiple meshes, including: performing two-dimensional mesh generation on the non-boundary regions of the surfaces of multiple parts respectively using the uniform refinement method, and performing two-dimensional mesh generation on the boundary regions of the surfaces of multiple parts respectively using the boundary refinement method to obtain multiple meshes.

[0135] Optionally, the meshes obtained by the mesh generation are triangular meshes, and the aspect ratios of the triangular meshes obtained by using the uniform refinement method are the same; for the triangular meshes obtained by using the boundary refinement method, the closer to the boundary of the boundary region, the smaller the obtained triangular meshes, and the aspect ratios of the triangular meshes are inconsistent.

[0136] Optionally, the above-mentioned processor can also execute the program code of the following steps: the electromagnetic parameters include at least one of the following: electric field energy, electric field occupancy rate.

[0137] The processor can call the information and application programs stored in the memory through the transmission device to execute the following steps: displaying a quantum bit import control on the interaction interface; in response to an operation on the import control, displaying an image of the quantum bit on the interaction interface; receiving an instruction to obtain the electromagnetic parameters of the quantum bit; in response to the instruction, displaying multiple parts included in the quantum bit on the interaction interface; displaying the electromagnetic parameters of the quantum bit on the interaction interface, where the electromagnetic parameters are obtained by summing the electromagnetic parameters of the surfaces of multiple parts, and the electromagnetic parameters of the surfaces of multiple parts are obtained after determining the electromagnetic interaction between multiple parts using an integral equation, and the integral equation uses a Green's function to characterize the electromagnetic interaction between multiple parts.

[0138] By adopting the embodiment of the present invention, a quantum bit processing solution is provided. By determining the multiple parts included in the quantum bit, determining the electromagnetic interaction between multiple parts through an integral equation, and then obtaining the electromagnetic parameters of the surfaces of multiple parts, and by efficiently processing each part respectively and summing the electromagnetic parameters of the surfaces of multiple parts, the purpose of obtaining the electromagnetic parameters of the quantum bit is achieved, thereby solving the technical problems of large computational amount and long calculation time in the simulation process of quantum bits in the related art.

[0139] Those of ordinary skill in the art can understand that the structures shown in the figures are only schematic, and the computer terminal can also be a smart phone (such as an Android phone, an iOS phone, etc.), a tablet computer, a palm computer, and terminal devices such as Mobile Internet Devices (MID), PAD, etc. Figure 13 It does not limit the structure of the above electronic device. For example, the computer terminal 13 may further include more or fewer components (such as a network interface, a display device, etc.) than those shown in Figure 13 the figure, or have a different configuration from that shown in Figure 13 the figure.

[0140] Those 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. The storage medium may include: a flash drive, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disc, etc.

[0141] Embodiment 5

[0142] An embodiment of the present invention further provides a storage medium. Optionally, in this embodiment, the above storage medium can be used to store the program code executed by the quantum bit processing method provided in the above Embodiment 1.

[0143] Optionally, in this embodiment, the above storage medium can be located in any one of the computer terminals in the computer terminal group in the computer network, or in any one of the mobile terminals in the mobile terminal group.

[0144] Optionally, in this embodiment, the storage medium is set to store the program code for performing the following steps: determining multiple parts included in the quantum bit; using an integral equation to determine the electromagnetic interaction between the multiple parts to obtain the electromagnetic parameters of the surfaces of the multiple parts, where the integral equation respectively uses a Green's function to characterize the electromagnetic interaction between the multiple parts; summing the electromagnetic parameters of the surfaces of the multiple parts to obtain the electromagnetic parameters of the quantum bit.

[0145] Optionally, in this embodiment, the storage medium is set to store the program code for performing the following steps: using an integral equation to determine the electromagnetic interaction between the multiple parts to obtain the electromagnetic parameters of the surfaces of the multiple parts, including: calculating the electromagnetic parameters of the surfaces of the multiple parts by using the Gaussian quadrature method.

[0146] Optionally, in this embodiment, the storage medium is configured to store program code for performing the following steps: determining the electromagnetic interaction between multiple parts using an integral equation to obtain the electromagnetic parameters of the surfaces of the multiple parts, including: respectively performing two-dimensional mesh dissection on the surfaces of the multiple parts to obtain multiple meshes; calculating the electromagnetic parameters of the multiple meshes using an integral equation to respectively obtain the electromagnetic parameters of the surfaces of the multiple parts.

[0147] Optionally, in this embodiment, the storage medium is configured to store program code for performing the following steps: respectively performing two-dimensional mesh dissection on the surfaces of the multiple parts to obtain multiple meshes, including: respectively performing two-dimensional mesh dissection on the surfaces of the multiple parts using a method that combines uniform refinement and boundary refinement to obtain multiple meshes.

[0148] Optionally, in this embodiment, the storage medium is configured to store program code for performing the following steps: respectively performing two-dimensional mesh dissection on the surfaces of the multiple parts using a method that combines uniform refinement and boundary refinement to obtain multiple meshes, including: respectively performing two-dimensional mesh dissection on the non-boundary regions of the surfaces of the multiple parts using the uniform refinement method, and respectively performing two-dimensional mesh dissection on the boundary regions of the surfaces of the multiple parts using the boundary refinement method to obtain multiple meshes.

[0149] Optionally, in this embodiment, the storage medium is configured to store program code for performing the following steps: the meshes obtained by dissection are triangular meshes, and the aspect ratios of the triangular meshes obtained by using the uniform refinement method are the same; the triangular meshes obtained by using the boundary refinement method are smaller when approaching the boundary of the boundary region, and the aspect ratios of the triangular meshes are inconsistent.

[0150] Optionally, in this embodiment, the storage medium is configured to store program code for performing the following steps: the electromagnetic parameters include at least one of the following: electric field energy, electric field occupancy.

[0151] Optionally, in this embodiment, the storage medium is configured to store program code for performing the following steps: displaying a qubit import control on the interaction interface; in response to an operation on the import control, displaying an image of the qubit on the interaction interface; receiving an instruction to obtain the electromagnetic parameters of the qubit; in response to the instruction, displaying the multiple parts included in the qubit on the interaction interface; displaying the electromagnetic parameters of the qubit on the interaction interface, where the electromagnetic parameters are obtained by summing the electromagnetic parameters of the surfaces of the multiple parts, and the electromagnetic parameters of the surfaces of the multiple parts are obtained after determining the electromagnetic interaction between the multiple parts using an integral equation, and the integral equation uses a Green's function to characterize the electromagnetic interaction between the multiple parts.

[0152] 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.

[0153] In the above embodiments of the present invention, the descriptions of the various embodiments have their own emphases. For the parts not detailed in a certain embodiment, reference may be made to the relevant descriptions of other embodiments.

[0154] In the several embodiments provided by the present 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 illustrative. 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 displayed or discussed coupling or direct coupling or communication connection between each other can be through some interfaces, and the indirect coupling or communication connection of units or modules can be in an electrical or other form.

[0155] The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they can be located in one place, or they can be distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0156] In addition, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically alone, or two or more units can be integrated into one unit. The above integrated units can be implemented in the form of hardware or in the form of software functional units.

[0157] If the above 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 such an 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. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes: USB flash drives, read-only memories (ROMs), random access memories (RAMs), mobile hard disks, magnetic disks, or optical discs, and other media that can store program codes.

[0158] The above are only the preferred embodiments of the present invention. It should be noted that for those of ordinary skill in the art, without departing from the principle of the present invention, several improvements and modifications can be made, and these improvements and modifications should also be regarded as the protection scope of the present invention.

Claims

1. A method for processing qubits, characterized in that, Including: Determine multiple parts included in the qubit; Establish an equation to determine the electromagnetic interaction between the multiple parts, and obtain the electromagnetic parameters of the surfaces of the multiple parts, where the equation characterizes the electromagnetic interaction between the multiple parts using a numerical method; Perform numerical processing on the electromagnetic parameters of the surfaces of the multiple parts to obtain the electromagnetic parameters of the qubit; Among them, the establishing an equation to determine the electromagnetic interaction between the multiple parts and obtaining the electromagnetic parameters of the surfaces of the multiple parts includes: constructing a matrix for the electromagnetic interaction between the multiple parts using an integral equation, where the integral equation corresponding to the elements in the matrix characterizes the electromagnetic interaction between each part of the multiple parts using a Green's function; by solving the matrix, obtain the element values in the matrix, where the element values are used to represent the electromagnetic parameters corresponding to the surfaces of the multiple parts.

2. The method according to claim 1, wherein The obtaining the element values in the matrix by solving the matrix includes: Calculating the element values in the matrix by using the Gaussian quadrature method for the integral equation.

3. The method according to claim 1, wherein The establishing an equation to determine the electromagnetic interaction between the multiple parts and obtaining the electromagnetic parameters of the surfaces of the multiple parts includes: Perform two-dimensional mesh dissection on the surfaces of the multiple parts respectively to obtain multiple meshes; In the case where the equation is an integral equation established for each of the multiple parts, use the integral equation to calculate the electromagnetic parameters of the multiple meshes, and obtain the electromagnetic parameters of the surfaces of the multiple parts respectively.

4. The method according to claim 3, characterized in that, The performing two-dimensional mesh dissection on the surfaces of the multiple parts respectively to obtain multiple meshes includes: Use a mixed method of uniform refinement method and boundary refinement method to perform two-dimensional mesh dissection on the surfaces of the multiple parts respectively to obtain multiple meshes.

5. The method according to claim 4, characterized in that The using a mixed method of uniform refinement method and boundary refinement method to perform two-dimensional mesh dissection on the surfaces of the multiple parts respectively to obtain multiple meshes includes: Use the uniform refinement method to perform two-dimensional mesh dissection on the non-boundary regions of the surfaces of the multiple parts respectively, and use the boundary refinement method to perform two-dimensional mesh dissection on the boundary regions of the surfaces of the multiple parts respectively to obtain the multiple meshes.

6. The method according to claim 5, wherein The meshes obtained by dissection are triangular meshes. The aspect ratios of the triangular meshes obtained by using the uniform refinement method are the same; the closer the triangular meshes obtained by using the boundary refinement method are to the boundary of the boundary region, the smaller the obtained triangular meshes are, and the aspect ratios of the triangular meshes are inconsistent.

7. The method according to any one of claims 1 to 6, characterized in that The electromagnetic parameters include at least one of the following: electric field energy, electric field occupancy rate.

8. A method for processing qubits, characterized in that, Including: In response to an import operation, display the qubit on the interaction interface; Receive a parameter instruction, where the parameter instruction is used to obtain the electromagnetic parameters of the qubit; In response to the parameter instruction, the electromagnetic parameters of the qubit are displayed on the interaction interface, where the electromagnetic parameters include: the aggregate value of the electromagnetic parameters of multiple parts included in the qubit, and the electromagnetic parameters corresponding to each other between the multiple parts included in the qubit, and the electromagnetic parameters between the multiple parts are characterized numerically based on an equation; wherein, the electromagnetic parameters between the multiple parts are characterized by the element values in the matrix obtained by solving the matrix, the matrix is constructed based on using an integral equation for the electromagnetic interaction between the multiple parts, and the integral equation corresponding to the element in the matrix uses a Green's function to characterize the electromagnetic interaction between each part among the multiple parts.

9. A quantum bit processing device, characterized in that, Comprising: A first determination module, configured to determine multiple parts included in the qubit; A first processing module, configured to establish an equation to determine the electromagnetic interaction between the multiple parts, and obtain the electromagnetic parameters of the surfaces of the multiple parts, where the equation characterizes the electromagnetic interaction between the multiple parts using a numerical method; A second processing module, configured to perform numerical processing on the electromagnetic parameters of the surfaces of the multiple parts to obtain the electromagnetic parameters of the qubit; wherein, the first processing module is further configured to construct a matrix using an integral equation for the electromagnetic interaction between the multiple parts, where the integral equation corresponding to the element in the matrix uses a Green's function to characterize the electromagnetic interaction between each part among the multiple parts; by solving the matrix, the element values in the matrix are obtained, where the element values are used to represent the electromagnetic parameters corresponding to the surfaces of the multiple parts.

10. A quantum bit processing device, characterized in that, Comprising: A first display module, which displays the qubit on the interaction interface in response to an import operation; A first receiving module, configured to receive a parameter instruction, where the parameter instruction is used to obtain the electromagnetic parameters of the qubit; A second display module, configured to display the electromagnetic parameters of the qubit on the interaction interface in response to the parameter instruction, where the electromagnetic parameters include: the aggregate value of the electromagnetic parameters of multiple parts included in the qubit, and the electromagnetic parameters corresponding to each other between the multiple parts included in the qubit, and the electromagnetic parameters between the multiple parts are characterized numerically based on an equation; wherein, the electromagnetic parameters between the multiple parts are characterized by the element values in the matrix obtained by solving the matrix, the matrix is constructed based on using an integral equation for the electromagnetic interaction between the multiple parts, and the integral equation corresponding to the element in the matrix uses a Green's function to characterize the electromagnetic interaction between each part among the multiple parts.

11. A computer-readable storage medium, characterized in that, When the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the qubit processing method according to any one of claims 1 to 8.

12. A computer device, characterized in that, Comprising: A memory and a processor, The memory stores a computer program; The processor is configured to execute the computer program stored in the memory, and when the computer program runs, the processor is caused to execute the quantum bit processing method according to any one of claims 1 to 8.