Quantum bit processing method and device and computer equipment

文档序号:1831753 发布日期:2021-11-12 浏览:15次 中文

阅读说明:本技术 量子比特处理方法、装置及计算机设备 (Quantum bit processing method and device and computer equipment ) 是由 夏天 赵汇海 吴沣 于 2021-10-18 设计创作,主要内容包括:本发明公开了一种量子比特处理方法、装置及计算机设备。其中,该方法包括:确定量子比特所包括的多个部分;采用积分方程确定多个部分之间的电磁相互作用,得到多个部分的表面的电磁参数,其中,积分方程分别采用格林函数表征多个部分之间的电磁相互作用;对多个部分的表面的电磁参数进行求和,得到量子比特的电磁参数。本发明解决了相关技术中量子比特的模拟过程中,出现的计算量大、导致计算时间过长的技术问题。(The invention discloses a quantum bit processing method, a quantum bit processing device and computer equipment. Wherein, the method comprises the following steps: determining a plurality of portions comprised by the qubit; determining electromagnetic interaction among the multiple parts by adopting an integral equation to obtain electromagnetic parameters of the surfaces of the multiple parts, wherein the integral equation respectively adopts a Green function to represent the electromagnetic interaction among the multiple parts; and summing the electromagnetic parameters of the surfaces of the multiple parts to obtain the electromagnetic parameters of the qubits. The invention solves the technical problems of large calculation amount and overlong calculation time in the simulation process of the quantum bit in the related technology.)

1. A method for processing qubits, comprising:

determining a plurality of portions comprised by the qubit;

determining electromagnetic interaction among the multiple parts by adopting an integral equation to obtain electromagnetic parameters of the surfaces of the multiple parts, wherein the integral equation respectively adopts a Green function to represent the electromagnetic interaction among the multiple parts;

and summing the electromagnetic parameters of the surfaces of the plurality of portions to obtain the electromagnetic parameters of the qubits.

2. The method of claim 1, wherein determining electromagnetic interactions between the plurality of portions using an integral equation to obtain electromagnetic parameters of surfaces of the plurality of portions comprises:

and calculating the electromagnetic parameters of the surfaces of the parts by adopting a Gaussian quadrature method.

3. The method of claim 1, wherein determining electromagnetic interactions between the plurality of portions using an integral equation to obtain electromagnetic parameters of surfaces of the plurality of portions comprises:

respectively carrying out two-dimensional mesh subdivision on the surfaces of the parts to obtain a plurality of meshes;

and calculating the electromagnetic parameters of the grids by adopting an integral equation to respectively obtain the electromagnetic parameters of the surfaces of the parts.

4. The method of claim 3, wherein the performing a two-dimensional meshing of the surfaces of the plurality of portions to obtain a plurality of meshes comprises:

and respectively carrying out two-dimensional mesh subdivision on the surfaces of the parts by adopting a mode of mixing a uniform thinning method and a boundary thinning method to obtain a plurality of meshes.

5. The method of claim 4, wherein the performing two-dimensional mesh generation on the surfaces of the plurality of portions respectively by using a mixed uniform refinement method and a mixed boundary refinement method to obtain a plurality of meshes comprises:

and respectively carrying out two-dimensional mesh generation on the non-boundary areas of the surfaces of the parts by adopting the uniform thinning method, and respectively carrying out two-dimensional mesh generation on the boundary areas of the surfaces of the parts by adopting the boundary thinning method to obtain the meshes.

6. The method of claim 5, wherein the mesh obtained by dividing is a triangular mesh, and the aspect ratios of the triangular meshes obtained by dividing by the uniform refining method are consistent; when the triangular meshes obtained by subdivision by adopting the boundary thinning method are closer to the boundary of the boundary area, the obtained triangular meshes are smaller, and the length-width ratios of the triangular meshes are inconsistent.

7. The method according to any one of claims 1 to 6, wherein the electromagnetic parameters comprise at least one of: electric field energy, electric field occupancy.

8. A method for processing qubits, comprising:

displaying a quantum bit import control on an interactive interface;

responding to the operation of the import control, and displaying the image of the quantum bit on the interactive interface;

receiving an instruction to obtain electromagnetic parameters of the qubit;

displaying, in response to the instruction, a plurality of portions included in the qubit at the interactive interface;

and displaying the electromagnetic parameters of the qubits on the interactive interface, wherein the electromagnetic parameters are obtained by summing the electromagnetic parameters of the surfaces of the multiple portions, the electromagnetic parameters of the surfaces of the multiple portions are obtained by determining the electromagnetic interaction among the multiple portions by adopting an integral equation, and the integral equation is used for representing the electromagnetic interaction among the multiple portions by adopting a green's function.

9. A qubit processing apparatus, comprising:

a first determining module for determining a plurality of portions comprised by the qubits;

the first processing module is used for determining electromagnetic interaction among the multiple parts by adopting an integral equation to obtain electromagnetic parameters of the surfaces of the multiple parts, wherein the integral equation respectively adopts a Green function to represent the electromagnetic interaction among the multiple parts;

and the second processing module is used for summing the electromagnetic parameters of the surfaces of the parts to obtain the electromagnetic parameters of the qubits.

10. A qubit processing apparatus, comprising:

the first display module is used for displaying the quantum bit import control on the interactive interface;

the second display module is used for responding to the operation of the import control and displaying the image of the qubit on the interactive interface;

a first receiving module for receiving an instruction to obtain electromagnetic parameters of the qubit;

a third display module, configured to display, in response to the instruction, a plurality of portions included in the qubit on the interactive interface;

and the fourth display module is used for displaying the electromagnetic parameters of the qubits on the interactive interface, wherein the electromagnetic parameters are obtained by summing the electromagnetic parameters of the surfaces of the multiple parts, the electromagnetic parameters of the surfaces of the multiple parts are obtained by determining the electromagnetic interaction among the multiple parts by adopting an integral equation, and the integral equation adopts a green function to represent the electromagnetic interaction among the multiple parts.

11. A computer-readable storage medium, wherein instructions in the computer-readable storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the qubit processing method of any of claims 1 to 8.

12. A computer program product comprising a computer program, characterized in that the computer program, when executed by a processor, implements the qubit processing method of any of claims 1 to 8.

13. A computer device, comprising: a memory and a processor, wherein the processor is capable of,

the memory stores a computer program;

