Wiring method, device, electronic equipment, storage medium and program product

By automatically determining the connection lines between quantum bits and pads, the problem of low wiring efficiency of existing quantum chips is solved, and the automated design and efficient wiring of quantum chips are realized.

CN120317216BActive Publication Date: 2025-10-17SHANDONG YUNHAI GUOCHUANG CLOUD COMPUTING EQUIP IND INNOVATION CENT CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510795529.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-06-16
Publication Date
2025-10-17
Estimated Expiration
2045-06-16

AI Technical Summary

Technical Problem

Existing quantum chip wiring methods are inefficient and cannot quickly process large quantities of layout graphics. They mainly rely on manual operations, which results in a long processing time.

Method used

By determining the correspondence between the pins and pads of the quantum bit, confirming the wiring area of ​​the connection line based on the position information and attributes, and automatically determining the component type and target information, the automated connection line design between the quantum bit and the pad is realized.

Benefits of technology

It realizes the automated design of quantum chips, simplifies large-scale layout graphics processing, and improves wiring efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120317216B_ABST
    Figure CN120317216B_ABST
Patent Text Reader

Abstract

The present disclosure provides a wiring method, device, electronic equipment, storage medium and program product, which are applied to the chip technical field, and the method comprises the following steps: confirming a wiring area based on position information of at least one quantum bit and at least two pads and a corresponding relationship; in the wiring area, determining a component type of at least one component included in a connection line between each pin of the at least one quantum bit and a corresponding pad and target information of the at least one component based on the position information of the at least one quantum bit and the position information of the at least two pads and the corresponding relationship between the pins of the at least one quantum bit and the at least two pads; and determining the connection line between each pin of the at least one quantum bit and the corresponding pad based on the at least one component and the target information of the at least one component; thus, the quantum chip automatic design can be realized, the operation of large-batch layout graph processing is simplified, and the wiring efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present disclosure relates to the chip technical field, and in particular to a wiring method and device, electronic equipment, storage medium and program product. BACKGROUND

[0002] With the development of quantum computing technology, traditional Electronic Design Automation (EDA) software has been unable to support quantum chip design specifically, and cannot quickly draw complex device structures. In order to solve the difficulties of complex quantum chip design, it is necessary to conduct related research on quantum EDA tool technology; in the design of superconducting quantum chip layout, after drawing the layout graphics of circuit entities such as components and pads, wiring needs to be performed between the connection points of each layout graphic to represent the circuit connection relationship. The existing wiring method is to manually wire between the connection points of the two graphics to be wired. This method is very tedious and time-consuming when dealing with a large number of layout graphics, so the wiring efficiency is very low; the existing quantum chip drawing and wiring method is mostly manual wiring, mainly through the KLayout basic drawing software to realize splicing through multiple attempts of line segments and arcs, which is very low in efficiency. SUMMARY

[0003] The present disclosure provides a wiring method, device, electronic equipment, storage medium and program product to at least solve the above technical problems existing in the prior art.

[0004] According to a first aspect of the present disclosure, a wiring method is provided, comprising:

[0005] determining the correspondence between the pins of at least one quantum bit and at least two pads;

[0006] based on the position information of the at least one quantum bit and the position information of the at least two pads, and the correspondence between the pins of the at least one quantum bit and the at least two pads, confirming the wiring area where the connection line between each pin of the at least one quantum bit and the corresponding pad is located;

[0007] in the wiring area, based on the position information of the at least one quantum bit and the position information of the at least two pads, and the correspondence between the pins of the at least one quantum bit and the at least two pads, determining the component type of at least one component included in the connection line between each pin of the at least one quantum bit and the corresponding pad, and the target information of the at least one component;

[0008] based on the at least one component and the target information of the at least one component, determining the connection line between each pin of the at least one quantum bit and the corresponding pad.

[0009] In the above solution, the determining of the correspondence between the pins of the at least one quantum bit and the at least two pads comprises one of the following:

[0010] The correspondence between the pins of the at least one quantum bit and the at least two pads is determined based on the attribute of the quantum bit and the attribute of the pad;

[0011] The correspondence between the pins of the at least one quantum bit and the at least two pads is determined based on the quantum bit and pad correspondence table.

[0012] In the above solution, the determining of the wiring area where the connection line between each pin of the at least one quantum bit and the corresponding pad is located based on the position information of the at least one quantum bit, the position information of the at least two pads, and the correspondence between the pins of the at least one quantum bit and the at least two pads comprises:

[0013] Taking the center of the device where the at least one quantum bit and the at least one pad are located as the origin of the coordinate system;

[0014] The coordinate information of the at least one quantum bit is determined based on the position information of the at least one quantum bit relative to the origin;

[0015] The coordinate information of the at least one pad is determined based on the position information of the at least two pads relative to the origin;

[0016] The area corresponding to the minimum rectangle including all the correspondence between the quantum bits and all the pads is determined as the wiring area where the connection line between each pin of the at least one quantum bit and the corresponding pad is located.

[0017] In the above solution, the method further comprises:

[0018] In response to the quantum bits and pads included in the wiring area being axisymmetric, the wiring area is divided into at least two sub-areas; after determining the connection line between the quantum bits and the pads in any sub-area, the connection line between the quantum bits and the pads in other sub-areas is determined based on the symmetry axis.

[0019] In the above solution, the determining of the component type of at least one component included in the connection line between each pin of the at least one quantum bit and the corresponding pad and the target information of the at least one component based on the position information of the at least one quantum bit, the position information of the at least two pads, and the correspondence between the pins of the at least one quantum bit and the at least two pads in the wiring area comprises:

[0020] determining, based on the correspondence between the pin of the at least one qubit and the at least two pads, a connection line connecting any pin of the qubit corresponding to the correspondence and a pad;

[0021] determining, based on the position information of the at least one qubit, a start coordinate and a start direction of each connection line, and determining, based on the position information of the at least two pads, an end coordinate and an end direction of each connection line;

[0022] determining, based on the start direction and the end direction of each connection line, a number of components of a first type in the connection line, the components of the first type including components that change the direction of the connection line once;

[0023] determining, based on the start coordinate, the end coordinate of each connection line, and the maximum size of the components of the first type, a number of components of a second type in the connection line;

[0024] determining, based on the start coordinate, the end coordinate of each connection line, and the radius of the arc sub-component included in the components of the first type, target information of the components of the first type and target information of the components of the second type;

[0025] wherein the target information of the components of the first type and the target information of the components of the second type are within the wiring area.

[0026] In the above scheme, the determination of the start coordinate and the start direction of each connection line based on the position information of the at least one qubit comprises:

[0027] determining a pin of the qubit as a start point of the connection line;

[0028] determining coordinate information of the pin of the qubit as the start coordinate of the corresponding connection line;

[0029] determining an extension direction of the pin of the qubit as the start direction of the corresponding connection line.

[0030] In the above scheme, the determination of the end coordinate and the end direction of each connection line based on the position information of the at least two pads comprises:

[0031] determining a pin of the pad as an end point of the connection line;

[0032] determining coordinate information of the pin of the pad as the end coordinate of the corresponding connection line;

[0033] determining an extension direction of the pin of the pad as the end direction of the corresponding connection line.

[0034] In the above scheme, the determination of the number of components of the first type in each connection line based on the start direction and the end direction of the connection line comprises one of:

[0035] in response to the start direction of the connection line being parallel to the end direction, determining that the number of the first type components in the connection line is even;

[0036] in response to the start direction of the connection line being perpendicular to the end direction, determining that the number of the first type components in the connection line is odd.

[0037] In the scheme, the number of the second type components is determined based on the start coordinate and the end coordinate of each connection line and the maximum size of the first type component, and includes:

[0038] The position information of the arc sub-component corresponding to the first type component in each connection line is determined based on the performance information of the chip corresponding to the at least one qubit, the impedance matching constraint information, the spacing information of each layout area, and the number of connection lines.

[0039] The number of the second type components is determined based on the start coordinate and the end coordinate of each connection line, the number of the first type components, and the position information of the arc sub-component in each first type component.

[0040] In the scheme, the number of the second type components is determined based on the start coordinate and the end coordinate of each connection line, the number of the first type components, and the position information of the arc sub-component in each first type component, and includes performing the following operations on each connection line:

[0041] determining a first distance between the start coordinate of the connection line and the arc sub-component of the first type component corresponding to the start coordinate of the connection line;

[0042] in response to the first distance being greater than the maximum size of the first type component, determining that the second type component is arranged between the first type component and the start coordinate;

[0043] Alternatively, in response to the first distance being less than or equal to the maximum size of the first type component, determining that the first type component is directly connected to the start coordinate.

[0044] In the scheme, the number of the second type components is determined based on the start coordinate and the end coordinate of each connection line, the number of the first type components, and the position information of the arc sub-component in each first type component, and includes performing the following operations on each connection line:

[0045] determining a second distance between the end coordinate of the connection line and the arc sub-component of the first type component corresponding to the end coordinate of the connection line;

[0046] in response to the second distance being greater than the maximum size of the first type component, determining that the second type component is arranged between the first type component and the end coordinate;

[0047] Alternatively, in response to the second distance being less than or equal to the maximum size of the first type component, it is determined that the first type component is directly connected to the end coordinate.

[0048] In the above solution, the number of second type components is determined based on the start coordinate and the end coordinate of each connection line, the number of first type components, and the position information of the arc sub-component in each first type component, and the determination includes the following operations performed on each connection line:

[0049] In response to the connection line including at least two first type components, a third distance between the two connected first type components is determined based on the position information of the arc sub-components in the two connected first type components.

[0050] In response to the third distance being greater than twice the maximum size of the first type component, it is determined that a second type component is arranged between the two connected first type components.

[0051] Alternatively, in response to the third distance being less than or equal to twice the maximum size of the first type component, it is determined that the two connected first type components are directly connected.

