Layout design method and device of quantum chip, electronic equipment and readable medium

Building a layout design blockchain through blockchain technology solves the problem that traditional tools cannot quickly draw the quantum chip device structure, achieves efficient layout design and data privacy protection, and realizes decentralized storage and distributed computing.

CN118586348APending Publication Date: 2024-09-03SHANDONG YUNHAI GUOCHUANG CLOUD COMPUTING EQUIP IND INNOVATION CENT CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410706519.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-31
Publication Date
2024-09-03

AI Technical Summary

Technical Problem

Traditional layout design tools lack targeted support for the layout design of emerging quantum chips and cannot quickly draw device structures.

Method used

Blockchain technology is used to build a layout design blockchain. By obtaining layout design documents, dividing tasks into subtasks, determining target nodes and deploying smart contracts, it achieves automated execution and decentralized storage.

Benefits of technology

It improves the efficiency of quantum chip layout design, ensures the privacy of design data, and realizes decentralized storage and distributed computing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118586348A
    Figure CN118586348A
Patent Text Reader

Abstract

The invention provides a layout design method and device of a quantum chip, electronic equipment and a readable medium, which are applied to a layout design system and comprise layout design nodes and layout design block chain subchains, obtaining a layout design document, and extracting a layout design task; dividing a layout design task into layout design sub-tasks based on the task execution capability of the layout design nodes; determining a target layout design node corresponding to the layout design sub-task based on the task execution capability of the layout design node, determining a target layout design block chain sub-chain, adding the target layout design block chain sub-chain to the layout design block chain main chain to obtain a layout design block chain, and deploying a sub-chain layout design execution block chain smart contract for the layout design block chain; obtaining a layout design subtask by utilizing the main chain of the layout design block chain; and triggering the target layout design block chain sub-chain to execute the layout design sub-task through an intelligent contract to obtain a target layout, and constructing a corresponding layout design block chain for the layout design of the complex quantum chip.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of quantum computing technology, and in particular to a layout design method for a quantum chip, a layout design device for a quantum chip, an electronic device, and a computer-readable medium. Background Art

[0002] With the rapid development of quantum computing technology, the demand for quantum chip layout design is also increasing. However, traditional layout design tools lack targeted support for the layout design of emerging quantum chips and cannot quickly draw the device structure of quantum chips. Summary of the invention

[0003] The embodiments of the present invention provide a quantum chip layout design method, apparatus, electronic device and computer-readable storage medium to solve the problem that traditional layout design tools lack targeted support for the layout design of emerging quantum chips and are unable to quickly draw the device structure of quantum chips.

[0004] The embodiment of the present invention discloses a layout design method for a quantum chip, which is applied to a layout design system for a quantum chip, wherein the layout design system includes at least one layout design node and a layout design blockchain subchain associated with the layout design node; the method includes:

[0005] Obtaining at least one layout design document of the quantum chip, and extracting the layout design tasks contained in the layout design document;

[0006] Based on the ability of the layout design node to perform tasks, dividing the layout design task into at least one layout design subtask;

[0007] For any of the layout design subtasks, based on the ability of the layout design node to perform the task, determine the target layout design node corresponding to the layout design subtask, and determine the target layout design blockchain subchain associated with the target layout design node;

[0008] Add the target layout design blockchain subchain to the preset layout design blockchain main chain, obtain the layout design blockchain corresponding to the layout design task, and deploy the preset subchain layout design execution blockchain smart contract for the layout design blockchain;

[0009] Using the main chain of the layout design blockchain to obtain the layout design subtask;

[0010] By executing the sub-chain layout design execution blockchain smart contract, the target layout design blockchain sub-chain is triggered to execute the layout design subtask, and the target layout of the quantum chip is obtained.

[0011] Optionally, the step of extracting the layout design tasks included in the layout design document includes:

[0012] Obtaining at least one training layout design document of the quantum chip;

[0013] Collecting image information of the training layout design document, and obtaining the layout design tasks included in the training layout design document;

[0014] Identifying and extracting feature information related to the layout design task in the image information;

[0015] Using the feature information and the layout design tasks included in the training layout design document to train a preset first machine learning model to obtain a task extraction model;

[0016] The task extraction model is used to extract the layout design tasks contained in the layout design document.

[0017] Optionally, for any of the layout design subtasks, based on the ability of the layout design node to perform tasks, the step of determining a target layout design node corresponding to the layout design subtask comprises:

[0018] Obtaining node information of the at least one layout design node and a training layout design task of the quantum chip;

[0019] Obtaining the training layout design subtasks decomposed from the training layout design task and the layout design nodes corresponding to the training layout design subtasks; the layout design nodes corresponding to the training layout design subtasks refer to the layout design nodes allocated to the training layout design subtasks based on the node information of the layout design nodes;

[0020] The preset second machine learning model is trained using the training layout design task, the training layout design subtask, the node information, and the layout design node corresponding to the training layout design subtask to obtain a blockchain construction model;

[0021] For any of the layout design subtasks, based on the ability of the layout design node to perform tasks, the blockchain construction model is used to determine the target layout design node corresponding to the layout design subtask.

[0022] Optionally, the node information includes at least capability information and evaluation information; the evaluation information includes at least positive evaluation information; and the step of determining, for any of the layout design subtasks, based on the capability of the layout design node to perform the task, a target layout design node corresponding to the layout design subtask includes:

[0023] For any of the layout design subtasks, traverse the layout design nodes, obtain the capability information of the currently traversed layout design node, and determine whether the currently traversed layout design node has the capability to execute the layout design subtask based on the capability information;

[0024] If the layout design node currently traversed has the ability to execute the layout design subtask, obtaining the evaluation information of the layout design node currently traversed, and determining whether the evaluation information is the positive evaluation information;

[0025] If the evaluation information is the positive evaluation information, taking the layout design node currently traversed as the target layout design node corresponding to the layout design subtask;

[0026] If the evaluation information is not the positive evaluation information, continue to traverse the remaining layout design nodes until the target layout design node corresponding to the layout design subtask is found.

[0027] Optionally, the step of adding the target layout design blockchain subchain to a preset layout design blockchain main chain to obtain the layout design blockchain corresponding to the layout design task includes:

[0028] Designing a blockchain for said layout to deploy subtask information to obtain a smart contract;

[0029] For any of the target layout design nodes, according to the layout design subtask corresponding to the target layout design node, a subtask execution smart contract is deployed for the target layout design node.

[0030] Optionally, the step of using the layout design blockchain main chain to obtain the layout design subtask includes:

[0031] Automatically acquiring the layout design subtask by executing the subtask information acquisition smart contract;

[0032] The step of triggering the target layout design blockchain subchain to execute the layout design subtask includes:

[0033] By executing the subtask execution smart contract, the automatic execution of the layout design subtask is achieved.

[0034] Optionally, the method comprises:

[0035] Receiving an execution result of a layout design subtask corresponding to the target layout design node sent by any of the target layout design nodes;

[0036] Based on the execution result, the target layout design node is evaluated.

[0037] The embodiment of the present invention further discloses a layout design device for a quantum chip, which is applied to a layout design system for a quantum chip. The layout design system includes at least one layout design node and a layout design blockchain subchain associated with the layout design node; the device includes:

[0038] A layout design document acquisition module, used to acquire at least one layout design document of the quantum chip and extract the layout design tasks contained in the layout design document;

[0039] A layout design task division module, used for dividing the layout design task into at least one layout design subtask based on the ability of the layout design node to perform tasks;

[0040] A target layout design node determination module is used to determine, for any of the layout design subtasks, the target layout design node corresponding to the layout design subtask based on the ability of the layout design node to perform the task, and determine the target layout design blockchain subchain associated with the target layout design node;

[0041] An adding module is used to add the target layout design blockchain subchain to the preset layout design blockchain main chain, obtain the layout design blockchain corresponding to the layout design task, and deploy a preset subchain layout design execution blockchain smart contract for the layout design blockchain;

[0042] A layout design subtask acquisition module, used to acquire the layout design subtask using the layout design blockchain main chain;

[0043] The target layout acquisition module is used to execute the blockchain smart contract by executing the sub-chain layout design, trigger the execution of the layout design subtask by the target layout design blockchain sub-chain, and obtain the target layout of the quantum chip.

[0044] Optionally, the layout design document acquisition module includes:

[0045] A training layout design document acquisition submodule, used to acquire at least one training layout design document of the quantum chip;

[0046] An image information acquisition submodule, used to acquire image information of the training layout design document and obtain the layout design tasks included in the training layout design document;

[0047] A feature information recognition submodule, used to recognize and extract feature information related to the layout design task in the image information;

[0048] A task extraction model obtaining submodule is used to train a preset first machine learning model using the feature information and the layout design tasks included in the training layout design document to obtain a task extraction model;

[0049] The layout design task extraction submodule is used to extract the layout design tasks included in the layout design document by using the task extraction model.

[0050] Optionally, the target layout design node determination module includes:

[0051] A training layout design task acquisition submodule, used to acquire node information of the at least one layout design node and a training layout design task of the quantum chip;

[0052] A training layout design subtask acquisition submodule, used to acquire the training layout design subtask decomposed from the training layout design task and the layout design node corresponding to the training layout design subtask; the layout design node corresponding to the training layout design subtask refers to the layout design node allocated to the training layout design subtask based on the node information of the layout design node;

[0053] A blockchain construction model obtaining submodule is used to train a preset second machine learning model using the training layout design task, the training layout design subtask, the node information, and the layout design node corresponding to the training layout design subtask to obtain a blockchain construction model;

[0054] The target layout design node determination submodule is used to determine the target layout design node corresponding to any of the layout design subtasks based on the ability of the layout design node to perform tasks and to use the blockchain construction model.

[0055] Optionally, the node information includes at least capability information and evaluation information; the evaluation information includes at least positive evaluation information; the target layout design node determination module includes:

[0056] A traversal submodule, for traversing the layout design nodes for any of the layout design subtasks, obtaining the capability information of the currently traversed layout design node, and determining whether the currently traversed layout design node has the capability to execute the layout design subtask based on the capability information;

[0057] An evaluation information acquisition submodule, used for acquiring the evaluation information of the layout design node currently traversed if the layout design node currently traversed has the ability to execute the layout design subtask, and determining whether the evaluation information is the positive evaluation information;

[0058] The target layout design node is used as a submodule, and is used to use the layout design node currently traversed as the target layout design node corresponding to the layout design subtask if the evaluation information is the positive evaluation information;

[0059] The continue traversal submodule is used to continue traversing the remaining layout design nodes if the evaluation information is not the positive evaluation information, until the target layout design node corresponding to the layout design subtask is found.

[0060] Optionally, the device comprises:

[0061] A first deployment module, for acquiring smart contracts for subtask information deployment of the layout design blockchain;

[0062] The second deployment module is used to deploy a subtask execution smart contract for any of the target layout design nodes according to the layout design subtask corresponding to the target layout design node.

[0063] Optionally, the layout design subtask acquisition module includes:

[0064] A first execution submodule, configured to automatically acquire the layout design subtask by executing the subtask information acquisition smart contract;

[0065] The target layout obtaining module includes:

[0066] The second execution submodule is used to realize the automatic execution of the layout design subtask by executing the subtask execution smart contract.

[0067] Optionally, the device comprises:

[0068] An execution result receiving module, used for receiving an execution result of a layout design subtask corresponding to the target layout design node sent by any of the target layout design nodes;

[0069] An evaluation module is used to evaluate the target layout design node based on the execution result.

[0070] The embodiment of the present invention further discloses an electronic device, comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus;

[0071] The memory is used to store computer programs;

[0072] The processor is used to implement the method described in the embodiment of the present invention when executing the program stored in the memory.

[0073] The embodiment of the present invention further discloses one or more computer-readable media on which instructions are stored. When executed by one or more processors, the processors are enabled to execute the method described in the embodiment of the present invention.

[0074] The embodiments of the present invention include the following advantages:

[0075] In an embodiment of the present invention, a layout design system for a quantum chip includes at least one layout design node and a layout design blockchain subchain associated with the layout design node; obtaining at least one layout design document of the quantum chip, and extracting the layout design task contained in the layout design document; dividing the layout design task into at least one layout design subtask based on the ability of the layout design node to perform tasks; for any layout design subtask, determining a target layout design node corresponding to the layout design subtask based on the ability of the layout design node to perform tasks, and determining a target layout design blockchain subchain associated with the target layout design node; adding the target layout design blockchain subchain to a preset layout design blockchain main chain to obtain a layout design blockchain corresponding to the layout design task, and deploying a preset subchain layout design execution blockchain smart contract for the layout design blockchain; using the layout design blockchain main chain to obtain the layout design subtask; triggering the execution of the layout design subtask by the target layout design blockchain subchain by executing the subchain layout design execution blockchain smart contract to obtain the target layout of the quantum chip. In an embodiment of the present invention, a layout design blockchain is intelligently constructed, and the layout design blockchain is used to perform layout design of quantum chips, which solves the problem of layout design of complex quantum chips. A corresponding layout design blockchain is constructed for the layout design of complex quantum chips, providing targeted support, improving the efficiency of quantum chip layout design, and ensuring the privacy of quantum chip layout design data, thereby realizing decentralized storage and distributed computing. BRIEF DESCRIPTION OF THE DRAWINGS

[0076] Figure 1 is a flowchart of the steps of a method for designing a layout of a quantum chip provided in an embodiment of the present invention;

[0077] Figure 2 It is a schematic diagram of a layout design blockchain constructed by a layout design system provided in an embodiment of the present invention;

[0078] Figure 3 This is a flowchart of the steps of another method for designing a layout of a quantum chip provided by an embodiment of the present invention;

[0079] Figure 4 This is a flowchart of the steps of another method for designing a layout of a quantum chip provided by an embodiment of the present invention;

[0080] Figure 5is a structural block diagram of a layout design device for a quantum chip provided in an embodiment of the present invention;

[0081] Figure 6 is a block diagram of an electronic device provided in an embodiment of the present invention;

[0082] Figure 7 is a schematic diagram of a computer-readable medium provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0083] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.

[0084] To facilitate understanding of the technical solutions and technical effects of the embodiments of the present invention, the prior art of the present invention is briefly described below.