the processor configured to execute a computer program stored in the memory, the computer program when executed causing the processor to perform the qubit processing method of any of claims 1 to 8.

Technical Field

The invention relates to the field of quantum, in particular to a quantum bit processing method, a quantum bit processing device and computer equipment.

Background

In the design and simulation process of the quantum bit, a method of electromagnetic calculation is needed to extract quantum circuit parameters and calculate the distribution of an electromagnetic field in the environment to analyze decoherence of quantum states. Accurate and efficient electromagnetic simulation can effectively help the design of the quantum chip, and the bit with high phase-fading coherence time is realized through the design.

In the related art, the current simulation of qubits mostly adopts a finite element method for calculation. The finite element method needs to perform three-dimensional mesh subdivision on a structure and an environment in electromagnetic simulation, and solve a large-scale matrix equation. During mesh generation, 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, thereby achieving a more accurate description of the environment. And taking the limited number of tetrahedrons after subdivision as the minimum unit for bearing the electromagnetic field, and substituting the minimum unit into Maxwell equations for solving. However, when the above-mentioned solution is adopted to solve the problem, a large number of minimum units are generated due to the subdivision in the three-dimensional volume designed by the method, which results in a large number of calculated unknowns.

In view of the above problems, no effective solution has been proposed.

Disclosure of Invention

The embodiment of the invention provides a method and a device for processing a quantum bit and computer equipment, which are used for at least solving the technical problems of large calculation amount and overlong calculation time in the simulation process of the quantum bit in the related technology.

According to an aspect of the embodiments of the present invention, there is provided a method for processing a quantum bit, including: determining a plurality of portions comprised by the qubit; determining electromagnetic interaction among the multiple parts by adopting an integral equation to obtain electromagnetic parameters of the surfaces of the multiple parts, wherein the integral equation respectively adopts a Green function to represent the electromagnetic interaction among the multiple parts; and summing the electromagnetic parameters of the surfaces of the plurality of portions to obtain the electromagnetic parameters of the qubits.

Optionally, the determining electromagnetic interactions between the plurality of portions using an integral equation to obtain the electromagnetic parameters of the surfaces of the plurality of portions comprises: and calculating the electromagnetic parameters of the surfaces of the parts by adopting a Gaussian quadrature method.

Optionally, the determining electromagnetic interactions between the plurality of portions using an integral equation to obtain the electromagnetic parameters of the surfaces of the plurality of portions comprises: respectively carrying out two-dimensional mesh subdivision on the surfaces of the parts to obtain a plurality of meshes; and calculating the electromagnetic parameters of the grids by adopting an integral equation to respectively obtain the electromagnetic parameters of the surfaces of the parts.

Optionally, the performing two-dimensional mesh generation on the surfaces of the multiple parts respectively to obtain multiple meshes includes: and respectively carrying out two-dimensional mesh subdivision on the surfaces of the parts by adopting a mode of mixing a uniform thinning method and a boundary thinning method to obtain a plurality of meshes.

Optionally, the performing two-dimensional mesh generation on the surfaces of the multiple parts respectively by using a mixed manner of a uniform refinement method and a boundary refinement method to obtain multiple meshes includes: and respectively carrying out two-dimensional mesh generation on the non-boundary areas of the surfaces of the parts by adopting the uniform thinning method, and respectively carrying out two-dimensional mesh generation on the boundary areas of the surfaces of the parts by adopting the boundary thinning method to obtain the meshes.

Optionally, the mesh obtained by subdivision is a triangular mesh, and the length-width ratio of the triangular mesh obtained by subdivision by the uniform thinning method is consistent; when the triangular meshes obtained by subdivision by adopting the boundary thinning method are closer to the boundary of the boundary area, the obtained triangular meshes are smaller, and the length-width ratios of the triangular meshes are inconsistent.

Optionally, the electromagnetic parameters include at least one of: electric field energy, electric field occupancy.

According to an aspect of the embodiments of the present invention, there is provided a method for processing a quantum bit, including: displaying a quantum bit import control on an interactive interface; responding to the operation of the import control, and displaying the image of the quantum bit on the interactive interface; receiving an instruction to obtain electromagnetic parameters of the qubit; displaying, in response to the instruction, a plurality of portions included in the qubit at the interactive interface; and displaying the electromagnetic parameters of the qubits on the interactive interface, wherein the electromagnetic parameters are obtained by summing the electromagnetic parameters of the surfaces of the multiple portions, the electromagnetic parameters of the surfaces of the multiple portions are obtained by determining the electromagnetic interaction among the multiple portions by adopting an integral equation, and the integral equation is used for representing the electromagnetic interaction among the multiple portions by adopting a green's function.

According to an aspect of an embodiment of the present invention, there is provided a quantum bit processing apparatus including: a first determining module for determining a plurality of portions comprised by the qubits; the first processing module is used for determining electromagnetic interaction among the multiple parts by adopting an integral equation to obtain electromagnetic parameters of the surfaces of the multiple parts, wherein the integral equation respectively adopts a Green function to represent the electromagnetic interaction among the multiple parts; and the second processing module is used for summing the electromagnetic parameters of the surfaces of the parts to obtain the electromagnetic parameters of the qubits.

According to an aspect of an embodiment of the present invention, there is provided a quantum bit processing apparatus including: the first display module is used for displaying the quantum bit import control on the interactive interface; the second display module is used for responding to the operation of the import control and displaying the image of the qubit on the interactive interface; a first receiving module for receiving an instruction to obtain electromagnetic parameters of the qubit; a third display module, configured to display, in response to the instruction, a plurality of portions included in the qubit on the interactive interface; and the fourth display module is used for displaying the electromagnetic parameters of the qubits on the interactive interface, wherein the electromagnetic parameters are obtained by summing the electromagnetic parameters of the surfaces of the multiple parts, the electromagnetic parameters of the surfaces of the multiple parts are obtained by determining the electromagnetic interaction among the multiple parts by adopting an integral equation, and the integral equation adopts a green function to represent the electromagnetic interaction among the multiple parts.

According to an aspect of embodiments of the present invention, there is provided a computer-readable storage medium, wherein instructions of the computer-readable storage medium, when executed by a processor of an electronic device, enable the electronic device to perform any one of the qubit processing methods.

According to an aspect of embodiments of the present invention, there is provided a computer program product comprising a computer program which, when executed by a processor, implements any one of the qubit processing methods.

According to an aspect of an embodiment of the present invention, there is provided a computer apparatus including: a memory and a processor, the memory storing 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 enabled to execute any one of the qubit processing methods.