[0052] In the above solution, the target information of the first type component and the target information of the second type component are determined based on the start coordinate and the end coordinate of each connection line, and the radius of the arc sub-component included in the first type component, and the determination includes the following operations performed on at least one first type component of each connection line:

[0053] The start coordinate and the end coordinate of each first type component are determined based on the maximum size of the at least one first type component, the position information of the arc sub-component, the start coordinate and the end coordinate of the connection line.

[0054] The direction of the at least one first type component is determined based on the start coordinate and the end coordinate of each connection line; the direction includes a clockwise direction or a counterclockwise direction.

[0055] The start coordinate and the end coordinate of the straight line sub-component included in the first type component are determined based on the start coordinate, the end coordinate, the radius of the arc sub-component, and the direction of each first type component.

[0056] In the above solution, the start coordinate and the end coordinate of each first type component are determined based on the maximum size of the at least one first type component, the position information of the arc sub-component, the start coordinate and the end coordinate of the connection line, and the determination includes at least one of the following operations performed on each first type component:

[0057] In response to the starting coordinate of the first type component corresponding to the starting point of the connection line, and the distance between the arc sub-component and the starting coordinate of the connection line being greater than the maximum size of the first type component, the starting coordinate of the first type component is determined based on the position information of the arc sub-component and the maximum size of the first type component; or in response to the distance between the arc sub-component and the starting coordinate of the connection line being less than or equal to the maximum size of the first type component, the starting coordinate of the connection line is determined as the starting coordinate of the first type component.

[0058] In response to the ending coordinate of the first type component corresponding to the ending point of the connection line, and the distance between the arc sub-component and the ending coordinate of the connection line being greater than the maximum size of the first type component, the ending coordinate of the first type component is determined based on the position information of the arc sub-component and the maximum size of the first type component; or in response to the distance between the arc sub-component and the ending coordinate of the connection line being less than or equal to the maximum size of the first type component, the ending coordinate of the connection line is determined as the ending coordinate of the first type component.

[0059] In response to the starting coordinate of the first type component corresponding to the ending coordinate of the other first type component, and the distance between the arc sub-components of the two first type components being greater than twice the maximum length of the first type component, the starting coordinate of the first type component is determined based on the position information of the arc sub-component and the maximum size of the first type component; or in response to the distance between the arc sub-components of the two first type components being less than or equal to twice the maximum length of the first type component, the starting coordinate of the first type component is determined based on the position information of the arc sub-component and the maximum size.

[0060] In the above scheme, the direction of the at least one first type component is determined based on the starting coordinate and the ending coordinate of each connection line, including:

[0061] The starting direction and the ending direction of the at least one first type component are determined based on the starting direction and the ending direction of the connection line; if the starting coordinate of the first type component corresponds to the starting point of the connection line, the starting direction of the first type component is the same as the starting direction of the connection line; if the ending coordinate of the first type component corresponds to the ending point of the connection line, the ending direction of the first type component is the same as the ending direction of the connection line.

[0062] The direction of the at least one first type component is determined based on the relative position between the starting direction, the ending direction, the starting coordinate and the ending coordinate of each first type component.

[0063] In the above scheme, the starting coordinate and the ending coordinate of the straight line sub-component included in the first type component are determined based on the starting coordinate, the ending coordinate, the radius and the direction of the arc sub-component of each first type component, including:

[0064] in response to the end point of the first type component being located right above the start point and the direction of the first type component being a clockwise direction, determining that the start coordinate of the first straight line sub-component in the first type component is the start coordinate of the first type component; the horizontal coordinate of the end coordinate of the first straight line component being the same as the horizontal coordinate of the start point of the first type component, and the vertical coordinate of the end coordinate of the first straight line component being determined based on the vertical coordinate of the end point of the first type component and the radius of the arc sub-component;

[0065] determining that the end coordinate of the second straight line sub-component in the first type component is the end coordinate of the first type component; the vertical coordinate of the start coordinate of the second straight line sub-component being the same as the vertical coordinate of the end coordinate, and the horizontal coordinate of the start coordinate of the second straight line sub-component being determined based on the horizontal coordinate of the end coordinate of the first type component and the radius of the arc sub-component.

[0066] According to a second aspect of the present disclosure, a wiring device is provided, the device comprising:

[0067] a corresponding relationship determination unit configured to determine a corresponding relationship between the pins of the at least one qubit and the at least two pads;

[0068] a region determination unit configured to determine, based on the position information of the at least one qubit and the position information of the at least two pads and the corresponding relationship between the pins of the at least one qubit and the at least two pads, a wiring region in which a connection line between each pin of the at least one qubit and a corresponding pad is located;

[0069] a component determination unit configured to determine, based on the position information of the at least one qubit and the position information of the at least two pads and the corresponding relationship between the pins of the at least one qubit and the at least two pads, a component type of at least one component included in the connection line between each pin of the at least one qubit and a corresponding pad and target information of the at least one component;

[0070] a wiring unit configured to determine the connection line between each pin of the at least one qubit and a corresponding pad based on the at least one component and the target information of the at least one component.

[0071] According to a third aspect of the present disclosure, an electronic device is provided, comprising:

[0072] at least one processor; and a memory connected to the at least one processor in communication; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method of the present disclosure.

[0073] According to a fourth aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, the computer instructions being used to cause a computer to perform the method of the present disclosure.

[0074] According to a fifth aspect of the present disclosure, a computer program product is provided, comprising a computer program which, when executed by a processor, performs the method of the present disclosure.

[0075] The wiring method of the present disclosure determines the correspondence between the pins of the at least one quantum bit and the at least two pads; based on the position information of the at least one quantum bit and the position information of the at least two pads and the correspondence between the pins of the at least one quantum bit and the at least two pads, confirms the wiring area where the connection line between each pin of the at least one quantum bit and the corresponding pad is located; based on the position information of the at least one quantum bit and the position information of the at least two pads and the correspondence between the pins of the at least one quantum bit and the at least two pads, determines the component type of the at least one component included in the connection line between each pin of the at least one quantum bit and the corresponding pad and the target information of the at least one component in the wiring area; and based on the at least one component and the target information of the at least one component, determines the connection line between each pin of the at least one quantum bit and the corresponding pad. In this way, the quantum chip can be automatically designed, the operation of processing a large number of layout graphs is simplified, and the wiring efficiency is improved.

[0076] It should be understood that the content described in this part is not intended to identify key or important features of the embodiments of the present disclosure, nor to limit the scope of the present disclosure. Other features of the present disclosure will become apparent from the following description. BRIEF DESCRIPTION OF DRAWINGS

[0077] The above and other objects, features and advantages of the exemplary embodiments of the present disclosure will be more apparent from the following detailed description taken in conjunction with the accompanying drawings, in which:

[0078] In the drawings, identical or corresponding reference signs refer to identical or corresponding parts.

[0079] Figure 1 A first alternative flowchart of the wiring method provided by the embodiments of the present disclosure is shown;

[0080] Figure 2 A second alternative flowchart of the wiring method provided by the embodiments of the present disclosure is shown;

[0081] Figure 3 A schematic diagram of the area division provided by the embodiments of the present disclosure is shown Figure 1 ;

[0082] Figure 4 The area division diagram provided by the embodiment of the present disclosure is shown. Figure 2 ;

[0083] Figure 5 A third optional flow chart of the wiring method provided in an embodiment of the present disclosure is shown;

[0084] Figure 6 A schematic diagram of a first connection line provided by an embodiment of the present disclosure is shown;

[0085] Figure 7 A second connection line schematic diagram provided by an embodiment of the present disclosure is shown;

[0086] Figure 8 A schematic diagram of a coplanar waveguide pattern component provided by an embodiment of the present disclosure is shown;

[0087] Figure 9 An optional schematic diagram of an arc subassembly provided in an embodiment of the present disclosure is shown;

[0088] Figure 10 A first optional structural diagram of a first type of component provided by an embodiment of the present disclosure is shown;

[0089] Figure 11 A first optional structural diagram of the third type component provided by an embodiment of the present disclosure is shown;

[0090] Figure 12 A schematic diagram showing a third type of component provided by an embodiment of the present disclosure is shown;

[0091] Figure 13 An optional structural diagram of a wiring device provided by an embodiment of the present disclosure is shown;

[0092] Figure 14 A schematic diagram of the structure of an electronic device according to an embodiment of the present disclosure is shown. DETAILED DESCRIPTION

[0093] To make the purposes, features, and advantages of the present disclosure more apparent and understandable, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present disclosure, not all of them. All other embodiments obtained by those skilled in the art based on the embodiments of the present disclosure without creative work shall fall within the scope of protection of the present disclosure.

[0094] In the following description, reference is made to "some embodiments", which describe a subset of all possible embodiments, but it is understood that "some embodiments" can be the same subset or different subsets as each other and can be combined with each other, without conflict.

[0095] In the following description, the terms "first\second" are merely used to distinguish similar objects, and do not represent a specific order of the objects. It is understood that the "first\second" can be interchanged in a specific order or sequence, as long as it is allowed, so that the embodiments of the present disclosure described herein can be implemented in an order other than that illustrated or described herein.

[0096] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this disclosure belongs. The terminology used in the disclosure is for the purpose of describing the embodiments of the disclosure only and is not intended to limit the disclosure.

[0097] It should be understood that in various embodiments of the present disclosure, the size of the serial number of each implementation process does not mean the order of execution, and the execution order of each process should be determined by its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present disclosure.

[0098] Figure 1 A first optional flow diagram of the wiring method provided by the embodiments of the present disclosure is shown, which will be described according to each step.

[0099] Step S101, determine the correspondence between the pins of at least one quantum bit and at least two pads.

[0100] In some embodiments, the correspondence between the pins of at least one quantum bit and at least two pads includes a connection relationship between the pins of at least one quantum bit and at least two pads. Optionally, one pin of a quantum bit is connected to one pad.