[0085] Blockchain technology, also known as distributed ledger technology, is a decentralized technology that maintains distributed ledgers by multiple nodes. Its essence is a distributed database system participated by multiple nodes. Blockchain is not a single technology, but the result of the integration of multiple technologies. Blockchain technology can maintain a reliable and difficult-to-tamper ledger record, thereby reducing trust risks and effectively reducing the maintenance costs of multi-party collaboration.

[0086] Reference Figure 1 , showing a flowchart of the steps of a layout design method for a quantum chip provided in an embodiment of the present invention, applied to a layout design system for a quantum chip, the layout design system comprising at least one layout design node and a layout design blockchain subchain associated with the layout design node; specifically, the following steps may be included:

[0087] Step 101, obtaining at least one layout design document of the quantum chip, and extracting the layout design tasks contained in the layout design document;

[0088] In an embodiment of the present invention, a layout design system for a quantum chip includes a layout design blockchain main chain, at least one layout design node, and a layout design blockchain sub-chain associated with the layout design node; the layout design system for a quantum chip can use the layout design node to perform the layout design task of the quantum chip.

[0089] In an embodiment of the present invention, a layout design task may involve one or more layout design documents. According to the number of layout design documents involved in a layout design task to be executed, the layout design system of the quantum chip may receive one or more layout design documents involved in the layout design task.

[0090] In an embodiment of the present invention, a layout design system for a quantum chip may include a task extraction model and a blockchain construction model. The layout design system for a quantum chip may receive a layout design document involved in a layout design task, and input the layout design document into the task extraction model. The task extraction model may extract the layout design task contained in the layout design document. It should be noted that a layout design document contains a layout design project. If a layout design task involves a layout design document, the task extraction model may extract a layout design project, that is, the layout design task only contains one layout design project. If a layout design task involves multiple layout design documents, the task extraction model may extract multiple layout design projects, that is, the layout design task contains multiple layout design projects. The layout design project may be device drawing, property adjustment, layout layout, automatic wiring, and device coupling of a quantum chip.

[0091] Step 102, dividing the layout design task into at least one layout design subtask based on the ability of the layout design node to perform tasks;

[0092] In an embodiment of the present invention, the layout design system of the quantum chip can input the layout design task extracted by the task extraction model into the blockchain construction model of the layout design system. The blockchain construction model can divide the layout design task into at least one layout design subtask based on the ability of the layout design node to perform tasks. The layout design subtask can be device drawing, property adjustment, layout layout, automatic wiring, device coupling, and the addition, modification, and deletion of components or structures in the layout of the quantum chip.

[0093] Step 103, for any of the layout design subtasks, based on the ability of the layout design node to perform the task, determine the target layout design node corresponding to the layout design subtask, and determine the target layout design blockchain subchain associated with the target layout design node;

[0094] In an embodiment of the present invention, the layout design system of the quantum chip can construct a blockchain for the layout design task. After the blockchain construction model divides the layout design task into at least one layout design subtask, for any layout design subtask, the blockchain construction system can find the target layout design node corresponding to the layout design subtask and determine the target layout design blockchain subchain associated with the target layout design node. The target layout design node has the ability to execute the layout design subtask.

[0095] Step 104, adding the target layout design blockchain subchain to the preset layout design blockchain main chain, obtaining the layout design blockchain corresponding to the layout design task, and deploying the preset subchain layout design execution blockchain smart contract for the layout design blockchain;

[0096] In an embodiment of the present invention, a layout design subtask corresponds to a target layout design node. After the blockchain construction model finds the target layout design node that can execute the layout design subtask, the blockchain construction model can use the target layout design node to build a layout design blockchain corresponding to the layout design task. The blockchain construction model can add the target layout design blockchain subchain associated with the target layout design node to the layout design blockchain main chain, obtain the layout design blockchain corresponding to the layout design task, and deploy the subchain layout design execution blockchain smart contract for the layout design blockchain.

[0097] Step 105, using the main chain of the layout design blockchain to obtain the layout design subtask;

[0098] In an embodiment of the present invention, the layout design system of the quantum chip can use the layout design blockchain main chain to obtain layout design subtasks.

[0099] Step 106, by executing the sub-chain layout design execution blockchain smart contract, triggering the execution of the layout design subtask by the target layout design blockchain sub-chain, and obtaining the target layout of the quantum chip.

[0100] In an embodiment of the present invention, after obtaining the layout design subtask using the layout design blockchain main chain, the layout design system of the quantum chip can trigger the execution of the layout design subtask by the target layout design blockchain subchain by executing the subchain layout design execution blockchain smart contract, and obtain the target layout of the quantum chip. Among them, the layout design blockchain is constructed for the layout design task.

[0101] In an embodiment of the present invention, a layout design system for a quantum chip includes at least one layout design node and a layout design blockchain subchain associated with the layout design node; obtaining at least one layout design document of the quantum chip, and extracting the layout design task contained in the layout design document; dividing the layout design task into at least one layout design subtask based on the ability of the layout design node to perform tasks; for any layout design subtask, determining a target layout design node corresponding to the layout design subtask based on the ability of the layout design node to perform tasks, and determining a target layout design blockchain subchain associated with the target layout design node; adding the target layout design blockchain subchain to a preset layout design blockchain main chain to obtain a layout design blockchain corresponding to the layout design task, and deploying a preset subchain layout design execution blockchain smart contract for the layout design blockchain; using the layout design blockchain main chain to obtain the layout design subtask; triggering the execution of the layout design subtask by the target layout design blockchain subchain by executing the subchain layout design execution blockchain smart contract to obtain the target layout of the quantum chip. In an embodiment of the present invention, a layout design blockchain is intelligently constructed through a task extraction model and a blockchain construction model, and the layout design blockchain is used to perform layout design of a quantum chip, thereby solving the problem of layout design of a complex quantum chip. A corresponding layout design blockchain is constructed for the layout design of a complex quantum chip, providing targeted support, improving the efficiency of quantum chip layout design, and ensuring the privacy of quantum chip layout design data, thereby realizing decentralized storage and distributed computing.

[0102] Further, in any of the above embodiments, step 101 includes:

[0103] Sub-step S11, obtaining at least one training layout design document of the quantum chip;

[0104] Sub-step S12, collecting image information of the training layout design document, and obtaining the layout design tasks included in the training layout design document;

[0105] Sub-step S13, identifying and extracting feature information related to the layout design task in the image information;

[0106] Sub-step S14, training a preset first machine learning model using the feature information and the layout design tasks included in the training layout design document to obtain a task extraction model;

[0107] Sub-step S15, extracting the layout design tasks contained in the layout design document using the task extraction model.

[0108] In an embodiment of the present invention, the layout design system of the quantum chip can obtain at least one training layout design document, and use image recognition technology to collect image information of the training layout design document. The layout design system can also use artificial intelligence machine learning methods to identify and extract feature information related to the layout design task in the image information of the training layout design document. If the layout design task involves device drawing, the feature information related to the device drawing in the image information of the training layout design document can be information such as the shape and size of the device. If the layout design task involves automatic wiring, the feature information related to automatic wiring in the image information of the training layout design document can be information such as wiring order, wiring direction, and wiring quality.