In the embodiment of the invention, the electromagnetic interaction among the parts is determined by an integral equation in a mode of determining the parts included by the qubits, so that the electromagnetic parameters of the surfaces of the parts are obtained, the parts are respectively and efficiently processed, and the electromagnetic parameters of the surfaces of the parts are summed, so that the purpose of obtaining the electromagnetic parameters of the qubits is achieved, and the technical problems of large calculation amount and long calculation time in the simulation process of the qubits in the related technology are solved.

Drawings

The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:

fig. 1 shows a hardware configuration block diagram of a computer terminal for implementing a qubit processing method;

fig. 2 is a flowchart of a first qubit processing method according to embodiment 1 of the invention;

FIG. 3 is a flowchart of a qubit processing method two according to embodiment 1 of the invention;

FIG. 4 is a graph comparing efficiency obtained by a method for calculating electric field occupancy according to an embodiment of the present invention;

FIG. 5 is a schematic diagram of a capacitance calculation method provided in accordance with an embodiment of the invention;

FIG. 6 is a schematic diagram illustrating the effect of using an integral equation method and a finite element method in a capacitance calculation method according to an embodiment of the present invention;

FIG. 7 is a flowchart of the calculation of the extracted capacitance parameter in the capacitance calculation method according to the embodiment of the invention;

FIG. 8 is a schematic diagram of the efficiency of a method for calculating capacitance according to an embodiment of the present invention;

FIG. 9 is a schematic diagram of a uniform refinement scheme in a mesh refinement method provided by an alternative embodiment of the present invention;

FIG. 10 is a schematic diagram of a boundary refinement scheme in a mesh refinement method provided by an alternative embodiment of the invention;

fig. 11 is a block diagram of a first qubit processing device according to embodiment 2 of the present invention;

fig. 12 is a block diagram of a second qubit processing device according to embodiment 3 of the present invention;

fig. 13 is an apparatus block diagram of a terminal according to an embodiment of the present invention.

Detailed Description

In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.

It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.

First, some terms or terms appearing in the description of the embodiments of the present application are applicable to the following explanations:

integral equation of electrostatic field: a method for simulating an electrostatic field is also called a moment method.

Superconducting qubits: qubits implemented with superconducting schemes.

Electric field participation rate: the proportion of the energy of the local electric field to the total energy of the occupied space is characterized and used for analyzing the problem of dissipation of the superconducting bit in the medium.

Decoherence: the popular name is 'wave function collapse effect', which is one of the basic mathematical characteristics of quantum mechanics. The method refers to the phenomenon that the original continuously distributed wave function probability amplitude is instantaneously degenerated into a delta function (a dirac delta function, the point value of a specific point is infinite, all other point values are 0, and the total area of the whole function graph is defined as 1) which is discretely distributed at a certain point after the wave function probability amplitude undergoes observation.

Phase-losing time: simply the time that a quantum state can exist before being destroyed by various factors, primarily coupling to the environment.

Quantum decoherence (Quantum coherence), also known as Quantum decoherence: in quantum mechanics, the quantum coherence of an open quantum system is gradually lost over time due to quantum entanglement with the external environment, an effect known as quantum decoherence. Quantum decoherence is a consequence of quantum entanglement between quantum systems and the environment.

Bit time: is the time required to transmit 1 bit, which is a unit of time that is closely related to the data rate. If the bit time is to be changed to microseconds, it is necessary to know what the data rate is. If the data rate is 10Mb/s, then 100 bits of time equals 10 microseconds.

Finite Element Method (FEM, fine Element Method): a numerical technique for approximating a solution to the problem of the edge values of partial differential equations. When solving, the whole problem area is decomposed, and each sub-area becomes a simple part, and the simple part is called finite element.

Conformal/non-conformal: in mesh generation, a mesh is conformal if the overlapping portions of two adjacent cells make up the faces, lines and points of the cell.

Triangular mesh: a mesh consisting of triangles is usually due to the subdivision of the object surface.

Mesh refinement: method for dividing grid cells into more fine parts

Example 1

There is also provided, in accordance with an embodiment of the present invention, a method embodiment for quantum bit processing, it should be noted that the steps illustrated in the flowchart of the accompanying drawings may be performed in a computer system such as a set of computer executable instructions, and that, although a logical order is illustrated in the flowchart, in some cases, the steps illustrated or described may be performed in an order different than that described herein.

The method provided by the first embodiment of the present application may be executed in a mobile terminal, a computer terminal, or a similar computing device. Fig. 1 shows a hardware configuration block diagram of a computer terminal (or mobile device) for implementing a qubit processing method. As shown in fig. 1, the computer terminal 10 (or mobile device) may include one or more (shown as 102a, 102b, … …, 102 n) processors 102 (which may include, but are not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA), a memory 104 for storing data, and a transmission module for communication functions. Besides, the method can also comprise the following steps: 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), a network interface, a power source, and/or a camera. It will be understood by those skilled in the art that the structure shown in fig. 1 is only an illustration and is not intended to limit the structure of the electronic device. For example, the computer terminal 10 may also include more or fewer components than shown in FIG. 1, or have a different configuration than shown in FIG. 1.

It should be noted that the one or more processors 102 and/or other data processing circuitry described above may be referred to generally herein as "data processing circuitry". The data processing circuitry may be embodied in whole or in part in software, hardware, firmware, or any combination thereof. Further, the data processing circuit may be a single stand-alone processing module, or incorporated in whole or in part into any of the other elements in the computer terminal 10 (or mobile device). As referred to in the embodiments of the application, the data processing circuit acts as a processor control (e.g. selection of a variable resistance termination path connected to the interface).

The memory 104 may be used to store software programs and modules of application software, such as program instructions/data storage devices corresponding to the qubit processing method in the embodiment of the present invention, and the processor 102 executes various functional applications and data processing by running the software programs and modules stored in the memory 104, that is, implementing the qubit processing method of the application program. The memory 104 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include memory located remotely from the processor 102, which may be connected to the computer terminal 10 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.

The transmission device is used for receiving or transmitting data via a network. Specific examples of the network described above 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 (NIC) that can be connected to other Network devices through a base station to communicate with the internet. In one example, the transmission device may be a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.

The display may be, for example, a touch screen type Liquid Crystal Display (LCD) that may enable a user to interact with a user interface of the computer terminal 10 (or mobile device).