[0101] In some embodiments, the carrier (hereinafter referred to as the carrier) implementing the wiring method can determine the correspondence between the pins of at least one quantum bit and at least two pads based on the properties of the quantum bits and the properties of the pads; or determine the correspondence between the pins of at least one quantum bit and at least two pads based on a quantum bit and pad correspondence table. Wherein, the quantum bit and pad correspondence table includes the correspondence relationship between each pin of each quantum bit and the pad. The carrier can receive the quantum bit and pad correspondence table, or edit the quantum bit and pad correspondence table according to the instructions received by the peripheral device.

[0102] The carrier can be a computer program, an electronic circuit, a database, a mobile application, an electronic device, a cloud computing platform, a distributed system, an artificial intelligence framework, a mathematical model, an automation tool, a microcontroller, and the like, capable of realizing the software or hardware of the algorithm and method flow.

[0103] In step S102, based on the position information of the at least one quantum bit and the position information of the at least two pads and the correspondence between the pins of the at least one quantum bit and the at least two pads, the connection line between each pin of the at least one quantum bit and the corresponding pad in the wiring area is determined.

[0104] In some embodiments, the carrier can determine the distribution information of the quantum bits and the at least two pads according to the position information of the quantum bits and the at least two pads, divide the at least one quantum bit and the at least two pads according to the distribution information and the correspondence between the pins of the at least one quantum bit and the at least two pads, and obtain at least one wiring area; the distribution of the quantum bits or pads in the wiring area conforms to the preset rule, and the quantum bits and pads included in the wiring area have a corresponding relationship, that is, the pads and the pins of the quantum bits having the corresponding relationship are in the same wiring area. Correspondingly, the connection line between the pads and the pins of the quantum bits having the corresponding relationship is also in the wiring area.

[0105] The preset rule can include that the horizontal coordinates of the at least two pads in the wiring area are the same, the vertical coordinates of the at least two pads are the same, if there are multiple quantum bits, the horizontal coordinates or the vertical coordinates of the at least two quantum bits are the same.

[0106] Further, after the carrier determines the wiring area, the wiring area can be further divided according to the axis symmetry attribute of the wiring area to obtain at least two wiring sub-areas, and only the connection line in one of the wiring sub-areas needs to be determined when wiring, and the connection line in the other wiring sub-area can be determined based on the symmetry axis.

[0107] In step S103, in the wiring area, based on the position information of the at least one quantum bit and the position information of the at least two pads and the correspondence between the pins of the at least one quantum bit and the at least two pads, the component type of the at least one component included in the connection line between each pin of the at least one quantum bit and the corresponding pad is determined, and the target information of the at least one component.

[0108] In some embodiments, within the wiring region, based on the position information of the quantum bits, the position information of the pads, and the correspondence between the pins of the at least one quantum bit and the at least two pads, the connection lines between each pin of the at least one quantum bit and the corresponding pad are determined; based on the pins of the quantum bits and the pins of the pads, the type of components included in each connection line and the number of each type of component are determined.

[0109] In some embodiments, the connection lines between each pin of the at least one quantum bit and the corresponding pad within the wiring region are also within the wiring region, the components include first type components and second type components; the first type components include components that change the direction of a line once; the first type components can be composed of two straight sub-components and an arc-shaped sub-component, the two vertices of the arc-shaped sub-component are connected to one straight sub-component respectively, and the corresponding vectors of the two straight sub-components are perpendicular to each other. The second type components are straight components.

[0110] In some embodiments, the target information of the first type components includes at least one of the start coordinates, the end coordinates, the radius of the arc sub-component, and the line width of the first type components; and the target information of the second type components includes at least one of the start coordinates, the end coordinates, and the line width.

[0111] In some embodiments, the target information of the first type components can also include the start direction and the end direction, and in particular implementations, the carrier can determine the start direction and the end direction of the first type components based on the directions of the two straight sub-components of the first type components.

[0112] In some optional embodiments, the carrier can also sequentially connect at least one component based on the start coordinates, the end coordinates, the start direction, and the end direction of the at least one component, and the end direction of one component in the connected components is the same as the start direction of another component; if one side of a component is connected to a quantum bit or a pad, the direction of the side is the same as the direction of the connected quantum bit or pad.

[0113] In some embodiments, the start direction of the connection line is the direction in which the pin of the corresponding quantum bit extends out, and the end direction of the connection line is the direction in which the pin of the corresponding pad extends out. The extension direction can include a horizontal direction and a vertical direction. The start direction and the end direction are the same, including both being horizontal or vertical; the start direction and the end direction are different, including one being horizontal and the other being vertical. It should be noted that the direction in which the pin extends out, whether it is the positive direction of the x-axis or the negative direction of the x-axis, is the horizontal direction; or, whether it is the positive direction of the y-axis or the negative direction of the y-axis, is the vertical direction.

[0114] Step S104, determining the connection line between each pin of the at least one quantum bit and the corresponding pad based on the at least one component and the target information of the at least one component.

[0115] In some embodiments, the carrier determines the connection line between each pin of the at least one quantum bit and the corresponding pad based on the start coordinate and the end coordinate of the at least one component included in the connection line, and performs wiring based on the connection line.

[0116] In this way, by the wiring method provided by the embodiments of the present disclosure, by determining the correspondence between the quantum bits and the pads, the wiring area, the position information between the pins of the quantum bits and the pads, the component types constituting the connection line, and the required number and target information of each type of component, the connection line between the quantum bits and the pads is determined based on the component type, the number and the target information, the quantum chip is automatically designed, the operation of processing a large number of layout graphs is simplified, and the wiring efficiency is improved.

[0117] Figure 2 A second optional flowchart of the wiring method provided by the embodiments of the present disclosure is shown, which will be described according to each step.

[0118] Step S201, determining the correspondence between the pins of the at least one quantum bit and the at least two pads.

[0119] The specific step flow of step S201 is the same as that of step S101, which will not be repeated here.

[0120] Step S202, determining the wiring area based on the origin, the position information of the at least one quantum bit, and the position information of the at least two pads.

[0121] In some embodiments, the carrier can take the center of a device in which the at least one quantum bit and the at least one pad are located as the origin of the coordinate system; or, the carrier can take the center of a canvas in which the at least one quantum bit and the at least one pad are located as the origin of the coordinate system; the device can include a chip, a printed circuit board, etc.

[0122] In some embodiments, the carrier determines the coordinate information of the at least one quantum bit based on the position information of the at least one quantum bit relative to the origin; and determines the coordinate information of the at least one pad based on the position information of the at least two pads relative to the origin.

[0123] In some embodiments, the carrier determines the area corresponding to the minimum rectangle including all quantum bits and all pads as the wiring area of the connection line between each pin of the at least one quantum bit and the corresponding pad.

[0124] In step S203, based on the distribution information of each quantum bit and pad in the wiring region, at least two sub-regions corresponding to the wiring region are determined.

[0125] In some embodiments, the carrier can divide the wiring region into at least two sub-regions based on the attribute information of each quantum bit.

[0126] Figure 3 A schematic diagram of region division provided by an embodiment of the present disclosure is shown Figure 1 .

[0127] As shown in Figure 3 , which includes 10 quantum bits, the region surrounding all the quantum bits is a quantum bit core region 1; based on the function of the quantum bits, the region corresponding to the pads connecting all the quantum bits is divided into a read resonant cavity peripheral region 2, which includes 2 pads; the remaining region is a control line buffer region 3, which includes the pins of the 10 quantum bits (each quantum bit includes 2 pins) and a plurality of pads (20 pads) corresponding to the pins. Figure 3 Further, the wiring region can include Figure 3 all the regions shown, and the sub-regions can include the quantum bit core region 1, the read resonant cavity peripheral region 2, and the control line buffer region 3. Figure 3

[0128] In other embodiments, if the distribution of quantum bits or pads in the wiring region meets a preset rule, the wiring region can be divided into at least two sub-regions. The preset rule can include that the horizontal coordinates of at least two pads in the wiring region are the same, the vertical coordinates of at least two pads are the same, if there are multiple quantum bits, the horizontal coordinates or the vertical coordinates of at least two quantum bits are the same.

[0129] Further, after the carrier determines the wiring region, the wiring region can be further divided according to the axisymmetric attribute of the wiring region to obtain at least two wiring sub-regions. When wiring, only the connection lines in one of the wiring sub-regions need to be determined, and the connection lines in the other wiring sub-region can be determined based on the axis of symmetry.

[0130] For Figure 3 axis symmetry, the region shown in Figure 3 can be divided into two sub-regions.

[0131] Figure 4 A schematic diagram of region division provided by an embodiment of the present disclosure is shown Figure 2 .

[0132] As shown in Figure 4 ​As shown, the quantum bit region is symmetrical, and the pads around the quantum bit region are also symmetrical according to the symmetry axis. On this basis, the wiring region can be divided into two sub-regions with the vertical line of the canvas center as the symmetry axis.

[0133] In step S204, based on the position information of the at least one quantum bit and the position information of the at least two pads, the component type of the at least one component included in the connection line between each pin of the at least one quantum bit and the corresponding pad is determined, and the target information of the at least one component is determined.

[0134] The specific step flow of step S204 is the same as that of step S103, which will not be repeated here.

[0135] In step S205, based on the at least one component and the target information of the at least one component, the connection line between each pin of the at least one quantum bit and the corresponding pad is determined.

[0136] In some embodiments, the wiring includes connecting the two pins of all quantum bits in the wiring region to the pads through the connection line (or control line), and the carrier ensures the minimum delay of the key connection line based on the Manhattan wiring algorithm; the carrier abstracts the wiring region into a grid coordinate system, marks the obstacles as non-passable areas, uses Manhattan distance as the path cost benchmark to evaluate the path feasibility. In the case of feasible path, the breadth-first search algorithm is used to find the shortest path from the pin of the quantum bit to the pad, and the adjacent grid nodes are expanded layer by layer from the pin of the quantum bit as the starting point until the end point (i.e. the pad) is reached; after determining the starting coordinates, end coordinates, and connection line direction of a connection line, the connection line is automatically completed based on the first type of component and the second type of component.