[0109] Among them, the specific steps of using artificial intelligence machine learning methods to identify and extract feature information related to layout design tasks from the image information of training layout design documents are as follows: First, collect a large number of images of layout design documents, which may contain various features related to layout design tasks. Then, clean the image data, remove noise and unnecessary interference in the image data, and standardize the image, such as scaling, cropping, rotating, etc. Next, use deep learning models such as convolutional neural networks to automatically extract features from the image, use the extracted features to train the machine learning model, and use cross-validation and other methods to adjust the model parameters to improve the model performance. Use an image data set that is not involved in the training to evaluate the model to test the generalization ability of the model, and finally adjust the model based on the evaluation results, which may require multiple iterations to achieve the best performance. The trained model can be used to identify and extract feature information related to the layout design task in the image information of the training layout design document.

[0110] In an embodiment of the present invention, the layout design system of the quantum chip can also obtain a layout design task included in at least one training layout design document. If only one training layout design document is involved, the layout design task includes one layout design project; if multiple training layout design documents are involved, the layout design task includes multiple layout design projects.

[0111] In an embodiment of the present invention, a layout design task included in a training layout design document and feature information related to the layout design task in the image information of the training layout design document are used to train a preset first machine learning model, and a task extraction model can be obtained. If the layout design system of the quantum chip obtains at least one layout design document, the layout design system of the quantum chip can use image recognition technology and artificial intelligence machine learning methods to obtain feature information related to the layout design task in the training layout design document, and input the feature information into the task extraction model, and the task extraction model can output the layout design task included in the layout design document.

[0112] In an embodiment of the present invention, a layout design system for a quantum chip obtains at least one training layout design document of a quantum chip, collects image information of the training layout design document, obtains layout design tasks contained in the training layout design document, identifies and extracts feature information related to the layout design tasks in the image information, and uses the feature information and the layout design tasks contained in the training layout design document to train a preset first machine learning model, thereby obtaining a task extraction model, thereby realizing the acquisition of the task extraction model, and laying a foundation for the construction of a blockchain for layout design tasks.

[0113] Further, in any of the above embodiments, step 103 includes:

[0114] Sub-step S21, obtaining node information of the at least one layout design node and a training layout design task of the quantum chip;

[0115] Sub-step S22, obtaining the training layout design subtasks decomposed from the training layout design task and the layout design nodes corresponding to the training layout design subtasks; the layout design nodes corresponding to the training layout design subtasks refer to the layout design nodes allocated to the training layout design subtasks based on the node information of the layout design nodes;

[0116] Sub-step S23, using the training layout design task, the training layout design subtask, the node information, and the layout design node corresponding to the training layout design subtask to train a preset second machine learning model to obtain a blockchain construction model;

[0117] Sub-step S24, for any of the layout design subtasks, based on the ability of the layout design node to perform tasks, the blockchain construction model is used to determine the target layout design node corresponding to the layout design subtask.

[0118] In an embodiment of the present invention, the layout design system of the quantum chip includes at least one layout design node. The layout design system of the quantum chip stores node information of the layout design node. The node information may include the location information, name information, capability information of the layout design node, smart contract information of the layout design node, and evaluation information of the layout design node. Among them, the capability information of the layout design node indicates the layout design subtasks that the layout design node is capable of performing, the smart contract information of the layout design node indicates the smart contract that the layout design node needs to deploy to perform the layout design subtask, and the evaluation information of the layout design node includes at least positive evaluation information and negative evaluation information.

[0119] In an embodiment of the present invention, the layout design system of a quantum chip can obtain node information of at least one layout design node and a training layout design task of a quantum chip, and obtain a training layout design subtask obtained by decomposing the training layout design task and a layout design node corresponding to the training layout design subtask. The layout design node corresponding to the training layout design subtask refers to a layout design node allocated to the training layout design subtask based on the node information of the layout design node.

[0120] The second preset machine learning model is trained using the training layout design task, the training layout design subtask obtained by decomposing the training layout design task, the node information of at least one layout design node, and the layout design node corresponding to the training layout design subtask to obtain a blockchain construction model. If the layout design system of the quantum chip inputs the layout design task into the blockchain construction model, the blockchain construction model can decompose the layout design task into at least one layout design subtask, and assign the corresponding layout design node to the layout design subtask based on the node information of the layout design node.

[0121] In an embodiment of the present invention, a layout design system for a quantum chip obtains node information of at least one layout design node and a training layout design task of a quantum chip, obtains training layout design subtasks after decomposition of the training layout design task and layout design nodes corresponding to the training layout design subtasks, and uses the training layout design tasks, training layout design subtasks, node information, and layout design nodes corresponding to the training layout design subtasks to train a preset second machine learning model, obtains a blockchain construction model, realizes the acquisition of the blockchain construction model, and lays the foundation for the construction of a blockchain for layout design tasks.

[0122] Further, in any of the above embodiments, the node information includes at least capability information and evaluation information; the evaluation information includes at least positive evaluation information; step 103 includes:

[0123] Sub-step S31, for any of the layout design subtasks, traverse the layout design nodes, obtain the capability information of the currently traversed layout design node, and determine whether the currently traversed layout design node has the capability to execute the layout design subtask based on the capability information;

[0124] Sub-step S32, if the layout design node currently traversed has the ability to execute the layout design subtask, obtaining the evaluation information of the layout design node currently traversed, and determining whether the evaluation information is the positive evaluation information;

[0125] Sub-step S33, if the evaluation information is the positive evaluation information, taking the layout design node currently traversed as the target layout design node corresponding to the layout design subtask;

[0126] Sub-step S34, if the evaluation information is not the positive evaluation information, continue to traverse the remaining layout design nodes until the target layout design node corresponding to the layout design subtask is found.

[0127] In an embodiment of the present invention, the layout design system of the quantum chip stores node information of the layout design node. The node information includes at least the capability information of the layout design node and the evaluation information of the layout design node. The capability information of the layout design node indicates the layout design subtasks that the layout design node is capable of performing. The capabilities of the layout design node may include: layout layout capability, device drawing capability, and automatic wiring capability, etc. Among them, the layout layout capability refers to the ability of the layout design node to perform layout design layout for the layout design task, the device drawing capability refers to the richness of the device library possessed by the layout design node and the ability to expand the device of the layout design, and the automatic wiring capability refers to the ability of the layout design node to perform complex automatic layout and wiring, etc. The evaluation information of the layout design node may include positive evaluation information and negative evaluation information.

[0128] In an embodiment of the present invention, after the blockchain construction model divides the layout design task into at least one layout design subtask, for any layout design subtask, the blockchain construction model can traverse the layout design nodes in the layout design system of the quantum chip, obtain the capability information of the currently traversed layout design node, and determine whether the currently traversed layout design node has the capability to execute the layout design subtask. If the currently traversed layout design node has the capability to execute the layout design subtask, the evaluation information of the currently traversed layout design node is obtained, and it is determined whether the evaluation information is positive evaluation information. If the evaluation information is positive evaluation information, the currently traversed layout design node is used as the target layout design node corresponding to the layout design subtask. If the evaluation information is negative evaluation information, the remaining layout design nodes are continued to be traversed until a layout design node with the capability to execute the layout design subtask and the evaluation information is positive evaluation information is found.