Under the operating environment described above, the present application provides a qubit processing method as shown in fig. 2. Fig. 2 is a flowchart of a first qubit processing method according to embodiment 1 of the invention, which, as shown in fig. 2, includes the following steps:

step S202, determining a plurality of parts included by the qubits;

step S204, determining electromagnetic interaction among the multiple parts by adopting an integral equation to obtain electromagnetic parameters of the surfaces of the multiple parts, wherein the integral equation respectively adopts a Green function to represent the electromagnetic interaction among the multiple parts;

step S206, the electromagnetic parameters of the surfaces of the multiple parts are summed to obtain the electromagnetic parameters of the qubits.

Through the steps, the electromagnetic interaction among the parts is determined through an integral equation in a mode of determining the parts included by the qubits, so that the electromagnetic parameters of the surfaces of the parts are obtained, the parts are respectively and efficiently processed, and the electromagnetic parameters of the surfaces of the parts are summed, so that the purpose of obtaining the electromagnetic parameters of the qubits is achieved, and the technical problems of large calculation amount and long calculation time in the simulation process of the qubits in the related technology are solved.

As an alternative embodiment, the portions comprised by the qubit are determined. For example, in a quantum chip, the quantum chip may be divided at a physical level, that is, a core design of the quantum chip may be divided into a plurality of portions (for example, including two plates constituting a qubit, a control line, a ground, and the like), and the plurality of portions belong to the same flat layer, so as to design and determine the plurality of portions included in the qubit; the division may also be performed by other layers, that is, the user may perform the division according to the functions executed by each portion, or may perform the division according to the location where each portion resides, which is not limited herein. By determining the parts included by the qubits, a basis is provided for subsequent respective calculation of the parts of the qubits, so that the single calculation amount is reduced, and the calculation is simpler.

As an alternative embodiment, the electromagnetic interaction between the plurality of portions is determined by using an integral equation to obtain the electromagnetic parameters of the surfaces of the plurality of portions, wherein the integral equation is used to characterize the electromagnetic interaction between the plurality of portions by using green's functions, respectively. When the integral equation is adopted to confirm the electromagnetic interaction among the multiple parts, the integral equation can represent the environments and structures of the multiple parts, and the integral equation can be flexibly selected according to different representation capabilities of the integral equations or different environments and structures with respective emphasis. The electromagnetic interaction between the parts can be described numerically by constructing a matrix by an integral equation. For example, a matrix can be constructed by using a green function, an integral equation corresponding to a plurality of parts can be determined by solving the matrix, the green function can represent the structure and environment of quantum bits at the corresponding parts, and the subdivision of a two-dimensional grid is performed, so that the electromagnetic parameters of the corresponding parts can be obtained. The electromagnetic parameters are obtained by calculating the integral equation of each part, and when each part is calculated, the position quantity and the number which need to be calculated are greatly reduced, so that the calculation efficiency is effectively improved.

It should be noted that the electromagnetic parameters mentioned above may refer to various relevant parameters related to the qubit, such as the electric field energy of the local loss region of the qubit, the electric field energy of the entire spatial region of the qubit, the occupancy ratio of the electric field, i.e., the ratio of the electric field energy of the local loss region to the entire spatial energy, and so on.

As an alternative embodiment, when the electromagnetic interaction between the plurality of portions is determined by using the integral equation to obtain the electromagnetic parameters of the surfaces of the plurality of portions, the following manner may be adopted: respectively carrying out two-dimensional mesh subdivision on the surfaces of the parts to obtain a plurality of meshes and obtain a plurality of meshes; and calculating the electromagnetic parameters of the grids by adopting an integral equation to respectively obtain the electromagnetic parameters of the surfaces of the parts. And carrying out operation of an integral equation by a plurality of grids obtained by carrying out two-dimensional grid subdivision on the surfaces of the plurality of parts to obtain the electromagnetic parameters of the surfaces of the plurality of parts. The electromagnetic parameters of the surfaces of the parts can be acquired more accurately and quickly.

As an alternative embodiment, performing two-dimensional mesh generation on the surfaces of the plurality of portions to obtain a plurality of meshes respectively includes: and respectively carrying out two-dimensional mesh subdivision on the surfaces of the parts by adopting a mode of mixing a uniform thinning method and a boundary thinning method to obtain a plurality of meshes. When any scheme of uniform thinning or boundary thinning is adopted, the problem of quantum bit simulation cannot be well solved: only adopting uniform thinning will lead to the rise of unknown quantity index, increasing the calculation burden; only adopting the boundary refinement will result in that the calculation accuracy of the non-boundary area cannot be well controlled. Therefore, the uniform thinning scheme and the boundary thinning scheme are mixed, so that the characteristics of the grid can be well maintained.

As an optional embodiment, a method of mixing a uniform refinement method and a boundary refinement method is adopted to perform two-dimensional mesh subdivision on the surfaces of a plurality of parts respectively to obtain a plurality of meshes, and the method includes: and respectively carrying out two-dimensional mesh generation on the non-boundary areas of the surfaces of the parts by adopting a uniform thinning method, and respectively carrying out two-dimensional mesh generation on the boundary areas of the surfaces of the parts by adopting a boundary thinning method to obtain a plurality of meshes. A uniform thinning method is adopted in the non-boundary area, a small number of uniform thinning layers are adopted, the precision of the non-boundary area is effectively optimized, and meanwhile the number of unknown quantities is effectively controlled; and a boundary thinning method is adopted in the boundary area, and the mesh subdivision at the boundary is randomly thinned in the vertical direction, so that the calculation accuracy of the boundary can be greatly improved, and meanwhile, the unknown quantity is linearly increased and controlled in a smaller range.

As an optional embodiment, the mesh obtained by subdivision is a triangular mesh, and the aspect ratios of the triangular meshes obtained by subdivision by adopting a uniform thinning method are consistent; when the triangular meshes obtained by subdivision by adopting the boundary thinning method are closer to the boundary of the boundary area, the obtained triangular meshes are smaller, and the length-width ratios of the triangular meshes are inconsistent. In the uniform refinement method, the aspect ratios of the triangular meshes are consistent, and a plurality of small meshes with consistent aspect ratios can be generated through multi-layer refinement, so that the conformality of the meshes can be maintained, and the structured processing is facilitated; in the boundary refining method, when the grid is close to the boundary, the grid is gradually reduced, and the singularity at the boundary can be better represented. By adopting the two methods, the grid can be kept conformal locally, and the calculation precision can be improved while the unknown quantity is controlled.