[0137] The carrier traverses the pins of all quantum bits in the layout region until all quantum bits complete the connection line. During the wiring process, the Design Rule Check (DRC) dynamic detection mechanism is combined to detect and modify the optimal path of wiring in real time.

[0138] In this way, by using the wiring method provided by the embodiments of the present disclosure, the corresponding relationship between the quantum bits and the pads, the wiring region, the position information between the pins of the quantum bits and the pads, the component type of the connection line, and the required number and target information of each type of component are determined, the connection line between the quantum bits and the pads is determined based on the component type, the number and the target information, the quantum chip is automatically designed, the operation of processing a large number of layout graphs is simplified, and the wiring efficiency is improved.

[0139] Figure 5 A third optional flowchart of the wiring method provided by the embodiments of the present disclosure is shown, which will be described according to each part.

[0140] Figure 5 FIG. 4 shows further description of step S103 .

[0141] Step S301: Determine that a line connecting any pin of a quantum bit and a corresponding pad is a connecting line.

[0142] Step S302: determining the starting coordinates and starting direction of each connecting line based on the position information of at least one quantum bit; and determining the ending coordinates and ending direction of each connecting line based on the position information of at least two pads.

[0143] In some embodiments, the carrier determines the pin of the quantum bit as the starting point of the connecting line; determines the starting coordinates of each connecting line as the coordinates of the pin of the corresponding quantum bit; determines the ending coordinates of each connecting line as the coordinates of the corresponding pad; determines the pin of the pad as the ending point of the connecting line; determines that the starting direction of each connecting line is the same as the extension direction of the pin of the corresponding quantum bit; and determines that the ending direction of each connecting line is the same as the extension direction of the pin of the corresponding pad.

[0144] Step S303: determining the number of first-type components in each connection line based on the starting direction and the ending direction of the connection line.

[0145] In some embodiments, in response to the starting direction and the ending direction of the connection line being parallel or the same, it is determined that the number of the first type of components in the connection line is an even number.

[0146] Figure 6 A first connection line schematic diagram provided by an embodiment of the present disclosure is shown.

[0147] The first type of component can change the direction of a path once, so if the starting direction of a connection line is parallel to the ending direction, it means that there are an even number of first type components that change the direction in the connection line. Figure 6 As shown, the starting direction and ending direction of the connection line are parallel (both parallel to the vertical axis). Therefore, if there is a first-type component in the connection line, another first-type component needs to be added to convert the path from being parallel to the horizontal axis to being parallel to the vertical axis, which is the same as the starting direction or the ending direction.

[0148] In other embodiments, in response to the starting direction and the ending direction of the connection line being perpendicular to or different from each other, it is determined that the number of the first type components in the connection line is an odd number.

[0149] Figure 7 A second connection line schematic diagram provided by an embodiment of the present disclosure is shown.

[0150] The first type component can change the direction of the path, thus, if the start direction of the connection line is perpendicular to the end direction, it means that there is an odd number of first type components changing the direction in the connection line. As shown in FIG. 3B, the start direction of the connection line is perpendicular to the end direction, thus, if at least one first type component needs to be included in the connection line, the path is converted from being parallel to the longitudinal axis to being parallel to the transverse axis, which is the same as the start direction or the end direction. Figure 6

[0151] In step S304, the number of second type components is determined based on the start coordinate and the end coordinate of each connection line and the maximum size of the first type component.

[0152] In some embodiments, the second type component is a straight component for linking the first type component and the pin of the quantum bit, the pin of the first type component and the pad, or two first type components.

[0153] In some embodiments, the carrier determines the position information of the arc sub-component corresponding to the first type component in each connection line based on the performance information of the chip corresponding to the at least one quantum bit, the impedance matching constraint information, the spacing information of each layout area, and the number of connection lines.

[0154] In implementation, the carrier can determine the maximum length of each connection line based on the performance information and / or the impedance matching constraint information of the chip, and determine the spacing information between the two connection lines closest to another layout area in the two adjacent layout areas based on the spacing information of each layout area.

[0155] In implementation, the carrier can also determine the position information of the arc sub-component corresponding to the first type component based on the position information of all quantum bits and the position information of the pad in the layout area. Specifically, the first type component is arranged according to the positional relationship between the quantum bit and the pad, the arc sub-components of the first type component on the multiple connection lines are arranged in the order of the horizontal coordinate and the vertical coordinate from large to small, the horizontal and vertical coordinates of the multiple arc sub-components are sorted in the same way as the corresponding quantum bit or pad, the distance between the arc sub-components and the line width of the arc sub-component are determined based on the performance information and the impedance matching constraint information of the chip.

[0156] After the arc sub-component is determined, the initial connection line can be determined based on the start coordinate and the end coordinate of the connection line, the two end coordinates of the arc sub-component of each first type component, and the number of second type components can be determined based on the start coordinate and the end coordinate of each connection line, the number of first type components, and the position information of the arc sub-component in each first type component.

[0157] ​In some embodiments, the carrier determines a starting coordinate of the connection line and a first distance between the starting coordinate of the connection line and a circular arc sub-component of the first type component corresponding to the starting coordinate of the connection line; in response to the first distance being greater than a maximum size of the first type component, it is determined that the first type component is provided with a second type component between the first type component and the starting coordinate; or, in response to the first distance being less than or equal to the maximum size of the first type component, it is determined that the first type component is directly connected to the starting coordinate. Directly connected means that the starting coordinate of the first type component is the same as the starting coordinate of the connection line.

[0158] In some embodiments, the carrier determines an ending coordinate of the connection line and a first distance between the ending coordinate of the connection line and a circular arc sub-component of the first type component corresponding to the ending coordinate of the connection line; in response to the first distance being greater than a maximum size of the first type component, it is determined that the first type component is provided with a second type component between the first type component and the ending coordinate; or, in response to the first distance being less than or equal to the maximum size of the first type component, it is determined that the first type component is directly connected to the ending coordinate. Directly connected means that the ending coordinate of the first type component is the same as the ending coordinate of the connection line.

[0159] In some embodiments, the carrier determines an ending coordinate of the connection line and a first distance between the ending coordinate of the connection line and a circular arc sub-component of the first type component corresponding to the ending coordinate of the connection line; in response to the first distance being greater than a maximum size of the first type component, it is determined that the first type component is provided with a second type component between the first type component and the ending coordinate; or, in response to the first distance being less than or equal to the maximum size of the first type component, it is determined that the first type component is directly connected to the ending coordinate. Directly connected means that the ending coordinate of the first type component is the same as the ending coordinate of the connection line.

[0160] In some embodiments, the carrier determines an ending coordinate of the connection line and a first distance between the ending coordinate of the connection line and a circular arc sub-component of the first type component corresponding to the ending coordinate of the connection line; in response to the first distance being greater than a maximum size of the first type component, it is determined that the first type component is provided with a second type component between the first type component and the ending coordinate; or, in response to the first distance being less than or equal to the maximum size of the first type component, it is determined that the first type component is directly connected to the ending coordinate. Directly connected means that the ending coordinate of the first type component is the same as the ending coordinate of the connection line.

[0161] In some embodiments, the carrier determines, in response to the at least two first-type components included in the connection line, a third distance between the two connected first-type components based on the position information of the arc sub-component included in the two connected first-type components; determines that a second-type component is arranged between the two connected first-type components in response to the third distance being greater than twice the maximum size of the first-type component; or determines that the two connected first-type components are directly connected in response to the third distance being less than or equal to twice the maximum size of the first-type component.

[0162] The third distance can be the shortest distance between the vertices of the arc sub-components of the at least two first-type components.

[0163] In step S305, the target information of the first-type component and the target information of the second-type component are determined based on the start coordinate and the end coordinate of each connection line and the radius of the arc sub-component included in the first-type component.

[0164] In some embodiments, the carrier determines the start coordinate and the end coordinate of each first-type component based on the maximum size of the at least one first-type component, the position information of the arc sub-component, and the start coordinate and the end coordinate of the connection line; determines the direction of the at least one first-type component based on the start coordinate and the end coordinate of each connection line; the direction includes a clockwise direction or a counterclockwise direction; and determines the start coordinate and the end coordinate of the straight line sub-component included in the first-type component based on the start coordinate, the end coordinate, the radius of the arc sub-component, and the direction of each first-type component.

[0165] In particular implementation, in response to the start coordinate of the first-type component corresponding to the start point of the connection line and the distance between the arc sub-component and the start coordinate of the connection line being greater than the maximum size of the first-type component, the start coordinate of the first-type component is determined based on the position information of the arc sub-component and the maximum size of the first-type component; or in response to the distance between the arc sub-component and the start coordinate of the connection line being less than or equal to the maximum size of the first-type component, the start coordinate of the connection line is determined as the start coordinate of the first-type component.

[0166] In some embodiments, in response to the end coordinate of the first type component corresponding to the end point of the connection line, and the distance between the arc sub-component and the end coordinate of the connection line being greater than the maximum size of the first type component, the end coordinate of the first type component is determined based on the position information of the arc sub-component and the maximum size of the first type component; or, in response to the distance between the arc sub-component and the end coordinate of the connection line being less than or equal to the maximum size of the first type component, the end coordinate of the connection line is determined as the end coordinate of the first type component; the distance between the arc sub-component and the end coordinate of the connection line includes the nearest point between the arc sub-component and the end coordinate, and the distance between the end point and the arc sub-component is the distance between the arc sub-component and the end coordinate.

[0167] In some embodiments, in response to the start coordinate of the first type component corresponding to the end coordinate of the other first type component, and the distance between the arc sub-components of the two first type components being greater than twice the maximum length of the first type component, the start coordinate of the first type component is determined based on the position information of the arc sub-component and the maximum size of the first type component; or, in response to the distance between the arc sub-components of the two first type components being less than or equal to twice the maximum length of the first type component, the start coordinate of the first type component is determined based on the position information of the arc sub-component and the maximum size. In this case, the start coordinate of any type component can be any point on the line connecting the arc sub-components of the two first type components, or can be determined based on the side vertex of the arc sub-component and the maximum size.