[0129] In an embodiment of the present invention, a blockchain construction model can construct a layout design blockchain for a layout design task. The layout design blockchain can include a layout design blockchain main chain and a layout design blockchain subchain. The layout design blockchain main chain is composed of layout design nodes, and the layout design blockchain subchain is composed of functional nodes of the layout design nodes. In the process of constructing the layout design blockchain, the blockchain construction model can add the layout design node corresponding to the layout design subtask to the layout design blockchain main chain, that is, add the layout design blockchain subchain associated with the layout design node to the layout design blockchain main chain.

[0130] In a specific example, the specific steps of the blockchain construction model to construct the layout design blockchain are as follows: First, the blockchain construction model decomposes the layout design task into multiple layout design subtasks. Then, the blockchain construction model searches for the corresponding layout design node for each layout design subtask and adds the layout design node to the layout design blockchain main chain. The layout design node is a layout design node that has the ability to execute the layout design subtask corresponding to the layout design node and the evaluation information is positive evaluation information.

[0131] In an embodiment of the present invention, the layout design system of the quantum chip uses the blockchain construction model to construct a layout design blockchain, which can provide targeted support for the layout design of complex quantum chips, improve the efficiency of quantum chip layout design, and the layout design blockchain ensures the privacy of the layout design data of the quantum chip, realizing decentralized storage and distributed computing.

[0132] Further, in any of the above embodiments, after step 104, the following steps are included:

[0133] Sub-step S41, obtaining a smart contract for the layout design blockchain deployment sub-task information;

[0134] Sub-step S42, for any of the target layout design nodes, according to the layout design sub-task corresponding to the target layout design node, deploy a sub-task execution smart contract for the target layout design node.

[0135] In an embodiment of the present invention, after the construction of the layout design blockchain is completed, the layout design system of the quantum chip needs to deploy smart contracts for the layout design blockchain main chain and the layout design blockchain subchain respectively. Specifically, the layout design system can deploy subtask information acquisition smart contracts, subchain layout design execution blockchain smart contracts, data update smart contracts, trusted evaluation smart contracts, and node execution smart contracts for each layout design node of the layout design blockchain main chain. Among them, the layout design subtask information can be obtained by executing the subtask information acquisition smart contract, the layout design blockchain subchain can be entered by executing the subchain layout design execution blockchain smart contract, and the layout design blockchain subchain starts to automatically execute the layout design subtask. By executing the data update smart contract, the layout design blockchain subchain can use the execution result of the layout design subtask to update the execution result of the layout design task stored in the layout design system, and the layout design blockchain subchain can be evaluated based on the execution result of the layout design subtask by executing the trusted evaluation smart contract. The layout design node can start to execute the task by executing the node execution smart contract.

[0136] The layout design system can deploy subtask execution smart contracts for the layout design blockchain subchain, such as layout smart contracts, device library smart contracts, wiring smart contracts, etc. By executing the subtask execution smart contracts, the functional nodes on the layout design blockchain subchain can execute the layout design subtasks.

[0137] In an embodiment of the present invention, by deploying smart contracts for the layout design blockchain main chain and the layout design blockchain sub-chain, the foundation is laid for the layout design blockchain to run smart contracts to execute layout design tasks. The deployment of these smart contracts ensures the automated execution of layout design tasks.

[0138] Reference Figure 2 , showing a schematic diagram of a layout design blockchain constructed by a layout design system provided in an embodiment of the present invention.

[0139] The layout design center is the layout design system, which includes the layout design task extraction model, the layout design node capability model and the layout design center information library. The layout design task extraction model is the task extraction model, and the layout design node capability model is the blockchain construction model. The layout design center information library can store the node information of the layout design node and the task execution results of the layout design node. The layout design system can intelligently construct the layout design blockchain through the task extraction model and the blockchain construction model. The layout design blockchain can execute the layout design task and feed back the execution results of the layout design task to the layout design system.

[0140] The layout design blockchain includes the layout design collaborative blockchain and the layout design execution blockchain. The layout design collaborative blockchain is the main chain of the layout design blockchain, and the layout design execution blockchain is the subchain of the layout design blockchain. The main chain of the layout design blockchain is composed of layout design nodes, and the layout design blockchain subchain is composed of functional nodes of the layout design nodes. Functional nodes can include layout nodes, routing nodes, and device library nodes. In the main chain of the layout design blockchain, each layout design node is associated with a layout design blockchain subchain. The layout design node has the ability to execute layout design subtasks. Specifically, the layout design subtasks are executed by the functional nodes in the layout design blockchain subchain associated with each layout design node, and the functional nodes have the ability to execute related subtasks.

[0141] The layout design system of the quantum chip can also deploy smart contracts for the layout design blockchain. Smart contracts can include sub-chain smart contracts, layout smart contracts, wiring smart contracts, and device smart contracts.

[0142] Further, in any of the above embodiments, step 105 includes:

[0143] Sub-step S51, realizing automatic acquisition of the layout design sub-task by executing the sub-task information acquisition smart contract;

[0144] Step 106 includes:

[0145] Sub-step S61, realizing automatic execution of the layout design sub-task by executing the sub-task execution smart contract.

[0146] In an embodiment of the present invention, the layout design system can deploy subtask information acquisition smart contracts, subchain layout design execution blockchain smart contracts, data update smart contracts, trusted evaluation smart contracts, and node execution smart contracts for each layout design node of the layout design blockchain main chain. Among them, the information of the layout design subtask can be obtained by executing the subtask information acquisition smart contract.

[0147] The layout design system can deploy subtask execution smart contracts for the layout design blockchain subchain, such as layout smart contracts, device library smart contracts, wiring smart contracts, etc. By executing the subtask execution smart contracts, the functional nodes on the layout design blockchain subchain can execute the layout design subtasks. It should be noted that the execution process of the layout design task is: each layout design node executes a specific smart contract to complete part of the layout design task, and stores the execution results on the layout design blockchain, that is, all layout design nodes use a collaborative way to jointly complete the layout design task. The layout design subtasks include operations such as adding, modifying, and deleting layout designs. All layout design nodes may design the layout step by step and improve it together. It is also possible that one of the layout design nodes designs the layout, and the remaining layout design nodes modify and improve the layout design. It is also possible to delete part of the layout design and continue to improve it.

[0148] In a specific example, the layout design task may include attribute adjustment, layout layout and automatic wiring, and the step of executing the layout design task using the smart contract may include: executing the subtask information acquisition smart contract to obtain the layout design subtask. Executing the subchain layout design execution blockchain smart contract, entering the layout design blockchain subchain, and the layout design blockchain subchain begins to automatically execute the layout design subtask. Executing the data update smart contract, using the design results of the layout design blockchain subchain, to update the data of the execution results of the layout design task. Executing the trusted evaluation smart contract, using the design results of the layout design blockchain subchain to perform a trusted evaluation of the layout design blockchain subchain, and sending the evaluation to the quantum layout design system to update the evaluation information. Executing the node execution smart contract, the layout design node will automatically execute the layout design node on the task in the order in which the layout design node is added to the layout design blockchain main chain. Executing the layout smart contract, performing the layout design layout, executing the device library smart contract, modifying the properties of the device library device, and executing the wiring smart contract, performing the layout design related wiring operations.