As an alternative embodiment, the electromagnetic parameters of the surfaces of the plurality of portions are summed to obtain the electromagnetic parameters of the qubit. There are also many ways to sum the electromagnetic parameters of multiple parts, and a method of an integral equation is more often adopted, for example, a gaussian summation method may be used to perform summation to obtain the electromagnetic parameters of the whole qubit, thereby ensuring that the electromagnetic parameters of the whole qubit are completely obtained. For example, in a quantum bit decoherence scene, when the electric field occupancy rate near the surface of the quantum bit superconducting material is accurately calculated, the electric field occupancy rate in the ultrathin region can be calculated by adopting a Gaussian integration method, so that the problem that the surface energy density of the superconducting material is essentially divergent is effectively solved, the calculation is relatively accurate, and the calculation precision and efficiency of the electric field occupancy rate in the quantum bit can be effectively controlled. The electromagnetic parameters of the qubits can be obtained by simply calculating the electromagnetic parameters of a plurality of parts, and after the electromagnetic parameters of each region are efficiently and accurately calculated, the electromagnetic parameters of the qubits can be simply and accurately calculated, so that the calculation amount is greatly reduced, and the calculation speed is accelerated.

As an alternative embodiment, by dividing the core design in a quantum chip (qubit) into multiple parts: including two plates that constitute a bit, a control line, ground, etc. (of course such division is natural and will not be described here). Wherein the several parts belong to the same level inside the chip. And then constructing a matrix by using an integral equation method for the interaction among the parts, namely describing the interaction among the parts by using a numerical method. In the integral equation method, a green function is adopted to represent the structure and environment of each part of the quantum bit in the corresponding flat layer (namely the characteristics of the (electromagnetic) interaction of each part). In order to accurately obtain the numerical expression of the characteristics, the numerical value of each element in the matrix can be obtained by gridding each part and calculating the Green function of each grid after grid combination, so that a complete matrix is constructed. By solving this matrix and summing the charges of the various parts, a lumped effect of the interaction of the various parts can be obtained.

In a specific scenario, when examining the decoherence problem of qubits, the electric field occupancy near the surface of the qubit superconducting material needs to be accurately calculated. Under the scheme, the electric field near the surface of the superconducting material and the electric field occupancy rate of the superconducting material can be reconstructed, for example, the electric field occupancy rate in the ultrathin region is calculated by adopting a Gaussian integration method, the problem that the energy density on the surface of the superconducting material is essentially divergent can be effectively solved, and the calculation is accurate.

Therefore, the accuracy and efficiency of the electric field occupancy rate calculation in the qubit can be effectively controlled. Compared with other methods, the method adopting the embodiment and the optional implementation mode can greatly shorten the calculation time, remarkably improve the calculation accuracy and effectively control the calculation accuracy. The method solves the technical problems of large calculation amount and overlong calculation time in the simulation process of the qubits in the related technology.

Fig. 3 is a flowchart of a second qubit processing method according to embodiment 1 of the invention, which, as shown in fig. 3, includes the following steps:

step S302, displaying a quantum bit import control on an interactive interface;

step S304, responding to the operation of the import control, and displaying the image of the qubit on the interactive interface;

step S306, receiving an instruction for acquiring the electromagnetic parameters of the qubits;

step S308, responding to the instruction, and displaying a plurality of parts included by the qubits on the interactive interface;

step S310, displaying electromagnetic parameters of the qubits on the interactive interface, wherein the electromagnetic parameters are obtained by summing the electromagnetic parameters of the surfaces of the multiple parts, the electromagnetic parameters of the surfaces of the multiple parts are obtained by determining electromagnetic interaction among the multiple parts by adopting an integral equation, and the integral equation adopts a Green function to represent the electromagnetic interaction among the multiple parts.

Through the steps, the leading-in control of the qubit is displayed on the interactive interface, the operation on the leading-in control is responded, the image of the qubit can be displayed, the electromagnetic parameter instruction of the qubit is received and responded to obtain, a plurality of parts included by the qubit are determined, the electromagnetic interaction among the parts is determined through an integral equation, the electromagnetic parameters of the surfaces of the parts are further obtained, the parts are respectively and efficiently processed, the electromagnetic parameters of the surfaces of the parts are summed, the purpose of obtaining the electromagnetic parameters of the qubit is achieved, and the technical problems that in the simulation process of the qubit in the related technology, the calculation amount is large, and the calculation time is too long are solved.

Based on the above embodiments and alternative embodiments, an alternative implementation is provided, which is described in detail below.

In the related art, the current simulation of qubits mostly adopts a finite element method for calculation. The finite element method needs to perform three-dimensional mesh subdivision on a structure and an environment in electromagnetic simulation, and solve a large-scale matrix equation. During mesh generation, 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, thereby achieving a more accurate description of the environment. And taking the limited number of tetrahedrons after subdivision as the minimum unit for bearing the electromagnetic field, and substituting the minimum unit into Maxwell equations for solving.

However, when the above-mentioned solution is adopted to solve the problem, a large number of minimum units are generated due to the subdivision in the three-dimensional volume designed by the method, which results in a large number of calculated unknowns. The finite element method has the following defects: the calculation time is consumed greatly; the singular electromagnetic field at the corner of the metal structure is difficult to accurately calculate; the above disadvantages make it difficult to achieve efficient qubit design automation.

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 electrostatic field integral equations is provided that speeds up superconducting qubit simulation and accurately calculates electric field occupancy in the superconducting qubits. The following is a detailed description of alternative embodiments of the invention.

Calculating the occupancy rate of the electric field;

for analyzing decoherence of qubits, it is often necessary to calculate the electric field occupancy, i.e. the proportion of the electric field energy in the local depletion region to the total spatial energy. The local loss region is often only a few nanometers, and the energy of the region can be efficiently and accurately calculated by an integral equation method. The method comprises the following steps:

s1, dividing the loss area into a plurality of flat layers by adopting a Gaussian quadrature method;

s2, calculating the energy density of each flat layer by using an integral equation;

and S3, obtaining the electric field energy of the region by using the Gaussian quadrature method for summation.

It should be noted that fig. 4 is a graph comparing efficiencies obtained by the method for calculating electric field occupancy according to the embodiment of the present invention, and as shown in fig. 4, the efficiency can be improved by more than 50 times by adopting the above scheme of the integral equation.