[0168] In some embodiments, the carrier can determine the start direction and the end direction of at least one first type component based on the start direction and the end direction of the connection line; wherein, if the start coordinate of the first type component corresponds to the start point of the connection line, the start direction of the first type component is the same as the start direction of the connection line; if the end coordinate of the first type component corresponds to the end point of the connection line, the end direction of the first type component is the same as the end direction of the connection line; the direction of at least one first type component is determined based on the start direction, the end direction, the relative position between the start coordinate and the end coordinate of each first type component. The direction of the first type component can include a clockwise direction or a counterclockwise direction.

[0169] In this way, by the wiring method provided by the embodiments of the present disclosure, the target information of the first type component and the target information of the second type component included in each connection line are determined based on the position information of the quantum bit, the position information of the pad, the performance information of the chip, the impedance matching constraint information, the spacing information of each layout area, and the number of connection lines, and then automatic wiring is implemented based on the target information of the first type component and the target information of the second type component, so as to realize automatic design of the quantum chip, simplify the operation of processing a large number of layout graphs, and improve the wiring efficiency.

[0170] Figure 8 A schematic diagram of a co-planar waveguide graphic component provided by an embodiment of the present disclosure is shown.

[0171] In some embodiments, the second type component or the straight line sub-component included in the first type component can be a co-planar waveguide graphic component. Specifically, it is a planar transmission line structure for high frequency (microwave to millimeter wave) signal transmission, widely used in the fields of radio frequency integrated circuits, microwave devices, quantum chips (such as superconducting quantum bits), etc. Its core feature is that all conductors (signal lines and ground lines) are located on the same plane, without the need for multiple layers of media, with advantages of low loss, easy integration, and stable high frequency performance. Co-planar waveguide, with its planarization, low loss, and high frequency performance advantages, has become the core structure of microwave interconnection in superconducting quantum chips. The mainstream microwave transmission structure is used for control lines, read lines, and coupling lines. The co-planar waveguide can be used as a quantum bit control line to transmit microwave pulses (such as X, Y gate control signals) to drive the energy level transition of the quantum bit; the co-planar waveguide can be used as a quantum bit read line to couple the quantum bit state information through a resonant cavity to the read line and transmit it to an external amplifier for quantum state (0, 1) measurement; the co-planar waveguide can also be used as a quantum bit coupling line to realize controllable interaction between adjacent quantum bits, which is used for two-bit gate operations, etc.

[0172] In some embodiments, as shown in Figure 8 For the second type component or the straight line sub-component included in the first type component, the starting coordinate (Point), the ending coordinate (Point), and the line width (Width) need to be determined, and based on the starting coordinate, the ending coordinate, and the line width, any size co-planar waveguide graphic drawing can be completed for component construction, modification, etc.

[0173] Figure 9 An optional schematic diagram of an arc sub-component provided by an embodiment of the present disclosure is shown.

[0174] As shown in Figure 9 In the quantum chip layout design, the arc sub-component is a basic geometric element for describing and implementing curved or ring structures, commonly used in scenarios such as co-planar waveguide bending transition, resonant cavity ring structure, microwave transmission line turning optimization, etc. The arc sub-component mainly includes parameters: center point coordinate (Point), radius length (Radius), start angle (Angle), end angle, and line width. By adjusting the parameters and calling the draw() method of the graphic component, the arc graphic can be quickly drawn. The arc graphic component is a key element for implementing high-performance microwave interconnection in quantum chip layout design, and its parameter design and process adaptation directly affect signal integrity and quantum bit performance. Through parameterized component packaging, the reliability and high frequency performance of the arc structure can be significantly improved.

[0175] In some embodiments, the target information of the arc sub-component, i.e., the start coordinate (start.x, start.y) and the end coordinate (end.x, end.y), can be determined based on the center point coordinate (center_point.x, center_point.y), the start radian start_radian, the end radian end_radian, and the radius radius, specifically including:

[0176] start.x = center_point.x + radius * math.cos(start_radian)

[0177] start.y = center_point.y + radius * math.sin(start_radian)

[0178] end.x = center_point.x + radius * math.cos(end_radian)

[0179] end.y = center_point.y + radius * math.sin(end_radian)

[0180] The first type component is assembled by splicing and assembling the arc sub-component, the straight line sub-component (coplanar waveguide pattern component), which can realize the turning processing of the coplanar waveguide connection. The basic composition mode is a three-segment combination mode of straight line sub-component + arc sub-component + straight line sub-component. The target information of the first type component includes: start coordinate (start_point), end coordinate (end_point), radius of arc sub-component, and line width. After modifying the parameters, the draw() method is called to realize redrawing. The start point and end point coordinate positions need to be considered for this component to realize the connection direction and arc turning judgment.

[0181] In some embodiments, the type of the first type component can be determined based on the start coordinate, the end coordinate, and the connection direction of the first type component, and then the target information in the first type component is determined.

[0182] For example, the end coordinate (end_point.x, end_point.y) is on the right upper side of the start coordinate (start_point.x, start_point.y), and the direction is clockwise, i.e., start_point.x < end_point.x && start_point.y < end_point.y, then the target information of the straight line sub-component 1, the arc sub-component, and the straight line sub-component 2 in the first type component is determined to include:

[0183] The start coordinate of the straight line subcomponent 1 is the same as the start coordinate of the first type component, i.e., (start_point.x, start_point.y), and the end coordinate is (start_point.x, end_point.y - radius), radius is 5, and width is 0.5.

[0184] The target parameters of the circular arc subcomponent include (start_point.x + radius, end_point.y - radius), the start radian is π / 2, the end radian is π, radius is 5, and width is 0.5.

[0185] The end coordinate of the straight line subcomponent 2 is the same as the end coordinate of the first type component, i.e., (end_point.x, end_point.y), and the start coordinate is (start_point.x + radius, end_point.y).

[0186] For another example, the end coordinate (end_point.x, end_point.y) is below the right of the start coordinate (start_point.x, start_point.y), and the direction is clockwise, i.e., start_point.x < end_point.x && start_point.y > end_point.y, then the target information of the straight line subcomponent 1, the circular arc subcomponent, and the straight line subcomponent 2 in the first type component is determined to include:

[0187] The start coordinate of the straight line subcomponent 1 is the same as the start coordinate of the first type component, i.e., (start_point.x, start_point.y), and the end coordinate is (start_point.x - radius, end_point.y).

[0188] The target parameters of the circular arc subcomponent include (start_point.x - radius, end_point.y - radius), the start radian is π / 2, the end radian is π, radius is 5, and width is 0.5.

[0189] The end coordinate of the straight line subcomponent 2 is the same as the end coordinate of the first type component, i.e., (end_point.x, end_point.y), and the start coordinate is (start_point.x, end_point.y - radius).

[0190] Figure 10A first optional structural schematic diagram of the first type component provided by the embodiments of the present disclosure is shown.

[0191] For another example, as shown in Figure 10 the ending coordinate (83, 20) is above and left of the starting coordinate (90, 0), and the direction is clockwise, i.e. start_point.x>end_point.x&&start_point.y<end_point.y, then the target information of the straight line subcomponent 1, the arc subcomponent and the straight line subcomponent 2 in the first type component is determined as follows:

[0192] The starting coordinate of the straight line subcomponent 1 is the same as the starting coordinate of the first type component, i.e. (start_pionit.x, start_point.y), and the ending coordinate is (start_point.x+radius, end_point.y), radius is 5, and width is 0.5.

[0193] The target parameters of the arc subcomponent include (start_point.x+radius, end_point.y + radius), the starting radian is π, the ending radian is π×3 / 2, radius is 5, and width is 0.5.

[0194] The ending coordinate of the straight line subcomponent 2 is the same as the ending coordinate of the first type component, i.e. (end_point.x, end_point.y), and the starting coordinate is (start_point.x, end_point.y+radius).

[0195] For another example, the ending coordinate (end_point.x, end_point.y) is below and left of the starting coordinate (start_point.x, start_point.y), and the direction is clockwise, i.e. start_point.x>end_point.x&&start_point.y>end_point.y, then the target information of the straight line subcomponent 1, the arc subcomponent and the straight line subcomponent 2 in the first type component is determined as follows:

[0196] The starting coordinate of the straight line subcomponent 1 is the same as the starting coordinate of the first type component, i.e. (start_pionit.x, start_point.y), and the ending coordinate is (start_point.x, end_point.y+radius), radius is 5, and width is 0.5.

[0197] The target parameters of the arc subcomponent include (start_point.x-radius, end_point.y + radius), starting radian -π / 2, ending radian 0, radius is 5, and width is 0.5.

[0198] The end coordinates of line subcomponent 2 are the same as the end coordinates of the first type of component, that is, ( end_point.x, end_point.y ), and the starting coordinates are ( start_point.x - radius, end_point.y ).

[0199] In some optional embodiments, the processing method for the counterclockwise direction is similar to that for the clockwise direction, and will not be repeated here.

[0200] In some embodiments, a third type of component may also be included. The third type of component includes two straight line sub-components and two arc sub-components, connected in the following manner: straight line sub-component 1 - arc sub-component 1 - arc sub-component 2 - straight line sub-component 2. The point where the two arc sub-components connect is the midpoint, and its coordinates can be determined based on the start and end coordinates of the third type of component. That is, center_point = (start_point.x + (end_point.x - start_point.x) / 2, start_point.y + (end_point.y - start_point.y) / 2).

[0201] The third type of components is divided into four cases: the end coordinate is at the upper right of the start coordinate, the end coordinate is at the lower right of the start coordinate, the end coordinate is at the upper left of the start coordinate, and the end coordinate is at the lower left of the start coordinate.

[0202] Figure 11 A first optional structural diagram of the third type component provided by an embodiment of the present disclosure is shown.

