WO2024125325A1 - 量子计算的方法和装置 - Google Patents
量子计算的方法和装置 Download PDFInfo
- Publication number
- WO2024125325A1 WO2024125325A1 PCT/CN2023/135883 CN2023135883W WO2024125325A1 WO 2024125325 A1 WO2024125325 A1 WO 2024125325A1 CN 2023135883 W CN2023135883 W CN 2023135883W WO 2024125325 A1 WO2024125325 A1 WO 2024125325A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- quantum
- result
- electronic device
- measurement
- circuit
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N10/00—Quantum computing, i.e. information processing based on quantum-mechanical phenomena
- G06N10/20—Models of quantum computing, e.g. quantum circuits or universal quantum computers
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N10/00—Quantum computing, i.e. information processing based on quantum-mechanical phenomena
- G06N10/60—Quantum algorithms, e.g. based on quantum optimisation, quantum Fourier or Hadamard transforms
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/04817—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/0482—Interaction with lists of selectable items, e.g. menus
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04842—Selection of displayed objects or displayed text elements
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/0486—Drag-and-drop
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N10/00—Quantum computing, i.e. information processing based on quantum-mechanical phenomena
- G06N10/80—Quantum programming, e.g. interfaces, languages or software-development kits for creating or handling programs capable of running on quantum computers; Platforms for simulating or accessing quantum computers, e.g. cloud-based quantum computing
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N10/00—Quantum computing, i.e. information processing based on quantum-mechanical phenomena
- G06N10/40—Physical realisations or architectures of quantum processors or components for manipulating qubits, e.g. qubit coupling or qubit control
Definitions
- the embodiments of the present application relate to the quantum field, and in particular, to a method and device for quantum computing.
- Quantum computing is a new type of computing method that utilizes quantum properties such as quantum superposition and quantum entanglement.
- quantum computing there is a quantum circuit writer at the bottom of the interface, which contains symbols representing quantum operations and linear elements representing quantum bits. Users can drag and drop symbols representing quantum operations to the corresponding quantum bits, and then the quantum circuit can be translated into a script language (which can be understood as a computer language for quantum operations). Alternatively, user commands provided through the command line interface can also be converted into quantum circuits, which can be translated into script languages and dynamically generate graphical representations.
- the quantum elements representing quantum operations only provide probability measurements in a single direction (generally the Z direction).
- Another way of quantum computing is to obtain two quantum circuits, then compile and run the first quantum circuit first, and then dynamically compile and run the second quantum circuit based on the running results of the first quantum circuit.
- the two quantum circuits can run on different hardware.
- this method converts a single parameter-containing quantum circuit into multiple quantum circuits for operation, which requires repeated compilation and running of quantum circuits, and the operation is complicated.
- the returned results are all the probability results of the quantum state in a single direction (generally the Z direction). If you want to get the results in other directions, you need to rotate the projection in the X direction or Y direction to the Z direction and then measure it.
- the embodiments of the present application provide a method and apparatus for quantum computing, which can simplify the operation process of repeated compilation and can also return operation results in multiple directions in one operation, without the need for the user to repeatedly send quantum circuits for desired measurements in different directions.
- a method of quantum computing which is applied to a first electronic device, and includes: splitting a first quantum circuit to obtain n second quantum circuits; sending the n second quantum circuits to a second electronic device; and receiving an operation result sent by the second electronic device, wherein the operation result indicates a result obtained by running the n second quantum circuits.
- the first electronic device can split the first quantum circuit and send n second quantum circuits obtained after the splitting to the second electronic device, so that the second electronic device can operate the n second quantum circuits, and the first electronic device can receive the operation result sent by the second electronic device, and the operation result indicates the result obtained by operating the n second quantum circuits.
- the solution provided by the embodiment of the present application can not only simplify the operation process of repeated compilation, but also return the operation results of multiple directions in one operation, without the need for the user to repeatedly send quantum circuits for desired measurements in different directions.
- the first quantum circuit includes quantum measurements in n directions, and any second quantum circuit among the n second quantum circuits includes quantum measurements in one direction among the n directions.
- the directions of quantum measurements in different second quantum circuits are different.
- the first quantum circuit includes quantum measurements in n directions.
- n second quantum circuits can be obtained, and each second quantum circuit includes quantum measurements in one direction, which can ensure the accuracy of splitting the first quantum circuit, and is conducive to the second electronic device improving the accuracy of the n first operation results obtained after running the n second quantum circuits.
- splitting the first quantum circuit includes: splitting the first quantum circuit according to a measurement operator corresponding to the first quantum circuit.
- the solution provided in the embodiment of the present application can split the first quantum circuit according to the measurement operator corresponding to the first quantum circuit, which can improve the accuracy of splitting the first quantum circuit, and further improve the accuracy of the second electronic device running n quantum circuits.
- the accuracy of the n first run results obtained after two quantum circuits.
- the measurement operators corresponding to the first quantum circuit include M
- the splitting of the first quantum circuit according to the measurement operators corresponding to the first quantum circuit includes: for the jth measurement operator, adding the jth measurement operator to the measurement operator set, where j is any value less than or equal to M; for the kth measurement operator, determining whether there is a measurement operator with the same quantum bit as the kth measurement operator and a different direction in the measurement operator set, where k traverses 1 to M and k ⁇ j; and according to the determination result, merging the kth measurement operator with the measurement operator already existing in the measurement operator set, or adding the kth measurement operator to the measurement operator set.
- the first electronic device can add the j-th measurement operator to the measurement operator set, and for the k-th measurement operator, the first electronic device can determine whether there is a measurement operator with the same quantum bit as the k-th measurement operator and a different direction in the measurement operator set, and perform further operations based on the determination result to split the first quantum circuit.
- the number of second quantum circuits obtained after splitting the first quantum circuit by this method is the minimum, thereby ensuring that the second electronic device runs the minimum number of second quantum circuits, reducing the running time and improving efficiency.
- merging the kth measurement operator with the measurement operator already existing in the measurement operator set according to the judgment result, or adding the kth measurement operator to the measurement operator set includes: if there is a measurement operator with the same quantum bit as the kth measurement operator and a different direction in the measurement operator set, adding the kth measurement operator to the measurement operator set; if there is no measurement operator with the same quantum bit as the kth measurement operator and/or a different direction in the measurement operator set, merging the kth measurement operator with the measurement operator already existing in the measurement operator set.
- the first electronic device may add the kth measurement operator to the measurement operator set; if there does not exist a measurement operator with the same quantum bit as the kth measurement operator and/or a different direction in the measurement operator set, the first electronic device may merge the kth measurement operator with the measurement operator already existing in the measurement operator set to split the first quantum circuit.
- the number of second quantum circuits obtained after splitting the first quantum circuit by this method is minimized, thereby ensuring that the second electronic device runs the least number of second quantum circuits, reducing the running time and improving the efficiency.
- the first quantum circuit includes a quantum operation including a first parameter, and a specific value of the first parameter is variable.
- the first quantum circuit may include a quantum operation including a first parameter, and the specific value of the first parameter is variable.
- the method provided in the present application can obtain different quantum circuits by changing the specific value of the parameter, thereby improving flexibility and diversity.
- the quantum operation containing the first parameter includes multiple quantum operations
- the first quantum circuit also includes a quantum operation containing a second parameter
- the quantum operation containing the second parameter is obtained through a combination operation gate
- the combination operation gate is a combination gate including the multiple quantum operations.
- the first quantum circuit may further include a quantum operation containing a second parameter, that is, the first quantum circuit may include a quantum operation containing the first parameter and a quantum operation containing the second parameter, and the quantum operation containing the second parameter is obtained through a combined operation gate. Since the quantum operation containing the second parameter in the first quantum circuit is obtained through a combined operation gate, compared with the solution in the prior art that requires the user to drag each quantum operation to the quantum circuit separately, the solution provided by the embodiment of the present application can simplify the user's operation.
- the operation result includes n first operation results or a first combination result determined based on the n first operation results, and the n first operation results are results obtained by the second electronic device running the n second quantum circuits.
- the operation result includes n first operation results
- the method further includes: determining a first combination result according to the n first operation results and the coefficients of the corresponding measurement operators in the first quantum circuit.
- the first electronic device can determine the first combination result according to the n first operation results and the coefficients of the corresponding measurement operators in the first quantum circuit. Different first combination results can be obtained by setting different coefficients, which can improve the flexibility of quantum computing.
- the method further includes: receiving an operation of updating the first parameter by a user for the wth time, and sending a second quantum circuit after updating the first parameter to a second electronic device, where w starts to take values from 1; receiving an operation result after the (w+1)th operation sent by the second electronic device, where the operation result after the (w+1)th operation includes n (w+1)th operation results or (w+1)th combination results, and the (w+1)th combination result is obtained based on the n (w+1)th operation results; judging whether the (w+1)th combination result converges; and when the (w+1)th combination result converges, displaying the target result and the target parameter, The target result is the combination result with the smallest value, and the target parameter is the parameter corresponding to the combination result with the smallest value.
- the user can update the first parameter multiple times, the first electronic device can send the second quantum circuit after the wth update to the second electronic device, and receive the operation result after the (w+1)th operation sent by the second electronic device; after receiving the operation result after the (w+1)th operation, the first electronic device can determine whether the (w+1)th combination result (wherein the (w+1)th combination result is obtained based on the n (w+1)th operation results) converges, and display the target result and target parameter when the (w+1)th combination result converges. Since the user can update the first parameter in the first quantum circuit multiple times, the second electronic device can respectively run the second quantum circuit after each update, and send the operation result to the first electronic device.
- the first electronic device After receiving the operation result each time, the first electronic device can determine whether the combination result (the combination result may be the operation result, or may be the result obtained based on the operation result) converges, and display the target result and target parameter when the combination result converges.
- the solution provided in the embodiment of the present application can be calculated through an iterative operation method. Compared with the prior art where the iterative operation method cannot be used because the constructed circuit is a fixed circuit, the solution provided in the embodiment of the present application can optimize the parameters of the quantum circuit to achieve the best measurement result.
- the method further includes: in response to the first operation of the user, displaying the n second quantum circuits.
- a first electronic device in response to a first operation of a user, can display n second quantum circuits, and can show the specific adaptation made by the second electronic device to run a variational quantum algorithm, so that the user can intuitively see the underlying operating logic and enhance the perception of quantum hardware.
- a method of quantum computing which is applied to a second electronic device, and includes: receiving n second quantum circuits sent by a first electronic device, where the n quantum circuits are quantum circuits obtained by splitting the first quantum circuit; running the n second quantum circuits to obtain n first running results; and sending the running results to the first electronic device, where the running results indicate results obtained by running the n second quantum circuits.
- the second electronic device can receive n second quantum circuits sent by the first electronic device, and obtain n first operation results after running the n second quantum circuits.
- the solution provided in the embodiment of the present application can not only simplify the operation process of repeated compilation, but also return the operation results of multiple directions in one operation, without the need for the user to repeatedly send quantum circuits for desired measurements in different directions.
- the first quantum circuit includes quantum measurements in n directions
- the second quantum circuit includes quantum measurements in one direction
- the first quantum circuit includes quantum measurements in n directions.
- n second quantum circuits can be obtained, and each second quantum circuit includes quantum measurements in one direction, which is conducive to improving the accuracy of the first electronic device splitting the first quantum circuit, thereby improving the accuracy of the n first operation results obtained after the second electronic device runs the n second quantum circuits.
- the first quantum circuit includes a quantum operation including a first parameter, and a specific value of the first parameter is variable.
- the first quantum circuit may include a quantum operation including a first parameter, and the specific value of the first parameter is variable.
- the method provided in the present application can obtain different quantum circuits by changing the specific value of the parameter, thereby improving flexibility and diversity.
- the quantum operation containing the first parameter includes multiple quantum operations
- the first quantum circuit also includes a quantum operation containing a second parameter
- the quantum operation containing the second parameter is obtained through a combination operation gate
- the combination operation gate is a combination gate including the multiple quantum operations.
- the first quantum circuit may further include a quantum operation containing a second parameter, that is, the first quantum circuit may include a quantum operation containing the first parameter and a quantum operation containing the second parameter, and the quantum operation containing the second parameter is obtained through a combined operation gate. Since the quantum operation containing the second parameter in the first quantum circuit is obtained through a combined operation gate, compared with the solution in the prior art that requires the user to drag each quantum operation to the quantum circuit separately, the solution provided by the embodiment of the present application can simplify the user's operation.
- the operation result includes the n first operation results or the first combination results
- the n first operation results are the results obtained by the second electronic device running the n second quantum circuits
- the first combination result is obtained based on the n first operation results.
- the first combination result is determined based on the n first operation results and the coefficients of the corresponding measurement operators in the first quantum circuit.
- the first combination result can be based on n first
- the running result is determined by the coefficient of the corresponding measurement operator in the first quantum circuit. Different first combination results can be obtained by setting different coefficients, which can improve the flexibility of quantum computing.
- the method also includes: receiving a second quantum circuit after the first parameter is updated for the wth time and sent by the first electronic device, where w starts from 1; running the second quantum circuit after the first parameter is updated for the wth time to obtain n (w+1)th running results; and sending the running results after the (w+1)th running to the first electronic device, where the running results after the (w+1)th running include n (w+1)th running results or (w+1)th combination results, and the (w+1)th combination result is obtained based on the n (w+1)th running results.
- the second electronic device can receive the second quantum circuit after the wth update sent by the first electronic device, and run the second quantum circuit after the first parameter is updated for the wth time to obtain n (w+1)th running results, and then send the running results after the (w+1)th running to the first electronic device; so that the first electronic device can judge whether the (w+1)th combination result converges according to the running results after the (w+1)th running of the received second electronic device, and display the target result and target parameter when the (w+1)th combination result converges.
- the second electronic device can run the second quantum circuit after each update respectively, and send the running results to the first electronic device, so that the first electronic device can judge whether the combination result (the combination result may be the running result, or the result obtained based on the running result) converges after each receiving of the running results, and display the target result and target parameter when the combination result converges.
- the solution provided in the embodiment of the present application can be calculated through an iterative operation method. Compared with the prior art where the iterative operation method cannot be used because the constructed circuit is a fixed circuit, the solution provided in the embodiment of the present application can optimize the parameters of the quantum circuit to achieve the best measurement result.
- a device which includes a module or unit corresponding to a method for executing any possible implementation of the first aspect or the second aspect.
- a device comprising: one or more processors; a memory; one or more applications; and one or more computer programs.
- the one or more computer programs are stored in the memory, and the one or more computer programs include instructions.
- the device When the instructions are executed by the device, the device performs the method in any possible implementation of the first aspect or the second aspect.
- a chip system comprising at least one processor.
- program instructions are executed in the at least one processor, the function of the method in any possible implementation of the first aspect or any possible implementation of the second aspect is implemented on the electronic device.
- a computer storage medium comprising computer instructions.
- the computer instructions When the computer instructions are executed on an electronic device, the electronic device executes a method in any possible implementation of the first aspect or the second aspect.
- a computer program product is provided.
- the computer program product runs on an electronic device, the electronic device executes a method in any possible design of the first aspect or any possible design of the second aspect.
- FIG. 1 is a schematic diagram of a model to which the present application can be applied.
- FIG. 2 is a schematic diagram of a GUI provided in an embodiment of the present application.
- FIG3 is a schematic diagram of a quantum circuit provided in an embodiment of the present application.
- FIG. 4 is a schematic diagram of another GUI provided in an embodiment of the present application.
- FIG5 is a schematic diagram of a quantum computing method provided in an embodiment of the present application.
- FIG6 is a schematic diagram of a method for adding quantum measurement to a quantum bit provided in an embodiment of the present application.
- FIG. 7 is a schematic diagram of a parameter-containing subcircuit provided in an embodiment of the present application.
- FIG8 is a schematic diagram of a method for calculating a measurement operator set provided in an embodiment of the present application.
- FIG9 is a schematic diagram of two actual circuits running on hardware obtained by decomposing the quantum circuit of FIG7 according to an embodiment of the present application.
- FIG. 10 is a schematic diagram of another parameter-containing subcircuit provided in an embodiment of the present application.
- FIG11 is a schematic diagram of two actual circuits running on hardware obtained by decomposing the quantum circuit of FIG10 according to an embodiment of the present application.
- FIG12 is a schematic diagram of a quantum computing method provided in an embodiment of the present application.
- FIG13 is a schematic block diagram of a quantum computing device proposed in an embodiment of the present application.
- FIG14 is a schematic block diagram of another quantum computing device proposed in an embodiment of the present application.
- the technical solution of the embodiment of the present application can be applied to various computer devices, which can be terminal devices, such as mobile phones, tablet computers, computers with wireless transceiver functions, and wireless terminals used in scenarios such as virtual reality (VR), augmented reality (AR), industrial control, self-driving, remote medical, smart grid, transportation safety, smart city, and smart home.
- terminal devices such as mobile phones, tablet computers, computers with wireless transceiver functions, and wireless terminals used in scenarios such as virtual reality (VR), augmented reality (AR), industrial control, self-driving, remote medical, smart grid, transportation safety, smart city, and smart home.
- terminal devices such as mobile phones, tablet computers, computers with wireless transceiver functions
- wireless terminals used in scenarios such as virtual reality (VR), augmented reality (AR), industrial control, self-driving, remote medical, smart grid, transportation safety, smart city, and smart home.
- the aforementioned terminal devices and chips applicable to the aforementioned terminal devices are collectively referred to as terminal devices.
- the computer device may also be a network device, such as a server in a data center, a home base station, an access point (AP) in a wireless fidelity (WIFI) system, a wireless relay node, a wireless backhaul node, a transmission point (TP) or a transmission and reception point (TRP), etc., or a component or a part of a base station, such as a central unit (CU), a distributed unit (DU) or a baseband unit (BBU).
- a network device may refer to the network device itself, or it may be a chip used in the network device to complete the wireless communication processing function.
- the terminal device or network device includes a hardware layer, an operating system layer running on the hardware layer, and an application layer running on the operating system layer.
- the hardware layer includes hardware such as a central processing unit (CPU), a memory management unit (MMU), and a memory (also called main memory).
- the operating system can be any one or more computer operating systems that implement business processing through processes, such as Linux operating system, Unix operating system, Android operating system, iOS operating system, or Windows operating system.
- the application layer includes applications such as browsers, address books, word processing software, and instant messaging software.
- computer-readable storage media may include, but are not limited to: magnetic storage devices (e.g., hard disks, floppy disks, or tapes, etc.), optical disks (e.g., compact discs (CDs), digital versatile discs (DVDs), etc.), smart cards, and flash memory devices (e.g., erasable programmable read-only memory (EPROM), cards, sticks, or key drives, etc.).
- magnetic storage devices e.g., hard disks, floppy disks, or tapes, etc.
- optical disks e.g., compact discs (CDs), digital versatile discs (DVDs), etc.
- smart cards e.g., erasable programmable read-only memory (EPROM), cards, sticks, or key drives, etc.
- EPROM erasable programmable read-only memory
- various storage media described herein may represent one or more devices and/or other machine-readable storage media for storing information.
- machine-readable storage medium may include, but is not limited to, wireless channels and various other media capable of storing, containing and/or carrying instructions and/or data.
- first, second, and third in the embodiments of the present application are only for distinction and should not constitute any limitation to the present application.
- first information and second information in the embodiments of the present application refer to information transmitted between the network device and the terminal device.
- the size of the serial number of each process does not mean the order of execution.
- the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
- pre-definition and the like can be implemented by pre-saving corresponding codes, tables or other methods that can be used to indicate relevant information in devices (for example, including terminal devices and network devices).
- the present application does not limit its specific implementation method, such as the preset rules and preset constants in the embodiments of the present application.
- a and/or B can represent: A exists alone, A and B exist at the same time, and B exists alone.
- the character "/" generally indicates that the associated objects are in an "or” relationship.
- Quantum computing is a new type of computing that utilizes quantum properties such as quantum superposition and quantum entanglement. Similar to traditional computers based on transistor gate circuits, quantum circuits composed of quantum gates can also be used to implement quantum computing. Specific quantum circuits construct quantum algorithms. Common classical quantum algorithms include the prime factorization algorithm proposed by Shor, the database search algorithm proposed by Grover, and the Harrow-Hassidim-Lloyd (HHL) linear equations solution algorithm. The common feature of these quantum algorithms is that they utilize specific quantum circuits, and the results can be obtained by running them once, and the entire process does not require the participation of classical computing. However, since there is no real universal quantum computer on hardware at present, the application of these quantum algorithms is extremely limited.
- NISQ intermediate-scale quantum computing
- Quantum computer gives full play to its computing speed advantage and quickly completes some calculation results that are difficult for classical computers to handle.
- Common classical-quantum hybrid algorithms include quantum approximate optimization algorithm (QAOA), variational quantum eigensolver (VQE), and neural network training using quantum circuits.
- Cloud services can be understood as follows: an interactive interface and a command line interface are provided on the web page. Users can use these two methods to write quantum circuits (users can write according to predetermined rules when writing quantum circuits. The predetermined rules may be operations that require measurement of a certain quantum bit), and then send them to the quantum computer on the server side.
- the quantum computer executes the user's code command and returns the result to the user.
- the result returned each time is in a single direction.
- what is returned is the projection of the quantum state in the Z direction, that is, the probability of the quantum state in the Z direction.
- the result of quantum calculation is Tr( ⁇ H).
- the expectation value in the X direction i.e., b + b *
- the expectation value in the Y direction i.e., bb *
- the expectation measurement operator in any direction can be decomposed by the expectation operators in the X, Y, and Z directions.
- the simulator can directly obtain the density matrix representation of the quantum state, and thus can directly calculate the expected measurement results in multiple directions (including X, Y and Z directions).
- quantum computing there is a quantum circuit writer at the bottom of the interface, which contains symbols representing quantum operations and linear elements representing quantum bits. Users can drag and drop symbols representing quantum operations to the corresponding quantum bits, and then the quantum circuit can be translated into a script language (which can be understood as a computer language for quantum operations). Alternatively, user commands provided through the command line interface can also be converted into quantum circuits, which can be translated into script languages and dynamically generate graphical representations.
- the quantum elements representing quantum operations only provide probability measurements in a single direction (generally the Z direction).
- Another way of quantum computing is to obtain two quantum circuits, then compile and run the first quantum circuit first, and then dynamically compile and run the second quantum circuit based on the running results of the first quantum circuit.
- the two quantum circuits can run on different hardware.
- this method converts a single parameter-containing quantum circuit into multiple quantum circuits for operation, which requires repeated compilation and running of quantum circuits, and the operation is complicated.
- the returned results are all the probability results of the quantum state in a single direction (generally the Z direction). If you want to get the results in other directions, you need to rotate the projection in the X direction or Y direction to the Z direction and then measure it.
- the present application provides a method for quantum computing.
- the quantum circuit can be decomposed into actual quantum circuits expected to be measured in multiple directions.
- the actual quantum circuits expected to be measured in multiple directions can be independently run on the hardware to obtain multiple running results.
- the multiple running results can be sent, which not only simplifies the operation process of repeated compilation, but also returns the running results in multiple directions in one run, without the need for the user to repeatedly send quantum circuits expected to be measured in different directions.
- This application can be applied to the model shown in Figure 1.
- Users can control the quantum computer on hardware through a quantum computing platform.
- the quantum computing platform encapsulates some functions of the quantum computer and provides an interface to the user. Users can conveniently control the quantum computer and run various quantum algorithms and functions through the quantum computing platform.
- the quantum computing platform applicable to the present application is usually implemented on a classical computer device, which can be a personal computer, a server in a data center, or a portable personal mobile phone, etc.
- the black solid circle indicates a specific quantum operation, for example, It is a Hadamard gate that can operate on a quantum bit.
- This gate can be represented by a matrix: It is a rotation operation gate around the X axis, containing a parameter a, which can operate one quantum bit.
- the black dotted circles in Figure 2 represent quantum measurements, which, from left to right, represent: the probability of the measurement result in the Z direction being 0 or 1; the expected value in the X direction, the expected value in the Y direction, and the expected value in the Z direction.
- the operators representing the expected value in the X direction, the expected value in the Y direction, and the expected value in the Z direction can be combined.
- the icons in the upper right corner of Figure 2 represent functions that users can operate, including initialization, operation, backend, and actual circuit.
- initialization means setting all the parameters in the quantum circuit to a certain value, which can be all a certain value or all random numbers.
- the operation can be selected as a single run, or iterative operation based on the results returned by the quantum measurement.
- the backend can choose a simulator or actual hardware.
- the actual circuit can show the user the actual quantum circuit and how the results are processed when the quantum circuit is run on the hardware.
- quantum operations or quantum measurements shown in the figure include but are not limited to those shown in the figure, and quantum operations may also include other operations, and quantum measurements may also include desired measurement operators in other directions without limitation.
- Figure 3 is a schematic diagram of a quantum circuit provided in an embodiment of the present application.
- the user can drag and drop quantum operations and quantum measurements to the line representing the quantum bit to form a quantum circuit.
- the figure includes two quantum circuits, namely q0 and q1, wherein each quantum circuit represents an operation on a quantum bit, and therefore, the two quantum circuits included in the figure represent operations on two quantum bits.
- FIG. 4 shows a set of graphical user interfaces (GUIs) of a computer, wherein (a) to (l) in FIG. 4 show a method of quantum computing.
- GUIs graphical user interfaces
- the GUI is the desktop of the computer.
- the computer desktop may include a recycle bin, My Computer, a browser, etc.
- the browser may be started and the GUI shown in (b) of FIG4 may be displayed.
- the GUI may be referred to as the main interface of the browser.
- the interface displays a new blank web page, and the user can enter the URL the user wants to visit in the upper bar box. For example, the user can enter the first URL in the bar box, and the GUI shown in (c) of FIG. 4 is displayed.
- the first URL is displayed in the URL input box.
- the GUI shown in (d) of FIG. 4 is displayed.
- the interface displays the main page of quantum computing, wherein the items encircled by a solid black circle in the figure represent specific quantum operations, and the items encircled by a dotted black circle represent quantum measurements.
- the quantum operations or quantum measurements shown in (d) of FIG4 include but are not limited to those shown in the figure, and the quantum operations may also include other operations, and the quantum measurements may also include other measurements, without limitation.
- the user can drag any quantum operation or quantum measurement onto the line (such as lines q0, q1, and q2 shown in the figure). Drag it to line q0 and add the quantum operation Drag it onto line q1 to display the GUI shown in (e) of FIG4 .
- the interface shows that the line q0 includes quantum operations
- the circuit q1 includes quantum operations Among them, the parameters a, b, c, and d in the quantum operation are variable parameters.
- the user can also combine the quantum operations on the two lines. For example, the user can select all four quantum operations and right-click the mouse, and choose to combine them into a new quantum operation gate in the pop-up menu.
- the computer detects the user's above operation, it displays the GUI shown in (f) in Figure 4.
- the interface shows that the line q0 includes quantum operations And quantum measurement
- the circuit q1 includes quantum operations And quantum measurement
- the four quantum measurements can be combined into a combined measurement gate, that is, The new combined measurement gate is displayed on the top of the interface.
- a coefficient box is displayed above the interface, and the user can set the coefficient in the coefficient box.
- the coefficient measured in the Z direction is 0.22
- the coefficient measured in the X direction is 0.05.
- the user has completed the construction of the quantum circuit with parameters.
- the user can set it in the function area in the upper right corner of the interface.
- the GUI shown in (h) of Figure 4 is displayed.
- a menu is displayed below the function button “Initialize”, including: all 0 and random initial value, wherein, if the user selects all 0, it means that the initial values of all parameters in the quantum operation are set to 0; if the user selects random initial value, it means that the initial values of all parameters in the quantum operation are random values.
- the user can select any initialization setting, such as the user selects all 0, when the computer detects that the user clicks “all 0”, the GUI shown in (i) of FIG4 is displayed.
- a menu is displayed under “Backend”, including: Simulator and Hardware, and the user can select any backend setting.
- “Backend” including: Simulator and Hardware
- the GUI shown in (k) of FIG4 is displayed.
- the lower right corner of the interface shows the actual circuit of the quantum circuit running on the hardware.
- the circuit above the dotted line is the actual circuit of the hardware running in the Z direction
- the circuit below the dotted line is the actual circuit of the hardware running in the X direction.
- users can also update the parameters in the quantum operation to obtain different quantum circuits. For example, users can click on any quantum operation And update the parameter a in the quantum operation.
- the quantum computing method provided in the present application can construct a quantum circuit containing parameters, while in the prior art, when constructing a quantum circuit, it is necessary to specify the parameters as specific values, resulting in the constructed quantum circuit being a fixed circuit. Therefore, the method for constructing a quantum circuit provided in the present application can obtain different quantum circuits by changing the specific values of the parameters; since the quantum circuit of the present application can be changed according to the change of the parameters, it can be calculated by an iterative operation method.
- the scheme provided in the embodiment of the present application can optimize the parameters of the quantum circuit to achieve the best measurement result; in addition, for the quantum circuit running on the hardware, the present application is based on The quantum circuit is decomposed according to the expected measurement operators combined in the quantum circuit, and is decomposed into actual quantum circuits for expected measurements in multiple directions. The actual quantum circuits for expected measurements in multiple directions can be independently run on hardware to obtain multiple results. Finally, the multiple results can be combined to obtain measurement results of a multi-directional combination.
- the solution provided in the embodiment of the present application can not only simplify the operation process of repeated compilation, but also return a combination of expected measurement results in multiple directions in one operation even if the quantum circuit is run on hardware, without the need for the user to repeatedly send quantum circuits for expected measurements in different directions.
- FIG. 5 it is a schematic diagram of a quantum computing method provided in an embodiment of the present application, and the method may include steps S710 to S730.
- the embodiment of the present application takes a computer as an example of a quantum computing platform.
- the user can select any quantum operation to add to the first quantum bit.
- the user can select the quantum operation Added to qubit 1, as shown in (e) of FIG. 4 above, the user adds the quantum operation Drag it to line q0, the quantum operation It occupies 1 qubit, and here the qubit occupied by circuit q0 can be considered as qubit 1.
- users can add multiple quantum operations to qubits in a similar way.
- the user may also add quantum measurement to the quantum bit, and the user may perform the operation according to the method shown in FIG. 6 , which may include steps S810 to S850 .
- the user can select any quantum measurement to be added to the first quantum bit.
- the user can select quantum measurement Added to qubit 1, as shown in (g) of Figure 4 above, the user will quantum measurement Drag it to line q0, the quantum measurement It occupies 1 quantum bit.
- the quantum bit occupied by line q0 can be considered as quantum bit 1.
- the user selects the next quantum measurement to be added to the next qubit. At this point, the user may add the quantum measurement to qubit 1 or other qubits (such as qubit 2) without restriction.
- step S840 If not, execute step S840; if so, execute step S850.
- step S820 If not, return to step S820; if so, end.
- the computer When the computer recognizes that the user has added two quantum measurements in succession, it can first determine whether the two quantum measurements are on the same quantum bit. If the two quantum measurements are on the same quantum bit, it can continue to determine whether all quantum measurements have been added; if the two quantum measurements are on the same quantum bit, the two quantum measurements can be separated by a dotted line. The purpose of using a dotted line to separate them is to indicate that the two consecutive quantum measurements are not executed in sequence on the quantum circuit, but need to be integrated into a single measurement result according to the expression corresponding to the measurement symbol and returned.
- step S820 If the user chooses to measure the quantum Add to qubit 1, and select in step S820 to add quantum measurement Added to qubit 2, as shown in (g) of Figure 4 above, the user will quantum measurement Drag it to line q1. Since the two consecutive quantum measurements are added to different quantum bits respectively, the computer can proceed to the next step to determine whether all quantum measurements have been added. If it is determined that all quantum measurements have not been added, return to step S820 to select the next quantum measurement.
- next quantum measurement selected by the user is a quantum measurement
- add this quantum measurement to qubit 2 because now the quantum measurement
- the quantum measurement can be With the last added quantum measurement
- the dotted line separates the two consecutive quantum measurements on the quantum circuit, indicating that they are not performed in sequence, but need to be integrated into a single measurement result according to the expression corresponding to the measurement symbol.
- the parameter-containing quantum circuit may include two parameter-containing quantum circuits, namely q0 and q1, wherein the parameter-containing quantum circuit q0 includes quantum operations
- the parameterized quantum circuit q1 includes quantum operations These four quantum operations are combined into a new quantum operation gate, the quantum operation
- the parameters a, b, c, and d are variable.
- the parameter-containing quantum circuit q0 also includes quantum measurement It means that the parameterized quantum circuit q0 can calculate the expectation in the Z direction and the X direction; similarly, the parameterized quantum circuit q1 also includes quantum measurement It means that the parameterized quantum circuit q1 can calculate the expectations in the Z and X directions.
- the order in which the symbols are dragged and dropped on the same quantum bit represents the order in which the quantum operations are performed.
- the two quantum measurements can be separated by a dotted line, and the consecutive quantum measurements on different quantum bits can be framed together with a solid line, indicating that the measurements should be completed at the same time and a measurement result needs to be returned.
- both the parameter-containing quantum circuits q0 and q1 include quantum measurements Then, in the actual quantum computing process, the expectations of the parameterized quantum circuits q0 and q1 in the Z direction are completed at the same time, and the expectations of the parameterized quantum circuits q0 and q1 in the X direction are completed at the same time.
- the parameters in the quantum operation can be initialized, and all the parameters can be set to 0, or the parameters can be set to any other numerical value without restriction.
- step S714 can be executed, that is, the computer can simulate the quantum computer to run the quantum circuit on the computer, and output the integrated result, that is, jump to step S726.
- the computer simulates the quantum computer to run the quantum circuit on the computer, the output result is the combined value of the operation results in multiple directions.
- step S716 may be executed, that is, decomposing the quantum circuit to construct an actual circuit running on the hardware.
- the quantum circuit when decomposing a quantum circuit, the quantum circuit can be decomposed according to the measurement combination method selected by the user.
- FIG8 a schematic diagram of a method for calculating a measurement operator set provided in an embodiment of the present application is shown. The method may include steps S1010 to S1070.
- step S1040 can be directly executed; for any comparison of one of the measurement operators with all operators in the measurement operator set G other than the first time, since the measurement operator set G is not empty at this time, the measurement operator can be compared with the measurement operator set G. All operators in G are compared, and the execution of step S1040 or S1050 is determined according to the comparison result.
- step S1040 If yes, execute step S1040; if no, execute step S1050.
- S1050 merge the operator with an operator in the existing measurement operator set G.
- step S1070 If yes, execute step S1070; if no, return to step S1020.
- the first operator of H is X 1 X 2 , so the first measurement operator in the measurement operator set G that needs to be run on the hardware is X 1 X 2 ; the second operator of H is Z 1 Z 2 , which overlaps with the first qubit and the second qubit in the first operator in the measurement operator set G, but the measurement directions of the overlapping first qubit and the second qubit are different, so the second measurement operator Z 1 Z 2 can be added to the measurement operator set G. Therefore, the operator set G that needs to be measured on the hardware is finally obtained as ⁇ X 1 X 2 , Z 1 Z 2 ⁇ , that is, it needs to be run twice on the hardware.
- the quantum circuit corresponding to this expression can be decomposed into two actual circuits that run on the hardware.
- the first operator of H is X 1 X 2 , so the first measurement operator in the measurement operator set G that needs to be run on the hardware is X 1 X 2 ;
- the second operator of H is Z 1 , which overlaps with the first qubit in the first operator in the measurement operator set G, but the measurement direction of the overlapping first qubit is different, so the second measurement operator Z 1 can be added to the measurement operator set G;
- the third operator of H is Z 2 , which overlaps with the second qubit in the first operator X 1 X 2 in the measurement operator set G, but the overlapping measurement direction is different, and at the same time, it does not overlap with the qubit of the second operator Z 1 in the measurement operator set G, so the measurement operator Z 2 can be merged into the second operator in the measurement operator set G, that is, the second measurement operator becomes Z 1 Z 2 ;
- the fourth operator of H is Z 1 Z 2 , it completely overlaps with the qubit of the second measurement operator in the measurement operator set G, and the overlapping measurement directions are the
- the operator set G that ultimately needs to be measured on the hardware for the Hamiltonian expression of the hydrogen molecule is ⁇ X 1 X 2 , Z 1 Z 2 ⁇ , it needs to be run twice on the hardware. Therefore, the quantum circuit corresponding to the Hamiltonian expression of the hydrogen molecule can be decomposed into two actual circuits that run on the hardware.
- FIG 9 it is a schematic diagram of two actual circuits running on hardware obtained by decomposing the quantum circuit of Figure 7 provided in an embodiment of the present application.
- the circuit above the dotted line in Figure 9 is the actual circuit running in the Z direction of the hardware
- the circuit below the dotted line is the actual circuit running in the X direction of the hardware.
- the computer obtains the operation result of the actual line.
- step S726 If yes, execute step S726; if no, return to execute step S718.
- the computer can select one of the actual lines and send the actual line to the quantum computer. For example, the computer can first select the actual line running in the Z direction and send it to the quantum computer. After the quantum computer completes the processing, the operation result can be sent to the computer; then send another actual line to the quantum computer. After the quantum computer completes the processing, the operation result is sent to the computer. When the computer determines that all the actual lines have been run, it can output the integrated result.
- the integration result can be determined based on the operation result obtained after the quantum computer runs each actual circuit.
- the actual circuits constructed by the computer after decomposing the quantum circuit include two, namely, quantum measurement in the Z direction and quantum measurement in the X direction, and the coefficient of the measurement in the Z direction is a1, and the coefficient of the measurement in the X direction is a2, then we can first calculate Calculate the product of the running result in each direction and the coefficient measured in that direction, and then sum the products in multiple directions.
- step S730 If yes, execute step S730; if no, return to execute step S712.
- the computer When the computer obtains the integration result, it can first determine whether the integration result has converged. If it has converged, the current parameters and the integration result can be output to the user. If it has not converged, the parameters in the parameter-containing quantum operation can be updated, and the actual circuit running on the hardware can be reconstructed. The quantum computer will process the reconstructed actual circuit. After the processing is completed, the running results will be sent to the computer. The computer can integrate the running results again and determine whether the integration results have converged.
- the quantum computer after the quantum computer has run all actual circuits, it can obtain an integrated result based on the running results after running each actual circuit, and then send the integrated result to the computer without restriction.
- the result in the embodiment of the present application converges can be understood as: whether the integration result is the minimum value among all the results.
- the integration result obtained is w1; it is assumed that after the user updates the parameters for the second time (such as the user increases the first step length to the initialization parameters), the integration result obtained is w2, and w2 ⁇ w1, indicating that the direction of the step change is desirable at this time, and the user can update the parameters again; it is assumed that after the user updates the parameters for the third time (such as the user increases the second step length to the parameters after the second update, and the second step length is less than the first step length), the integration result obtained is w3, and w3 ⁇ w2 ⁇ w1, at this time the user can update the parameters again; it is assumed that after the user updates the parameters for the fourth time (such as the user increases the third step length to the parameters after the third update, and the third step length is less than the first step length), the integration result
- the user can also set the number of iterations, and the computer runs according to the set number of iterations, and can record the results after each run.
- the result with the smallest result can be selected from the results after multiple runs, and the result and the parameters corresponding to the result can be output.
- the scheme provided by the embodiment of the present application can construct a quantum circuit containing parameters, and different quantum circuits can be obtained by changing the specific values of the parameters; since the quantum circuit of the present application can change according to the change of the parameters, it can be calculated by an iterative operation method, and the parameters of the quantum circuit can be optimized by an iterative method, so that the result of the combined measurement is optimal; in addition, for the quantum circuit running on the hardware, the present application decomposes the quantum circuit according to the expected measurement operator combined in the quantum circuit, decomposing it into actual quantum circuits expected to be measured in multiple directions, and the actual quantum circuits expected to be measured in multiple directions can be independently run on the hardware to obtain multiple results, and finally the multiple results can be combined to obtain the measurement results of the multi-directional combination, which can not only simplify the operation process of repeated compilation, but also return the combination of the expected measurement results of multiple directions in one operation even if the quantum circuit is run on the hardware, without the need for the user to repeatedly send the quantum circuits for the expected measurement in different directions.
- the present application can return the combination of the measurement results of multiple directions to the user, and can preserve the measurement results of multiple directions, so that some quantum circuits that rely on more information can be run, and the variational quantum algorithm of the classical-quantum hybrid can also be run.
- the VQE algorithm is used to solve the eigenenergy of the above Hamiltonian, since the algorithm requires interaction between the two qubits, the user can drag a controlled-not gate (CNOT) and 8 parameters are required to get a reasonable result, so the user can add the previously defined Drag and drop it onto the line again and remap the parameters to The parameters it needs to receive are the same as the previous The received parameters are completely different, namely a', b', c' and d'. Finally, select the measurement operation in the X direction from the quantum measurement and apply it to q0 and q1. Then continue to apply a measurement operation in the Z direction to q0.
- CNOT controlled-not gate
- the quantum circuit is decomposed according to the method shown in FIG8, and the actual circuit running on the hardware is shown in FIG11.
- the circuit above the dotted line in FIG11 is the actual circuit running in the Z direction of the hardware, and the circuit below the dotted line is the actual circuit running in the X direction of the hardware.
- FIG. 12 a schematic diagram of a quantum computing method provided in an embodiment of the present application is shown.
- the method can be performed by a first electronic device and a second electronic device, wherein the first electronic device can be the computer in the above embodiment, and the second electronic device can be the computer in the above embodiment.
- the method may include steps 1210 to 1260.
- a first electronic device splits the first quantum circuit to obtain n second quantum circuits.
- n can be an integer greater than or equal to 2.
- n second quantum circuits in the embodiment of the present application are the actual circuits mentioned in the above example.
- the number of second quantum circuits is the number of actual circuits in the above example.
- the first electronic device sends the n second quantum circuits to a second electronic device.
- the second electronic device receives n second quantum circuits sent by the first electronic device.
- the second electronic device runs the n second quantum circuits to obtain n first running results.
- the second electronic device sends an operation result to the first electronic device, where the operation result indicates a result obtained by operating the n second quantum circuits.
- the first electronic device receives the operation result sent by the second electronic device.
- the first quantum circuit includes quantum measurements in n directions
- the second quantum circuit includes quantum measurements in one direction.
- each second quantum circuit in the embodiment of the present application includes quantum measurement in one direction, and the directions of the quantum measurements included in each second quantum circuit are different.
- the first quantum circuit includes quantum measurements in two directions (such as the X direction and the Z direction)
- two second quantum circuits can be obtained, of which one second quantum circuit can include quantum measurement in one direction (such as the X direction), and the other second quantum circuit can include quantum measurement in another direction (such as the Z direction).
- the first quantum circuit includes quantum measurements in n directions.
- n second quantum circuits can be obtained, and each second quantum circuit includes quantum measurements in one direction, which can ensure the accuracy of splitting the first quantum circuit, and is conducive to the second electronic device improving the accuracy of the n first operation results obtained after running the n second quantum circuits.
- splitting the first quantum circuit includes:
- the first quantum circuit is split according to the measurement operator corresponding to the first quantum circuit.
- the content of splitting the first quantum circuit according to the measurement operator corresponding to the first quantum circuit can refer to the content shown in Figure 8 above, and will not be repeated here.
- the first electronic device can split the first quantum circuit according to the measurement operator corresponding to the first quantum circuit, which can improve the accuracy of splitting the first quantum circuit, and further improve the accuracy of n first operation results obtained after the second electronic device runs n second quantum circuits.
- the measurement operators corresponding to the first quantum circuit include M, and splitting the first quantum circuit according to the measurement operators corresponding to the first quantum circuit includes:
- j-th measurement operator For the j-th measurement operator, add the j-th measurement operator to the measurement operator set, where j is any value less than or equal to M;
- For the kth measurement operator determine whether there is a measurement operator with the same qubit as the kth measurement operator and a different direction in the measurement operator set, where k traverses from 1 to M and k ⁇ j;
- the kth measurement operator is merged with the measurement operator already existing in the measurement operator set, or the kth measurement operator is added to the measurement operator set.
- the first electronic device can add the jth measurement operator to the measurement operator set, and for the kth measurement operator, the first electronic device can determine whether there is a measurement operator with the same quantum bit as the kth measurement operator and a different direction in the measurement operator set, and perform further operations based on the determination result to split the first quantum circuit.
- the number of second quantum circuits obtained after splitting the first quantum circuit by this method is the minimum, thereby ensuring that the second electronic device runs the minimum number of second quantum circuits, reducing the running time and improving efficiency.
- the kth measurement operator is compared with the existing measurement operator in the measurement operator set according to the judgment result.
- the method comprises: merging the kth measurement operator with the kth measurement operator, or adding the kth measurement operator to the measurement operator set, comprising: if there exists a measurement operator with the same qubit as the kth measurement operator and a different direction in the measurement operator set, adding the kth measurement operator to the measurement operator set; if there does not exist a measurement operator with the same qubit as the kth measurement operator and/or a different direction in the measurement operator set, merging the kth measurement operator with the measurement operator already existing in the measurement operator set.
- the first electronic device may add the kth measurement operator to the measurement operator set; if there does not exist a measurement operator with the same quantum bit as the kth measurement operator and/or a different direction in the measurement operator set, the first electronic device may merge the kth measurement operator with the measurement operator already existing in the measurement operator set to split the first quantum circuit.
- the number of second quantum circuits obtained after splitting the first quantum circuit by this method is minimized, thereby ensuring that the second electronic device runs the least number of second quantum circuits, reducing the running time and improving the efficiency.
- the first quantum circuit includes a quantum operation including a first parameter, and a specific value of the first parameter is variable.
- the first quantum circuit may further include a quantum operation including a first parameter, and the specific value of the first parameter may be variable.
- the method provided in the present application can obtain different quantum circuits by changing the specific values of the parameters, thereby improving flexibility and diversity.
- the quantum operation containing the first parameter includes multiple quantum operations
- the first quantum circuit also includes a quantum operation containing a second parameter
- the quantum operation containing the second parameter is obtained through a combination operation gate
- the combination operation gate is a combination gate including the multiple quantum operations.
- the first quantum circuit may further include a quantum operation containing a second parameter, that is, the first quantum circuit may include a quantum operation containing the first parameter and a quantum operation containing the second parameter, and the quantum operation containing the second parameter is obtained through a combined operation gate. Since the quantum operation containing the second parameter in the first quantum circuit is obtained through a combined operation gate, compared with the solution in the prior art that requires the user to drag each quantum operation to the quantum circuit separately, the solution provided by the embodiment of the present application can simplify the user's operation.
- the operation result includes n first operation results or a first combination result determined based on the n first operation results, and the n first operation results are results obtained by the second electronic device running the n second quantum circuits.
- the operation result includes n first operation results
- the method further includes: determining a first combination result according to the n first operation results and coefficients of corresponding measurement operators in the first quantum circuit.
- the coefficients of the measurement operator corresponding to the first quantum circuit in the embodiment of the present application can be the coefficients 0.22 and 0.05 displayed above the quantum measurement shown in (g) in Figure 4; these n first operation results include the operation results in n directions, and the first combination result is the product of the first operation result in the X direction and the coefficient 0.05 measured in the X direction, and the product of the first operation result in the Z direction and the coefficient 0.22 measured in the Z direction, and the sum of the two.
- the first electronic device can determine the first combination result according to the n first operation results and the coefficients of the corresponding measurement operators in the first quantum circuit. Different first combination results can be obtained by setting different coefficients, which can improve the flexibility of quantum computing.
- the first quantum circuit is a quantum circuit after initializing the first parameter, and the method further includes:
- the first electronic device receives the user's operation of updating the first parameter for the wth time, and sends a second quantum circuit after the first parameter is updated to the second electronic device, where w starts to take a value from 1;
- the second electronic device receives the second quantum circuit sent by the first electronic device after the first parameter is updated for the wth time;
- the second electronic device runs the second quantum circuit after the first parameter is updated for the wth time to obtain n (w+1)th running results;
- the second electronic device sends an operation result after the (w+1)th operation to the first electronic device, where the operation result after the (w+1)th operation includes n (w+1)th operation results or (w+1)th combination results, and the (w+1)th combination result is obtained based on the n (w+1)th operation results;
- the first electronic device receives the operation result after the (w+1)th operation sent by the second electronic device;
- the first electronic device determines whether the (w+1)th combination result converges
- the first electronic device displays a target result and a target parameter, wherein the target result is the combination result with the smallest value, and the target parameter is a parameter corresponding to the combination result with the smallest value.
- the user can update the first parameter multiple times
- the first electronic device can send the second quantum circuit after the wth update to the second electronic device
- the second electronic device can run the second quantum circuit after the first parameter is updated for the wth time to obtain n (w+1)th running results, and send the running results after the (w+1)th running to the first electronic device
- the first electronic device can determine whether the (w+1)th combination result (wherein the (w+1)th combination result is obtained based on the n (w+1)th running results) converges, and display the target result and target parameter when the (w+1)th combination result converges.
- the second electronic device can run the second quantum circuit after each update respectively, and send the running results to the first electronic device. After receiving the running results each time, the first electronic device can determine whether the combination result (which may be the running result or the result obtained based on the running result) converges, and display the target result and target parameter when the combination result converges.
- the solution provided in the embodiment of the present application can be calculated through an iterative operation method. Compared with the prior art where the iterative operation method cannot be used because the constructed circuit is a fixed circuit, the solution provided in the embodiment of the present application can optimize the parameters of the quantum circuit to achieve the best measurement result.
- the method further comprises: in response to the first operation of the user, displaying the n second quantum circuits.
- a first electronic device in response to a first operation of a user, can display n second quantum circuits, and can show the specific adaptation made by the second electronic device to run a variational quantum algorithm, so that the user can intuitively see the underlying operating logic and enhance the perception of quantum hardware.
- the devices in the existing network architecture are mainly used as examples for exemplary description, and it should be understood that the embodiments of the present application do not limit the specific form of the devices. For example, devices that can achieve the same function in the future are applicable to the embodiments of the present application.
- the methods and operations implemented by devices can also be implemented by components that can be used in the devices (such as chips or circuits).
- the above is a detailed description of the quantum computing method provided by the embodiment of the present application in combination with FIG12.
- the above quantum computing method is mainly introduced from the perspective of the interaction between the first electronic device and the second electronic device. It can be understood that the first electronic device and the second electronic device, in order to implement the above functions, include hardware structures and/or software modules corresponding to the execution of each function.
- the embodiment of the present application can divide the functional modules of the transmitting end device or the receiving end device according to the above method example.
- each functional module can be divided corresponding to each function, or two or more functions can be integrated into one processing module.
- the above integrated module can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of modules in the embodiment of the present application is schematic and is only a logical functional division. There may be other division methods in actual implementation. The following is an example of dividing each functional module corresponding to each function.
- FIG. 13 is a schematic block diagram of a quantum computing device 1300 provided in an embodiment of the present application.
- the quantum computing device 1300 may include a transceiver module 1310 and a processing module 1320.
- the transceiver module 1310 may implement corresponding communication functions, and the processing module 1320 is used to perform data
- the transceiver module 1310 may also be referred to as a communication interface or a communication unit.
- the quantum computing device 1300 may further include a storage unit, which may be used to store instructions and/or data, and the processing module 1320 may read the instructions and/or data in the storage unit so that the device implements the aforementioned method embodiment.
- a storage unit which may be used to store instructions and/or data
- the processing module 1320 may read the instructions and/or data in the storage unit so that the device implements the aforementioned method embodiment.
- the quantum computing device 1300 can be used to execute the actions executed by the electronic devices (such as the first electronic device and the second electronic device) in the above method embodiments.
- the quantum computing device 1300 can be a first electronic device, such as a computer, and the transceiver module 1310 is used to execute the transceiver-related operations on the first electronic device side in the above method embodiments, and the processing module 1320 is used to execute the processing-related operations on the first electronic device side in the above method embodiments.
- the quantum computing device 1300 is used to execute the actions performed by the first electronic device in the above method embodiment.
- the processing module 1320 is configured to split the first quantum circuit to obtain n second quantum circuits
- the transceiver module 1310 is used to send the n second quantum circuits to a second electronic device; and is also used to receive an operation result sent by the second electronic device, where the operation result indicates a result obtained by running the n second quantum circuits.
- the quantum computing device 1300 can implement the steps or processes performed by the first electronic device in the method embodiment according to the embodiment of the present application, and the quantum computing device 1300 may include a unit for executing the method performed by the first electronic device in the method embodiment.
- each unit in the quantum computing device 1300 and the above-mentioned other operations and/or functions are respectively for implementing the corresponding processes of the method embodiment in the first electronic device in the method embodiment.
- the device 1300 is used to execute the actions performed by the second electronic device in the above method embodiment.
- the transceiver module 1310 is configured to receive n second quantum circuits sent by the first electronic device, where the n quantum circuits are quantum circuits obtained by splitting the first quantum circuit;
- a processing module 1320 is used to run the n second quantum circuits to obtain n first running results
- the transceiver module 1310 is further configured to send the operation result to the first electronic device, where the operation result indicates a result obtained by operating the n second quantum circuits.
- the quantum computing device 1300 can implement the steps or processes performed by the second electronic device in the method embodiment according to the embodiment of the present application, and the quantum computing device 1300 may include a unit for executing the method performed by the second electronic device in the method embodiment.
- each unit in the quantum computing device 1300 and the above-mentioned other operations and/or functions are respectively for implementing the corresponding processes of the method embodiment in the second electronic device in the method embodiment.
- the processing module 1320 in the above embodiment may be implemented by at least one processor or processor-related circuits.
- the transceiver module 1310 may be implemented by a transceiver or a transceiver-related circuit.
- the storage unit may be implemented by at least one memory.
- the embodiment of the present application further provides a quantum computing device 1500.
- the device 1500 includes a processor 1510 and may also include one or more memories 1520.
- the processor 1510 is coupled to the memory 1520, and the memory 1520 is used to store computer programs or instructions and/or data.
- the processor 1510 is used to execute the computer programs or instructions and/or data stored in the memory 1520, so that the method in the above method embodiment is executed.
- the device 1500 includes one or more processors 1510.
- the memory 1520 may be integrated with the processor 1510 or provided separately.
- the device 1500 may further include a transceiver 1530, and the transceiver 1530 is used for receiving and/or sending signals.
- the processor 1510 is used to control the transceiver 1530 to receive and/or send signals.
- the device 1500 is used to implement the operations performed by the quantum computing device (such as the first electronic device or the second electronic device mentioned above) in the above method embodiments.
- An embodiment of the present application also provides a computer-readable storage medium on which computer instructions for implementing the method executed by a quantum computing device (such as the first electronic device or the second electronic device) in the above method embodiment are stored.
- a quantum computing device such as the first electronic device or the second electronic device
- the computer when the computer program is executed by a computer, the computer can implement the method performed by the quantum computing device (such as the first electronic device or the second electronic device) in the above method embodiment.
- the quantum computing device such as the first electronic device or the second electronic device
- An embodiment of the present application also provides a computer program product comprising instructions, which, when executed by a computer, enables the computer to implement the method performed by the quantum computing device (such as the first electronic device or the second electronic device) in the above method embodiment.
- An embodiment of the present application also provides a system, which includes the first electronic device and the second electronic device in the above embodiment.
- processors mentioned in the embodiments of the present application may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
- DSP digital signal processors
- ASIC application-specific integrated circuits
- FPGA field programmable gate arrays
- a general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.
- the memory mentioned in the embodiments of the present application may be a volatile memory and/or a non-volatile memory.
- the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory.
- the volatile memory may be a random access memory (RAM).
- a RAM may be used as an external cache.
- RAM may include the following forms: static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), and direct rambus RAM (DR RAM).
- SRAM static RAM
- DRAM dynamic RAM
- SDRAM synchronous DRAM
- DDR SDRAM double data rate SDRAM
- ESDRAM enhanced SDRAM
- SLDRAM synchronous link DRAM
- DR RAM direct rambus RAM
- the processor is a general-purpose processor, DSP, ASIC, FPGA or other programmable logic device, discrete gate or transistor logic device, discrete hardware component, the memory (storage module) can be integrated into the processor.
- memory described herein is intended to include, but is not limited to, these and any other suitable types of memory.
- the disclosed devices and methods can be implemented in other ways.
- the device embodiments described above are only schematic.
- the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed.
- the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
- the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to implement the solution provided by the present application.
- each functional unit in each embodiment of the present application may be integrated into one unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
- the computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices.
- the computer can be a personal computer, a server, or a network device, etc.
- 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 by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center.
- 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 contains one or more available media integrations.
- the available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a magnetic tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid state disk (SSD)).
- the aforementioned available medium may include, but is not limited to: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and other media that can store program codes.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Software Systems (AREA)
- Computational Mathematics (AREA)
- Artificial Intelligence (AREA)
- Condensed Matter Physics & Semiconductors (AREA)
- Data Mining & Analysis (AREA)
- Evolutionary Computation (AREA)
- Mathematical Analysis (AREA)
- Mathematical Optimization (AREA)
- Pure & Applied Mathematics (AREA)
- Computing Systems (AREA)
- Mathematical Physics (AREA)
- Superconductor Devices And Manufacturing Methods Thereof (AREA)
Abstract
Description
Claims (21)
- 一种量子计算的方法,其特征在于,所述方法应用于第一电子设备,所述方法包括:对第一量子线路进行拆分,获得n个第二量子线路;向第二电子设备发送所述n个第二量子线路;接收所述第二电子设备发送的运行结果,所述运行结果指示运行所述n个第二量子线路得到的结果。
- 根据权利要求1所述的方法,其特征在于,所述第一量子线路包括n个方向的量子测量,所述n个第二量子线路中的任一第二量子线路包括所述n个方向中的一个方向的量子测量。
- 根据权利要求1或2所述的方法,其特征在于,所述对所述第一量子线路进行拆分,包括:根据所述第一量子线路所对应的测量算符对所述第一量子线路进行拆分。
- 根据权利要求3所述的方法,其特征在于,所述第一量子线路所对应的测量算符包括M个,所述根据所述第一量子线路所对应的测量算符对所述第一量子线路进行拆分,包括:对于第j个测量算符,将所述第j个测量算符添加至测量算符集合中,j为小于或等于M的任一数值;对于第k个测量算符,判断所述测量算符集合中是否存在与所述第k个测量算符相同量子比特且不同方向的测量算符,k遍历1至M且k≠j;根据判断结果将所述第k个测量算符与所述测量算符集合中已存在的测量算符合并,或,将所述第k个测量算符添加至所述测量算符集合中。
- 根据权利要求4所述的方法,其特征在于,所述根据判断结果将所述第k个测量算符与所述测量算符集合中已存在的测量算符合并,或,将所述第k个测量算符添加至所述测量算符集合中,包括:若所述测量算符集合中存在与所述第k个测量算符相同量子比特且不同方向的测量算符,将所述第k个测量算符添加至所述测量算符集合中;若所述测量算符集合中不存在与所述第k个测量算符相同量子比特和/或不同方向的测量算符,将所述第k个测量算符与所述测量算符集合中已存在的测量算符合并。
- 根据权利要求1至5中任一项所述的方法,其特征在于,所述第一量子线路包括含第一参数的量子操作,所述第一参数的具体数值可变。
- 根据权利要求6所述的方法,其特征在于,所述含所述第一参数的量子操作包括多个量子操作,所述第一量子线路还包括含第二参数的量子操作,所述含第二参数的量子操作通过组合操作门获得,所述组合操作门为包括所述多个量子操作的组合门。
- 根据权利要求1至7中任一项所述的方法,其特征在于,所述运行结果包括n个第一运行结果或基于所述n个第一运行结果确定的第一组合结果,所述n个第一运行结果为所述第二电子设备运行所述n个第二量子线路得到的结果。
- 根据权利要求8所述的方法,其特征在于,所述运行结果包括n个第一运行结果,所述方法还包括:根据所述n个第一运行结果和所述第一量子线路中所对应的测量算符的系数确定第一组合结果。
- 根据权利要求8或9所述的方法,其特征在于,所述第一量子线路为初始化第一参数后的量子线路,所述方法还包括:接收用户第w次更新所述第一参数的操作,并向第二电子设备发送更新所述第一参数后的第二量子线路,w从1开始取值;接收所述第二电子设备发送的第(w+1)次运行后的运行结果,所述第(w+1)次运行后的运行结果包括n个第(w+1)运行结果或第(w+1)组合结果,所述第(w+1)组合结果基于所述n个第(w+1)运行结果得到;判断所述第(w+1)组合结果是否收敛;在所述第(w+1)组合结果收敛的情况下,显示目标结果和目标参数,所述目标结果为组合结果中数值最小的,所述目标参数为所述数值最小的组合结果所对应的参数。
- 根据权利要求1至10中任一项所述的方法,其特征在于,所述方法还包括:响应于所述用户的第一操作,显示所述n个第二量子线路。
- 一种量子计算的方法,其特征在于,所述方法应用于第二电子设备,所述方法包括:接收第一电子设备发送的n个第二量子线路,所述n个量子线路为对第一量子线路进行拆分后的量子线路;运行所述n个第二量子线路,得到n个第一运行结果;向所述第一电子设备发送运行结果,所述运行结果指示运行所述n个第二量子线路得到的结果。
- 根据权利要求12所述的方法,其特征在于,所述第一量子线路包括n个方向的量子测量,所述n个第二量子线路中的任一第二量子线路包括所述n个方向中的一个方向的量子测量。
- 根据权利要求12或13所述的方法,其特征在于,所述第一量子线路包括含第一参数的量子操作,所述第一参数的具体数值可变。
- 根据权利要求14所述的方法,其特征在于,所述含所述第一参数的量子操作包括多个量子操作,所述第一量子线路还包括含第二参数的量子操作,所述含第二参数的量子操作通过组合操作门获得,所述组合操作门为包括所述多个量子操作的组合门。
- 根据权利要求12至15中任一项所述的方法,其特征在于,所述运行结果包括所述n个第一运行结果或第一组合结果,所述n个第一运行结果为所述第二电子设备运行所述n个第二量子线路得到的结果,所述第一组合结果基于所述n个第一运行结果获得。
- 根据权利要求16所述的方法,其特征在于,若所述运行结果包括所述第一组合结果,所述第一组合结果基于所述n个第一运行结果和所述第一量子线路中所对应的测量算符的系数确定。
- 根据权利要求16或17所述的方法,其特征在于,所述方法还包括:接收所述第一电子设备发送的第w次更新所述第一参数后的第二量子线路,w从1开始取值;运行所述第w次更新所述第一参数后的第二量子线路,以得到n个第(w+1)运行结果;向所述第一电子设备发送第(w+1)次运行后的运行结果,所述第(w+1)次运行后的运行结果包括n个第(w+1)运行结果或第(w+1)组合结果,所述第(w+1)组合结果基于所述n个第(w+1)运行结果得到。
- 一种量子计算的装置,其特征在于,所述装置包括用于执行如权利要求1至11或12至18中任一项所述的方法的模块。
- 一种电子设备,其特征在于,包括:一个或多个处理器;一个或多个存储器;所述一个或多个存储器存储有一个或多个计算机程序,所述一个或多个计算机程序包括指令,当所述指令被所述一个或多个处理器执行时,使得所述电子设备执行如权利要求1至11或12至18中任一项所述的方法。
- 一种计算机存储介质,其特征在于,包括计算机指令,当所述计算机指令在电子设备上运行时,使得所述电子设备执行如权利要求1至11或12至18中任一项所述的方法。
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| EP23902522.4A EP4625269A4 (en) | 2022-12-13 | 2023-12-01 | METHOD AND APPARATUS FOR QUANTUM COMPUTING |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202211600214.3A CN118195016A (zh) | 2022-12-13 | 2022-12-13 | 量子计算的方法和装置 |
| CN202211600214.3 | 2022-12-13 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2024125325A1 true WO2024125325A1 (zh) | 2024-06-20 |
Family
ID=91402129
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2023/135883 Ceased WO2024125325A1 (zh) | 2022-12-13 | 2023-12-01 | 量子计算的方法和装置 |
Country Status (3)
| Country | Link |
|---|---|
| EP (1) | EP4625269A4 (zh) |
| CN (1) | CN118195016A (zh) |
| WO (1) | WO2024125325A1 (zh) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN119476518B (zh) * | 2025-01-15 | 2025-05-20 | 山东云海国创云计算装备产业创新中心有限公司 | 量子算符的测量方法和装置、存储介质及程序产品 |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109213603A (zh) * | 2018-05-31 | 2019-01-15 | 合肥本源量子计算科技有限责任公司 | 一种用于对接量子计算机与用户的云平台及平台运行方法 |
| CN111092723A (zh) * | 2019-12-23 | 2020-05-01 | 长春理工大学 | 一种数据隐私保护量子计算方法 |
| CN111563598A (zh) * | 2019-12-31 | 2020-08-21 | 合肥本源量子计算科技有限责任公司 | 预估量子计算模拟时间的方法、系统 |
| US11144689B1 (en) * | 2020-04-14 | 2021-10-12 | Cambridge Quantum Computing Limited | System and method for generating a quantum circuit |
| CN114330730A (zh) * | 2021-12-25 | 2022-04-12 | 北京量子信息科学研究院 | 量子线路分块编译方法、装置、设备、存储介质和产品 |
| CN114912619A (zh) * | 2021-02-08 | 2022-08-16 | 合肥本源量子计算科技有限责任公司 | 一种量子计算任务调度方法、装置及量子计算机操作系统 |
-
2022
- 2022-12-13 CN CN202211600214.3A patent/CN118195016A/zh active Pending
-
2023
- 2023-12-01 EP EP23902522.4A patent/EP4625269A4/en active Pending
- 2023-12-01 WO PCT/CN2023/135883 patent/WO2024125325A1/zh not_active Ceased
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109213603A (zh) * | 2018-05-31 | 2019-01-15 | 合肥本源量子计算科技有限责任公司 | 一种用于对接量子计算机与用户的云平台及平台运行方法 |
| CN111092723A (zh) * | 2019-12-23 | 2020-05-01 | 长春理工大学 | 一种数据隐私保护量子计算方法 |
| CN111563598A (zh) * | 2019-12-31 | 2020-08-21 | 合肥本源量子计算科技有限责任公司 | 预估量子计算模拟时间的方法、系统 |
| US11144689B1 (en) * | 2020-04-14 | 2021-10-12 | Cambridge Quantum Computing Limited | System and method for generating a quantum circuit |
| CN114912619A (zh) * | 2021-02-08 | 2022-08-16 | 合肥本源量子计算科技有限责任公司 | 一种量子计算任务调度方法、装置及量子计算机操作系统 |
| CN114330730A (zh) * | 2021-12-25 | 2022-04-12 | 北京量子信息科学研究院 | 量子线路分块编译方法、装置、设备、存储介质和产品 |
Non-Patent Citations (1)
| Title |
|---|
| See also references of EP4625269A1 |
Also Published As
| Publication number | Publication date |
|---|---|
| EP4625269A4 (en) | 2026-04-01 |
| EP4625269A1 (en) | 2025-10-01 |
| CN118195016A (zh) | 2024-06-14 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US10620921B2 (en) | Application system for generating 3D applications | |
| JP7350923B2 (ja) | ディープラーニングフレームワークのオペレータ登録方法、装置、デバイス及び記憶媒体 | |
| JP2020068020A (ja) | 計算ノートブックインターフェースのためのシステム、方法、プログラム、及び装置 | |
| US20170206188A1 (en) | Manipulation of an ajax tree presentation | |
| KR102676402B1 (ko) | 이더리움 가상머신의 트랜잭션 처리 방법, 장치, 설비, 프로그램 및 매체 | |
| WO2023169316A1 (zh) | 一种基于用户界面框架的处理方法、装置、设备及介质 | |
| WO2024125325A1 (zh) | 量子计算的方法和装置 | |
| CN114168114A (zh) | 一种算子注册方法、装置以及设备 | |
| CN115858078A (zh) | 特效渲染方法、装置、材质制作系统、设备及存储介质 | |
| US20250384325A1 (en) | Learning noise models to perform quantum error mitigation on unstructured quantum circuits | |
| US20210392073A1 (en) | Regular path queries (rpqs) for distributed graphs | |
| KR20200040813A (ko) | 단일 뷰에서의 검색 결과-기반 리스팅 생성 | |
| US20240428104A1 (en) | Qubit sharing across simultaneous quantum job and/or trained model execution | |
| Dutta et al. | Correlated pair ansatz with a binary tree structure | |
| Chen et al. | MemRec: Collaborative Memory-Augmented Agentic Recommender System | |
| US12602385B2 (en) | Context-aware relevance modeling in conversational systems | |
| US20250139481A1 (en) | Synthesis of quantum circuits for preparing superposed states | |
| US20240152790A1 (en) | Assisting users in creating quantum circuits by displaying filters used to provide relevant information regarding grouped quantum logic gates | |
| US12505367B2 (en) | Visually depicting a topology of a quantum device that conveys quantum operational characteristics | |
| EP4177798A1 (en) | Method and apparatus for training a model | |
| JP2025529322A (ja) | 構成可能なエンティティベースのアンドゥおよびリドゥ動作 | |
| CN115803729A (zh) | 中间件生成的记录的直接数据加载 | |
| JP7820611B2 (ja) | 量子回路シミュレーション方法、装置、コンピュータ機器、及びコンピュータプログラム | |
| US20250251920A1 (en) | Integrating loop unrolling and loop splitting to reduce control overheads | |
| US20240202559A1 (en) | Reducing number of shots required to perform a noisy circuit simulation |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 23902522 Country of ref document: EP Kind code of ref document: A1 |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 2023902522 Country of ref document: EP |
|
| ENP | Entry into the national phase |
Ref document number: 2023902522 Country of ref document: EP Effective date: 20250624 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| WWP | Wipo information: published in national office |
Ref document number: 2023902522 Country of ref document: EP |