(II) calculating the energy density of each flat layer by using an integral equation;

when the integral equation is used for calculating the energy density of each flat layer, the integral equation method can adopt an analytic Green function as a representation function of the environment, so that meshing of a three-dimensional structure is not needed, and only two-dimensional meshing of the surface of an object is needed. Therefore, the difficulty of mesh generation is greatly reduced, the quantity of positions needing to be calculated is also greatly reduced, and the calculation efficiency is effectively improved.

The following is a specific example, taking the calculation of the capacitance between two pieces of metal as an example:

fig. 5 is a schematic diagram of a capacitance calculation method according to an embodiment of the present invention, and as shown in fig. 5, two pieces of rectangular metals 1 and 2 are placed on a dielectric substrate, and the capacitance between the two pieces of metals is calculated. Fig. 6 is a schematic diagram illustrating an effect of using an integral equation method and a finite element method in the capacitance calculation method according to the embodiment of the present invention, as shown in fig. 6, only a rectangular metal surface needs to be subdivided by using the integral equation, and a real space needs to be subdivided by using the finite element method in three dimensions. The reduction in complexity is significant.

Fig. 7 is a flowchart of a calculation for extracting a capacitance parameter in a capacitance calculation method according to an embodiment of the present invention, and as shown in fig. 7, after mesh division is performed on surfaces of rectangular metals 1 and 2 (as shown in a left part of fig. 7), the following scheme may be adopted to continue extracting the capacitance parameter:

s1, setting voltage difference, as shown in the middle part of FIG. 7, white metal 1 and black metal 2 represent that different voltages (potentials) are set);

S2, solving the charge distribution, as shown in the right part of the figure 7, distributing corresponding different charges q on the metal 1 and the metal 2 with different voltages(1),q(2)(ii) a Wherein q is by solutionTo obtain a mixture of, among others,is a matrix constructed from the green's function. Q(1)Is pair q(1)Are summed to obtain Q(2)Is pair q(2)Summing to obtain;

s3, extracting the capacitance value according to the formulaTo obtain a capacitor C as shown in FIG. 711,C21

The above steps can be extended to multiple metals and ultimately solve for the capacitance C between each metal.

It should be noted that fig. 8 is a schematic efficiency diagram obtained by the method for calculating capacitance according to the embodiment of the present invention, and as shown in fig. 8, the efficiency can be improved by nearly 50 times by solving the capacitance with the above scheme of the integral equation.

And (III) refining the triangular mesh of the boundary of the non-conformal surface.

The optional embodiment of the invention also provides a non-conformal surface boundary triangular mesh refinement method, which is a mesh refinement scheme which is suitable for simulating boundary singularity and is easy to operate. The calculation of the electric field occupancy in the quantum chip is particularly effective.

In the process of solving the integral equation, a grid thinning method is used, and when a numerical method is used for solving a differential equation, grid subdivision needs to be carried out on the environment and the boundary of the solved problem. In such problems, due to abrupt change of boundary conditions, the solved quantity has singular values at the boundary, so that accurate numerical solution becomes extremely difficult, and when the loss of the quantum chip is analyzed, the electric field occupancy in an ultrathin region needs to be accurately analyzed. The general numerical calculation deals with such problems with exceptional difficulty.

In view of this, the non-conformal surface boundary triangular mesh refinement method provided by the optional embodiment of the present invention is adopted to refine the mesh subdivision of the boundary, optimize the mesh step by step in an iterative manner, and perform optimization approximation on any curved surface/plane to generate a conformal mesh. The gridding method provided by the optional embodiment of the invention is used for further optimizing the calculation expense of general grid subdivision in the application of the superconducting quantum chip, and can effectively solve the related problems in the field of excess quantum. The mesh refinement method provided by the alternative embodiment of the present invention is explained in detail below.

An alternative embodiment of the present invention will be described in detail by taking an example of refining a roughly-divided triangular mesh:

(1) uniform refining

Fig. 9 is a schematic diagram of a uniform refinement scheme in a mesh refinement method provided by an alternative embodiment of the present invention, and as shown in fig. 9, a plurality of small meshes with uniform aspect ratios can be generated through multi-layer refinement. The triangle adhered to the surface is divided into four small triangles by adopting uniform thinning. This uniform refinement can be used multiple times. The conformality of the grid can be maintained. If the scheme only works on boundary triangles, a non-conformal mesh will be produced. Meanwhile, the number of triangles increases exponentially with the number of refinement layers.

(2) Boundary refinement

FIG. 10 is a schematic diagram of a boundary refinement scheme in a mesh refinement method according to an alternative embodiment of the present invention, in which triangles are divided parallel to boundaries and the heights of the triangles are guaranteed, as shown in FIG. 10Satisfy the requirement of /Constant number>1. When the grid is close to the boundary, the grid is gradually reduced, and the singularity at the boundary can be better represented. The triangle of the boundary is divided into a plurality of smaller triangles by adopting a gradual attenuation scheme. Meanwhile, the grid can be locally conformal; the number of the grids is linearly increased along with the number of the thinning layers, namely the number of the triangles is linearly increased, and the length-width ratio of the triangles is gradually changed.

Only one scheme of the uniform thinning or the boundary thinning is adopted, and the problem of singular point simulation cannot be well solved: only adopting uniform thinning will lead to the rise of unknown quantity index, increasing the calculation burden; only adopting the boundary refinement will result in that the calculation accuracy of the non-boundary area cannot be well controlled.

Therefore, the mesh refinement scheme proposed by the alternative embodiment of the present invention is to mix and use the uniform refinement scheme and the boundary refinement scheme, so that the characteristics of the mesh can be well maintained.

In the guidelines of the superconducting quantum chip, only electrostatic field analysis of the planar structure is usually required. The optimal approximation to an arbitrary surface is therefore not important and involves additional computational expense. Meanwhile, the non-common grids are also suitable for electrostatic field analysis.

Through the above optional embodiment, the following beneficial effects can be achieved:

(1) the simulation of the superconducting qubit is accelerated;

(2) accurately calculating the electric field occupancy rate in the superconducting qubit;

(3) in the grid thinning method, a small number of uniform thinning layers are adopted, so that the precision of a non-boundary area is effectively optimized, and meanwhile, the number of unknown quantities is effectively controlled;

