Quantum simulation method and device based on pulse characterization
By using a quantum simulation method based on pulse characterization, the system to be simulated is transformed into a pulse sequence, which solves the problem of the difficulty in simulating quantum physical systems, realizes efficient simulation on existing quantum hardware, and promotes the development of quantum simulation computing.
Patent Information
- Application Number
- CN202310624685.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-29
- Publication Date
- 2024-11-29
AI Technical Summary
Existing quantum computers suffer from high noise levels and quantum hardware limitations, preventing them from achieving the exponential speedup of quantum algorithms. Furthermore, existing quantum simulation methods heavily rely on quantum entanglement and quantum logic gate operations, making it difficult to simulate quantum physics systems.
A quantum simulation method based on pulse representation is adopted, which transforms the system to be simulated into a corresponding pulse sequence. The target problem is determined and the pulse sequence is constructed by the classical computing unit and sent to the quantum computing unit for simulation, thus avoiding the dependence on complete quantum entanglement and quantum logic gate operations.
Simulating quantum physical systems on current quantum hardware reduces the need for quantum entanglement and quantum logic gate operations, thus promoting the development and application of quantum simulation computing.
Smart Images

Figure CN119047596A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of quantum computing technology, and in particular to a quantum simulation method and device based on pulse characterization. Background Art
[0002] A quantum computer is a computer that can simulate quantum physics systems. It can use the properties of quantum superposition and quantum entanglement to efficiently simulate quantum physics systems. Since the state of a quantum physics system is usually composed of the states of multiple particles, and each particle can be in one of many possible states, simulating quantum physics systems requires a lot of computing resources and time.
[0003] At present, due to the high noise of quantum computers and the limitations of quantum hardware, the exponential acceleration effect of quantum algorithms over classical algorithms cannot be brought into play. And because the current quantum simulation methods are heavily dependent on the performance of quantum hardware and the design of quantum circuits, how to explore a quantum simulation method that can be implemented on current quantum hardware and does not require complete quantum entanglement and quantum logic gate operations, so as to solve the problem of simulating quantum physical systems and promote the development and application of quantum simulation computing, has become an urgent problem to be solved. Summary of the invention
[0004] The purpose of the present invention is to provide a quantum simulation method and device based on pulse characterization to address the deficiencies in the prior art. It converts the system to be simulated into a corresponding pulse sequence to achieve a quantum simulation method that can be implemented on current quantum hardware and does not require complete quantum entanglement and quantum logic gate operations, thereby solving the problem of simulating quantum physical systems and promoting the development and application of quantum simulation computing.
[0005] An embodiment of the present application provides a quantum simulation method based on pulse characterization, which is applied to a classical computing unit. The method includes:
[0006] Determine the target problem corresponding to the system to be simulated;
[0007] constructing a pulse sequence for solving the target problem;
[0008] The pulse sequence is sent to a quantum computing unit to obtain an operation result corresponding to the target problem.
[0009] Optionally, determining a target problem corresponding to the system to be simulated includes:
[0010] Obtain the Hamiltonian corresponding to the system to be simulated;
[0011] Determining information for simulating the target problem according to the Hamiltonian corresponding to the system to be simulated, wherein the information for simulating the target problem includes the number of quantum bits required to simulate the target problem, the initial state of the quantum bits, and the measurement method of the quantum bits;
[0012] Based on the information of the target problem, a target problem corresponding to the system to be simulated is constructed.
[0013] Optionally, after determining the target problem corresponding to the system to be simulated, the method further includes:
[0014] An instruction set architecture supported by the quantum computing unit is determined, where the instruction set architecture consists of an instruction set consisting of a plurality of instructions and a quantum chip subunit in the quantum computing unit.
[0015] Optionally, constructing a pulse sequence for solving the target problem includes:
[0016] Generate a target quantum operation according to the target problem, wherein the target quantum operation is determined based on a combination of quantum logic gates into which the target problem is split;
[0017] Determining pulse control information of the target quantum operation, wherein the pulse control information includes one or a combination of pulse control form, pulse control time, pulse control phase and pulse control intensity;
[0018] A pulse sequence for solving the target problem is generated according to the target quantum operation and the pulse control information.
[0019] Optionally, after sending the pulse sequence to the quantum computing unit to obtain the running result corresponding to the target problem, the method further includes:
[0020] In response to the operation result not satisfying the preset condition, the pulse control information is adjusted through the classical computing unit, and the step of returning to execute the step of generating a pulse sequence for solving the target problem according to the target quantum operation and the pulse control information, and sending the pulse sequence to the quantum computing unit to obtain the operation result corresponding to the target problem, until the currently obtained operation result satisfies the preset condition, wherein the preset condition includes that the difference between the current operation result and the previous operation result meets the accuracy.
[0021] Another embodiment of the present application provides a quantum simulation device based on pulse characterization, which is applied to a classical computing unit, and the device includes:
[0022] A determination module is used to determine the target problem corresponding to the system to be simulated;
[0023] A construction module, used for constructing a pulse sequence for solving the target problem;
[0024] The acquisition module is used to send the pulse sequence to the quantum computing unit to obtain the operation result corresponding to the target problem.
[0025] Optionally, the determining module includes:
[0026] An obtaining unit, used for obtaining the Hamiltonian corresponding to the system to be simulated;
[0027] A determination unit, configured to determine information for simulating the target problem according to the Hamiltonian corresponding to the system to be simulated, wherein the information for simulating the target problem includes the number of quantum bits required to simulate the target problem, the initial state of the quantum bits, and the measurement method of the quantum bits;
[0028] The construction unit is used to construct the target problem corresponding to the system to be simulated based on the information of the target problem.
[0029] Optionally, the device further comprises:
[0030] An instruction set module is used to determine an instruction set architecture supported by the quantum computing unit, wherein the instruction set architecture is composed of an instruction set consisting of a plurality of instructions and a quantum chip sub-unit in the quantum computing unit.
[0031] Optionally, the building block includes:
[0032] A first generating unit is used to generate a target quantum operation according to the target problem, where the target quantum operation is determined based on a combination of quantum logic gates into which the target problem is split;
[0033] A control unit, configured to determine pulse control information of the target quantum operation, wherein the pulse control information includes one or a combination of pulse control form, pulse control time, pulse control phase and pulse control intensity;
[0034] The second generating unit is used to generate a pulse sequence for solving the target problem according to the target quantum operation and the pulse control information.
[0035] Optionally, the device further comprises:
[0036] A return module is used to adjust the pulse control information through the classical computing unit in response to the operation result not satisfying the preset condition, and return to the step of generating a pulse sequence for solving the target problem according to the target quantum operation and the pulse control information, and sending the pulse sequence to the quantum computing unit to obtain the operation result corresponding to the target problem, until the currently obtained operation result satisfies the preset condition, wherein the preset condition includes that the difference between the current operation result and the previous operation result meets the accuracy.
[0037] Yet another embodiment of the present application provides a quantum super-cooperative operation system, which implements quantum simulation based on pulse characterization according to any of the methods described above.
[0038] Yet another embodiment of the present application provides a storage medium, wherein the storage medium stores a computer program, wherein the computer program is configured to execute any of the above methods when running.
[0039] Yet another embodiment of the present application provides an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute any of the methods described above.
[0040] Compared with the prior art, the present invention first determines the target problem corresponding to the system to be simulated, then constructs a pulse sequence for solving the target problem, and finally sends the pulse sequence to the quantum computing unit to obtain the operating result corresponding to the target problem. It converts the system to be simulated into the corresponding pulse sequence to achieve a quantum simulation method that can be implemented on current quantum hardware and does not require complete quantum entanglement and quantum logic gate operations, thereby solving the problem of simulating quantum physical systems and promoting the development and application of quantum simulation computing. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] Figure 1 This is a network block diagram of a quantum simulation system based on pulse characterization provided by an embodiment of the present invention;
[0042] Figure 2 It is a flow chart of a quantum simulation method based on pulse characterization provided by an embodiment of the present invention;
[0043] Figure 3 It is a schematic diagram of the structure of a quantum simulation device based on pulse characterization provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0044] The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, but should not be construed as limiting the present invention.
[0045] The embodiment of the present invention first provides a quantum simulation method based on pulse characterization, which can be applied to electronic devices such as computer terminals, specifically ordinary computers, quantum computers, etc.
[0046] The following describes it in detail by taking running on a computer terminal as an example. Figure 1 1 is a network block diagram of a quantum simulation system based on pulse characterization provided by an embodiment of the present invention. The quantum simulation system applied to pulse characterization may include a network 110, a server 120, a wireless device 130, a client 140, a storage unit 150, a classical processing system 160, a quantum processing system 170, and may also include additional memories, classical processors, quantum processors, and other devices not shown.
[0047] The network 110 is a medium for providing communication links between various devices and computers connected together in the network of the pulse-based quantum simulation system, including but not limited to the Internet, corporate intranet, local area network, mobile communication network and their combination. The connection method can be wired, wireless communication links or optical fiber cables.
[0048] The server 120 and the client 140 are conventional data processing systems that may contain data and applications or software tools that perform conventional computing processes. The client 140 may be a personal computer or a network computer, so the data may also be provided by the server 120. The wireless device 130 may be a smart phone, a tablet, a laptop, a smart wearable device, etc. The storage unit 150 may include a database 151, which may be configured to store data such as quantum bit parameters, quantum logic gate parameters, quantum circuits, quantum programs, etc.
[0049] The classical processing system 160 (quantum processing system 170) may include a classical processor 161 (quantum processor 171) for processing classical data (quantum data) and a memory 163 (memory 172) for storing classical data (quantum data). The classical data (quantum data) may be a boot file, an operating system image, and an application 162 (application 173). The application 162 (application 173) may be used to implement a quantum algorithm compiled according to the method for constructing a quantum circuit provided in an embodiment of the present invention.
[0050] Any data or information stored or generated in the classical processing system 160 (quantum processing system 170) can also be configured to be stored or generated in another classical (quantum) processing system in a similar manner, and any application program executed by it can also be configured to be executed in another classical (quantum) processing system in a similar manner.
[0051] It should be noted that a true quantum computer is a hybrid structure, which includes at least Figure 1 There are two major parts in it: the classical processing system 160, which is responsible for performing classical calculations and control; and the quantum processing system 170, which is responsible for running quantum programs and thus realizing quantum calculations.
[0052] The classical processing system 160 and the quantum processing system 170 may be integrated into one device or distributed in two different devices. For example, the first device including the classical processing system 160 runs a classical computer operating system, on which quantum application development tools and services are provided, as well as storage and network services required for quantum applications. Users develop quantum applications through the quantum application development tools and services thereon, and send quantum programs to the second device including the quantum processing system 170 through the network services thereon. The second device runs a quantum computer operating system, parses the code of the quantum program through the quantum computer operating system, and compiles it into instructions that can be recognized and executed by the quantum computer measurement and control system. The quantum processor 170 implements the quantum algorithm corresponding to the quantum program according to the instructions.
[0053] In the classic processing system 160 based on silicon chips, the unit of the classic processor 161 is a CMOS tube. This computing unit is not limited by time and coherence, that is, this computing unit is not limited by the length of use and is available at any time. In addition, in the silicon chip, the number of such computing units is also sufficient. At present, the number of computing units in a classic processor is tens of thousands. The number of computing units is sufficient and the computing logic that can be selected by the CMOS tube is fixed, for example: AND logic. When calculating with the help of CMOS tubes, a large number of CMOS tubes are combined with limited logic functions to achieve the calculation effect.
[0054] Unlike this logic unit in the classical processing system 160, the basic computing unit of the quantum processor 171 in the quantum processing system 170 is a quantum bit, and the input of the quantum bit is limited by coherence and coherence time, that is, the quantum bit is limited by the use time and is not available at any time. Making full use of the quantum bit within the available use time of the quantum bit is a key problem in quantum computing. In addition, the number of quantum bits in a quantum computer is one of the representative indicators of the performance of a quantum computer. Each quantum bit realizes the computing function through the logical function configured on demand. In view of the limited number of quantum bits, the logical functions in the field of quantum computing are diverse, such as: Hadamard gate (Hadamard gate, H gate), Pauli-X gate (X gate), Pauli-Y gate (Y gate) Pauli-Z gate (Z gate), X gate, RY gate, RZ gate, CNOT gate, CR gate, iSWAP gate, Toffoli gate, etc. In quantum computing, it is necessary to use limited quantum bits combined with a variety of logical functions to achieve the computing effect.
[0055] Based on these differences, the design of the role of logical functions in quantum bits (including the design of whether the quantum bits are used or not and the design of the efficiency of each quantum bit) is the key to improving the computing performance of quantum computers, and special designs are required. The above-mentioned design for quantum bits is a technical problem that ordinary computing devices do not need to consider or face. In this application, in view of the high noise of quantum computers and the limitations of quantum hardware and other aspects, the exponential acceleration effect of quantum algorithms relative to classical algorithms cannot be exerted. And because the current quantum simulation method is heavily dependent on the performance of quantum hardware and the design of quantum circuits, how to explore a quantum simulation method that can be implemented on current quantum hardware and does not require complete quantum entanglement and quantum logic gate operations, thereby solving the problem of quantum physical system simulation, while promoting the development and application of quantum simulation computing, has become an urgent problem to be solved. The present application provides a quantum simulation method and device based on pulse characterization to solve the deficiencies in the prior art. It converts the system to be simulated into a corresponding pulse sequence to achieve a quantum simulation method that can be implemented on current quantum hardware and does not require complete quantum entanglement and quantum logic gate operations, thereby solving the problem of quantum physical system simulation, while promoting the development and application of quantum simulation computing.
[0056] See also Figure 2 , Figure 2 : is a flow chart of a quantum simulation method based on pulse characterization provided by an embodiment of the present invention, which may include the following steps:
[0057] S201: Determine the target problem corresponding to the system to be simulated.
[0058] Specifically, determining the target problem corresponding to the system to be simulated may include:
[0059] 1. Obtain the Hamiltonian corresponding to the system to be simulated.
[0060] Specifically, the system to be simulated is a system that needs to be simulated by quantum computing, which can be an equation, a molecule, or other physically closed system, wherein each system to be simulated can be described using mathematical expressions such as matrices or functions.
[0061] The Hamiltonian is the sum of the kinetic energies of all particles in the system to be simulated plus the potential energy of the particles associated with the system. For different situations or numbers of particles, the Hamiltonian is different because it includes the sum of the kinetic energies of the particles and the potential energy function corresponding to this situation, generally denoted by H. In quantum mechanics, the physical quantities of classical mechanics become corresponding operators, and the Hamiltonian corresponds to the Hamiltonian operator.
[0062] For example, the system to be simulated can be simplified to a corresponding matrix A. First, according to the binary representation of the subscripts of the non-zero elements in the matrix A, each item in the matrix A is expanded and re-expressed as a new matrix A. ′ ; Then according to the new matrix A ′ The value of each sub-item in each item determines the new matrix A ′ The quantum logic gate type corresponding to each neutron item in ′ The quantum logic gate type corresponding to the sub-item in each item is used to determine the weighted addition and multiplication of the Pauli operator form of the system to be simulated; finally, the Hamiltonian H corresponding to the system to be simulated is determined based on the weighted addition and multiplication of the Pauli operator form.
[0063] 2. Determine information for simulating the target problem based on the Hamiltonian corresponding to the system to be simulated, wherein the information for simulating the target problem includes the number of quantum bits required to simulate the target problem, the initial state of the quantum bits, and the measurement method of the quantum bits.
[0064] Specifically, according to the Hamiltonian corresponding to the system to be simulated, the information of the simulation target problem is determined. First, factors such as the conditions required to construct the Hamiltonian and the simulation accuracy need to be considered. Since the interaction between quantum bits is usually realized through quantum logic gates, and the implementation of quantum logic gates needs to consider the physical properties of the system to be simulated. Secondly, factors such as the decoherence time and noise of the quantum bits need to be considered. These factors have an important impact on the evolution and accuracy of the system to be simulated. The process of determining the information of the simulation target problem also requires determining the initial state of the quantum bit and the measurement method of the quantum bit, where the initial state is usually the ground state of the quantum bit or a known quantum state, and the measurement method of the quantum bit can be projection measurement or unitary measurement, etc.
[0065] For example, the Hamiltonian H corresponding to the system to be simulated is obtained through the following formula, and the information of the simulation target problem is determined:
[0066]
[0067] Among them, H is the Hamiltonian corresponding to the system to be simulated, K is the number of terms, and C K is the weight coefficient, p is the iteration index, M represents the number of quantum bits required,
[0068] 3. Based on the information of the target problem, construct the target problem corresponding to the system to be simulated.
[0069] Specifically, the system to be simulated can be modeled first, including the number of quantum bits, system Hamiltonian, initial state, etc. The modeling process needs to comprehensively consider factors such as physical experimental conditions and the accuracy required for simulation, select a suitable model, and then abstract the system to be simulated into a target problem and perform quantum logic encoding. Quantum logic encoding can usually transform quantum bits and quantum logic gate operations into a specific target problem, so that the solution to the target problem can be achieved by running a quantum algorithm.
[0070] It should be noted that quantum logic coding is an error correction technology for quantum bits, which aims to solve the decoherence and error problems of quantum bits and improve the reliability of quantum computing. Its basic idea is to use the entanglement between multiple quantum bits to realize the redundant encoding and verification of quantum information. The core of quantum logic coding is the encoding circuit and the decoding circuit. Among them, the encoding circuit is used to realize the process of converting the original quantum bit into multiple logical quantum bits, while the decoding circuit is used to realize the process of converting the logical quantum bit into the original quantum bit. In the encoding circuit, the original quantum bit will undergo a series of operations, including Hamiltonian evolution, measurement, and entanglement, and then be converted into multiple logical quantum bits. The logical quantum bit can be regarded as a redundant encoding of the original quantum bit, and the relationship between them can be described by quantum entanglement. In the decoding circuit, the logical quantum bit will undergo a series of operations, including measurement and Hamiltonian evolution, and then be converted into the original quantum bit. The decoding circuit can detect and correct errors in the logical quantum bit, thereby improving the reliability of quantum simulation computing.
[0071] In an optional implementation, after determining the target problem corresponding to the system to be simulated, the method may further include:
[0072] An instruction set architecture supported by the quantum computing unit is determined, where the instruction set architecture consists of an instruction set consisting of a plurality of instructions and a quantum chip subunit in the quantum computing unit.
[0073] Specifically, determining the instruction set architecture supported by the quantum computing unit is an important part of the design of the quantum computing system. The instruction set architecture is a set of rules and conventions that describe the instruction set of a quantum computer. It defines the available operation instructions, register structure, encoding rules, and the semantics and behavior of instructions.
[0074] In quantum computing, the instruction set architecture is different from that of classical computers. Specifically, the instruction set architecture can include quantum chips, register structures, and encoding rules. Among them, the quantum chip is the core component of the quantum computing unit, which contains the actual quantum bits and quantum gate operations. Quantum chips are usually composed of a series of quantum chip subunits, each of which contains a certain number of quantum bits and associated control circuits. The subunits can communicate and coordinate with each other through specially designed communication channels. The instruction set architecture needs to match the characteristics and structure of the quantum chip subunits to ensure the correct execution of instructions and the reliability of quantum computing. The register structure in the instruction set architecture is used to store and manipulate the state information of quantum bits. Registers can be divided into quantum registers and classical registers, among which quantum registers are used to store the state of quantum bits, and classical registers are used to store classical data and measurement results in quantum computing. The register structure defines the number, bit width and operation rules of registers, as well as the interaction between other registers. The encoding rule describes the encoding method of instructions and operands in the instruction set. It defines the binary representation of instructions, the arrangement of operands, and the instruction format. The coding rules need to take into account the hardware characteristics and limitations of quantum computers in order to correctly parse and execute instructions at the hardware level. The design of the instruction set architecture is one of the key issues in quantum computing architecture. It needs to comprehensively consider the characteristics of quantum computing, the limitations of hardware implementation, and application requirements to provide an effective and scalable instruction set and programming model. Different quantum computing platforms and technologies may adopt different instruction set architectures, so the design of the instruction set architecture needs to be flexible to adapt to different hardware platforms and application scenarios.
[0075] S202: Construct a pulse sequence for solving the target problem.
[0076] Specifically, constructing a pulse sequence for solving the target problem may include:
[0077] Step 1: Generate a target quantum operation according to the target problem, wherein the target quantum operation is determined based on a combination of quantum logic gates into which the target problem is split.
[0078] Step 2: Determine the pulse control information of the target quantum operation, wherein the pulse control information includes one or a combination of pulse control form, pulse control time, pulse control phase and pulse control intensity.
[0079] Specifically, quantum pulse sequence design is an important part of quantum simulation computing, which involves how to design control pulses based on the target problem to achieve the desired target quantum operation. The goal of pulse sequence design is to enable the simulated system to achieve the required quantum logic gate operation within a certain period of time, and to have a certain degree of robustness and fault tolerance to noise and system errors.
[0080] Among them, the design of the quantum pulse sequence needs to clarify the target quantum operation to be generated, and the target quantum operation is usually composed of some basic quantum logic gate operations. For complex quantum computing tasks, it is necessary to decompose them into a series of basic quantum logic gate operations and combine them to form the target quantum operation. Usually, basic quantum gate operations include single-qubit logic gate operations and double-qubit logic gate operations. For example, if the target problem is to simulate the quantum Fourier transform (QFT), then the quantum Fourier transform can be decomposed into a target quantum operation composed of quantum logic gates such as Hadamard gates, phase shift gates, and controlled phase shift gates.
[0081] It should be noted that the design of quantum pulse sequences can be achieved through mathematical optimization methods, such as dynamic programming algorithms, gradient descent algorithms, and genetic algorithms. The basic idea is to decompose the target quantum operation into a series of basic quantum logic gate operations, and then adjust the parameters such as the time, phase, and intensity of the control pulses so that these basic quantum logic gates are combined in a certain order to finally achieve the target quantum operation.
[0082] Among them, the parameters such as the time, phase and intensity of the control pulse will affect the final target quantum operation, and the final pulse control information needs to be designed according to the specific characteristics of the system to be simulated. For example, the determination of the pulse control information of a superconducting quantum computer system can usually be achieved by microwave pulses, flux pulses and pulse amplitude modulation. For other types of quantum computer systems, such as ion traps and optical quantum computer systems, the form and method of determining the pulse control information are also different, which will not be explained here.
[0083] Step 3: Generate a pulse sequence for solving the target problem according to the target quantum operation and the pulse control information.
[0084] Specifically, a pulse train can be understood as a time series of complex-valued amplitudes with a maximum unit norm [d0, ..., d n-1 ], each d j ,∈[0,…,n-1], is called a sample. Each system to be simulated can be assigned a cycle time d t , d t is the best temporal resolution exposed on the pulse coprocessor and is usually defined by the sampling rate of the coprocessor waveform generator. Each sample in the pulse train outputs one cycle and one time step. All pulse train durations and time steps are definable and are applied to d t For dimensionless discretization, the ideal output signal has the following amplitude:
[0085] D j=Re[e i2πfjdt+φ d j ]
[0086] Among them, at time d t When , f is the frequency modulation and φ is the phase.
[0087] For example, if the pulse sequence is a Gaussian pulse, the pulse sequence can be instantiated in the following way:
[0088] For the channel part, the channel marker signal line is used to control the transmission or reception of signals between classical electronic devices and quantum devices. Each channel executes instructions from a first-in, first-out (FIFO) queue. The channel is restricted to a hardware component when the target code is generated, and the hardware component can be generated by channel modeling. The calibration parameters of the channel, such as the frequency and the pulses on the channel, depend on the physical properties of the quantum bit. Therefore, the channels are not interchangeable at the pulse abstraction level, that is, arranging the channels on the quantum bit will not produce equivalent results. This highlights the difference between quantum circuits and pulse instructions, that is, the parameters of the quantum logic gates in the quantum circuit do not depend on the physical properties of the quantum bit. Therefore, as long as the topological structure of the physical device is considered and the defects of the quantum logic gate are ignored, the quantum bits in the quantum circuit can be exchanged without affecting the calculation results, and different channel types can support different instruction sets.
[0089] It should be noted that each channel supports a delay instruction, which takes as its operands a duration specified as a number of cycles and a target channel. During the execution of the instruction, the channel is idle. The Play instruction allows the user to execute pulses on the target pulse channel, whose frequency and phase can be set by the Shift Phase and SetFrequency instructions. The Shift Phase instruction has an implicit duration of zero and accepts an input floating point phase and pulse channel. shiftphase will change the phase of the target channel by the phase radian value. This relative shift persists on the channel from the time the instruction is issued, causing the phase of the channel to accumulate throughout the simulation. The SetFrequency instruction has an implicit duration of zero and accepts a floating point frequency and a pulse channel as input. This instruction will set the frequency f of all processed pulses on the channel to frequency Hz. Like other instructions, SetFrequency can be used multiple times on a single channel at the same time.
[0090] Instructions can be used to execute on channels to manipulate quantum systems. Pulse instructions have channels and instruction-related constants as operands, and all pulse instructions have a fixed, deterministic duration that can be specified implicitly or explicitly. Instructions are executed using a dispatch and trigger timing model, where instructions are loaded into a FIFO queue unique to each channel and then execution is initiated synchronously on all channels using an external trigger signal. Therefore, the absolute start and end of each pulse instruction can be scheduled across channels at compile time, equivalent to an external trigger signal with a strict real-time deadline. Instructions may have multiple channels as operands, but at the same time will cause execution dependencies. In this case, the channel execution is suspended until all operand channels are available.
[0091] S203: Send the pulse sequence to a quantum computing unit to obtain an operation result corresponding to the target problem.
[0092] Specifically, the pulse sequence is sent to the quantum computing unit, and the correctness of the pulse sequence is verified by measurement. It is usually necessary to simulate and process the pulse sequence multiple times to obtain higher accuracy and reliability. Data analysis is performed based on the simulation results to infer the properties and behavior of the system to be simulated. The analysis and operation results can be used to study physical phenomena, optimize quantum algorithms, etc.
[0093] It should be noted that quantum pulse simulation needs to consider many factors, such as pulse control, quantum bit noise, error correction, etc., so the simulation conditions and algorithm design need to be carefully optimized and improved. In addition, the implementation of quantum pulse simulation can also be assisted by auxiliary tools such as quantum computing software and simulation tools, so as to better understand and optimize the evolutionary behavior of the system to be simulated.
[0094] For example, a pulse sequence is sent to a quantum computing unit and a measurement operation is performed. If a measurement stimulus pulse sequence measures multiple qubits, a capture instruction can be synchronously scheduled for each measured qubit. In a quantum computing unit, each acquired channel can be constrained to a measurement operation, which can usually include the acquisition, filtering, nucleation, and state discrimination of the target problem data.
[0095] In an optional implementation, after sending the pulse sequence to the quantum computing unit to obtain the operation result corresponding to the target problem, the method may further include:
[0096] In response to the operation result not satisfying the preset condition, the pulse control information is adjusted through the classical computing unit, and the step of returning to execute the step of generating a pulse sequence for solving the target problem according to the target quantum operation and the pulse control information, and sending the pulse sequence to the quantum computing unit to obtain the operation result corresponding to the target problem, until the currently obtained operation result satisfies the preset condition, wherein the preset condition includes that the difference between the current operation result and the previous operation result meets the accuracy.
[0097] Specifically, when the operating result does not meet the preset conditions, the classical computing unit adjusts one or a combination of the pulse control form, pulse control time, pulse control phase and pulse control intensity in the pulse control information, and then sends the updated pulse sequence to the quantum computing unit to regain the new operating result corresponding to the target problem.
[0098] The verification method of the pulse simulation operation results depends on the specific target quantum operation and pulse control information. For example, before designing a pulse sequence, mathematical models and theoretical calculations can be used for prediction. Through numerical simulation or analytical calculation, the effect of the pulse sequence on the quantum computing unit can be predicted. The accuracy of the pulse simulation can be evaluated by comparing the simulation results with the target quantum operation. The accuracy of the pulse simulation can also be verified by designing appropriate measurement schemes, such as Ramsey experiments or interference amplitude measurements, by measuring the interference effect of quantum bits, and then comparing the measurement results with theoretical predictions. Quantum state reconstruction can also be used to measure and reconstruct the quantum state of a quantum system. By measuring the quantum bits and using the inverse process algorithm for data processing, the density matrix or wave function of the quantum system can be reconstructed. Comparing the reconstructed quantum state with the target quantum state can also verify the accuracy of the pulse simulation. Therefore, in the pulse simulation process, the effect of the pulse sequence can be verified by experimentally optimizing the control parameters, and the performance and accuracy of the quantum operation can be optimized by adjusting the pulse control information such as the phase, amplitude and timing of the pulse. Through continuous optimization and iteration, the best control parameters can be found, the optimal operating results corresponding to the target problem can be obtained, and the accuracy of the pulse sequence can be simulated and verified.
[0099] It can be seen that the present invention first determines the target problem corresponding to the system to be simulated, then constructs a pulse sequence for solving the target problem, and finally sends the pulse sequence to the quantum computing unit to obtain the operating result corresponding to the target problem. It converts the system to be simulated into the corresponding pulse sequence to achieve a quantum simulation method that can be implemented on current quantum hardware and does not require complete quantum entanglement and quantum logic gate operations, thereby solving the problem of simulating quantum physical systems and promoting the development and application of quantum simulation computing.
[0100] See also Figure 3 , Figure 3 is a schematic diagram of a quantum simulation device based on pulse characterization provided by an embodiment of the present invention, and Figure 2 The process shown here corresponds to the following:
[0101] A determination module 301 is used to determine a target problem corresponding to the system to be simulated;
[0102] A construction module 302 is used to construct a pulse sequence for solving the target problem;
[0103] The acquisition module 303 is used to send the pulse sequence to the quantum computing unit to obtain the operation result corresponding to the target problem.
[0104] Specifically, the determination module includes:
[0105] An obtaining unit, used for obtaining the Hamiltonian corresponding to the system to be simulated;
[0106] A determination unit, configured to determine information for simulating the target problem according to the Hamiltonian corresponding to the system to be simulated, wherein the information for simulating the target problem includes the number of quantum bits required to simulate the target problem, the initial state of the quantum bits, and the measurement method of the quantum bits;
[0107] The construction unit is used to construct the target problem corresponding to the system to be simulated based on the information of the target problem.
[0108] Specifically, the device further includes:
[0109] An instruction set module is used to determine an instruction set architecture supported by the quantum computing unit, wherein the instruction set architecture is composed of an instruction set consisting of a plurality of instructions and a quantum chip sub-unit in the quantum computing unit.
[0110] Specifically, the building blocks include:
[0111] A first generating unit is used to generate a target quantum operation according to the target problem, where the target quantum operation is determined based on a combination of quantum logic gates into which the target problem is split;
[0112] A control unit, configured to determine pulse control information of the target quantum operation, wherein the pulse control information includes one or a combination of pulse control form, pulse control time, pulse control phase and pulse control intensity;
[0113] The second generating unit is used to generate a pulse sequence for solving the target problem according to the target quantum operation and the pulse control information.
[0114] Specifically, the device further includes:
[0115] A return module is used to adjust the pulse control information through the classical computing unit in response to the operation result not satisfying the preset condition, and return to the step of generating a pulse sequence for solving the target problem according to the target quantum operation and the pulse control information, and sending the pulse sequence to the quantum computing unit to obtain the operation result corresponding to the target problem, until the currently obtained operation result satisfies the preset condition, wherein the preset condition includes that the difference between the current operation result and the previous operation result meets the accuracy.
[0116] Compared with the prior art, the present invention first determines the target problem corresponding to the system to be simulated, then constructs a pulse sequence for solving the target problem, and finally sends the pulse sequence to the quantum computing unit to obtain the operating result corresponding to the target problem. It converts the system to be simulated into the corresponding pulse sequence to achieve a quantum simulation method that can be implemented on current quantum hardware and does not require complete quantum entanglement and quantum logic gate operations, thereby solving the problem of simulating quantum physical systems and promoting the development and application of quantum simulation computing.
[0117] An embodiment of the present invention also provides a quantum super-cooperative operating system, which runs on a quantum computer including a quantum processor and / or a supercomputer including a classical processor, and is used to realize quantum simulation based on pulse characterization according to the method described in the embodiment of the method side of the present invention.
[0118] An embodiment of the present invention further provides a storage medium, in which a computer program is stored, wherein the computer program is configured to execute the steps in any of the above method embodiments when running.
[0119] Specifically, in this embodiment, the above storage medium may be configured to store a computer program for performing the following steps:
[0120] S201: Determine the target problem corresponding to the system to be simulated;
[0121] S202: constructing a pulse sequence for solving the target problem;
[0122] S203: Send the pulse sequence to a quantum computing unit to obtain an operation result corresponding to the target problem.
[0123] Specifically, in this embodiment, the above-mentioned storage medium may include but is not limited to: a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk, and other media that can store computer programs.
[0124] An embodiment of the present invention further provides an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute the steps in any of the above method embodiments.
[0125] Specifically, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.
[0126] Specifically, in this embodiment, the processor may be configured to perform the following steps through a computer program:
[0127] S201: Determine the target problem corresponding to the system to be simulated;
[0128] S202: constructing a pulse sequence for solving the target problem;
[0129] S203: Send the pulse sequence to a quantum computing unit to obtain an operation result corresponding to the target problem.
[0130] The above describes in detail the structure, features and effects of the present invention based on the embodiments shown in the drawings. The above is only a preferred embodiment of the present invention, but the present invention is not limited to the scope of implementation shown in the drawings. Any changes made according to the concept of the present invention, or modifications to equivalent embodiments with equivalent changes, which still do not exceed the spirit covered by the description and drawings, should be within the protection scope of the present invention.
Claims
1. A quantum simulation method based on pulse characterization, applied to a classical computing unit, characterized in that: The method comprises: Determine the target problem corresponding to the system to be simulated; constructing a pulse sequence for solving the target problem; The pulse sequence is sent to a quantum computing unit to obtain an operation result corresponding to the target problem.
2. The method according to claim 1, characterized in that The step of determining the target problem corresponding to the system to be simulated includes: Obtain the Hamiltonian corresponding to the system to be simulated; Determining information for simulating the target problem according to the Hamiltonian corresponding to the system to be simulated, wherein the information for simulating the target problem includes the number of quantum bits required to simulate the target problem, the initial state of the quantum bits, and the measurement method of the quantum bits; Based on the information of the target problem, a target problem corresponding to the system to be simulated is constructed.
3. The method according to claim 2, characterized in that After determining the target problem corresponding to the system to be simulated, the method further includes: An instruction set architecture supported by the quantum computing unit is determined, where the instruction set architecture consists of an instruction set consisting of a plurality of instructions and a quantum chip subunit in the quantum computing unit.
4. The method according to claim 3, characterized in that The pulse sequence constructed to solve the target problem includes: Generate a target quantum operation according to the target problem, wherein the target quantum operation is determined based on a combination of quantum logic gates into which the target problem is split; Determining pulse control information of the target quantum operation, wherein the pulse control information includes one or a combination of pulse control form, pulse control time, pulse control phase and pulse control intensity; A pulse sequence for solving the target problem is generated according to the target quantum operation and the pulse control information.
5. The method according to claim 1 or 4, characterized in that: After sending the pulse sequence to the quantum computing unit and obtaining the operation result corresponding to the target problem, the method further includes: In response to the operation result not satisfying the preset condition, the pulse control information is adjusted through the classical computing unit, and the step of returning to execute the step of generating a pulse sequence for solving the target problem according to the target quantum operation and the pulse control information, and sending the pulse sequence to the quantum computing unit to obtain the operation result corresponding to the target problem, until the currently obtained operation result satisfies the preset condition, wherein the preset condition includes that the difference between the current operation result and the previous operation result meets the accuracy.
6. A quantum simulation device based on pulse characterization, applied to a classical computing unit, characterized in that: The device comprises: A determination module is used to determine the target problem corresponding to the system to be simulated; A construction module, used for constructing a pulse sequence for solving the target problem; The acquisition module is used to send the pulse sequence to the quantum computing unit to obtain the operation result corresponding to the target problem.
7. The device according to claim 6, characterized in that The determining module comprises: An obtaining unit, used for obtaining the Hamiltonian corresponding to the system to be simulated; A determination unit, configured to determine information for simulating the target problem according to the Hamiltonian corresponding to the system to be simulated, wherein the information for simulating the target problem includes the number of quantum bits required to simulate the target problem, the initial state of the quantum bits, and the measurement method of the quantum bits; The construction unit is used to construct the target problem corresponding to the system to be simulated based on the information of the target problem.
8. A quantitative super-cooperative operating system, characterized in that: The quantum super cooperative operation system realizes quantum simulation based on pulse characterization according to the method in any one of claims 1 to 5.
9. A storage medium, characterized in that: The storage medium stores a computer program, wherein the computer program is configured to execute the method according to any one of claims 1 to 5 when executed.
10. An electronic device comprising a memory and a processor, characterized in that: A computer program is stored in the memory, and the processor is configured to run the computer program to perform the method according to any one of claims 1 to 5.
Citation Information
Patent Citations
Control pulse generation method and device for realizing a quantum gate
CN112019193A
Quantum control pulse generation method and device, equipment and storage medium
CN112819169A
Control pulse generation method, device, system and equipment and storage medium
CN112819170A
Cost function deformation in quantum approximate optimization
US20190164079A1
Cited By
Decomposition method, device and equipment for multi-control quantum phase shifting door and medium
CN119808980A