[0203] like Figure 11 As shown, the end coordinate is in the upper right of the starting coordinate, that is, start_point.x <end_point.x&&start_point.y<end_point.y。

[0204] Furthermore, the trend of the third type of components is calculated, namely:

[0205] deltaX = math.abs(start_point.x- end_point.x)

[0206] deltaY =math.abs(start_point.y- end_point.y).

[0207] Figure 12 A schematic diagram of the third type of component is shown.

[0208] As Figure 12 shown, if deltaX>deltaY, it means that the overall trend is mainly in the horizontal direction, and the drawing mode of the third type of component includes the first type of component in the counterclockwise direction and the first type of component in the clockwise direction; or if deltaX<deltaY, it means that the overall trend is mainly in the vertical direction, and the drawing mode of the third type of component includes the first type of component in the clockwise direction and the first type of component in the counterclockwise direction.

[0209] Further, the judgment ideas of the right bottom, the left top, and the left bottom are similar:

[0210] Right bottom: start_point.x<end_point.x && start_point.y>end_point.y;

[0211] Left bottom: start_point.x>end_point.x && start_point.y>end_point.y;

[0212] Left top: start_point.x>end_point.x && start_point.y<end_point.y.

[0213] Further, the target information of the third type of component can be determined based on the target information confirmation mode of the first type of component, which is not repeated here.

[0214] In some optional embodiments, a fourth type of component can also be included, that is, a component including three arc sub-components, and the target information confirmation mode of the fourth type of component is similar to that of the third type of component, which is not repeated here.

[0215] In some optional embodiments, the carrier can also add the first type of component, the second type of component, the third type of component, the fourth type of component, and other components composed of straight line sub-components and arc sub-components to the component library, and the components can be added or deleted by editing the component library. In the subsequent layout process, the required component style is determined in the component library, and the layout is performed in combination with the chip demand.

[0216] In this way, by determining connection lines based on different component types, the starting and ending points of graphic component connections are precisely located, overcoming the tedious problem of rounded corners in connection lines. This allows for smooth connection angles and adjustable connection directions. This approach supports a combination of automatic connection and manual correction, accelerating the speed and quality of graphic component connections and improving the efficiency of quantum chip layout design. Component-based wiring design not only improves overall circuit performance but also reduces unnecessary material waste and production costs. By optimizing wiring layout, circuit board space can be more efficiently utilized, interference and conflict between components can be reduced, and thus circuit stability and reliability can be improved.

[0217] Figure 13 An optional structural diagram of a wiring device provided in an embodiment of the present disclosure is shown, and will be described according to each part.

[0218] In some embodiments, the wiring device 900 includes a correspondence determination unit 901 , an area determination unit 902 , a component determination unit 903 , and a wiring unit 904 .

[0219] The correspondence determination unit 901 is configured to determine a correspondence between a pin of at least one qubit and at least two pads;

[0220] The area determination unit 902 is configured to determine a wiring area where a connection line between each pin of the at least one qubit and a corresponding pad is located based on the position information of the at least one qubit and the position information of the at least two pads, and the correspondence between the pins of the at least one qubit and the at least two pads;

[0221] The component determination unit 903 is configured to determine, within the wiring area, based on the position information of the at least one qubit and the position information of the at least two pads, and the correspondence between the pins of the at least one qubit and the at least two pads, a component type of at least one component included in a connection line between each pin of the at least one qubit and the corresponding pad, and target information of the at least one component;

[0222] The wiring unit 904 is used to determine a connection line between each pin of at least one quantum bit and a corresponding pad based on at least one component and target information of at least one component.

[0223] A correspondence determination unit 901 is specifically configured to determine a correspondence between a pin of at least one qubit and at least two pads based on the properties of the qubit and the pad;

[0224] Based on the qubit and pad comparison table, a correspondence between the pin of at least one qubit and the at least two pads is determined.

[0225] The region determination unit 902 is specifically configured to take the center of the device where the at least one quantum bit and the at least one pad are located as an origin of a coordinate system;

[0226] Based on the position information of the at least one quantum bit relative to the origin, coordinate information of the at least one quantum bit is determined.

[0227] Based on the position information of the at least two pads relative to the origin, coordinate information of the at least one pad is determined.

[0228] A minimum rectangle corresponding to all quantum bits and all pads is determined as a wiring region where a connection line between each pin of the at least one quantum bit and a corresponding pad is located.

[0229] The region determination unit 902 is further configured to, in response to the quantum bits and pads included in the wiring region being axisymmetric, divide the wiring region into at least two sub-regions; after determining the connection line between the quantum bits and pads in any sub-region, determine the connection line between the quantum bits and pads in other sub-regions based on the axis of symmetry.

[0230] The component determination unit 903 is specifically configured to determine that a line connecting any pin of a quantum bit and a corresponding pad is a connection line.

[0231] Based on the position information of the at least one quantum bit, a starting coordinate and a starting direction of each connection line are determined; based on the position information of the at least two pads, an ending coordinate and an ending direction of each connection line are determined.

[0232] Based on the starting direction and the ending direction of each connection line, the number of components of a first type in the connection line is determined; the components of the first type include components that change the direction of a line once.

[0233] Based on the starting coordinate, the ending coordinate of each connection line, and the maximum size of the components of the first type, the number of components of a second type is determined.

[0234] Based on the starting coordinate, the ending coordinate of each connection line, and the radius of an arc sub-component included in the components of the first type, target information of the components of the first type and target information of the components of the second type are determined.

[0235] The target information of the components of the first type and the target information of the components of the second type are in the wiring region.

[0236] The component determination unit 903 is specifically configured to determine that a pin of a quantum bit is a starting point of a connection line.

[0237] The coordinate information of the pin of the quantum bit is determined as the starting coordinate of the corresponding connection line.

[0238] The extension direction of the pin of the quantum bit is determined as the start direction of the corresponding connection line.

[0239] The component determining unit 903 is specifically configured to determine that the pin of the pad is an end point of the connection line.

[0240] The coordinate information of the pin of the pad is determined as the end coordinate of the corresponding connection line.

[0241] The extension direction of the pin of the pad is determined as the end direction of the corresponding connection line.

[0242] The component determining unit 903 is specifically configured to perform one of the following:

[0243] In response to the start direction and the end direction of the connection line being parallel, it is determined that the number of components of the first type in the connection line is even.

[0244] In response to the start direction and the end direction of the connection line being perpendicular, it is determined that the number of components of the first type in the connection line is odd.

[0245] The component determining unit 903 is specifically configured to determine, based on the performance information of the chip corresponding to the at least one quantum bit, the impedance matching constraint information, the spacing information of each layout area, and the number of connection lines, the position information of the circular arc sub-component corresponding to the component of the first type in each connection line.

[0246] Based on the start coordinate, the end coordinate, the number of components of the first type, and the position information of the circular arc sub-component in each component of the first type of each connection line, the number of components of the second type is determined.

[0247] The component determining unit 903 is specifically configured to perform the following operations on each connection line:

[0248] The start coordinate of the connection line and the first distance between the circular arc sub-component of the component of the first type corresponding to the start coordinate of the connection line are determined.

[0249] In response to the first distance being greater than the maximum size of the component of the first type, it is determined that the component of the second type is arranged between the component of the first type and the start coordinate.

[0250] Alternatively, in response to the first distance being less than or equal to the maximum size of the component of the first type, it is determined that the component of the first type is directly connected to the start coordinate.

[0251] The component determining unit 903 is specifically configured to perform the following operations on each connection line:

[0252] determine a second distance between the end coordinate of the connection line and an arc sub-component of the first type component corresponding to the end coordinate of the connection line;

[0253] in response to the second distance being greater than the maximum size of the first type component, determine that the first type component is provided with a second type component between the end coordinate;

[0254] or, in response to the second distance being less than or equal to the maximum size of the first type component, determine that the first type component is directly connected with the end coordinate.

[0255] The component determination unit 903 is specifically configured to perform the following operations on each connection line:

[0256] in response to the connection line including at least two first type components, determine a third distance between the two connected first type components based on position information of arc sub-components of the two connected first type components;

[0257] in response to the third distance being greater than twice the maximum size of the first type component, determine that the two connected first type components are provided with a second type component therebetween;

[0258] or, in response to the third distance being less than or equal to twice the maximum size of the first type component, determine that the two connected first type components are directly connected.

[0259] The component determination unit 903 is specifically configured to perform the following operations on at least one first type component of each connection line:

[0260] determine a start coordinate and an end coordinate of each first type component based on the maximum size of the at least one first type component, position information of the arc sub-component, a start coordinate and an end coordinate of the connection line;

[0261] determine a direction of the at least one first type component based on the start coordinate and the end coordinate of each connection line; the direction includes a clockwise direction or a counterclockwise direction;

[0262] determine a start coordinate and an end coordinate of a straight line sub-component included in the first type component based on the start coordinate, the end coordinate, the radius of the arc sub-component and the direction of each first type component.

[0263] The component determination unit 903 is specifically configured to perform at least one of the following on each first type component:

[0264] In response to the starting coordinate of the first type component corresponding to the starting point of the connection line, and the distance between the arc sub-component and the starting coordinate of the connection line being greater than the maximum size of the first type component, the starting coordinate of the first type component is determined based on the position information of the arc sub-component and the maximum size of the first type component; or in response to the distance between the arc sub-component and the starting coordinate of the connection line being less than or equal to the maximum size of the first type component, the starting coordinate of the connection line is determined as the starting coordinate of the first type component.

[0265] In response to the ending coordinate of the first type component corresponding to the ending point of the connection line, and the distance between the arc sub-component and the ending coordinate of the connection line being greater than the maximum size of the first type component, the ending coordinate of the first type component is determined based on the position information of the arc sub-component and the maximum size of the first type component; or in response to the distance between the arc sub-component and the ending coordinate of the connection line being less than or equal to the maximum size of the first type component, the ending coordinate of the connection line is determined as the ending coordinate of the first type component.