(4) in the mesh refinement method, mesh subdivision at the boundary is randomly refined in the vertical direction, the calculation accuracy of the boundary can be greatly improved, meanwhile, the unknown quantity is linearly increased and controlled in a smaller range.

It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.

Through the above description of the embodiments, those skilled in the art can clearly understand that the qubit processing method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.

Example 2

According to an embodiment of the present invention, there is also provided a first apparatus for implementing the foregoing qubit processing method, and fig. 11 is a block diagram of a first qubit processing apparatus according to embodiment 2 of the present invention, as shown in fig. 11, the apparatus including: a first determining module 1102, a first processing module 1104 and a second processing module 1106, which are described below.

A first determining module 1102 for determining a plurality of portions comprised by the qubits; a first processing module 1104, connected to the first determining module 1102, configured to determine electromagnetic interactions among the multiple portions by using an integral equation to obtain electromagnetic parameters of surfaces of the multiple portions, where the integral equation respectively uses green's functions to characterize the electromagnetic interactions among the multiple portions; and a second processing module 1106, connected to the first processing module 1104, for summing the electromagnetic parameters of the surfaces of the plurality of portions to obtain the electromagnetic parameters of the qubits.

It should be noted that, the first determining module 1102, the first processing module 1104 and the second processing module 1106 correspond to steps S202 to S206 in embodiment 1, and the two modules are the same as the corresponding steps in the implementation example and application scenario, but are not limited to the disclosure in the first embodiment. It should be noted that the modules described above as part of the apparatus may be run in the computer terminal 10 provided in the first embodiment.

Example 3

According to an embodiment of the present invention, there is further provided a second apparatus for implementing the foregoing qubit processing method, and fig. 12 is a block diagram of a second qubit processing apparatus according to embodiment 3 of the present invention, as shown in fig. 12, the apparatus including: 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, which will be described below.

The first display module 1202 is used for displaying a qubit import control on the interactive interface; a second display module 1204, connected to the first display module 1202, configured to respond to the operation on the import control and display a qubit image on an interactive interface; a first receiving module 1206, connected to the second display module 1204, for receiving an instruction for acquiring the electromagnetic parameters of the qubits; a third display module 1208, connected to the first receiving module 1206, for responding to the instruction and displaying a plurality of portions included in the qubit on the interactive interface; and a fourth display module 1210, connected to the third display module 1208, and configured to display the electromagnetic parameters of the qubits on the interactive interface, where the electromagnetic parameters are obtained by summing the electromagnetic parameters of the surfaces of the multiple portions, the electromagnetic parameters of the surfaces of the multiple portions are obtained by determining electromagnetic interactions among the multiple portions by using an integral equation, and the integral equation represents the electromagnetic interactions among the multiple portions by using a green's function.

It should be noted that, the first display module 1202, the second display module 1204, the first receiving module 1206, the third display module 1208 and the fourth display module 1210 correspond to steps S302 to S310 in embodiment 1, and the implementation examples and application scenarios of the modules and the corresponding steps are the same, but are not limited to the disclosure in the first embodiment. It should be noted that the modules described above as part of the apparatus may be run in the computer terminal 10 provided in the first embodiment.

Example 4

The embodiment of the 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 may also be replaced with a terminal device such as a mobile terminal.

Optionally, in this embodiment, the computer terminal may be located in at least one network device of a plurality of network devices of a computer network.

In this embodiment, the computer terminal may execute the program code of the following steps in the qubit processing method of the application program: determining a plurality of portions comprised by the qubit; determining electromagnetic interaction among the multiple parts by adopting an integral equation to obtain electromagnetic parameters of the surfaces of the multiple parts, wherein the integral equation respectively adopts a Green function to represent the electromagnetic interaction among the multiple parts; and summing the electromagnetic parameters of the surfaces of the multiple parts to obtain the electromagnetic parameters of the qubits.

The memory may be configured to store a software program and a module, such as program instructions/modules corresponding to the method and apparatus for processing and detecting a qubit in the embodiments of the present invention, and the processor executes various functional applications and data processing by running the software program and the module stored in the memory, so as to implement the above-mentioned method for processing a qubit. The memory may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory may further include memory remotely located from the processor, and these remote memories may be connected to terminal a through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.

Alternatively, fig. 13 is a block diagram of a terminal according to an embodiment of the present invention. As shown in fig. 13, the terminal may include: one or more processors (only one of which is shown), memory, and other modules.

The processor can call the information and application program stored in the memory through the transmission device to execute the following steps: determining a plurality of portions comprised by the qubit; determining electromagnetic interaction among the multiple parts by adopting an integral equation to obtain electromagnetic parameters of the surfaces of the multiple parts, wherein the integral equation respectively adopts a Green function to represent the electromagnetic interaction among the multiple parts; and summing the electromagnetic parameters of the surfaces of the multiple parts to obtain the electromagnetic parameters of the qubits.

Optionally, the processor may further execute the program code of the following steps: determining electromagnetic interactions between the plurality of portions using an integral equation to obtain electromagnetic parameters of the surface of the plurality of portions, comprising: and calculating electromagnetic parameters of the surfaces of the parts by adopting a Gaussian quadrature method.

Optionally, the processor may further execute the program code of the following steps: determining electromagnetic interactions between the plurality of portions using an integral equation to obtain electromagnetic parameters of the surface of the plurality of portions, comprising: respectively carrying out two-dimensional mesh subdivision on the surfaces of the parts to obtain a plurality of meshes; and calculating the electromagnetic parameters of the grids by adopting an integral equation to respectively obtain the electromagnetic parameters of the surfaces of the parts.

Optionally, the processor may further execute the program code of the following steps: respectively carrying out two-dimensional mesh subdivision on the surfaces of a plurality of parts to obtain a plurality of meshes, and the method comprises the following steps: and respectively carrying out two-dimensional mesh subdivision on the surfaces of the parts by adopting a mode of mixing a uniform thinning method and a boundary thinning method to obtain a plurality of meshes.

Optionally, the processor may further execute the program code of the following steps: adopting a mode of mixing a uniform refining method and a boundary refining method to respectively carry out two-dimensional mesh subdivision on the surfaces of a plurality of parts to obtain a plurality of meshes, comprising the following steps: and respectively carrying out two-dimensional mesh generation on the non-boundary areas of the surfaces of the parts by adopting a uniform thinning method, and respectively carrying out two-dimensional mesh generation on the boundary areas of the surfaces of the parts by adopting a boundary thinning method to obtain a plurality of meshes.

