Layout design method and device, electronic equipment and readable storage medium
By defining quantum device models and anchor point rules, quantum chip layout design is realized, which solves the shortcomings of existing EDA tools in quantum chip design and improves design efficiency and accuracy.
Patent Information
- Application Number
- CN202511170899.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-21
- Publication Date
- 2025-09-26
- Estimated Expiration
- 2045-08-21
AI Technical Summary
Existing electronic design automation (EDA) tools lack specialized support for quantum devices in quantum chip design, cannot meet the special needs of quantum chip design, and are inefficient in handling complex layouts.
A layout design method is provided. By defining a quantum device model, instantiating various types of quantum devices, determining the starting and ending anchor coordinates of the connection relationship, and generating a reasonable connection path, the predefined device anchor point rules and connection model are used to realize the quantum chip layout design.
It improves the efficiency and accuracy of quantum chip layout design, reduces the complexity and error rate of manual operations, ensures connection accuracy, and shortens the design cycle.
Smart Images

Figure CN120706367A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of chip technology, and in particular to a layout design method, device, electronic device and readable storage medium. Background Art
[0002] Currently, quantum chip layout design primarily relies on traditional electronic design automation (EDA) tools. While these tools excel in classical integrated circuit design, they suffer from several shortcomings in quantum chip design. First, some quantum devices, such as superconducting qubits, resonant cavities, and Josephson junctions, possess unique physical properties and structures. Modeling and designing these devices requires specialized tools and methods, and traditional EDA tools lack dedicated support for these devices, failing to meet the unique demands of quantum chip design. Second, quantum chip layout design requires handling a large number of devices and complex layouts. Traditional EDA tools are often inefficient when handling these complex designs, making it difficult to meet the efficiency requirements of quantum chip design. Summary of the Invention
[0003] In view of this, embodiments of the present application provide a layout design method, device, electronic device, and readable storage medium.
[0004] According to the first aspect of the present application, an embodiment of the present application provides a layout design method, including: Obtain the quantum device construction list and quantum device connection list; Based on the quantum device construction list, instantiate various pre-defined quantum device models. The quantum device model includes a device model class and a device model table. Based on the instantiated quantum device models, construct the quantum devices corresponding to the quantum device construction list; Based on the quantum device connection list, the quantum device build list, the predefined connection model and the predefined device anchor point rules, the starting point anchor point coordinates and the end point anchor point coordinates corresponding to each connection relationship in the quantum device connection list are determined; the device anchor point rules include the device static anchor point rules and the dynamic anchor point calculation script; the device static anchor point rules include the connection anchor points in each quantum device; the dynamic anchor point calculation script is used to calculate the offset of the connection anchor point coordinates of the quantum device based on the quantum device attribute data in the quantum device build list; based on the offset of the connection anchor point coordinates of the quantum device, the starting point anchor point coordinates and the end point anchor point coordinates corresponding to each connection relationship are determined; Based on the starting point anchor point coordinates and the end point anchor point coordinates corresponding to each connection relationship, the connection path of each constructed quantum device is generated to obtain the quantum chip layout of the quantum device.
[0005] Optionally, based on the quantum device connection list, the quantum device construction list, the predefined connection model, and the predefined device anchor point rule, determining the starting point anchor point coordinates and the ending point anchor point coordinates corresponding to each connection relationship in the quantum device connection list includes: Based on the quantum device connection list and a predefined connection model, determining the starting quantum device and the ending quantum device corresponding to each connection relationship in the quantum device connection list; Determine the first initial anchor point coordinates corresponding to each starting point quantum device and the second initial anchor point coordinates corresponding to each ending point quantum device based on the starting point quantum device and the ending point quantum device corresponding to each connection relationship, the quantum device construction list, and the device static anchor point rules in the device anchor point rules; Based on the dynamic anchor point calculation script and the quantum device attribute data in the quantum device construction list, calculate the anchor point coordinate offset corresponding to each starting quantum device and the anchor point coordinate offset corresponding to each end point quantum device; Based on the anchor point coordinate offset corresponding to each starting point quantum device and the anchor point coordinate offset corresponding to each end point quantum device, the first initial anchor point coordinate corresponding to each starting point quantum device and the second initial anchor point coordinate corresponding to each end point quantum device are adjusted to obtain the starting point anchor point coordinates and the end point anchor point coordinates corresponding to each connection relationship.
[0006] Optionally, based on the starting point quantum device and the ending point quantum device corresponding to each connection relationship, the quantum device construction list, and the device static anchor point rule in the device anchor point rule, determining the first initial anchor point coordinates corresponding to each starting point quantum device and the second initial anchor point coordinates corresponding to each ending point quantum device includes: Based on the starting point quantum device and the end point quantum device corresponding to each connection relationship, and the device static anchor point rule in the device anchor point rule, determine the connection anchor point corresponding to each starting point quantum device and the connection anchor point corresponding to each end point quantum device; Based on the connection anchor points corresponding to each starting point quantum device and the connection anchor points corresponding to each end point quantum device, and the quantum device construction list, the first initial anchor point coordinates corresponding to each starting point quantum device and the second initial anchor point coordinates corresponding to each end point quantum device are determined.
[0007] Optionally, the quantum device model types include: a pad device model, a superconducting quantum bit device model, a resonant cavity device model, an air bridge device model, a Josephson junction device model, and a general device model.
[0008] Optionally, the device model class defines the quantum device identification, quantum device parameter attributes, the layer where the quantum device is located, and the quantum device coordinates; the device model table defines the quantum device identification field, multiple parameter fields, layer field, and coordinate fields.
[0009] Optionally, based on the coordinates of the starting anchor point and the ending anchor point corresponding to each connection relationship, a connection path is generated for each constructed quantum device, including: Based on the coordinates of the starting anchor points and the ending anchor points corresponding to each connection relationship, a path planning strategy for avoiding obstacles is called to generate connection paths corresponding to each connection relationship between the constructed quantum devices, so as to generate connection paths for each constructed quantum device.
[0010] Optionally, the layout design method further includes: Output the quantum chip layout in JSON data format.
[0011] Optionally, the layout design method further includes: Based on the pre-defined layout design model and device model class, parse the quantum chip layout in JSON data format to obtain the coordinate data and layer data of each quantum device; Based on the coordinate data and layer data of each quantum device, as well as the data conversion rules, the quantum chip layout in JSON data format is converted into the quantum chip layout in GDS data format.
[0012] Optionally, the layout design method further includes: The target quantum chip layout in the GDS data format is obtained. The target quantum chip layout in the GDS data format is different from the quantum chip layout version. Extract GDS polygon geometric features from the target quantum chip layout in GDS data format; Based on the GDS polygonal geometric features, the target quantum chip layout in the GDS data format is converted into a target quantum chip layout in the JSON data format corresponding to the version of the quantum chip layout.
[0013] Optionally, based on the GDS polygonal geometric features, converting the target quantum chip layout in the GDS data format into a target quantum chip layout in the JSON data format corresponding to the version of the quantum chip layout includes: Encode GDS polygon geometry features as hash values; Based on the hash value, a search is performed in the model library to determine the combination device model corresponding to the hash value; the combination device model is a combination device model in the JSON data format corresponding to the version of the quantum chip layout; Based on the combined device model, the target quantum chip layout is generated in JSON data format.
[0014] According to the second aspect of the present application, an embodiment of the present application provides a layout design device, including: The acquisition module is used to obtain the quantum device construction list and quantum device connection list; The instantiation module is used to instantiate various pre-defined quantum device models based on the quantum device construction list. The quantum device model includes the device model class and the device model table. A construction module, configured to construct each quantum device corresponding to the quantum device construction list based on each instantiated quantum device model; A determination module is configured to determine the starting point anchor point coordinates and the ending point anchor point coordinates corresponding to each connection relationship in the quantum device connection list based on the quantum device connection list, the quantum device build list, a predefined connection model, and a predefined device anchor point rule; the device anchor point rule includes a device static anchor point rule and a dynamic anchor point calculation script; the device static anchor point rule includes the connection anchor points in each quantum device; the dynamic anchor point calculation script is configured to calculate the offset of the connection anchor point coordinates of the quantum device based on the quantum device attribute data in the quantum device build list; and based on the offset of the connection anchor point coordinates of the quantum device, the starting point anchor point coordinates and the ending point anchor point coordinates corresponding to each connection relationship are determined; The generation module is used to generate the connection paths of each constructed quantum device based on the starting point anchor point coordinates and the end point anchor point coordinates corresponding to each connection relationship, so as to obtain the quantum chip layout of the quantum device.
[0015] Optionally, the determination module is configured to determine a starting point quantum device and an end point quantum device corresponding to each connection relationship in the quantum device connection list based on the quantum device connection list and a predefined connection model; Determine the first initial anchor point coordinates corresponding to each starting point quantum device and the second initial anchor point coordinates corresponding to each ending point quantum device based on the starting point quantum device and the ending point quantum device corresponding to each connection relationship, the quantum device construction list, and the device static anchor point rules in the device anchor point rules; Based on the dynamic anchor point calculation script and the quantum device attribute data in the quantum device construction list, calculate the anchor point coordinate offset corresponding to each starting quantum device and the anchor point coordinate offset corresponding to each end point quantum device; Based on the anchor point coordinate offset corresponding to each starting point quantum device and the anchor point coordinate offset corresponding to each end point quantum device, the first initial anchor point coordinate corresponding to each starting point quantum device and the second initial anchor point coordinate corresponding to each end point quantum device are adjusted to obtain the starting point anchor point coordinates and the end point anchor point coordinates corresponding to each connection relationship.
[0016] Optionally, the determination module is configured to determine a connection anchor point corresponding to each starting point quantum device and a connection anchor point corresponding to each end point quantum device based on the starting point quantum device and the end point quantum device corresponding to each connection relationship and a device static anchor point rule in the device anchor point rule; Based on the connection anchor points corresponding to each starting point quantum device and the connection anchor points corresponding to each end point quantum device, and the quantum device construction list, the first initial anchor point coordinates corresponding to each starting point quantum device and the second initial anchor point coordinates corresponding to each end point quantum device are determined.
[0017] Optionally, the quantum device model types include: a pad device model, a superconducting quantum bit device model, a resonant cavity device model, an air bridge device model, a Josephson junction device model, and a general device model.
[0018] Optionally, the device model class defines the quantum device identification, quantum device parameter attributes, the layer where the quantum device is located, and the quantum device coordinates; the device model table defines the quantum device identification field, multiple parameter fields, layer field, and coordinate fields.
[0019] Optionally, the generation module is used to call a path planning strategy for avoiding obstacles based on the starting point anchor point coordinates and the end point anchor point coordinates corresponding to each connection relationship, and generate connection paths corresponding to each connection relationship between the constructed quantum devices, so as to generate connection paths for each constructed quantum device.
[0020] Optionally, the layout design device further includes: Output module, used to output quantum chip layout in JSON data format.
[0021] According to a third aspect of the present application, an embodiment of the present application provides an electronic device, including: 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 perform the layout design method as described in the first aspect or any embodiment of the first aspect.
[0022] According to the fourth aspect of the present application, an embodiment of the present application provides a computer-readable storage medium, which stores computer instructions, and the computer instructions are used to enable a computer to execute the layout design method in the first aspect or any embodiment of the first aspect.
[0023] According to the fifth aspect of the present application, an embodiment of the present application provides a computer program product, including a computer program or instructions. When the computer program or instructions are executed by a processor, the layout design method in the first aspect or any embodiment of the first aspect is implemented.
[0024] The layout design method, apparatus, electronic device, and readable storage medium provided in the embodiments of the present application achieve standardized and normalized management of quantum devices by defining various quantum device models. During the layout design process, these predefined quantum device models can be directly called for instantiation and combination, avoiding the tedious process of designing each quantum device from scratch, greatly shortening the layout design cycle, and improving design efficiency. Furthermore, with the help of predefined connection models and predefined device anchor point rules, the coordinates of the starting and ending anchor points of the quantum devices to be connected can be accurately determined based on the actual attribute data of the quantum devices, and a reasonable connection path can be generated. This not only reduces the complexity and error rate of manual operations, but also further enables the connections to be accurately connected to the specified positions of the devices according to actual design requirements, avoiding connection deviations or incorrect connections, and further improving the accuracy and reliability of the layout design.
[0025] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] Figure 1 A schematic diagram of a flow chart of a layout design method in an embodiment of the present application; Figure 2 This is a diagram illustrating the connection anchor points of quantum devices in the static anchor point rule of the device in the embodiment of the present application; Figure 3 This is a schematic diagram of the pad structure in the embodiment of the present application; Figure 4 This is a schematic diagram of the Xmon device structure in an embodiment of the present application; Figure 5 This is a schematic diagram of a data converter in an embodiment of the present application; Figure 6 This is a schematic structural diagram of a layout design device in an embodiment of the present application; Figure 7 This is a schematic diagram of the hardware structure of an electronic device in an embodiment of the present application. DETAILED DESCRIPTION
[0027] To make the purpose, technical solutions, and advantages of the embodiments of the present application more clear, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without making creative efforts shall fall within the scope of protection of this application.
[0028] The present application embodiment provides a layout design method, such as Figure 1 As shown, including: S101, obtaining a quantum device construction list and a quantum device connection list.
[0029] In this embodiment, the quantum device build list includes quantum device type data, quantum device identification data, quantum device attribute data, and quantum device coordinate data; the quantum device connection list includes multiple connection relationships between quantum devices. The quantum device identification data can be the specific name of the quantum device.
[0030] S102 , based on the quantum device construction list, instantiate various predefined quantum device models. The quantum device model includes a device model class and a device model table.
[0031] In some embodiments, quantum device model types include: a pad device model, a superconducting qubit (Xmon) device model, a resonant cavity device model, an air bridge device model, a Josephson junction device model, and a general device model.
[0032] In some embodiments, a device model class defines a quantum device identifier, quantum device parameter attributes, the layer where the quantum device resides, and quantum device coordinates. A device model table defines a quantum device identifier field, multiple parameter fields, a layer field, and a coordinate field. The quantum device identifier can specifically be a quantum device name.
[0033] In this embodiment, each device model class defines in detail key information such as the device name, parameter attributes, layer location, and coordinates. The device model table records the corresponding table fields. This precise definition method ensures the accuracy and consistency of quantum devices in layout design, avoiding design defects caused by unclear device parameters or incorrect coordinates.
[0034] Specifically, the pad device model includes a pad device model class and a pad device model table; the Xmon device model includes an Xmon device model class and an Xmon device model table; the resonant cavity device model includes a resonant cavity device model class and a resonant cavity device model table; the air bridge device model includes an air bridge device model class and an air bridge device model table; the Josephson junction device model includes a Josephson junction device model class and a Josephson junction device model table; the general device model includes a general device model class and a general device model table.
[0035] The pad device model class primarily defines the pad name, pad parameter attributes, the layer the pad resides on, and the one-dimensional coordinates of the pad. The pad device model table defines the corresponding table fields, including name, parameter 1, parameter 2, parameter n, layer, and coordinate data fields.
[0036] The Xmon device model class primarily defines the Xmon name, Xmon parameter attributes, the layer where the Xmon resides, and the two-dimensional coordinates that make up the Xmon. The Xmon device model table correspondingly defines the relevant table fields, including the name, parameter 1, parameter 2, parameter n, layer, and coordinate data fields.
[0037] The resonant cavity device model class primarily defines the resonant cavity name, resonant cavity parameter attributes, the layer where the resonant cavity resides, and the 2D coordinates of the resonant cavity. The resonant cavity device model table also defines the corresponding table fields, including the name, parameter 1, parameter 2, parameter n, layer, and coordinate data fields.
[0038] The air bridge device model class primarily defines the air bridge name, air bridge parameter attributes, the layer where the air bridge resides, and the one-dimensional coordinates of the air bridge. The air bridge device model table also defines the corresponding table fields, including name, parameter 1, parameter 2, parameter n, layer, and coordinate data fields.
[0039] The Josephson junction device model class primarily defines the name of the Josephson junction, its parameter properties, the layer where the Josephson junction resides, and the one-dimensional coordinates of the Josephson junction. The Josephson junction device model table also defines the corresponding table fields, including the name, parameter 1, parameter 2, parameter n, layer, and coordinate data fields.
[0040] The general model class primarily defines the general device name, general parameter attributes, layer, and one-dimensional coordinates of the general device. The general device model table defines the corresponding table fields, including name, parameter 1, parameter 2, parameter n, layer, and coordinate data fields.
[0041] In this embodiment, since the quantum device construction list includes quantum device type data, quantum device identification data, quantum device attribute data, and quantum device coordinate data, the quantum device construction list can be used to instantiate each predefined type of quantum device model, thereby obtaining each quantum device instance under each type of quantum device model, and then maintaining and managing the quantum device instances according to type.
[0042] In this embodiment, quantum device instances are maintained and managed according to type, achieving centralized and standardized management of devices. This not only makes it easier for designers to find and use the required devices, but also facilitates unified updating and maintenance of devices, ensuring device consistency and availability.
[0043] In this embodiment, a device model library may be used to store various types of quantum device models, thereby providing abundant device resources for layout design.
[0044] S103 , constructing each quantum device corresponding to the quantum device construction list based on each instantiated quantum device model.
[0045] In this embodiment, in combination with the device construction list, quantum devices corresponding to the quantum device construction list can be constructed by combining quantum device instances in the layout design model.
[0046] The layout model consists of a layout model class and a layout model table. The layout model class includes layout name, pad device object, Xmon device object, resonant cavity device object, air bridge device object, Josephson junction device object, general device object, line object, and user object. The layout model table's fields mainly include layout name, layout data, and designer.
[0047] S104, based on the quantum device connection list, the quantum device build list, the predefined connection model, and the predefined device anchor point rules, determine the starting point anchor point coordinates and the end point anchor point coordinates corresponding to each connection relationship in the quantum device connection list; the device anchor point rules include device static anchor point rules and dynamic anchor point calculation scripts; the device static anchor point rules include the connection anchor points in each quantum device; the dynamic anchor point calculation script is used to calculate the offset of the connection anchor point coordinates of the quantum device based on the quantum device attribute data in the quantum device build list; based on the offset of the connection anchor point coordinates of the quantum device, determine the starting point anchor point coordinates and the end point anchor point coordinates corresponding to each connection relationship.
[0048] In this embodiment, the connection model includes a connection model class and a connection model table. The connection model class includes the connection name, starting point device object, end point device object, coordinates, and layer attributes. The connection model table records connection relationships and path data, including the layout to which it belongs, the starting point quantum device, the end point quantum device, the layer, and coordinate attributes. The connection model can clearly manage and represent the connection relationships between quantum devices, providing effective data support and management for routing operations in layout design, allowing complex routing networks to be systematically organized and stored.
[0049] In this embodiment, each connection relationship includes a starting point quantum device and an end point quantum device. The anchor point coordinates of the starting point quantum device for connection are the starting point anchor point coordinates, and the anchor point coordinates of the end point quantum device for connection are the end point anchor point coordinates.
[0050] In this embodiment, the device anchor point rules include device static anchor point rules and dynamic anchor point calculation scripts. The device static anchor point rules include the connection anchor points of each quantum device. For example, Figure 2As shown, the pad connection anchor points are the points with subscripts 1, 2, 8, and 9 on the pad. The Xmon device connection anchor points are the points with subscripts 0, 1, 3, and 4 on the Xmon device. The connection anchor points of the left connection are the points with subscripts 0 and 1, and the connection anchor points of the right connection are the points with subscripts 3 and 4. The dynamic anchor point calculation script takes as input the connection anchor point coordinates of the quantum device and the quantum device attribute data of the quantum device in the quantum device build list. The output is the dynamically generated start or end anchor point coordinates.
[0051] In some embodiments, based on the quantum device connection list, the quantum device construction list, the predefined connection model, and the predefined device anchor point rules, determining the starting point anchor point coordinates and the ending point anchor point coordinates corresponding to each connection relationship in the quantum device connection list includes: Based on the quantum device connection list and a predefined connection model, the starting point quantum device and the end point quantum device corresponding to each connection relationship in the quantum device connection list are determined; based on the starting point quantum device and the end point quantum device corresponding to each connection relationship, the quantum device construction list, and the device static anchor point rule in the device anchor point rule, the first initial anchor point coordinates corresponding to each starting point quantum device and the second initial anchor point coordinates corresponding to each end point quantum device are determined; based on the dynamic anchor point calculation script and the quantum device attribute data in the quantum device construction list, the anchor point coordinate offset corresponding to each starting point quantum device and the anchor point coordinate offset corresponding to each end point quantum device are calculated; based on the anchor point coordinate offset corresponding to each starting point quantum device and the anchor point coordinate offset corresponding to each end point quantum device, the first initial anchor point coordinate corresponding to each starting point quantum device and the second initial anchor point coordinate corresponding to each end point quantum device are adjusted to obtain the starting point anchor point coordinates and the end point anchor coordinates corresponding to each connection relationship.
[0052] In some embodiments, based on the starting point quantum device and the ending point quantum device corresponding to each connection relationship, the quantum device construction list, and the device static anchor point rule in the device anchor point rule, determining the first initial anchor point coordinates corresponding to each starting point quantum device and the second initial anchor point coordinates corresponding to each ending point quantum device includes: Based on the starting point quantum device and the end point quantum device corresponding to each connection relationship, and the device static anchor point rule in the device anchor point rule, the connection anchor point corresponding to each starting point quantum device and the connection anchor point corresponding to each end point quantum device are determined; based on the connection anchor point corresponding to each starting point quantum device and the connection anchor point corresponding to each end point quantum device, and the quantum device construction list, the first initial anchor point coordinates corresponding to each starting point quantum device and the second initial anchor point coordinates corresponding to each end point quantum device are determined.
[0053] During specific implementation, a starting point quantum device and an ending point quantum device can be determined for each connection relationship. For the starting point quantum device corresponding to the connection relationship, the specific device anchor point rule is read based on the device type, and the corresponding first initial anchor point coordinates are obtained based on the device static anchor point rule. The starting point quantum device is generally an Xmon device or a resonant cavity device. For example, if the starting point quantum device is an Xmon device, when routing the left connection, the static anchor point rule of the Xmon left connection is read to obtain the connection anchor point of the Xmon device of the left connection. The first initial anchor point coordinates corresponding to the connection anchor point of the Xmon device of the left connection can then be found from the quantum device build list. The anchor point coordinate offset corresponding to the Xmon device can then be calculated based on the dynamic anchor point calculation script and the Xmon device attribute data in the quantum device build list. Based on the anchor point coordinate offset corresponding to the Xmon device, the first initial anchor point coordinates corresponding to the Xmon device's connection anchor point are adjusted to obtain the Xmon device's anchor point coordinates, that is, the starting point anchor point coordinates corresponding to the connection relationship. For the terminal quantum device corresponding to the connection relationship, the same method can be used to obtain the anchor point coordinates of the terminal device, that is, the terminal anchor point coordinates corresponding to the connection relationship are obtained. The terminal quantum device is generally a pad device.
[0054] S105 , generating connection paths for each constructed quantum device based on the coordinates of the starting point anchor point and the ending point anchor point corresponding to each connection relationship, and obtaining a quantum chip layout of the quantum device.
[0055] In some embodiments, generating a connection path for each constructed quantum device based on the coordinates of the starting anchor point and the ending anchor point corresponding to each connection relationship includes: Based on the coordinates of the starting anchor points and the ending anchor points corresponding to each connection relationship, a path planning strategy for avoiding obstacles is called to generate connection paths corresponding to each connection relationship between the constructed quantum devices, so as to generate connection paths for each constructed quantum device.
[0056] In some embodiments, when a user modifies the parameter data of a quantum device in a quantum device build list, a database trigger detects the field update and can call the dynamic anchor calculation script in the device anchor rule to read the current parameter data and calculate the new anchor coordinates, thereby generating a new connection path. For example, Figure 3 As shown in the figure, for pads, the parameters that affect the anchor coordinates are tgw and tw. When the parameter values of tgw and tw change, that is, the parameter data of the pad is modified, the dynamic anchor calculation script in the device anchor rule can be called to read the current parameter data and calculate the new anchor coordinates. Figure 4As shown in the figure, for the Xmon device, the parameters that affect the anchor point coordinates are qflv, qflh, zbs, and xys. When the parameter values of qflv, qflh, zbs, and xys change, the parameter data of the Xmon device is modified. The dynamic anchor point calculation script in the device anchor point rule can be called to read the current parameter data and calculate the new anchor point coordinates.
[0057] The layout design method provided in the embodiments of the present application achieves standardized and normalized management of quantum devices by defining various quantum device models. During the layout design process, these predefined quantum device models can be directly called for instantiation and combination, avoiding the tedious process of designing each quantum device from scratch, greatly shortening the layout design cycle, and improving design efficiency. In addition, with the help of predefined connection models and predefined device anchor point rules, the coordinates of the starting and ending anchor points of the quantum devices to be connected can be accurately determined based on the actual attribute data of the quantum devices, and a reasonable connection path can be generated. This not only reduces the complexity and error rate of manual operations, but also further enables the connections to be accurately connected to the specified positions of the devices according to actual design requirements, avoiding connection deviations or incorrect connections, and further improving the accuracy and reliability of the layout design.
[0058] In an optional embodiment, the layout design method further includes: Output the quantum chip layout in JSON data format.
[0059] In specific implementation, after the layout design is completed, the layout design is saved as a quantum chip layout in JSON data format according to a pre-defined layout design model.
[0060] In an optional embodiment, the layout design method further includes: Based on the pre-defined layout design model and device model class, parse the quantum chip layout in JSON data format to obtain the coordinate data and layer data of each quantum device; Based on the coordinate data and layer data of each quantum device, as well as the data conversion rules, the quantum chip layout in JSON data format is converted into the quantum chip layout in GDS data format.
[0061] In this embodiment, the data conversion rules include: the layout GDS file consists of a top-level unit and multiple sub-units (units are CELLs); devices on the same layer are placed in the same sub-unit; and a unit can store multiple devices or device combinations on the same layer.
[0062] In this embodiment, a data converter can be used to convert the quantum chip layout in the JSON data format into the quantum chip layout in the GDS data format.
[0063] Specifically, the data converter can exist in the form of a data converter plug-in. Figure 5 As shown, it includes metadata and conversion implementation classes. The metadata in the data converter can be defined according to the actual needs of the conversion, mainly including basic metadata, such as layout name, designer; business attribute metadata, such as device name, device coordinate attributes, device layer; rule mapping metadata, rule mapping metadata refers to the relationship between devices, layers and units. The conversion implementation class mainly implements the mutual parsing of devices, construction of devices, mapping units, and coordinate system conversion between JSON and GDS. For example, the coordinates of the device instance in JSON are converted to polygons or paths in GDS; the connection path in JSON is converted to Bezier curves or straight line segment metadata in GDS; the device ID and parameters are embedded in the attribute field of the GDS file to realize the reverse traceability of JSON data. The conversion implementation class mainly includes three methods, one of which is the initialization method, which is used to initialize some basic parameters and converter startup parameters. The other two methods are the conversion method from JSON data to GDS data and the conversion method from GDS data to JSON data. As shown Figure 5 As shown in the figure, when you need to convert a JSON data file into a GDS data file, you can define a data converter according to your needs, then load the data converter, bind the JSON data file to the data converter, and use the data converter to convert the JSON data file into a GDS data file. When you need to convert a GDS data file into a JSON data file, you can define a data converter according to your needs, then load the data converter, and use the data converter to convert the GDS data file into a JSON data file.
[0064] The conversion of layout design JSON data to GDS data is specifically implemented as follows: parse the layout JSON data, obtain all device objects in the layout based on the layout design model and device model class, and obtain the coordinates and layer of each device object. For each object, the device layer and coordinates are obtained. According to the data conversion rules, the top unit and multiple subunits are defined. Each subunit receives the device object data. Specifically, the GDS file is generated using the Gdstk library in Python. Since the coordinate system in JSON is inconsistent with the coordinate system in Gdstk, a unified coordinate system conversion is required. After the coordinate conversion, the coordinates are uniformly organized according to the standard generation of polygonal devices in the Gdstk library. After the device is built, it is added to the subunit. Devices on the same layer are in the same unit. Finally, it is added to the top unit and the corresponding position is set.
[0065] In this embodiment, the conversion of layout design GDS data to JSON data can also be realized, which is implemented as follows: parsing the layout GDS data, obtaining the top-level unit, traversing the top-level unit, and obtaining the sub-unit and device data according to the data conversion rules. Since the coordinate system in GDS and the coordinate system in JSON are inconsistent, a unified conversion of the coordinate system is required; after the coordinate conversion, the JSON data is encapsulated and constructed through the device model class and the layout model class.
[0066] In this embodiment, a converter between layout design JSON data and GDS data is established, enabling convenient conversion between the two formats. This allows designers to quickly generate the required GDS files based on actual needs without having to manually perform complex data conversion operations, improving work efficiency and reducing issues caused by data conversion errors.
[0067] This embodiment supports saving design data in both JSON and GDS formats. JSON facilitates data storage, transmission, and database management, while GDS is suitable for subsequent manufacturing processes. This support for multiple data formats meets the data format requirements of different processes and improves the flexibility and adaptability of data processing.
[0068] In an optional embodiment, the layout design method further includes: A target quantum chip layout in a GDS data format is obtained, where the target quantum chip layout in the GDS data format is different from the version of the quantum chip layout; GDS polygon geometric features are extracted from the target quantum chip layout in the GDS data format; based on the GDS polygon geometric features, the target quantum chip layout in the GDS data format is converted into a target quantum chip layout in a JSON data format corresponding to the version of the quantum chip layout.
[0069] In this embodiment, the target quantum chip layout in GDS data format differs from the quantum chip layout version. For example, the target quantum chip layout in GDS data format was exported from another layout design tool. As a result, the current layout system cannot recognize the composite polygons in the target quantum chip layout in GDS data format, such as pads, resonant cavities, and Xmon components defined in the current layout system. Therefore, a custom converter can be used to convert the target quantum chip layout in GDS data format into the target quantum chip layout in JSON data format corresponding to the quantum chip layout version, thereby enabling conversion and maintenance of layout design files exported from other layout design tools into the current layout design system.
[0070] In this embodiment, the customized converter needs to analyze the target quantum chip layout in the GDS data format to determine whether to perform direct conversion or convert it into an existing combination device model in the current layout design tool. If it is converted into an existing combination device model, it is necessary to preset an associated data matching list, establish a combination identifier through the list, and adapt to the existing combination device model in the current layout.
[0071] In some embodiments, based on the GDS polygonal geometric features, converting the target quantum chip layout in the GDS data format into the target quantum chip layout in the JSON data format corresponding to the version of the quantum chip layout includes: The GDS polygonal geometric features are encoded as hash values; based on the hash values, a search is performed in the model library to determine the combination device model corresponding to the hash value; the combination device model is a combination device model in the JSON data format corresponding to the version of the quantum chip layout; based on the combination device model, a target quantum chip layout in the JSON data format is generated.
[0072] In this embodiment, a hash value of a combined device model in JSON data format corresponding to the version of the quantum chip layout is pre-calculated and stored.
[0073] In this embodiment, the custom converter is divided into a geometric feature extractor, a topological fingerprint generator, a model matching engine, and a metadata binding module. The geometric feature extractor parses GDS polygon data and extracts geometric features. The topological fingerprint generator encodes geometric features into hash values. The model matching engine matches the current system's combined model library based on fingerprint similarity. The metadata binding module associates the matching results with quantum parameters to generate an editable JSON structure.
[0074] For example, a target quantum chip layout in GDS data format exported by an external tool contains a cross polygon (12 vertices). Feature extraction yields the GDS polygon's geometric features, including 12 edges, symmetry of 0.92, and area ratio of 0.28. This GDS polygon's geometric features are encoded as a hash value: hash("12-0.92-0.28") → 0x7a3e. This matches the hash value 0x7a3e of the Xmon device in the model library (Hamming distance = 3). This indicates that the target quantum chip layout in GDS data format contains an Xmon device. Based on the cross dimensions, the capacitor arm length is calculated to be 80μm, and the quantum frequency is approximately 5.2GHz. This generates an editable Xmon object in JSON data format, which is then parameterized to obtain the target quantum chip layout in JSON data format.
[0075] The present application also provides a layout design device, such as Figure 6 As shown, including: The acquisition module 41 is used to obtain the quantum device construction list and the quantum device connection list.
[0076] The instantiation module 42 is used to instantiate various predefined quantum device models based on the quantum device construction list. The quantum device model includes a device model class and a device model table.
[0077] The construction module 43 is configured to construct each quantum device corresponding to the quantum device construction list based on each instantiated quantum device model.
[0078] Determination module 44 is configured to determine the starting point anchor point coordinates and the ending point anchor point coordinates corresponding to each connection relationship in the quantum device connection list based on the quantum device connection list, the quantum device build list, a predefined connection model, and predefined device anchor point rules. The device anchor point rules include device static anchor point rules and dynamic anchor point calculation scripts. The device static anchor point rules include the connection anchor points in each quantum device. The dynamic anchor point calculation script is configured to calculate the offset of the connection anchor point coordinates of the quantum device based on the quantum device attribute data in the quantum device build list. The starting point anchor point coordinates and the ending point anchor point coordinates corresponding to each connection relationship are determined based on the offset of the connection anchor point coordinates of the quantum device.
[0079] The generation module 45 is used to generate connection paths for each constructed quantum device based on the starting point anchor point coordinates and the ending point anchor point coordinates corresponding to each connection relationship, so as to obtain a quantum chip layout of the quantum device.
[0080] The layout design device provided in the embodiments of the present application achieves standardized and normalized management of quantum devices by defining various quantum device models. During the layout design process, these predefined quantum device models can be directly called for instantiation and combination, avoiding the tedious process of designing each quantum device from scratch, greatly shortening the layout design cycle, and improving design efficiency. In addition, with the help of predefined connection models and predefined device anchor point rules, the starting point anchor point coordinates and end point anchor point coordinates of the quantum devices to be connected can be accurately determined based on the actual attribute data of the quantum devices, and a reasonable connection path can be generated. This not only reduces the complexity and error rate of manual operations, but also further enables the connections to be accurately connected to the specified positions of the devices according to actual design requirements, avoiding connection deviations or incorrect connections, and further improving the accuracy and reliability of the layout design.
[0081] In some embodiments, the determination module 44 is configured to determine, based on the quantum device connection list and a predefined connection model, the starting quantum device and the ending quantum device corresponding to each connection relationship in the quantum device connection list; determine, based on the starting quantum device and the ending quantum device corresponding to each connection relationship, the quantum device construction list, and the device static anchor point rules in the device anchor point rules, the first initial anchor point coordinate corresponding to each starting quantum device and the second initial anchor point coordinate corresponding to each ending quantum device; calculate, based on the dynamic anchor point calculation script and the quantum device attribute data in the quantum device construction list, the anchor point coordinate offset corresponding to each starting quantum device and the anchor point coordinate offset corresponding to each ending quantum device; and adjust, based on the anchor point coordinate offset corresponding to each starting quantum device and the anchor point coordinate offset corresponding to each ending quantum device, the first initial anchor point coordinate corresponding to each starting quantum device and the second initial anchor point coordinate corresponding to each ending quantum device to obtain the starting anchor point coordinate and the ending anchor point coordinate corresponding to each connection relationship.
[0082] In some embodiments, the determination module 44 is configured to determine the connection anchor point corresponding to each starting quantum device and the connection anchor point corresponding to each end point quantum device based on the starting quantum device and the end point quantum device corresponding to each connection relationship, and the device static anchor point rule in the device anchor point rule; and determine the first initial anchor point coordinates corresponding to each starting quantum device and the second initial anchor point coordinates corresponding to each end point quantum device based on the connection anchor point corresponding to each starting quantum device and the connection anchor point corresponding to each end point quantum device, as well as the quantum device construction list.
[0083] In some embodiments, quantum device model types include: a pad device model, a superconducting qubit device model, a resonant cavity device model, an air bridge device model, a Josephson junction device model, and a general device model.
[0084] In some embodiments, the device model class defines the quantum device identification, quantum device parameter attributes, the layer where the quantum device is located, and the quantum device coordinates; the device model table defines the quantum device identification field, multiple parameter fields, layer field, and coordinate fields.
[0085] In some embodiments, the generation module 45 is used to call a path planning strategy for avoiding obstacles based on the starting point anchor point coordinates and the end point anchor point coordinates corresponding to each connection relationship, and generate connection paths corresponding to each connection relationship between the constructed quantum devices, so as to generate connection paths for each constructed quantum device.
[0086] In some embodiments, the layout design apparatus further comprises: Output module, used to output quantum chip layout in JSON data format.
[0087] According to an embodiment of the present application, the present application also provides an electronic device.
[0088] Figure 7 A schematic block diagram of an example electronic device 800 that can be used to implement an embodiment of the present application is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present application described and / or claimed herein.
[0089] like Figure 7 As shown, electronic device 800 includes a computing unit 801, which can perform various appropriate actions and processes according to 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. RAM 803 may also store various programs and data required for the operation of electronic device 800. Computing unit 801, ROM 802, and RAM 803 are interconnected via a bus 804. An input / output (I / O) interface 805 is also connected to bus 804.
[0090] Multiple 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 via a computer network such as the Internet and / or various telecommunication networks.
[0091] The computing unit 801 can be any general-purpose and / or specialized processing component 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 specialized artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 801 performs the various methods and processes described above, such as the layout design method. For example, in some embodiments, the layout design method can be implemented as a computer software program 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 into the RAM 803 and executed by the computing unit 801, one or more steps of the layout design method described above can be performed. Alternatively, in other embodiments, the computing unit 801 can be configured to perform the layout design method via any other suitable means (e.g., via firmware).
[0092] Various embodiments of the systems and techniques described herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on a chip (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include being implemented in one or more computer programs that are executable and / or interpreted on a programmable system that includes at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0093] The program code for implementing the methods of the present application can be written in any combination of one or more programming languages. Such program code can be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the program code is executed by the processor or controller, the functions / operations specified in the flow charts and / or block diagrams are implemented. The program code can be executed entirely on the machine, partially on the machine, as a stand-alone software package, partially on the machine and partially on a remote machine, or entirely on a remote machine or server.
[0094] The present invention provides a computer program product or computer program, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the layout design method described in the present invention.
[0095] An embodiment of the present application provides a computer-readable storage medium storing executable instructions, wherein the executable instructions are stored. When the executable instructions are executed by a processor, the processor will execute the layout design method provided by the embodiment of the present application.
[0096] In some embodiments, a computer-readable storage medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. The computer-readable storage medium may be a machine-readable signal medium or a machine-readable storage medium. The computer-readable storage medium may 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 computer-readable storage media may include an electrical connection based on one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0097] In some embodiments, executable instructions may be in the form of a program, software, software module, script, or code, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and may be deployed in any form, including as a stand-alone program or as a module, component, subroutine, or other unit suitable for use in a computing environment.
[0098] As an example, executable instructions may, but need not, correspond to a file in a file system, may be stored as part of a file that stores other programs or data, such as in one or more scripts in a HyperText Markup Language (HTML) document, in a single file dedicated to the program in question, or in multiple coordinating files (e.g., files storing one or more modules, subroutines, or code portions).
[0099] By way of example, executable instructions may be deployed to be executed on one computing device, or on multiple computing devices at one site, or on multiple computing devices distributed across multiple sites and interconnected by a communication network.
[0100] To provide interaction with a user, the systems and techniques described herein 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 pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the 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 input, voice input, or tactile input).
[0101] The systems and techniques described herein can be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, 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.
[0102] A computer system may include a client and a server. The client and server are generally remote from each other and typically interact through a communication network. The client-server relationship arises through computer programs running on the respective computers and having a client-server relationship with each other. The server may be a cloud server, a server in a distributed system, or a server integrated with a blockchain.
[0103] It should be understood that the various forms of the processes shown above can be used to reorder, add, or delete steps. For example, the steps described in this application can be performed in parallel, sequentially, or in a different order, as long as the desired results of the technical solutions disclosed in this application can be achieved. This is not a limitation herein.
[0104] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features being referred to. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. Throughout the description of this application, "plurality" means two or more, unless otherwise specifically defined.
[0105] The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.
Claims
1. A layout design method, characterized in that: include: Obtain the quantum device construction list and quantum device connection list; Based on the quantum device construction list, instantiate predefined quantum device models of various types, wherein the quantum device models include a device model class and a device model table; Based on the instantiated quantum device models, constructing quantum devices corresponding to the quantum device construction list; Based on the quantum device connection list, the quantum device build list, the predefined connection model, and the predefined device anchor point rules, the starting point anchor point coordinates and the ending point anchor point coordinates corresponding to each connection relationship in the quantum device connection list are determined; the device anchor point rules include device static anchor point rules and dynamic anchor point calculation scripts; the device static anchor point rules include connection anchor points in each quantum device; the dynamic anchor point calculation script is used to calculate the offset of the connection anchor point coordinates of the quantum device based on the quantum device attribute data in the quantum device build list; based on the offset of the connection anchor point coordinates of the quantum device, the starting point anchor point coordinates and the ending point anchor point coordinates corresponding to each connection relationship are determined; Based on the starting point anchor point coordinates and the end point anchor point coordinates corresponding to each connection relationship, a connection path is generated for each constructed quantum device to obtain a quantum chip layout of the quantum device.
2. The layout design method according to claim 1, wherein: Determining the starting point anchor point coordinates and the ending point anchor point coordinates corresponding to each connection relationship in the quantum device connection list based on the quantum device connection list, the quantum device construction list, the predefined connection model, and the predefined device anchor point rule, including: Based on the quantum device connection list and a predefined connection model, determining a starting point quantum device and an end point quantum device corresponding to each connection relationship in the quantum device connection list; Determine, based on the starting point quantum device and the ending point quantum device corresponding to each of the connection relationships, the quantum device construction list, and the device static anchor point rule in the device anchor point rule, a first initial anchor point coordinate corresponding to each of the starting point quantum devices and a second initial anchor point coordinate corresponding to each of the ending point quantum devices; Calculating the anchor point coordinate offset corresponding to each of the starting point quantum devices and the anchor point coordinate offset corresponding to each of the ending point quantum devices based on the dynamic anchor point calculation script and the quantum device attribute data in the quantum device construction list; Based on the anchor point coordinate offset corresponding to each of the starting point quantum devices and the anchor point coordinate offset corresponding to each of the end point quantum devices, the first initial anchor point coordinates corresponding to each of the starting point quantum devices and the second initial anchor point coordinates corresponding to each of the end point quantum devices are adjusted to obtain the starting point anchor point coordinates and the end point anchor point coordinates corresponding to each connection relationship.
3. The layout design method according to claim 2, wherein: Determining the first initial anchor point coordinates corresponding to each of the starting quantum devices and the ending quantum devices corresponding to each of the connection relationships, the quantum device construction list, and the device static anchor point rules in the device anchor point rules, including: Determining a connection anchor point corresponding to each starting point quantum device and a connection anchor point corresponding to each ending point quantum device based on the starting point quantum device and the ending point quantum device corresponding to each connection relationship, and a device static anchor point rule in the device anchor point rule; Based on the connection anchor points corresponding to each of the starting point quantum devices and the connection anchor points corresponding to each of the ending point quantum devices, and the quantum device construction list, the first initial anchor point coordinates corresponding to each of the starting point quantum devices and the second initial anchor point coordinates corresponding to each of the ending point quantum devices are determined.
4. The layout design method according to claim 1, wherein: Quantum device model types include: pad device model, superconducting qubit device model, resonant cavity device model, air bridge device model, Josephson junction device model and general device model.
5. The layout design method according to claim 1, wherein: The device model class defines the quantum device identification, quantum device parameter attributes, the layer where the quantum device is located, and the quantum device coordinates; the device model table defines the quantum device identification field, multiple parameter fields, layer field, and coordinate field.
6. The layout design method according to claim 1, wherein: Based on the coordinates of the starting point anchor point and the end point anchor point corresponding to each connection relationship, a connection path is generated for each constructed quantum device, including: Based on the coordinates of the starting anchor points and the ending anchor points corresponding to each connection relationship, a path planning strategy for avoiding obstacles is called to generate connection paths corresponding to each connection relationship between the constructed quantum devices, so as to generate connection paths for the constructed quantum devices.
7. The layout design method according to claim 1, wherein: Also includes: The quantum chip layout is output in JSON data format.
8. The layout design method according to claim 7, wherein: Also includes: Based on the pre-defined layout design model and device model class, parse the quantum chip layout in JSON data format to obtain the coordinate data and layer data of each quantum device; Based on the coordinate data and layer data of each quantum device, as well as the data conversion rules, the quantum chip layout in JSON data format is converted into the quantum chip layout in GDS data format.
9. The layout design method according to claim 1, wherein: Also includes: Obtaining a target quantum chip layout in a GDS data format, where the target quantum chip layout in the GDS data format is different from the version of the quantum chip layout; Extracting GDS polygon geometric features from the target quantum chip layout in the GDS data format; Based on the GDS polygonal geometric features, the target quantum chip layout in the GDS data format is converted into a target quantum chip layout in the JSON data format corresponding to the version of the quantum chip layout.
10. The layout design method according to claim 9, wherein: Based on the GDS polygonal geometric features, converting the target quantum chip layout in the GDS data format into a target quantum chip layout in the JSON data format corresponding to the version of the quantum chip layout, including: Encoding the GDS polygon geometry features as hash values; Searching a model library based on the hash value to determine a combination device model corresponding to the hash value; the combination device model is a combination device model in a JSON data format corresponding to a version of the quantum chip layout; Based on the combined device model, a target quantum chip layout in JSON data format is generated.
11. A layout design device, characterized in that: include: The acquisition module is used to obtain the quantum device construction list and quantum device connection list; An instantiation module, configured to instantiate various predefined quantum device models based on the quantum device construction list, wherein the quantum device model includes a device model class and a device model table; A construction module, configured to construct each quantum device corresponding to the quantum device construction list based on each instantiated quantum device model; a determination module for determining, based on the quantum device connection list, the quantum device build list, a predefined connection model, and predefined device anchor point rules, the starting point anchor point coordinates and the ending point anchor point coordinates corresponding to each connection relationship in the quantum device connection list; the device anchor point rules include device static anchor point rules and dynamic anchor point calculation scripts; the device static anchor point rules include connection anchor points in each quantum device; the dynamic anchor point calculation script is used to calculate the offset of the connection anchor point coordinates of the quantum device based on quantum device attribute data in the quantum device build list; Based on the offset of the connection anchor point coordinates of the quantum device, the starting point anchor point coordinates and the end point anchor point coordinates corresponding to each connection relationship are determined; A generation module is used to generate a connection path for each of the constructed quantum devices based on the starting point anchor point coordinates and the end point anchor point coordinates corresponding to each connection relationship, so as to obtain a quantum chip layout of the quantum device.
12. The layout design device according to claim 11, characterized in that: The determination module is used to determine the starting quantum device and the ending quantum device corresponding to each connection relationship in the quantum device connection list based on the quantum device connection list and a predefined connection model; Determine, based on the starting point quantum device and the ending point quantum device corresponding to each of the connection relationships, the quantum device construction list, and the device static anchor point rule in the device anchor point rule, a first initial anchor point coordinate corresponding to each of the starting point quantum devices and a second initial anchor point coordinate corresponding to each of the ending point quantum devices; Calculating the anchor point coordinate offset corresponding to each of the starting point quantum devices and the anchor point coordinate offset corresponding to each of the ending point quantum devices based on the dynamic anchor point calculation script and the quantum device attribute data in the quantum device construction list; Based on the anchor point coordinate offset corresponding to each of the starting point quantum devices and the anchor point coordinate offset corresponding to each of the end point quantum devices, the first initial anchor point coordinates corresponding to each of the starting point quantum devices and the second initial anchor point coordinates corresponding to each of the end point quantum devices are adjusted to obtain the starting point anchor point coordinates and the end point anchor point coordinates corresponding to each connection relationship.
13. The layout design device according to claim 12, characterized in that: The determination module is configured to determine a connection anchor point corresponding to each starting point quantum device and a connection anchor point corresponding to each end point quantum device based on the starting point quantum device and the end point quantum device corresponding to each connection relationship and the device static anchor point rule in the device anchor point rule; Based on the connection anchor points corresponding to each of the starting point quantum devices and the connection anchor points corresponding to each of the ending point quantum devices, and the quantum device construction list, the first initial anchor point coordinates corresponding to each of the starting point quantum devices and the second initial anchor point coordinates corresponding to each of the ending point quantum devices are determined.
14. The layout design device according to claim 11, wherein: Quantum device model types include: pad device model, superconducting qubit device model, resonant cavity device model, air bridge device model, Josephson junction device model and general device model.
15. The layout design device according to claim 11, characterized in that: The device model class defines the quantum device identification, quantum device parameter attributes, the layer where the quantum device is located, and the quantum device coordinates; the device model table defines the quantum device identification field, multiple parameter fields, layer field, and coordinate field.
16. The layout design device according to claim 11, characterized in that: The generation module is used to call a path planning strategy for avoiding obstacles based on the coordinates of the starting point anchor point and the end point anchor point corresponding to each connection relationship, and generate connection paths corresponding to each connection relationship between the constructed quantum devices, so as to generate connection paths for each constructed quantum device.
17. The layout design device according to claim 11, characterized in that: Also includes: An output module is used to output the quantum chip layout in JSON data format.
18. 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 so that the at least one processor executes the layout design method according to any one of claims 1 to 10.
19. A computer-readable storage medium, characterized in that The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the layout design method according to any one of claims 1 to 10.
20. A computer program product comprising a computer program or instructions, characterized in that When the computer program or instruction is executed by a processor, the layout design method according to any one of claims 1 to 10 is implemented.
Citation Information
Patent Citations
Layout generation method and device, computer readable storage medium and computer equipment
CN115017859A
Method and device for autonomous path planning of underground unmanned aerial vehicle, electronic equipment and storage medium
CN115729257A
Anchor point calculation method, device and equipment and computer readable storage medium
CN115964041A
Quantum chip layout construction method and device and storage medium
CN116702689A
Canvas-based terminal visualization and interaction processing method and device
CN117492602A
Cited By
Xmon device construction method and device, electronic equipment and storage medium
CN121787602A