[0266] In response to the starting coordinate of the first type component corresponding to the ending coordinate of the other first type component, and the distance between the arc sub-components of the two first type components being greater than twice the maximum length of the first type component, the starting coordinate of the first type component is determined based on the position information of the arc sub-component and the maximum size of the first type component; or in response to the distance between the arc sub-components of the two first type components being less than or equal to twice the maximum length of the first type component, the starting coordinate of the first type component is determined based on the position information of the arc sub-component and the maximum size.

[0267] The component determination unit 903 is specifically configured to determine the starting direction and the ending direction of the at least one first type component based on the starting direction and the ending direction of the connection line; wherein if the starting coordinate of the first type component corresponds to the starting point of the connection line, the starting direction of the first type component is the same as the starting direction of the connection line; and if the ending coordinate of the first type component corresponds to the ending point of the connection line, the ending direction of the first type component is the same as the ending direction of the connection line.

[0268] The direction of the at least one first type component is determined based on the relative positions between the starting direction, the ending direction, the starting coordinate and the ending coordinate of each first type component.

[0269] The component determination unit 903 is specifically configured to, in response to the ending point of the first-type component being located above and right of the starting point, and the direction of the first-type component being a clockwise direction, determine the starting coordinate of the first straight-line sub-component in the first-type component as the starting coordinate of the first-type component; the horizontal coordinate of the ending coordinate of the first straight-line component being the same as the horizontal coordinate of the starting point of the first-type component, and the vertical coordinate of the ending coordinate of the first straight-line component being determined based on the vertical coordinate of the ending point of the first-type component and the radius of the arc sub-component.

[0270] The ending coordinate of the second straight-line sub-component in the first-type component is determined as the ending coordinate of the first-type component; the vertical coordinate of the starting coordinate of the second straight-line sub-component being the same as the vertical coordinate of the ending coordinate, and the horizontal coordinate of the starting coordinate of the second straight-line sub-component being determined based on the horizontal coordinate of the ending coordinate of the first-type component and the radius of the arc sub-component.

[0271] According to embodiments of the present disclosure, the present disclosure further provides an electronic device and a readable storage medium.

[0272] Figure 14 A schematic block diagram of an example electronic device 800 that can be used to implement embodiments of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptops, desktops, tablets, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device can also represent various forms of mobile devices, such as personal digital assistants, cellular telephones, smartphones, wearable devices, and other similar computing devices. The components shown here, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the present disclosure described and / or claimed in this document.

[0273] As shown in FIG. 8, Figure 14 The electronic device 800 includes a computing unit 801 that can perform various appropriate actions and processes in accordance with a computer program stored in a read-only memory (ROM) 802 or a computer program loaded from a storage unit 808 into a random access memory (RAM) 803. Various programs and data required for the operation of the electronic device 800 can also be stored in the RAM 803. The computing unit 801, the ROM 802, and the RAM 803 are connected to each other through a bus 804. An input / output (I / O) interface 805 is also connected to the bus 804.

[0274] A plurality of components in the electronic device 800 are connected to the I / O interface 805, including: an input unit 806, such as a keyboard, a mouse, etc.; an output unit 807, such as various types of displays, speakers, etc.; a storage unit 808, such as a magnetic disk, an optical disk, etc.; and a communication unit 809, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 809 allows the electronic device 800 to exchange information / data with other devices through a computer network, such as the Internet, and / or various telecommunication networks.

[0275] The computing unit 801 can be various general and / or special-purpose processing components with processing and computing capabilities. Some examples of the computing unit 801 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The computing unit 801 performs various methods and processes described above, such as the routing method. For example, in some embodiments, the routing method can be implemented as a computer software program, which is tangibly embodied in a machine-readable medium, such as the storage unit 808. In some embodiments, part or all of the computer program can be loaded and / or installed onto the electronic device 800 via the ROM 802 and / or the communication unit 809. When the computer program is loaded onto the RAM 803 and executed by the computing unit 801, one or more steps of the routing method described above can be performed. Alternatively, in other embodiments, the computing unit 801 can be configured to perform the routing method by any other appropriate means, such as by means of firmware.

[0276] Various implementations of the systems and techniques described above herein can be realized in digital electronic circuitry, integrated circuitry, a field programmable gate array (FPGA), an application-specific integrated circuit (ASIC), a system on a chip (SOC), a programmable logic device (CPLD), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include implementation in one or more computer programs that are executable and / or interpretable on a programmable system including at least one programmable processor, which can be special or general purpose, coupled to receive data and instructions from, and to transmit data and instructions to, a storage system, at least one input device, and at least one output device.

[0277] Program code for carrying out methods of the present disclosure can be written in any combination of one or more programming languages. The program code can be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the program code, when executed by the processor or controller, produces the functions / operations specified in the flowcharts and / or block diagrams. The program code can be executed entirely on a machine, partially on a machine, partially on a machine as a stand-alone software package, partially on a machine and partially on a remote machine or entirely on a remote machine or server.

[0278] In the context of the present disclosure, a machine-readable medium can be a tangible medium that contains or stores a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can include but is not limited to an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of the machine-readable storage medium will include one or more lines of electrical connections, portable computer disks, hard disk drives, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or Flash memory), optical fibers, portable compact disc read-only memories (CD-ROMs), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.

[0279] To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user and a keyboard and a pointing device (e.g., a mouse or a trackball) by which the user can provide input to the computer. Other kinds of devices can be used to provide for interaction with a user as well; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form, including acoustic, speech, or tactile input.