Optionally, the processor may further execute the program code of the following steps: the mesh obtained by subdivision is a triangular mesh, and the length-width ratio of the triangular mesh obtained by subdivision by adopting a uniform thinning method is consistent; when the triangular meshes obtained by subdivision by adopting the boundary thinning method are closer to the boundary of the boundary area, the obtained triangular meshes are smaller, and the length-width ratios of the triangular meshes are inconsistent.

Optionally, the processor may further execute the program code of the following steps: the electromagnetic parameters include at least one of: electric field energy, electric field occupancy.

The processor can call the information and application program stored in the memory through the transmission device to execute the following steps: displaying a quantum bit import control on an interactive interface; responding to the operation of the import control, and displaying the image of the qubit on the interactive interface; receiving an instruction to obtain electromagnetic parameters of a qubit; responding to the instruction, and displaying a plurality of parts included by the quantum bit on the interactive interface; and displaying the electromagnetic parameters of the qubits on the interactive interface, wherein the electromagnetic parameters are obtained by summing the electromagnetic parameters of the surfaces of the multiple parts, the electromagnetic parameters of the surfaces of the multiple parts are obtained by determining the electromagnetic interaction among the multiple parts by adopting an integral equation, and the integral equation adopts a Green function to represent the electromagnetic interaction among the multiple parts.

The embodiment of the invention provides a quantum bit processing scheme. The electromagnetic parameters of the qubits are obtained by determining a plurality of part modes included in the qubits and determining the electromagnetic interaction among the parts through an integral equation, and the electromagnetic parameters of the surfaces of the parts are efficiently processed respectively, so that the electromagnetic parameters of the qubits are summed, and the technical problems of large calculated amount and long calculating time in the simulation process of the qubits in the related technology are solved.

It can be understood by those skilled in the art that the structure shown in the drawings is only an illustration, and the computer terminal may also be a terminal device such as a smart phone (e.g., an Android phone, an iOS phone, etc.), a tablet computer, a palmtop computer, a Mobile Internet Devices (MID), a PAD, and the like. Fig. 13 is a diagram illustrating a structure of the electronic device. For example, the computer terminal 13 may also include more or fewer components (e.g., network interfaces, display devices, etc.) than shown in FIG. 13, or have a different configuration than shown in FIG. 13.

Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by a program instructing hardware associated with the terminal device, where the program may be stored in a computer-readable storage medium, and the storage medium may include: flash disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.

Example 5

The embodiment of the invention also provides a storage medium. Optionally, in this embodiment, the storage medium may be configured to store a program code executed by the qubit processing method provided in the first embodiment.

Optionally, in this embodiment, the storage medium may be located in any one of computer terminals in a computer terminal group in a computer network, or in any one of mobile terminals in a mobile terminal group.

Optionally, in this embodiment, the storage medium is configured to store program code for performing the following steps: determining a plurality of portions comprised by the qubit; determining electromagnetic interaction among the multiple parts by adopting an integral equation to obtain electromagnetic parameters of the surfaces of the multiple parts, wherein the integral equation respectively adopts a Green function to represent the electromagnetic interaction among the multiple parts; and summing the electromagnetic parameters of the surfaces of the multiple parts to obtain the electromagnetic parameters of the qubits.

Optionally, in this embodiment, the storage medium is configured to store program code for performing the following steps: determining electromagnetic interactions between the plurality of portions using an integral equation to obtain electromagnetic parameters of the surface of the plurality of portions, comprising: and calculating electromagnetic parameters of the surfaces of the parts by adopting a Gaussian quadrature method.

Optionally, in this embodiment, the storage medium is configured to store program code for performing the following steps: determining electromagnetic interactions between the plurality of portions using an integral equation to obtain electromagnetic parameters of the surface of the plurality of portions, comprising: respectively carrying out two-dimensional mesh subdivision on the surfaces of the parts to obtain a plurality of meshes; and calculating the electromagnetic parameters of the grids by adopting an integral equation to respectively obtain the electromagnetic parameters of the surfaces of the parts.

Optionally, in this embodiment, the storage medium is configured to store program code for performing the following steps: respectively carrying out two-dimensional mesh subdivision on the surfaces of a plurality of parts to obtain a plurality of meshes, and the method comprises the following steps: and respectively carrying out two-dimensional mesh subdivision on the surfaces of the parts by adopting a mode of mixing a uniform thinning method and a boundary thinning method to obtain a plurality of meshes.

Optionally, in this embodiment, the storage medium is configured to store program code for performing the following steps: adopting a mode of mixing a uniform refining method and a boundary refining method to respectively carry out two-dimensional mesh subdivision on the surfaces of a plurality of parts to obtain a plurality of meshes, comprising the following steps: and respectively carrying out two-dimensional mesh generation on the non-boundary areas of the surfaces of the parts by adopting a uniform thinning method, and respectively carrying out two-dimensional mesh generation on the boundary areas of the surfaces of the parts by adopting a boundary thinning method to obtain a plurality of meshes.

Optionally, in this embodiment, the storage medium is configured to store program code for performing the following steps: the mesh obtained by subdivision is a triangular mesh, and the length-width ratio of the triangular mesh obtained by subdivision by adopting a uniform thinning method is consistent; when the triangular meshes obtained by subdivision by adopting the boundary thinning method are closer to the boundary of the boundary area, the obtained triangular meshes are smaller, and the length-width ratios of the triangular meshes are inconsistent.

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: electric field energy, electric field occupancy.

Optionally, in this embodiment, the storage medium is configured to store program code for performing the following steps: displaying a quantum bit import control on an interactive interface; responding to the operation of the import control, and displaying the image of the qubit on the interactive interface; receiving an instruction to obtain electromagnetic parameters of a qubit; responding to the instruction, and displaying a plurality of parts included by the quantum bit on the interactive interface; and displaying the electromagnetic parameters of the qubits on the interactive interface, wherein the electromagnetic parameters are obtained by summing the electromagnetic parameters of the surfaces of the multiple parts, the electromagnetic parameters of the surfaces of the multiple parts are obtained by determining the electromagnetic interaction among the multiple parts by adopting an integral equation, and the integral equation adopts a Green function to represent the electromagnetic interaction among the multiple parts.

The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.

In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.

In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, a division of a unit is merely a division of a logic function, and an actual implementation may have another division, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.

Units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.

In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.

The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.

The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

25页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:超导集成电路的布局方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类