[0149] In the embodiment of the present invention, the layout design blockchain realizes the automatic execution of layout design tasks by executing smart contracts. These smart contracts not only ensure that the collaborative design of quantum chip layout can be carried out automatically, efficiently and safely, but also output the design results, and safely transmit and save the design results to the layout design blockchain, so that the design results of each layout design subtask of quantum chip layout design can be traced, and the layout design nodes can be trusted based on the design results.

[0150] Furthermore, in any of the above embodiments, the method includes:

[0151] Sub-step S71, receiving the execution result of the layout design subtask corresponding to the target layout design node sent by any of the target layout design nodes;

[0152] Sub-step S72, evaluating the target layout design node based on the execution result.

[0153] In an embodiment of the present invention, the layout design system can receive the execution result of the target layout design node on the layout design subtask sent by any target layout design node, and evaluate the target layout design node based on the execution result. After the target layout design node is executed, the execution of the next node will be triggered until all target layout design nodes are executed and the execution of the entire layout design task is completed.

[0154] The layout design system can also use the evaluation of the target layout design node to update the evaluation information of the target layout design node. The evaluation information includes positive evaluation information and negative evaluation information.

[0155] In an embodiment of the present invention, an execution result of a layout design subtask corresponding to a target layout design node sent by any target layout design node is received, and the target layout design node is evaluated based on the execution result. The evaluation information of the target layout design node is updated using the evaluation of the target layout design node, thereby providing support for the blockchain construction model to construct a layout design blockchain based on the evaluation information.

[0156] Reference Figure 3 , shows a flowchart of the steps of another method for designing a layout of a quantum chip provided by an embodiment of the present invention, which may specifically include the following steps:

[0157] Step 301, constructing a layout design task extraction model, extracting the layout design task, and decomposing it into multiple subtasks.

[0158] Obtain at least one training layout design document of the quantum chip, collect image information of the training layout design document, obtain the layout design task contained in the training layout design document, identify and extract feature information related to the layout design task in the image information, and use the feature information and the layout design task contained in the training layout design document to train a preset first machine learning model to obtain a task extraction model. Input at least one layout design document into the task extraction model to obtain the layout design task contained in the layout design document. Input the layout design task into the blockchain construction model to obtain at least one layout design subtask after the layout design task is divided.

[0159] Step 302, construct a layout node capability model, and intelligently construct a layout design collaborative blockchain and a layout design execution sub-chain through the node capability model according to the subtasks.

[0160] Obtain node information of at least one layout design node and a training layout design task of a quantum chip, obtain the training layout design subtask decomposed from the training layout design task and the layout design node corresponding to the training layout design subtask, the layout design node corresponding to the training layout design subtask refers to the layout design node assigned to the training layout design subtask based on the node information of the layout design node. Use the training layout design task, the training layout design subtask, the node information, and the layout design node corresponding to the training layout design subtask to train the preset second machine learning model and obtain a blockchain construction model.

[0161] The layout node capability model is the blockchain construction model. For any layout design subtask, the layout design subtask is input into the blockchain construction model, and the target layout design node corresponding to the layout design subtask in at least one layout design node is determined; the target layout design node has the ability to execute the layout design subtask; based on the target layout design node, the layout design blockchain corresponding to the layout design task is constructed. The layout design blockchain includes the layout design collaborative blockchain and the layout design execution subchain.

[0162] Step 303, execute the layout design collaborative main chain smart contract, obtain subtask information, layout design nodes sequentially collaborate to execute, on-chain result storage, and trustworthy evaluation.

[0163] Step 304, execute the layout design to execute the blockchain smart contract, store the execution result, and return it on the chain.

[0164] Reference Figure 4 , shows a flowchart of the steps of another method for designing a layout of a quantum chip provided by an embodiment of the present invention, which may specifically include the following steps:

[0165] Step 401, decomposing the layout design task into multiple subtasks.

[0166] Input at least one layout design document into the task extraction model to obtain the layout design task contained in the layout design document, input the layout design task into the blockchain construction model, and obtain at least one layout design subtask after the layout design task is divided.

[0167] Step 402, searching for layout design nodes according to node capabilities required by the subtasks.

[0168] For any layout design subtask, traverse the layout design nodes, obtain the capability information of the currently traversed layout design node, and determine whether the currently traversed layout design node has the capability to execute the layout design subtask based on the capability information.

[0169] Step 403, confirming the trustworthiness evaluation of the layout design node.

[0170] If the currently traversed layout design node has the ability to execute the layout design subtask, the evaluation information of the currently traversed layout design node is obtained, and it is determined whether the evaluation information is positive evaluation information.

[0171] Step 404: Is the trust evaluation positive? If so, execute step 405; if not, the node does not need to join the collaborative blockchain, and proceed to the next node and execute step 402.

[0172] If the evaluation information is positive, the currently traversed layout design node will be used as the target layout design node corresponding to the layout design subtask; if the evaluation information is not positive, the remaining layout design nodes will continue to be traversed until the target layout design node corresponding to the layout design subtask is found.

[0173] Step 405, the node joins the layout design collaborative blockchain.

[0174] Step 406, coordinate with the main chain to deploy relevant smart contracts.

[0175] Step 407, constructing a layout design execution subchain.

[0176] Step 408: deploy subchain related smart contracts.

[0177] It should be noted that, for the sake of simplicity, the method embodiments are described as a series of action combinations, but those skilled in the art should be aware that the embodiments of the present invention are not limited by the order of the actions described, because according to the embodiments of the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.

[0178] Reference Figure 5 , shows a block diagram of a layout design device for a quantum chip provided in an embodiment of the present invention, which is applied to a layout design system for a quantum chip. The layout design system includes at least one layout design node; specifically, the following modules may be included:

[0179] A layout design document acquisition module 501 is used to acquire at least one layout design document of the quantum chip and extract the layout design tasks contained in the layout design document;

[0180] A layout design task division module 502, configured to divide the layout design task into at least one layout design subtask based on the ability of the layout design node to perform tasks;

[0181] The target layout design node determination module 503 is used to determine, for any of the layout design subtasks, the target layout design node corresponding to the layout design subtask based on the ability of the layout design node to perform the task, and determine the target layout design blockchain subchain associated with the target layout design node;

[0182] An adding module 504 is used to add the target layout design blockchain subchain to the preset layout design blockchain main chain, obtain the layout design blockchain corresponding to the layout design task, and deploy a preset subchain layout design execution blockchain smart contract for the layout design blockchain;

[0183] A layout design subtask acquisition module 505 is used to acquire the layout design subtask using the layout design blockchain main chain;

[0184] The target layout acquisition module 506 is used to trigger the execution of the layout design subtask by the target layout design blockchain subchain by executing the subchain layout design execution blockchain smart contract to obtain the target layout of the quantum chip.

[0185] In an optional embodiment of the present invention, the layout design document acquisition module includes:

[0186] A training layout design document acquisition submodule, used to acquire at least one training layout design document of the quantum chip;

[0187] An image information acquisition submodule, used to acquire image information of the training layout design document and obtain the layout design tasks included in the training layout design document;

[0188] A feature information recognition submodule, used to recognize and extract feature information related to the layout design task in the image information;