[0280] The systems and techniques described here can be implemented in a computing system that includes a back end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front end component (e.g., a user computer having a graphical user interface or a Web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back end, middleware, or front end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network (LAN), a wide area network (WAN), and the Internet.

[0281] The computer system can include clients and servers. The clients and servers are generally remote from each other and typically interact through a communication network. The relationship of client and server can arise by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The servers can be cloud servers, servers of a distributed system, or servers combined with a blockchain.

[0282] It should be understood that the steps shown in the various forms above can be reordered, added to, or deleted from. For example, the steps recited in the present disclosure can be performed in parallel, in series, or in a different order, as long as the desired results of the technical solutions of the present disclosure are achieved, and the present disclosure is not limited herein.

[0283] In addition, the terms "first", "second" are only for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined with "first", "second" can explicitly or implicitly include at least one of the features. In the description of the present disclosure, the meaning of "a plurality of" is two or more, unless otherwise specifically limited.

[0284] The above description is merely a specific implementation of the present disclosure, but the protection scope of the present disclosure is not limited thereto. Any person skilled in the art can easily think of changes or replacements within the technical scope disclosed in the present disclosure, which should be covered within the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be subject to the protection scope of the claims.

Claims

1. A wiring method, characterized in that: The method comprises: Determining a correspondence between a pin of at least one quantum bit and at least two pads; Based on the position information of the at least one qubit and the position information of the at least two pads, and the correspondence between the pins of the at least one qubit and the at least two pads, determining a wiring area where a connection line between each pin of the at least one qubit and the corresponding pad is located; In the wiring region, based on the position information of the at least one qubit and the position information of the at least two pads, and the correspondence between the pins of the at least one qubit and the at least two pads, determining a component type of at least one component included in a connection line between each pin of the at least one qubit and the corresponding pad, and target information of the at least one component, specifically including: Based on the correspondence between the pins of at least one quantum bit and at least two pads, determine that the line connecting any pin and pad of the quantum bit with the corresponding relationship is a connecting line; based on the position information of at least one quantum bit, determine the starting coordinates and starting direction of each connecting line; based on the position information of at least two pads, determine the ending coordinates and ending direction of each connecting line; based on the starting direction and ending direction of each connecting line, determine the number of first-type components in the connecting line; the first-type components include components that change the direction of the line once; based on the starting coordinates, ending coordinates, and the maximum size of each connecting line, determine the number of second-type components in the connecting line; based on the starting coordinates, ending coordinates, and the radius of the arc sub-component included in the first-type component, determine the target information of the first-type component and the target information of the second-type component; wherein, the target information of the first-type component and the target information of the second-type component are within the wiring area; Determining a connection line between each pin of at least one qubit and a corresponding pad based on at least one component and target information of the at least one component; Determining the number of first-type components in each connecting line based on the starting direction and the ending direction of the connecting line includes: in response to the starting direction and the ending direction of the connecting line being parallel, determining the number of first-type components in the connecting line to be an even number; or in response to the starting direction and the ending direction of the connecting line being perpendicular, determining the number of first-type components in the connecting line to be an odd number; The method of determining the number of second-type components in a connecting line based on the starting coordinates, ending coordinates, and maximum size of the first-type components of each connecting line includes: determining the position information of the arc subcomponent corresponding to the first-type component in each connecting line based on the performance information of the chip corresponding to the at least one quantum bit, the impedance matching constraint information, the spacing information of each layout area, and the number of connecting lines; and determining the number of second-type components based on the starting coordinates, ending coordinates, the number of first-type components of each connecting line, and the position information of the arc subcomponent in each first-type component.

2. The method according to claim 1, characterized in that Determining the correspondence between the pin of at least one quantum bit and the at least two pads includes one of the following: Determining a correspondence between a pin of at least one qubit and at least two pads based on properties of the qubit and the pad; Based on the qubit and pad comparison table, a correspondence between the pin of at least one qubit and the at least two pads is determined.

3. The method according to claim 1, characterized in that The determining, based on the position information of the at least one qubit and the position information of the at least two pads and the correspondence between the pins of the at least one qubit and the at least two pads, of a wiring area where a connection line between each pin of the at least one qubit and the corresponding pad is located, includes: Taking the center of the device where the at least one quantum bit and the at least one pad are located as the origin of the coordinate system; determining coordinate information of the at least one quantum bit based on position information of the at least one quantum bit relative to the origin; Determining coordinate information of the at least one pad based on position information of the at least two pads relative to the origin; An area corresponding to a minimum rectangle including all corresponding qubits and all pads is determined as a wiring area where a connection line between each pin of the at least one qubit and the corresponding pad is located.

4. The method according to claim 3, characterized in that The method further comprises: In response to the fact that the quantum bits and pads included in the wiring area are axially symmetric, the wiring area is divided into at least two sub-areas; after determining the connection lines between the quantum bits and pads in any sub-area, the connection lines between the quantum bits and pads in other sub-areas are determined based on the symmetry axis.

5. The method according to claim 1, wherein The determining of the starting coordinates and starting direction of each connecting line based on the position information of at least one quantum bit includes: Determine the pin of the qubit as the starting point of the connection line; Determine the coordinate information of the pin of the quantum bit as the starting coordinate of the corresponding connecting line; Determine the extension direction of the pin of the quantum bit as the starting direction of the corresponding connecting line.

6. The method according to claim 1, characterized in that The step of determining the end coordinates and the end direction of each connecting line based on the position information of at least two pads includes: Determine the pin of the pad as the end point of the connection line; Determine the coordinate information of the pin of the pad as the end coordinate of the corresponding connecting line; Determine the extension direction of the pin of the pad as the end direction of the corresponding connecting line.

7. The method according to claim 1, characterized in that The method of determining the number of second-type components based on the starting coordinates and ending coordinates of each connecting line, the number of first-type components, and the position information of the arc subcomponents in each first-type component includes performing the following operations on each connecting line: Determine a starting coordinate of the connecting line and a first distance between arc subcomponents of the first type of components corresponding to the starting coordinate of the connecting line; In response to the first distance being greater than the maximum size of the first type component, determining that a second type component is disposed between the first type component and the starting coordinate; Alternatively, in response to the first distance being less than or equal to the maximum size of the first type component, it is determined that the first type component is directly connected to the starting coordinate.

8. The method according to claim 1, characterized in that The method of determining the number of second-type components based on the starting coordinates and ending coordinates of each connecting line, the number of first-type components, and the position information of the arc subcomponents in each first-type component includes performing the following operations on each connecting line: determining an end coordinate of the connecting line and a second distance between the arc subcomponents of the first type component corresponding to the end coordinate of the connecting line; In response to the second distance being greater than the maximum size of the first type component, determining that a second type component is disposed between the first type component and the end coordinate; Alternatively, in response to the second distance being less than or equal to the maximum size of the first type component, it is determined that the first type component is directly connected to the end coordinate.

9. The method according to claim 1, characterized in that The method of determining the number of second-type components based on the starting coordinates and ending coordinates of each connecting line, the number of first-type components, and the position information of the arc subcomponents in each first-type component includes performing the following operations on each connecting line: In response to the connection line including at least two first-type components, determining a third distance between the two connected first-type components based on position information of the arc subcomponents of the two connected first-type components; In response to the third distance being greater than twice the maximum size of the first type component, determining that a second type component is disposed between the two connected first type components; Alternatively, in response to the third distance being less than or equal to twice the maximum size of the first-type component, it is determined that the two connected first-type components are directly connected.

10. The method according to claim 1, characterized in that The determining of target information of the first type component and target information of the second type component based on the starting coordinates and the ending coordinates of each connecting line and the radius of the arc subcomponent included in the first type component includes performing the following operations on at least one first type component of each connecting line: Determine the starting coordinates and ending coordinates of each first-type component based on the maximum size of at least one first-type component, the position information of the arc subcomponent, and the starting coordinates and ending coordinates of the connecting line; Determine a direction of at least one first-type component based on the start coordinate and the end coordinate of each connecting line; the direction includes a clockwise direction or a counterclockwise direction; Based on the starting coordinates, ending coordinates, arc subcomponent radius and direction of each first type component, the starting coordinates and ending coordinates of the line subcomponent included in the first type component are determined.

11. The method according to claim 10, characterized in that Determining the starting coordinates and ending coordinates of each first-type component based on the maximum size of at least one first-type component, the position information of the arc subcomponent, and the starting coordinates and ending coordinates of the connecting line includes performing at least one of the following on each first-type component: In response to the starting coordinates of the first type component corresponding to the starting point of the connecting line, and the distance between the arc subcomponent and the starting coordinates of the connecting line is greater than the maximum size of the first type component, the starting coordinates of the first type component are determined based on the position information of the arc subcomponent and the maximum size of the first type component; or, in response to the distance between the arc subcomponent and the starting coordinates of the connecting line is less than or equal to the maximum size of the first type component, the starting coordinates of the connecting line are determined to be the starting coordinates of the first type component; In response to the end coordinates of the first type component corresponding to the end point of the connecting line, and the distance between the arc subcomponent and the end coordinates of the connecting line is greater than the maximum size of the first type component, the end coordinates of the first type component are determined based on the position information of the arc subcomponent and the maximum size of the first type component; or, in response to the distance between the arc subcomponent and the end coordinates of the connecting line is less than or equal to the maximum size of the first type component, the end coordinates of the connecting line are determined to be the end coordinates of the first type component; In response to the start coordinates of the first type component corresponding to the end coordinates of the other first type components, and the distance between the arc subcomponents of the two first type components is greater than twice the maximum length of the first type components, determining the start coordinates of the first type components based on the position information of the arc subcomponents and the maximum size of the first type components; Alternatively, in response to the distance between the arc subcomponents of two first type components being less than or equal to twice the maximum length of the first type components, the starting coordinates of the first type components are determined based on the position information and maximum size of the arc subcomponents.

12. The method according to claim 10, characterized in that The determining the direction of at least one first-type component based on the starting coordinates and the ending coordinates of each connecting line includes: Determining a starting direction and an ending direction of at least one first-type component based on the starting direction and the ending direction of the connecting line; wherein, if the starting coordinates of the first-type component correspond to the starting point of the connecting line, the starting direction of the first-type component is the same as the starting direction of the connecting line; and if the ending coordinates of the first-type component correspond to the ending point of the connecting line, the ending direction of the first-type component is the same as the ending direction of the connecting line; Based on the starting direction, the ending direction, and the relative position between the starting coordinates and the ending coordinates of each first-type component, the direction of at least one first-type component is determined.

13. The method according to claim 10, characterized in that The determining of the starting coordinates and ending coordinates of the straight line subcomponent included in the first type component based on the starting coordinates, ending coordinates, radius and direction of the arc subcomponent of each first type component includes: In response to the end point of the first type component being located to the upper right of the start point and the direction of the first type component being clockwise, the start coordinates of the first straight line subcomponent in the first type component are determined to be the start coordinates of the first type component; the abscissa of the end coordinates of the first straight line component is the same as the abscissa of the start point of the first type component, and the ordinate of the end coordinates of the first straight line component is determined based on the ordinate of the end point of the first type component and the radius of the arc subcomponent; Determine the end coordinates of the second straight line subcomponent in the first type of component as the end coordinates of the first type of component; the vertical coordinate of the starting coordinates of the second straight line subcomponent is the same as the vertical coordinate of the end coordinates, and the horizontal coordinate of the starting coordinates of the second straight line subcomponent is determined based on the horizontal coordinates of the end coordinates of the first type of component and the radius of the arc subcomponent.

14. A wiring device, characterized in that: The device comprises: A correspondence determination unit, configured to determine a correspondence between a pin of at least one qubit and at least two pads; an area determination unit, configured to determine, based on the position information of the at least one qubit and the position information of the at least two pads, and the correspondence between the pins of the at least one qubit and the at least two pads, a wiring area in which a connection line between each pin of the at least one qubit and the corresponding pad is located; a component determination unit, configured to determine, based on the position information of the at least one qubit and the position information of the at least two pads and the correspondence between the pins of the at least one qubit and the at least two pads, a component type of at least one component included in a connection line between each pin of the at least one qubit and the corresponding pad, and target information of the at least one component; The component determination unit is specifically used to determine, based on the correspondence between the pins of at least one quantum bit and the at least two pads, that the line connecting any pin and pad of the quantum bits with the corresponding relationship is a connecting line; determine the starting coordinates and starting direction of each connecting line based on the position information of at least one quantum bit; determine the ending coordinates and ending direction of each connecting line based on the position information of at least two pads; determine the number of first-type components in the connecting line based on the starting direction and ending direction of each connecting line; the first-type components include components that change the direction of the line once; determine the number of second-type components in the connecting line based on the starting coordinates, ending coordinates, and the maximum size of the first-type components; determine the target information of the first-type components and the target information of the second-type components based on the starting coordinates, ending coordinates, and the radius of the arc sub-component included in the first-type components; wherein the target information of the first-type components and the target information of the second-type components are within the wiring area; The component determination unit is specifically configured to determine that the number of first-type components in the connection line is an even number in response to the starting direction and the ending direction of the connection line being parallel; or to determine that the number of first-type components in the connection line is an odd number in response to the starting direction and the ending direction of the connection line being perpendicular; The component determination unit is specifically configured to determine, based on performance information of the chip corresponding to the at least one quantum bit, impedance matching constraint information, spacing information of each layout area, and the number of connecting lines, position information of the arc subcomponent corresponding to the first type component in each connecting line; and determine the number of second type components based on the starting coordinates and ending coordinates of each connecting line, the number of first type components, and the position information of the arc subcomponent in each first type component; A wiring unit is used to determine a connection line between each pin of at least one quantum bit and a corresponding pad based on at least one component and target information of at least one component.

15. An electronic device, characterized in that: include: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the method according to any one of claims 1 to 13.

16. A non-transitory computer-readable storage medium storing computer instructions, characterized in that: The computer instructions are used to cause a computer to execute the method according to any one of claims 1-13.

17. A computer program product, characterized in that A computer program is included which, when executed by a processor, implements the method according to any one of claims 1 to 13.

Citation Information

Patent Citations

  • Flip-chip bonding process superconducting quantum chip design automatic wiring method for controlling read multiplexing

    CN119089846A

  • Chain-like quantum chip and wiring method thereof, apparatus, electronic device, storage medium, and computer program

    JP2022159320A