[0189] A task extraction model obtaining submodule is used to train a preset first machine learning model using the feature information and the layout design tasks included in the training layout design document to obtain a task extraction model;

[0190] The layout design task extraction submodule is used to extract the layout design tasks included in the layout design document by using the task extraction model.

[0191] In an optional embodiment of the present invention, the target layout design node determination module includes:

[0192] A training layout design task acquisition submodule, used to acquire node information of the at least one layout design node and a training layout design task of the quantum chip;

[0193] A training layout design subtask acquisition submodule, used to acquire the training layout design subtask decomposed from the training layout design task and the layout design node corresponding to the training layout design subtask; the layout design node corresponding to the training layout design subtask refers to the layout design node allocated to the training layout design subtask based on the node information of the layout design node;

[0194] A blockchain construction model obtaining submodule is used to train a preset second machine learning model using the training layout design task, the training layout design subtask, the node information, and the layout design node corresponding to the training layout design subtask to obtain a blockchain construction model;

[0195] The target layout design node determination submodule is used to determine the target layout design node corresponding to any of the layout design subtasks based on the ability of the layout design node to perform tasks and to use the blockchain construction model.

[0196] In an optional embodiment of the present invention, the node information includes at least capability information and evaluation information; the evaluation information includes at least positive evaluation information; the target layout design node determination module includes:

[0197] A traversal submodule, for traversing the layout design nodes for any of the layout design subtasks, obtaining the capability information of the currently traversed layout design node, and determining whether the currently traversed layout design node has the capability to execute the layout design subtask based on the capability information;

[0198] An evaluation information acquisition submodule, used for acquiring the evaluation information of the layout design node currently traversed if the layout design node currently traversed has the ability to execute the layout design subtask, and determining whether the evaluation information is the positive evaluation information;

[0199] The target layout design node is used as a submodule, and is used to use the layout design node currently traversed as the target layout design node corresponding to the layout design subtask if the evaluation information is the positive evaluation information;

[0200] The continue traversal submodule is used to continue traversing the remaining layout design nodes if the evaluation information is not the positive evaluation information, until the target layout design node corresponding to the layout design subtask is found.

[0201] In an optional embodiment of the present invention, the device comprises:

[0202] A first deployment module, for acquiring smart contracts for subtask information deployment of the layout design blockchain;

[0203] The second deployment module is used to deploy a subtask execution smart contract for any of the target layout design nodes according to the layout design subtask corresponding to the target layout design node.

[0204] In an optional embodiment of the present invention, the layout design subtask acquisition module includes:

[0205] A first execution submodule, configured to automatically acquire the layout design subtask by executing the subtask information acquisition smart contract;

[0206] The target layout obtaining module includes:

[0207] The second execution submodule is used to realize the automatic execution of the layout design subtask by executing the subtask execution smart contract.

[0208] In an optional embodiment of the present invention, the device comprises:

[0209] An execution result receiving module, used for receiving an execution result of a layout design subtask corresponding to the target layout design node sent by any of the target layout design nodes;

[0210] An evaluation module is used to evaluate the target layout design node based on the execution result.

[0211] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0212] In addition, an embodiment of the present invention further provides an electronic device, such as Figure 6 As shown, it includes a processor 601, a communication interface 602, a memory 603 and a communication bus 604, wherein the processor 601, the communication interface 602, and the memory 603 communicate with each other through the communication bus 604.

[0213] Memory 603, used for storing computer programs;

[0214] The processor 601 is used to execute the program stored in the memory 603 to implement the following steps:

[0215] Obtaining at least one layout design document of the quantum chip, and extracting the layout design tasks contained in the layout design document;

[0216] Based on the ability of the layout design node to perform tasks, dividing the layout design task into at least one layout design subtask;

[0217] For any of the layout design subtasks, based on the ability of the layout design node to perform the task, determine the target layout design node corresponding to the layout design subtask, and determine the target layout design blockchain subchain associated with the target layout design node;

[0218] Add the target layout design blockchain subchain to the preset layout design blockchain main chain, obtain the layout design blockchain corresponding to the layout design task, and deploy the preset subchain layout design execution blockchain smart contract for the layout design blockchain;

[0219] Using the main chain of the layout design blockchain to obtain the layout design subtask;

[0220] By executing the sub-chain layout design execution blockchain smart contract, the target layout design blockchain sub-chain is triggered to execute the layout design subtask, and the target layout of the quantum chip is obtained.

[0221] In an optional embodiment of the present invention, the step of extracting the layout design tasks included in the layout design document includes:

[0222] Obtaining at least one training layout design document of the quantum chip;

[0223] Collecting image information of the training layout design document, and obtaining the layout design tasks included in the training layout design document;

[0224] Identifying and extracting feature information related to the layout design task in the image information;

[0225] Using the feature information and the layout design tasks included in the training layout design document to train a preset first machine learning model to obtain a task extraction model;

[0226] The task extraction model is used to extract the layout design tasks contained in the layout design document.

[0227] In an optional embodiment of the present invention, for any of the layout design subtasks, based on the ability of the layout design node to perform tasks, the step of determining a target layout design node corresponding to the layout design subtask comprises:

[0228] Obtaining node information of the at least one layout design node and a training layout design task of the quantum chip;

[0229] Obtaining the training layout design subtasks decomposed from the training layout design task and the layout design nodes corresponding to the training layout design subtasks; the layout design nodes corresponding to the training layout design subtasks refer to the layout design nodes allocated to the training layout design subtasks based on the node information of the layout design nodes;

[0230] The preset second machine learning model is trained using the training layout design task, the training layout design subtask, the node information, and the layout design node corresponding to the training layout design subtask to obtain a blockchain construction model;

[0231] For any of the layout design subtasks, based on the ability of the layout design node to perform tasks, the blockchain construction model is used to determine the target layout design node corresponding to the layout design subtask.

[0232] In an optional embodiment of the present invention, the node information includes at least capability information and evaluation information; the evaluation information includes at least positive evaluation information; the step of determining, for any of the layout design subtasks, based on the capability of the layout design node to perform the task, a target layout design node corresponding to the layout design subtask includes:

[0233] For any of the layout design subtasks, traverse the layout design nodes, obtain the capability information of the currently traversed layout design node, and determine whether the currently traversed layout design node has the capability to execute the layout design subtask based on the capability information;

[0234] If the layout design node currently traversed has the ability to execute the layout design subtask, obtaining the evaluation information of the layout design node currently traversed, and determining whether the evaluation information is the positive evaluation information;

[0235] If the evaluation information is the positive evaluation information, taking the layout design node currently traversed as the target layout design node corresponding to the layout design subtask;

[0236] If the evaluation information is not the positive evaluation information, continue to traverse the remaining layout design nodes until the target layout design node corresponding to the layout design subtask is found.

[0237] In an optional embodiment of the present invention, the step of adding the target layout design blockchain subchain to the preset layout design blockchain main chain to obtain the layout design blockchain corresponding to the layout design task includes:

[0238] Designing a blockchain for said layout to deploy subtask information to obtain a smart contract;

[0239] For any of the target layout design nodes, according to the layout design subtask corresponding to the target layout design node, a subtask execution smart contract is deployed for the target layout design node.

[0240] In an optional embodiment of the present invention, the step of obtaining the layout design subtask by using the layout design blockchain main chain includes:

[0241] Automatically acquiring the layout design subtask by executing the subtask information acquisition smart contract;

[0242] The step of triggering the target layout design blockchain subchain to execute the layout design subtask includes:

[0243] By executing the subtask execution smart contract, the automatic execution of the layout design subtask is achieved.

[0244] In an optional embodiment of the present invention, the method includes:

[0245] Receiving an execution result of a layout design subtask corresponding to the target layout design node sent by any of the target layout design nodes;

[0246] Based on the execution result, the target layout design node is evaluated.

[0247] The communication bus mentioned in the above terminal can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.

[0248] The communication interface is used for communication between the above terminal and other devices.

[0249] The memory may include a random access memory (RAM) or a non-volatile memory, such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.

[0250] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.

[0251] like Figure 7 As shown, in another embodiment provided by the present invention, a computer-readable storage medium 701 is also provided, in which instructions are stored. When the computer-readable storage medium is run on a computer, the computer executes the layout design method of the quantum chip described in the above embodiment.

[0252] In another embodiment provided by the present invention, a computer program product containing instructions is also provided. When the computer program product is run on a computer, the computer executes the layout design method of the quantum chip described in the above embodiment.

[0253] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented by software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present invention is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk Solid State Disk (SSD)), etc.

[0254] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0255] Each embodiment in this specification is described in a related manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0256] The above description is only a preferred embodiment of the present invention and is not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention are included in the protection scope of the present invention.

Claims

1. A method for designing a quantum chip layout, characterized in that: A layout design system applied to a quantum chip, the layout design system comprising at least one layout design node and a layout design blockchain subchain associated with the layout design node; The method comprises: Obtaining at least one layout design document of the quantum chip, and extracting the layout design tasks contained in the layout design document; Based on the ability of the layout design node to perform tasks, dividing the layout design task into at least one layout design subtask; For any of the layout design subtasks, based on the ability of the layout design node to perform the task, determine the target layout design node corresponding to the layout design subtask, and determine the target layout design blockchain subchain associated with the target layout design node; Add the target layout design blockchain subchain to the preset layout design blockchain main chain, obtain the layout design blockchain corresponding to the layout design task, and deploy the preset subchain layout design execution blockchain smart contract for the layout design blockchain; Using the main chain of the layout design blockchain to obtain the layout design subtask; By executing the sub-chain layout design execution blockchain smart contract, the target layout design blockchain sub-chain is triggered to execute the layout design subtask, and the target layout of the quantum chip is obtained.

2. The method according to claim 1, characterized in that The step of extracting the layout design tasks contained in the layout design document comprises: Obtaining at least one training layout design document of the quantum chip; Collecting image information of the training layout design document, and obtaining the layout design tasks included in the training layout design document; Identifying and extracting feature information related to the layout design task in the image information; Using the feature information and the layout design tasks included in the training layout design document to train a preset first machine learning model to obtain a task extraction model; The task extraction model is used to extract the layout design tasks contained in the layout design document.

3. The method according to claim 1, characterized in that: The step of determining, for any of the layout design subtasks, a target layout design node corresponding to the layout design subtask based on the ability of the layout design node to perform tasks comprises: Obtaining node information of the at least one layout design node and a training layout design task of the quantum chip; Obtaining the training layout design subtasks decomposed from the training layout design task and the layout design nodes corresponding to the training layout design subtasks; the layout design nodes corresponding to the training layout design subtasks refer to the layout design nodes allocated to the training layout design subtasks based on the node information of the layout design nodes; The preset second machine learning model is trained using the training layout design task, the training layout design subtask, the node information, and the layout design node corresponding to the training layout design subtask to obtain a blockchain construction model; For any of the layout design subtasks, based on the ability of the layout design node to perform tasks, the blockchain construction model is used to determine the target layout design node corresponding to the layout design subtask.

4. The method according to claim 3, characterized in that The node information includes at least capability information and evaluation information; the evaluation information includes at least positive evaluation information; the step of determining the target layout design node corresponding to any of the layout design subtasks based on the capability of the layout design node to perform the task includes: For any of the layout design subtasks, traverse the layout design nodes, obtain the capability information of the currently traversed layout design node, and determine whether the currently traversed layout design node has the capability to execute the layout design subtask based on the capability information; If the layout design node currently traversed has the ability to execute the layout design subtask, obtaining the evaluation information of the layout design node currently traversed, and determining whether the evaluation information is the positive evaluation information; If the evaluation information is the positive evaluation information, taking the layout design node currently traversed as the target layout design node corresponding to the layout design subtask; If the evaluation information is not the positive evaluation information, continue to traverse the remaining layout design nodes until the target layout design node corresponding to the layout design subtask is found.

5. The method according to claim 1, characterized in that The step of adding the target layout design blockchain subchain to the preset layout design blockchain main chain to obtain the layout design blockchain corresponding to the layout design task includes: Designing a blockchain for said layout to deploy subtask information to obtain a smart contract; For any of the target layout design nodes, according to the layout design subtask corresponding to the target layout design node, a subtask execution smart contract is deployed for the target layout design node.

6. The method according to claim 5, characterized in that The step of using the layout design blockchain main chain to obtain the layout design subtask includes: Automatically acquiring the layout design subtask by executing the subtask information acquisition smart contract; The step of triggering the target layout design blockchain subchain to execute the layout design subtask includes: By executing the subtask execution smart contract, the automatic execution of the layout design subtask is achieved.

7. The method according to claim 1, characterized in that The method comprises: Receiving an execution result of a layout design subtask corresponding to the target layout design node sent by any of the target layout design nodes; Based on the execution result, the target layout design node is evaluated.

8. A layout design device for a quantum chip, characterized in that: A layout design system applied to a quantum chip, the layout design system comprising at least one layout design node and a layout design blockchain subchain associated with the layout design node; the device comprising: A layout design document acquisition module, used to acquire at least one layout design document of the quantum chip and extract the layout design tasks contained in the layout design document; A layout design task division module, used for dividing the layout design task into at least one layout design subtask based on the ability of the layout design node to perform tasks; A target layout design node determination module is used to determine, for any of the layout design subtasks, the target layout design node corresponding to the layout design subtask based on the ability of the layout design node to perform the task, and determine the target layout design blockchain subchain associated with the target layout design node; An adding module is used to add the target layout design blockchain subchain to the preset layout design blockchain main chain, obtain the layout design blockchain corresponding to the layout design task, and deploy a preset subchain layout design execution blockchain smart contract for the layout design blockchain; A layout design subtask acquisition module, used to acquire the layout design subtask using the layout design blockchain main chain; The target layout acquisition module is used to execute the blockchain smart contract by executing the sub-chain layout design, trigger the execution of the layout design subtask by the target layout design blockchain sub-chain, and obtain the target layout of the quantum chip.

9. An electronic device, characterized in that: It includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus; The memory is used to store computer programs; The processor is used to implement the method according to any one of claims 1 to 7 when executing the program stored in the memory.

10. One or more computer-readable media having instructions stored thereon, which when executed by one or more processors cause the processors to perform the method according to any one of claims 1 to 7.