WO2023130918A1 - Method and apparatus for managing state of quantum system, device and medium - Google Patents

Method and apparatus for managing state of quantum system, device and medium Download PDF

Info

Publication number
WO2023130918A1
WO2023130918A1 PCT/CN2022/138710 CN2022138710W WO2023130918A1 WO 2023130918 A1 WO2023130918 A1 WO 2023130918A1 CN 2022138710 W CN2022138710 W CN 2022138710W WO 2023130918 A1 WO2023130918 A1 WO 2023130918A1
Authority
WO
WIPO (PCT)
Prior art keywords
evolution
pauli
quantum
stage
operator
Prior art date
Application number
PCT/CN2022/138710
Other languages
French (fr)
Chinese (zh)
Inventor
黄翼飞
吕定顺
Original Assignee
北京有竹居网络技术有限公司
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 北京有竹居网络技术有限公司 filed Critical 北京有竹居网络技术有限公司
Publication of WO2023130918A1 publication Critical patent/WO2023130918A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N10/00Quantum computing, i.e. information processing based on quantum-mechanical phenomena

Definitions

  • Exemplary implementations of the present disclosure relate generally to quantum systems, and in particular to methods, apparatuses, apparatuses, and computer-readable storage media for managing states of quantum systems.
  • Quantum mechanics is a discipline that describes the basic laws of microscopic quantum systems. Unlike classical computers that obey the laws of classical physics, quantum computing is based on microscopic quantum systems and is implemented by applying the laws of quantum mechanics. Quantum computing can involve a series of basic operations (called quantum gates), and complex quantum circuits can be built using these basic quantum gates. Quantum circuits can be used to achieve state transitions (eg, from an initial state to a ground state) of a quantum system. However, the state transfer of a quantum system involves a relatively large amount of calculation, which leads to an extremely large number of quantum gates included in the quantum circuit.
  • a scheme for managing the state of a quantum system based on a quantum virtual time evolution process is provided.
  • a method for managing the state of a quantum system based on the quantum virtual time evolution process is provided.
  • the quantum virtual time evolution process is used to realize the process of transferring the quantum system from the initial state to the ground state.
  • the quantum virtual time The evolution process includes at least one evolution stage.
  • a Hermitian operator associated with the evolution stage is determined based on a Hamiltonian of the quantum system and a first intermediate state between the initial state and the ground state.
  • a Pauli decomposition is performed on the Hermitian operators to determine the number of Pauli operators associated with the stages of evolution.
  • a target Pauli operator is selected from multiple Pauli operators based on importance sampling.
  • a second intermediate state associated with the evolution stage is determined, the second intermediate state being closer to the ground state than the first intermediate state.
  • an electronic device comprising: at least one processing unit; and at least one memory coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit, The instructions, when executed by at least one processing unit, cause the device to perform actions. This action is used to perform the method according to the first aspect of the present disclosure.
  • an apparatus for managing a state of a quantum system based on a quantum virtual time evolution process comprises means for performing the steps in the method according to the first aspect of the present disclosure.
  • a computer readable storage medium is provided.
  • a computer program is stored on the medium for performing the method according to the first aspect of the present disclosure when the program is executed by a processor.
  • Fig. 1 shows a block diagram of Trotter decomposition according to a technical solution
  • Fig. 2 shows the block diagram of the quantum imaginary time evolution process that utilizes quantum circuit to realize according to a technical scheme
  • Fig. 3 shows a block diagram of realizing the evolution process of quantum virtual time by using a quantum circuit according to an exemplary implementation of the present disclosure
  • FIG. 4 shows a flowchart of a method for managing the state of a quantum system based on a quantum virtual time evolution process according to an exemplary implementation of the present disclosure
  • FIG. 5 shows a block diagram for realizing the quantum virtual time evolution process based on the enlarged objective Pauli operator according to some implementations of the present disclosure
  • Fig. 6 shows a block diagram of realizing quantum virtual time evolution process by using quantum circuits according to some implementations of the present disclosure
  • FIG. 7 shows a flowchart of a method for managing the state of a quantum system in an evolution stage in the quantum virtual time evolution process according to an exemplary implementation of the present disclosure
  • FIG. 8 shows a block diagram of an apparatus for managing the state of a quantum system based on a quantum virtual time evolution process according to an exemplary implementation of the present disclosure.
  • Figure 9 shows a block diagram of a device capable of implementing various implementations of the present disclosure.
  • Quantum computing currently involves a large amount of calculation and is limited by many factors such as the number of qubits, noise, system coherence time, and the fidelity of executing quantum gates.
  • the number of quantum gate operations increases (that is, the depth of the quantum circuit increases)
  • the accumulation of errors will lead to a decrease in the accuracy of quantum computing, and at the same time, due to the interaction between the quantum system and the surrounding environment, it will also lead to effective information gradually lost. Therefore, how to reduce the amount of calculation involved in the state transition, and then use shallower quantum circuits to simulate the state transition process of the quantum system has become a current research hotspot.
  • the Hamiltonian H is the basic quantity describing the energy of a quantum system, and its corresponding unitary evolution can be mapped to a quantum circuit.
  • the Hamiltonian H can be converted into a Pauli expansion form, that is, the sum of multiple Pauli terms:
  • H j is a Pauli term
  • h j is a coefficient of the Pauli term
  • L is the number of Pauli expansion terms.
  • Trotter decomposition can be used to solve the above-mentioned incompatibility problem.
  • FIG. 1 shows a block diagram 100 of Trotter decomposition according to a technical solution, and each stage may correspond to a Trotter step.
  • the entire evolution process can be divided into a plurality of stages 110 , 112 , . . . and 114 .
  • Fig. 1 shows the circuit diagram after the quantum virtual time evolution has been performed, and H can be equal to A (1) ,...,A (K) in each stage. At this time, each ⁇ t is very small, so there is the following approximate relationship for each ⁇ t:
  • the evolution during the entire time t can be approximately expressed as: U(t) ⁇ U′( ⁇ t) K .
  • Each ⁇ t can be called a Trotter step, and the entire evolution period includes K Trotter steps.
  • the technical scheme of quantum imaginary time evolution has been proposed to calculate the ground state energy of quantum systems.
  • the technical solution simulates the virtual time evolution process by constructing a unitary quantum circuit.
  • the virtual time evolution process can converge to the ground state energy.
  • the existing quantum virtual time evolution process involves a large amount of calculation, which leads to a relatively high depth of the corresponding quantum circuit.
  • a large amount of computation is involved during each Trotter step, which leads to a line depth of quantum imaginary time evolution proportional to the number of Pauli operators of the quantum system's Hamiltonian and the number of Trotter steps.
  • the imaginary time evolution is used to calculate the evolution of the energy ground state.
  • the t in U(t) can be multiplied by the imaginary unit (that is, replaced by it), and the evolution is transformed into e -Ht .
  • the higher-order excited states will decay exponentially, and finally the main components of the ground state will be obtained.
  • this transformation is non-unitary and cannot take advantage of quantum gate operations.
  • QITE provides that by solving a system of linear equations, the unitary evolution e -iA ⁇ t is found, and its effect on a given initial state
  • ⁇ > is approximately the same as the imaginary time evolution e -H ⁇ t .
  • a Trotter decomposition can be performed.
  • FIG. 2 shows a block diagram 200 of a quantum virtual time evolution process realized by using a quantum circuit according to a technical solution.
  • the various stages 110, 112, ..., and 114 may be implemented using quantum circuits.
  • FIG. 2 only uses the first stage 110 (that is, the first Trotter step) as an example for description, and the processing for other stages is similar and thus will not be repeated here.
  • the quantum circuit 320 can be used to realize the A Pauli decomposition can be performed to obtain the expanded form of the evolution: here, represents the Pauli operator obtained after Pauli decomposition. At this point, the unfolded form can be realized on quantum circuits.
  • quantum gate 220 can be used to realize can be implemented using quantum gate 222 And can utilize quantum gate 220 to realize At this point, each stage involves a lot of computation and needs to be implemented using M quantum gates. Further, for the entire quantum virtual time evolution process including K stages, at least M*K quantum gates need to be used. At this time, the depth of the quantum circuit is proportional to the number of Pauli operators of the Hamiltonian of the quantum system and the number of Trotter steps.
  • a technical solution DRIFT-QITE for managing the state of a quantum system based on the quantum imaginary time evolution process.
  • the quantum virtual time evolution process can realize the transfer from the initial state of the quantum system to the ground state of the quantum system, and the quantum virtual time evolution process includes at least one evolution stage.
  • the state transition of the quantum system can be managed based on the target Pauli operator and the amplification step size, so as to reduce the calculation amount in each evolution stage, so that the calculation amount in each evolution stage does not depend on The number of Pauli operators on the Hamiltonian. Operations performed in each evolution stage may be similar.
  • FIG. 3 an outline of an exemplary implementation according to the present disclosure will be described with reference to FIG. 3 .
  • Fig. 3 shows a block diagram 300 of implementing quantum virtual time evolution process by using quantum circuits according to an exemplary implementation of the present disclosure.
  • the quantum virtual time evolution process may include evolution stages 310, 312, ..., 314.
  • the entire quantum virtual time evolution process can transfer the quantum system from the initial state to the ground state, and each evolution stage involves a part of ⁇ t in the total time t of the entire quantum virtual time evolution process.
  • Each evolution stage can be transferred from a first intermediate state between the initial state and the ground state to a second intermediate state, and the second intermediate state is closer to the ground state.
  • multiple evolution stages can be performed serially to gradually transform the initial state to the ground state.
  • Each evolution stage can be realized in a similar manner, taking the first evolution stage 310 as an example, the evolution stage 310 can transfer the first intermediate state (i.e., the initial state
  • the Hermitian operator associated with the evolution stage 310 can be determined
  • Pauli decomposition can be performed on the Hermitian operator to determine multiple Pauli operators associated with the evolution stage 310 .
  • the result of the Pauli decomposition can be expressed as Among them, M represents the number of Pauli operators, denote the jth Pauli operator among the Pauli operators during the first evolution stage, and Indicates the coefficient of the jth Pauli operator.
  • multiple Pauli operators can be sampled based on importance Select the target Pauli operator in Furthermore, based on the objective Pauli operator and the coefficients of several Pauli operators A second intermediate state associated with the evolution stage 310 is determined, the second intermediate state being closer to the ground state than the first intermediate state.
  • the target Pauli operator can be The coefficients of are scaled up to the coefficients based on the individual Pauli operators A certain order of magnitude in order to reduce the amount of computation in the evolution stage 310 .
  • each evolution stage (that is, each Trotter step)
  • each evolution using the existing QITE The total amount of computation involved in the stage is amount*M.
  • the calculation amount of each evolution stage is only with a single Pauli operator
  • the associated computational amount ie, amount.
  • quantum virtual-time evolution processes typically include a large number of evolution stages (eg, tens, hundreds, or even more).
  • the calculation amount of each evolution stage can be greatly reduced, thereby reducing the overall calculation amount of the entire quantum virtual time evolution process, thereby reducing the corresponding calculation resource and time resource overhead.
  • the evolution stage 310 may be implemented with quantum gates. At this point, only one quantum gate 322 is needed to complete the evolution stage 310 . In this way, the depth of the quantum circuit 320 used to implement each evolution stage can be greatly reduced. It will be understood that the operation of each quantum gate may be disturbed by a variety of external noises, and by reducing the depth of the quantum gates, the adverse effects of the external noise of the quantum circuit can be greatly reduced, thereby improving the accuracy of the quantum circuit.
  • the whole quantum virtual time evolution process is realized by quantum circuits, only one quantum gate is needed for each evolution stage. In this way, the depth of the overall quantum circuit for realizing the entire quantum virtual time evolution process can be greatly reduced. Therefore, the quantum virtual time evolution process can be realized with higher efficiency and precision.
  • Fig. 4 shows a flowchart of a method 400 for managing the state of a quantum system based on a virtual time evolution process according to an exemplary implementation of the present disclosure.
  • the Hamiltonian of the quantum system can be determined and initial state.
  • the Hamiltonian is a Hermitian operator used to describe the energy of the system, and the Hamiltonian of a quantum system can be obtained based on various methods that are currently known and/or will be developed in the future and initial state.
  • the quantum system can go through multiple evolution stages in the quantum virtual time evolution process, so as to transfer from the initial state to the ground state.
  • each evolution stage can be used as a part of the quantum virtual time evolution process to perform state transition step by step.
  • multiple evolution stages may be determined based on Trotter decomposition.
  • the time steps of multiple evolution stages may be determined based on the time length and predetermined accuracy for performing the quantum virtual time evolution process.
  • the time step ⁇ t can be set to 0.01, 0.05, and/or other values based on desired accuracy. It will be appreciated that the time step size ⁇ t is inversely proportional to the precision, the smaller the ⁇ t the higher the precision.
  • the number of evolution stages can also be specified, for example, it can be specified that the quantum virtual time evolution process is decomposed into 100 (or other numerical values) evolution stages.
  • Each evolution stage can involve its own input state and output state, that is, each evolution stage can realize the process of transferring from an input state to an output state.
  • the input state of the first evolution stage among the plurality of evolution stages is the initial state of the quantum system, as shown in block 410, the input state of the current evolution stage may be set as the initial state of the quantum system.
  • the output state of the last evolution stage among the plurality of evolution stages is the ground state of the quantum system.
  • the input state and output state of each evolution stage are intermediate states between the initial state and the base state.
  • the input state and the output state of the current evolution stage may also be respectively referred to as a first intermediate state and a second intermediate state associated with the evolution stage.
  • the Hermitian operator A of the current evolution stage may be determined according to the obtained Hamiltonian and the input state. It will be appreciated that the Hermitian operator A may have different values at different stages of evolution. For example, the Hermitian operator in the first evolution stage can be expressed as A (1) , the Hermitian operator in the second evolution stage can be expressed as A (2) , and so on.
  • the numbers in the superscripts of the Hermitian operators indicate the numbers of evolutionary stages.
  • the processing in each evolution stage may be similar, and in the following, only one evolution stage will be used as an example for description.
  • the Hermitian operators may be subjected to Pauli decomposition to determine a number of Pauli operators associated with the current evolution stage.
  • the Hermitian operator A can be decomposed into where M represents the number of multiple Pauli operators, A j represents the j-th Pauli operator, and a j represents the coefficient of the j-th Pauli operator.
  • a target Pauli operator Aj_s may be selected from a plurality of Pauli operators based on importance sampling. It will be appreciated that the target Pauli operator Aj_s can be selected here based on a number of ways.
  • the fifth Pauli operator can be randomly selected; in the second evolution stage, the third Pauli operator can be randomly selected, and so on.
  • the randomly selected target Pauli operator A j_s can be used to represent the state transition trend of the quantum system at the current evolution stage. In this way, the calculation amount of the evolution stage can be greatly reduced, and a single quantum gate can be used to realize an evolution stage.
  • a Pauli operator with a larger coefficient for example, the largest coefficient, the second largest coefficient, etc.
  • the Pauli operator with the largest contribution in the evolution stage can be selected to represent the evolution trend of the evolution stage. In this way, the accuracy of the evolution process can be improved.
  • a unitary transformation associated with an evolution stage may be generated based on the target Pauli operator and the coefficients of the plurality of Pauli operators.
  • the target Pauli operator A j_s can be amplified to construct a unitary transformation, and then determine the output state associated with the evolution stage. It will be appreciated that the output state here is closer to the ground state than the first intermediate state. That is to say, in each evolution stage, the evolution is carried out toward the direction of transferring from the initial state of the quantum system to the ground state.
  • an output state associated with an evolution stage can be determined based on a target Pauli operator and coefficients of a plurality of Pauli operators.
  • a sum of absolute values of coefficients of multiple Pauli operators may be determined, and a unitary transformation may be determined based on a target Pauli operator, the sum of coefficients of the target Pauli operator. Specifically, based on the probability to select the target Pauli operator A j_s , and amplify the coefficient of the target Pauli operator A j_s to Thus, it is possible to use to replace e -iA ⁇ t , and then realize the current evolution stage based on the unitary transformation.
  • the evolution accuracy obtained by using the enlarged target Pauli operator may be lower than the evolution accuracy of the existing QITE, however, the amount of calculation involved in the simulation process based on the enlarged target Pauli operator will be It will be much smaller than the calculation amount of the existing QITE (for example, reduced to the original 1/M). Furthermore, when the calculation results of multiple evolution stages are considered comprehensively, the experiment shows that the accuracy of the ground state obtained by using the enlarged target Pauli operator is still high, and the difference from the existing QITE technical scheme is very subtle. In this way, the number of computing resources and time resources involved in each evolution stage can be greatly reduced, thereby improving the performance of the entire quantum virtual time evolution process.
  • the loop process shown in FIG. 4 may be repeated continuously until the total evolution time reaches a predetermined length of time.
  • the input is the initial state
  • the output state of the first evolution stage can be fed to the second evolution stage as the input state of the second evolution stage.
  • the output state of the second evolution stage can be fed to the third evolution stage as the input state of the third evolution stage, and so on.
  • input state output state
  • FIG. 4 illustrates by way of example only the process of determining whether method 400 is complete based on a time comparison.
  • the number of iterations may also be specified in advance, for example, the method 400 may be stopped when the predetermined number of iterations is reached.
  • predetermined convergence conditions may be specified. For example, the method 400 stops when the difference between the input state and the output state associated with an evolution stage (or the difference between the output states of two successive evolution stages) satisfies the convergence condition.
  • quantum gates may be utilized to perform unitary transformations to determine the output state associated with the current evolutionary stage.
  • the process that originally needs to be performed by M quantum gates can be transferred to be implemented by a single quantum gate.
  • only a single quantum gate is needed to complete one evolution stage using the exemplary implementations of the present disclosure. In this way, the amount of calculations involved in each evolution stage can be greatly reduced, thereby reducing the depth of the corresponding quantum circuits.
  • the calculation amount of each evolution stage can be further reduced based on importance sampling.
  • the Hamiltonian H can be decomposed by Pauli into a sum of terms h j H j .
  • importance sampling can be performed based on the coefficients h j of the above-mentioned multiple terms, so as to select a target energy Pauli operator H j_sh from a plurality of energy Pauli operators H j .
  • the coefficient h j_sh of the target energy Pauli operator H j_sh may have the largest absolute value among the plurality of coefficients h j .
  • the Hermitian operator associated with the evolution stage may be determined based on the target energy Pauli operator H j_sh and the amplification factor
  • the coefficient h j_sh of H j_sh can be amplified to At this time, during the evolution phase, it is not necessary to perform calculations on all the data in the Hamiltonian, but only need to perform subsequent calculations on the amplified energy Pauli operator Hj therein. In this way, the calculation amount involved in the evolution stage can be further reduced, thereby reducing the calculation resource and time resource overhead of the entire quantum virtual time evolution process.
  • FIG. 5 shows a block diagram 500 for implementing a quantum virtual time evolution process based on an amplified objective Pauli operator, according to some implementations of the present disclosure.
  • the evolution process can be processed based on the DRIFT-QITE principle.
  • the evolution process only includes 3 evolution stages, and each evolution stage includes a series of evolution U 1 U 2 . . . U M .
  • one item from U 1 U 2 . . . U M can be selected to replace the entire evolution stage.
  • V-evolution can be constructed to approximate the entire evolution stage.
  • the e-exponent part of V only includes a single Pauli operator, so the depth is still 1 when implemented with quantum gates.
  • the coefficient of the selected target Pauli operator can be amplified so as to achieve the effect of reducing the depth.
  • Curve 510 includes 3 evolution stages, and each evolution stage includes a corresponding plurality of parts.
  • the first evolutionary stage involves The second evolutionary stage involves and the 3rd evolutionary stage involves
  • each part takes a small step in its own direction, for example, the first part in the 1st evolutionary stage goes towards Forward, the second part of the first evolutionary stage towards etc.
  • a large step can be taken along the direction V with the largest coefficient (
  • the coefficient of the coefficients of multiple Pauli operators after Pauli decomposition.
  • each line segment U 1 , U 2 in each evolution stage, each line segment U 1 , U 2 , . Further, the length of the selected line segment can be amplified to the sum of the lengths of the line segments U 1 , U 2 , . . . U M in the evolution stage. That is, in each evolution stage, a large step is taken in the direction of the selected line segment.
  • the three evolutionary stages (that is, three Trotter steps) shown in FIG. 5 only need three steps forward in three directions.
  • the M line segments in each evolution stage can be replaced with a single line segment.
  • V (1) in the first evolution stage you can use Replaced by V (1)
  • V (2) in the second evolution stage, the is replaced by V (2)
  • Replaced by V (3) in the third evolution stage it is possible to replace Replaced by V (3) . That is, the evolution path of the curve 510 including multiple small line segments is replaced by three polylines 520 with larger lengths.
  • each line segment in polyline 520 may correspond to a quantum circuit with a depth of one.
  • the depth of the existing QITE realized based on the curve 510 is 3M (including 3 evolution stages, and the depth of each evolution stage is M), while the depth of the DRIFT-QITE of the present disclosure based on the broken line 520 is only 3. In this way, the depth of the quantum circuit can be greatly reduced, and the deviation of the evolution path can be controlled within the error range.
  • a quantum virtual time evolution process may be performed using a quantum circuit including a plurality of quantum gates.
  • FIG. 6 shows a block diagram 600 of implementing quantum virtual time evolution process using quantum circuits according to some implementations of the present disclosure.
  • the number of multiple quantum gates can be determined based on the number of multiple evolution stages.
  • a quantum gate can be used to implement a unitary transformation associated with an evolution stage.
  • evolution stage 310 may be implemented using quantum gate 322
  • evolution stage 312 may be implemented using quantum gate 610
  • . . . , and evolution stage 314 may be implemented using quantum gate 620 .
  • the quantum circuit 610 may include K quantum gates for simulating a quantum virtual-time evolution process including K evolution stages.
  • the target Pauli operator is selected based on importance sampling and by amplifying the coefficient of the target Pauli operator, it is possible to reduce the amount of computation involved.
  • the quantum circuit is used to realize the quantum virtual time evolution process, the number of quantum gates used in each evolution stage can be greatly reduced, thereby reducing the depth of the quantum circuit and improving the overall performance of the quantum virtual time evolution process.
  • FIG. 6 shows that the DRIFT-QITE scheme according to the present disclosure is used in each stage 310, 312, ..., and 314 to reduce the amount of computation, according to an exemplary implementation of the present disclosure, the The DRIFT-QITE protocol is applied in some of the above multiple stages. At this time, the performance of the evolution stage applying the DRIFT-QITE scheme will be significantly improved.
  • the DRIFT-QITE scheme described above can be applied in quantum systems including BeH2 molecules. Near the molecular equilibrium position, within the allowable error range, using DRIFT-QITE requires only fewer steps (based on different configurations, such as 52 steps or 37 steps) to reach the ground state of the quantum system with the desired accuracy. At this time, the number of required quantum gates is 52 or 37. However, in the existing QITE, a single Trotter step requires 252 quantum gates, and in the quantum virtual time evolution process including dozens of Trotter steps, the existing QITE requires at least thousands of quantum gates.
  • the calculation amount of the quantum virtual time evolution process can be greatly reduced, and then implemented with a smaller number of quantum gates.
  • the depth of the quantum circuit can be greatly reduced without loss of precision, the interference of environmental noise can be reduced, and the performance of the quantum virtual time evolution process can be improved.
  • Fig. 7 shows a flowchart of a method 700 for managing the state of a quantum system in an evolution stage in the quantum virtual time evolution process according to an exemplary implementation of the present disclosure.
  • the quantum virtual time evolution process is used to realize the process of transferring the quantum system from the initial state to the ground state, and the quantum virtual time evolution process includes at least one evolution stage.
  • an err associated with the evolution stage is determined based on the quantum system's Hamiltonian and a first intermediate state between the initial state and the ground state. meter operator.
  • a Pauli decomposition is performed on the Hermitian operators to determine a number of Pauli operators associated with the stages of evolution.
  • a target Pauli operator is selected from a plurality of Pauli operators based on importance sampling. According to an exemplary implementation of the present disclosure, a target Pauli operator may be selected from a plurality of Pauli operators based on a comparison of coefficients of the plurality of Pauli operators.
  • a second intermediate state associated with the evolution stage is determined, the second intermediate state being closer to the ground state than the first intermediate state.
  • a unitary transformation associated with an evolution stage may be generated based on a target Pauli operator and coefficients of a plurality of Pauli operators.
  • a unitary transformation can be utilized to determine a second intermediate state associated with the evolution stage.
  • the sum of the absolute values of the coefficients of a plurality of Pauli operators may be determined. Further, the unitary transformation can be determined based on the objective Pauli operator and the sum.
  • quantum gates may be used to perform unitary transformation to determine the second intermediate state.
  • At least one evolution stage includes a plurality of evolution stages.
  • the time steps of the multiple evolution stages may be determined based on the time length and predetermined accuracy for performing the quantum virtual time evolution process. Trotter decomposition can then be performed on the quantum virtual-time evolution process according to the time step to determine multiple evolution stages.
  • the first intermediate state in the first evolution stage among the plurality of evolution stages, is the initial state.
  • the second intermediate state may be output to the second evolution stage following the first evolution stage as the first intermediate state of the second evolution stage.
  • a quantum virtual time evolution process may be performed using a quantum circuit including a plurality of quantum gates, the number of the plurality of quantum gates is determined based on the number of evolution stages, and the plurality of quantum gates A given quantum gate in is used to perform the unitary transformation associated with a given evolutionary stage of the plurality of evolutionary stages.
  • a target Pauli operator may be randomly selected from a plurality of Pauli operators.
  • multiple energy Pauli operators of the Hamiltonian may be determined based on the Hamiltonian and the initial state of the quantum system. Then, a target energy Pauli operator may be selected from a plurality of energy Pauli operators based on importance sampling. Further, the Hermitian operator associated with the evolution stage may be determined based on the target energy Pauli operator and the coefficients of the plurality of energy Pauli operators.
  • Fig. 8 shows a block diagram of an apparatus 800 for managing the state of a quantum system based on a quantum virtual time evolution process according to an exemplary implementation of the present disclosure.
  • the quantum virtual time evolution process is used to realize the process of transferring the quantum system from the initial state to the ground state, and the quantum virtual time evolution process includes at least one evolution stage.
  • the apparatus 800 includes a determination module 810 , a decomposition module 820 , a selection module 830 and a status determination module 840 .
  • the determination module 810 is configured to determine and evolve the quantum system based on the Hamiltonian of the quantum system and the first intermediate state between the initial state and the ground state during at least one of the evolution stages.
  • the decomposition module 820 is configured to perform Pauli decomposition on the Hermitian operators to determine a plurality of Pauli operators associated with the stages of evolution; the selection module 830 is configured for importance-based sampling Selecting a target Pauli operator from the plurality of Pauli operators; and state determination module 840 configured to determine a second intermediate state associated with the evolution stage based on the target Pauli operator and coefficients of the plurality of Pauli operators , the second intermediate state is closer to the ground state than the first intermediate state.
  • the apparatus further includes a module for performing other steps in the method 700 .
  • FIG. 9 shows a block diagram of a device 900 capable of implementing various implementations of the present disclosure. It should be understood that the computing device 900 shown in FIG. 9 is exemplary only, and should not constitute any limitation as to the functionality and scope of the implementations described herein. For example, computing device 900 may be used to perform method 700 described above.
  • computing device 900 is in the form of a general-purpose computing device.
  • Components of computing device 900 may include, but are not limited to, one or more processors or processing units 910, memory 920, storage devices 930, one or more communication units 940, one or more input devices 950, and one or more output devices 960.
  • the processing unit 910 may be an actual or virtual processor and can perform various processing according to programs stored in the memory 920 . In a multi-processor system, multiple processing units execute computer-executable instructions in parallel to increase the parallel processing capability of the computing device 900 .
  • Computing device 900 typically includes a plurality of computer storage media. Such media can be any available media that is accessible by computing device 900, including but not limited to, volatile and nonvolatile media, removable and non-removable media.
  • the memory 920 can be volatile memory (eg, registers, cache, random access memory (RAM)), nonvolatile memory (eg, read only memory (ROM), electrically erasable programmable read only memory (EEPROM) , flash memory) or some combination of them.
  • Storage device 930 may be removable or non-removable media, and may include machine-readable media, such as flash drives, magnetic disks, or any other media that may be capable of storing information and/or data (e.g., training data for training ) and can be accessed within computing device 900.
  • Computing device 900 may further include additional removable/non-removable, volatile/nonvolatile storage media.
  • a disk drive for reading from or writing to a removable, nonvolatile disk such as a "floppy disk"
  • a disk drive for reading from a removable, nonvolatile disk may be provided.
  • CD-ROM drive for reading or writing.
  • each drive may be connected to the bus (not shown) by one or more data media interfaces.
  • the memory 920 may include a computer program product 925 having one or more program modules configured to perform the various methods or actions of the various implementations of the present disclosure.
  • the communication unit 940 enables communication with other computing devices through communication media. Additionally, the functionality of the components of computing device 900 may be implemented in a single computing cluster or as a plurality of computing machines capable of communicating via communication links. Accordingly, computing device 900 may operate in a networked environment using logical connections to one or more other servers, a network personal computer (PC), or another network node.
  • PC network personal computer
  • Input device 950 may be one or more input devices, such as a mouse, keyboard, trackball, and the like.
  • Output device 960 may be one or more output devices, such as a display, speakers, printer, or the like.
  • the computing device 900 can also communicate with one or more external devices (not shown) through the communication unit 940 as needed, such as storage devices, display devices, etc., and one or more devices that enable the user to interact with the computing device 900 In communication, or with any device (eg, network card, modem, etc.) that enables computing device 900 to communicate with one or more other computing devices. Such communication may be performed via an input/output (I/O) interface (not shown).
  • I/O input/output
  • a computer-readable storage medium on which computer-executable instructions are stored, wherein the computer-executable instructions are executed by a processor to implement the methods described above.
  • a computer program product tangibly stored on a non-transitory computer-readable medium and comprising computer-executable instructions, and the computer-executable instructions are executed by a processor to implement the method described above.
  • a computer program product on which a computer program is stored, the program implementing the method described above when executed by a processor.
  • These computer-readable program instructions may be provided to a processing unit of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine such that when executed by the processing unit of the computer or other programmable data processing apparatus , producing an apparatus for realizing the functions/actions specified in one or more blocks in the flowchart and/or block diagram.
  • These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause computers, programmable data processing devices and/or other devices to work in a specific way, so that the computer-readable medium storing instructions includes An article of manufacture comprising instructions for implementing various aspects of the functions/acts specified in one or more blocks in flowcharts and/or block diagrams.
  • computer-readable program instructions can be loaded onto a computer, other programmable data processing apparatus, or other equipment, so that a series of operational steps are performed on the computer, other programmable data processing apparatus, or other equipment to produce a computer-implemented process, Instructions executed on computers, other programmable data processing devices, or other devices can thus implement the functions/actions specified in one or more blocks in the flowcharts and/or block diagrams.
  • each block in a flowchart or block diagram may represent a module, a program segment, or a portion of an instruction that contains one or more executable instruction.
  • the functions noted in the block may occur out of the order noted in the figures. For example, two blocks in succession may, in fact, be executed substantially concurrently, or they may sometimes be executed in the reverse order, depending upon the functionality involved.
  • each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations can be implemented by a dedicated hardware-based system that performs the specified function or action , or may be implemented by a combination of dedicated hardware and computer instructions.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Mathematical Analysis (AREA)
  • Data Mining & Analysis (AREA)
  • Evolutionary Computation (AREA)
  • Condensed Matter Physics & Semiconductors (AREA)
  • Computational Mathematics (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Mathematical Physics (AREA)
  • Software Systems (AREA)
  • Artificial Intelligence (AREA)
  • Superconductor Devices And Manufacturing Methods Thereof (AREA)

Abstract

Provided are a method and apparatus for managing state of a quantum system, a device and a medium. The quantum virtual time evolution process is used for realizing the process of transferring the quantum system from an initial state to a ground state, and the quantum virtual time evolution process comprises at least one evolution stage. In one method, during an evolutionary phase of the at least one evolution stage, a Hermitian operator associated with the evolutionary phase is determined on the basis of a Hamiltonian of the quantum system and a first intermediate state between the initial state and the ground state. Pauli decomposition is performed for the Hermitian operator to determine a plurality of Pauli operators associated with the evolutionary phase. A target Pauli operator is selected from the plurality of Pauli operator on the basis of importance sampling. A second intermediate state associated with the evolutionary phase is determined on the basis of the target Pauli operator and coefficients of the plurality of Pauli operators, the second intermediate state being closer to the ground state than the first intermediate state. The calculation amount of each evolutionary phase can be reduced, and the performance of the whole quantum virtual time evolution process is improved. Furthermore, the depth of a corresponding quantum circuit can be reduced.

Description

用于管理量子系统的状态的方法、设备、装置和介质Method, device, apparatus and medium for managing the state of a quantum system
本申请要求2022年01月10日递交的,标题为“用于管理量子系统的状态的方法、设备、装置和介质”、申请号为202210022806.5的中国发明专利申请的优先权,其全部公开通过引用并入本文。This application claims the priority of the Chinese invention patent application filed on January 10, 2022, entitled "Method, device, device and medium for managing the state of a quantum system", application number 202210022806.5, the entire disclosure of which is incorporated by reference Incorporated into this article.
技术领域technical field
本公开的示例性实现方式总体涉及量子系统,特别地涉及用于管理量子系统的状态的方法、设备、装置和计算机可读存储介质。Exemplary implementations of the present disclosure relate generally to quantum systems, and in particular to methods, apparatuses, apparatuses, and computer-readable storage media for managing states of quantum systems.
背景技术Background technique
量子力学是描述微观量子系统的基本规律的学科。与遵循经典物理规律的经典计算机不同,量子计算基于微观量子系统并且应用量子力学规律来实现。量子计算可以涉及一系列基本操作(被称为量子门),并且可以利用这些基本的量子门来构建复杂的量子线路。可以使用量子线路来实现量子系统的状态转移(例如,从初态转移至基态)。然而,量子系统的状态转移涉及较大计算量,这导致量子线路包括的量子门的数量极大。Quantum mechanics is a discipline that describes the basic laws of microscopic quantum systems. Unlike classical computers that obey the laws of classical physics, quantum computing is based on microscopic quantum systems and is implemented by applying the laws of quantum mechanics. Quantum computing can involve a series of basic operations (called quantum gates), and complex quantum circuits can be built using these basic quantum gates. Quantum circuits can be used to achieve state transitions (eg, from an initial state to a ground state) of a quantum system. However, the state transfer of a quantum system involves a relatively large amount of calculation, which leads to an extremely large number of quantum gates included in the quantum circuit.
随着量子门的增多,误差的积累可以导致量子计算的准确度降低。进一步,量子系统与周围环境的相互作用也会导致逐渐丢失有效信息。因而,期望能够降低管理量子系统的状态转移所涉及的计算量,进而以更为有效的方式来管理量子系统。As more quantum gates are added, the accumulation of errors can lead to less accurate quantum computing. Furthermore, the interaction of the quantum system with the surrounding environment will also lead to the gradual loss of effective information. Therefore, it is expected to reduce the calculation amount involved in managing the state transition of the quantum system, and then manage the quantum system in a more efficient manner.
发明内容Contents of the invention
根据本公开的示例性实现方式,提供了基于量子虚时演化过程管理量子系统的状态的方案。According to an exemplary implementation of the present disclosure, a scheme for managing the state of a quantum system based on a quantum virtual time evolution process is provided.
在本公开的第一方面,提供了一种用于基于量子虚时演化过程管 理量子系统的状态的方法,量子虚时演化过程用于实现量子系统从初态转移至基态的过程,量子虚时演化过程包括至少一个演化阶段。在该方法中,在至少一个演化阶段中的演化阶段期间,基于量子系统的哈密顿量以及初态和基态之间的第一中间状态,确定与演化阶段相关联的厄米算符。针对厄米算符进行泡利分解,以确定与演化阶段相关联的多个泡利算符。基于重要性采样从多个泡利算符中选择目标泡利算符。基于目标泡利算符以及多个泡利算符的系数,确定与演化阶段相关联的第二中间状态,第二中间状态比第一中间状态更接近基态。In a first aspect of the present disclosure, a method for managing the state of a quantum system based on the quantum virtual time evolution process is provided. The quantum virtual time evolution process is used to realize the process of transferring the quantum system from the initial state to the ground state. The quantum virtual time The evolution process includes at least one evolution stage. In the method, during an evolution stage in at least one of the evolution stages, a Hermitian operator associated with the evolution stage is determined based on a Hamiltonian of the quantum system and a first intermediate state between the initial state and the ground state. A Pauli decomposition is performed on the Hermitian operators to determine the number of Pauli operators associated with the stages of evolution. A target Pauli operator is selected from multiple Pauli operators based on importance sampling. Based on the target Pauli operator and the coefficients of the plurality of Pauli operators, a second intermediate state associated with the evolution stage is determined, the second intermediate state being closer to the ground state than the first intermediate state.
在本公开的第二方面,提供了一种电子设备,包括:至少一个处理单元;以及至少一个存储器,至少一个存储器被耦合到至少一个处理单元并且存储用于由至少一个处理单元执行的指令,指令在由至少一个处理单元执行时使设备执行动作。该动作用于执行根据本公开的第一方面的方法。In a second aspect of the present disclosure, there is provided an electronic device comprising: at least one processing unit; and at least one memory coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit, The instructions, when executed by at least one processing unit, cause the device to perform actions. This action is used to perform the method according to the first aspect of the present disclosure.
在本公开的第三方面,提供了一种用于基于量子虚时演化过程管理量子系统的状态的装置。该装置包括用于执行根据本公开的第一方面的方法中的各个步骤的模块。In a third aspect of the present disclosure, an apparatus for managing a state of a quantum system based on a quantum virtual time evolution process is provided. The apparatus comprises means for performing the steps in the method according to the first aspect of the present disclosure.
在本公开的第四方面,提供了一种计算机可读存储介质。该介质上存储有计算机程序,当程序被处理器执行时用于执行根据本公开的第一方面的方法。In a fourth aspect of the present disclosure, a computer readable storage medium is provided. A computer program is stored on the medium for performing the method according to the first aspect of the present disclosure when the program is executed by a processor.
应当理解,本发明内容部分中所描述的内容并非旨在限定本公开的实现方式的关键特征或重要特征,也不用于限制本公开的范围。本公开的其它特征将通过以下的描述而变得容易理解。It should be understood that what is described in the Summary of the Invention is not intended to limit the key or important features of the implementations of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will be readily understood through the following description.
附图说明Description of drawings
在下文中,结合附图并参考以下详细说明,本公开各实现方式的上述和其他特征、优点及方面将变得更加明显。在附图中,相同或相似的附图标记表示相同或相似的元素,其中:Hereinafter, the above and other features, advantages and aspects of various implementations of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. In the drawings, identical or similar reference numerals denote identical or similar elements, wherein:
图1示出了根据一个技术方案的Trotter分解的框图;Fig. 1 shows a block diagram of Trotter decomposition according to a technical solution;
图2示出了根据一个技术方案的利用量子线路实现的量子虚时演 化过程的框图;Fig. 2 shows the block diagram of the quantum imaginary time evolution process that utilizes quantum circuit to realize according to a technical scheme;
图3示出了根据本公开的一个示例性实现方式的利用量子线路来实现量子虚时演化过程的框图;Fig. 3 shows a block diagram of realizing the evolution process of quantum virtual time by using a quantum circuit according to an exemplary implementation of the present disclosure;
图4示出了根据本公开的一个示例性实现方式的基于量子虚时演化过程来管理量子系统的状态的方法的流程图;FIG. 4 shows a flowchart of a method for managing the state of a quantum system based on a quantum virtual time evolution process according to an exemplary implementation of the present disclosure;
图5示出了根据本公开的一些实现方式的用于基于放大目标泡利算符来实现量子虚时演化过程的框图;FIG. 5 shows a block diagram for realizing the quantum virtual time evolution process based on the enlarged objective Pauli operator according to some implementations of the present disclosure;
图6示出了根据本公开的一些实现方式的利用量子线路来实现量子虚时演化过程的框图;Fig. 6 shows a block diagram of realizing quantum virtual time evolution process by using quantum circuits according to some implementations of the present disclosure;
图7示出了根据本公开的一个示例性实现方式的在量子虚时演化过程中的一个演化阶段中的用于管理量子系统的状态的方法的流程图;FIG. 7 shows a flowchart of a method for managing the state of a quantum system in an evolution stage in the quantum virtual time evolution process according to an exemplary implementation of the present disclosure;
图8示出了根据本公开的一个示例性实现方式的基于量子虚时演化过程来管理量子系统的状态的装置的框图;以及8 shows a block diagram of an apparatus for managing the state of a quantum system based on a quantum virtual time evolution process according to an exemplary implementation of the present disclosure; and
图9示出了能够实施本公开的多个实现方式的设备的框图。Figure 9 shows a block diagram of a device capable of implementing various implementations of the present disclosure.
具体实施方式Detailed ways
下面将参照附图更详细地描述本公开的实现方式。虽然附图中示出了本公开的某些实现方式,然而应当理解的是,本公开可以通过各种形式来实现,而且不应该被解释为限于这里阐述的实现方式,相反,提供这些实现方式是为了更加透彻和完整地理解本公开。应当理解的是,本公开的附图及实现方式仅用于示例性作用,并非用于限制本公开的保护范围。Implementations of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain implementations of the present disclosure are shown in the drawings, it should be understood that the disclosure may be embodied in various forms and should not be construed as limited to the implementations set forth herein; It is for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and implementation manners of the present disclosure are for exemplary purposes only, and are not intended to limit the protection scope of the present disclosure.
近年来,量子计算快速发展,并且在未来有可能重塑微观量子系统的模拟、加密和求解组合优化等技术领域。在下文中,首先参见表1描述量子系统所涉及的基本概念。In recent years, quantum computing has developed rapidly, and in the future it is possible to reshape the technical fields of simulation, encryption, and solution combinatorial optimization of microscopic quantum systems. In the following, first refer to Table 1 to describe the basic concepts involved in the quantum system.
表1量子系统的基本概念Table 1 Basic concepts of quantum systems
Figure PCTCN2022138710-appb-000001
Figure PCTCN2022138710-appb-000001
Figure PCTCN2022138710-appb-000002
Figure PCTCN2022138710-appb-000002
Figure PCTCN2022138710-appb-000003
Figure PCTCN2022138710-appb-000003
量子计算目前涉及较大计算量,并且受到量子比特数目、噪声、系统相干时间以及执行量子门的保真度等诸多因素的限制。在量子计算中,随着量子门操作的增多(也即,量子线路深度的增加),误差的积累会导致量子计算的准确度降低,同时由于量子系统与周围环境的相互作用也会导致有效信息逐渐丢失。因此,如何降低状态转移期间所涉及的计算量,进而使用深度较浅的量子线路来模拟量子系统的状态转移过程,成为目前的一个研究热点。Quantum computing currently involves a large amount of calculation and is limited by many factors such as the number of qubits, noise, system coherence time, and the fidelity of executing quantum gates. In quantum computing, as the number of quantum gate operations increases (that is, the depth of the quantum circuit increases), the accumulation of errors will lead to a decrease in the accuracy of quantum computing, and at the same time, due to the interaction between the quantum system and the surrounding environment, it will also lead to effective information gradually lost. Therefore, how to reduce the amount of calculation involved in the state transition, and then use shallower quantum circuits to simulate the state transition process of the quantum system has become a current research hotspot.
在量子系统仿真领域,确定量子系统的基态是解决后续问题的关键。在下文中,将以量子系统的状态转移过程为示例,描述根据本公开的示例性实现方式的更多细节。在量子计算中,哈密顿量H是描述量子系统的能量的基本量,可以将其对应的幺正演化映射到量子线路。具体地,可以将哈密顿量H转换为泡利展开形式,也即多个泡利项的求和:
Figure PCTCN2022138710-appb-000004
在此,H j是泡利项,并且h j是泡利项的系数,L是泡利展开项的数量。根据薛定谔方程,对量子系统的理想时间演化可以表示为如下形式(称为幺正变换):U(t)=e -iHt,在此i为虚数单位。
In the field of quantum system simulation, determining the ground state of the quantum system is the key to solving subsequent problems. In the following, more details of an exemplary implementation according to the present disclosure will be described by taking the state transition process of a quantum system as an example. In quantum computing, the Hamiltonian H is the basic quantity describing the energy of a quantum system, and its corresponding unitary evolution can be mapped to a quantum circuit. Specifically, the Hamiltonian H can be converted into a Pauli expansion form, that is, the sum of multiple Pauli terms:
Figure PCTCN2022138710-appb-000004
Here, H j is a Pauli term, and h j is a coefficient of the Pauli term, and L is the number of Pauli expansion terms. According to the Schrödinger equation, the ideal time evolution of a quantum system can be expressed as the following form (called unitary transformation): U(t)=e -iHt , where i is the imaginary unit.
将会理解,单一
Figure PCTCN2022138710-appb-000005
的形式可以通过量子线路操作,以便转化成为基本的单比特门和两比特门。然而,上述演化形式U(t)=e -iHt中e指数部分包括多个泡利项的求和,无法直接在量子线路上实现。此时,需要将上述演化形式转化为
Figure PCTCN2022138710-appb-000006
的乘积形式(也即,e的指数部分仅包括单一泡利项),以便在量子门中操作。
will understand that single
Figure PCTCN2022138710-appb-000005
The form of can be manipulated by quantum circuits in order to transform into basic single-bit gates and two-bit gates. However, the exponent part of e in the above evolution form U(t)=e -iHt includes the summation of multiple Pauli terms, which cannot be directly implemented on quantum circuits. At this point, the above evolutionary form needs to be transformed into
Figure PCTCN2022138710-appb-000006
(that is, the exponential part of e includes only a single Pauli term) to operate in quantum gates.
此时,可以将U(t)转换为:
Figure PCTCN2022138710-appb-000007
的形式。将会理解,上述公式中的每个泡利项不是数字而是算符(或者矩阵)。因此在一般情况下,对于不同的泡利项H i和H j,H iH j≠H jH i。这种现象被称为H i和H j不对易。因此,在演化过程中将会存在以下不等式:
Figure PCTCN2022138710-appb-000008
Figure PCTCN2022138710-appb-000009
At this point, U(t) can be converted to:
Figure PCTCN2022138710-appb-000007
form. It will be appreciated that each Pauli term in the above formula is not a number but an operator (or matrix). So in general, H i H j ≠ H j H i for different Pauli terms H i and H j . This phenomenon is known as H i and H j non-commutation. Therefore, the following inequalities will exist in the evolution process:
Figure PCTCN2022138710-appb-000008
Figure PCTCN2022138710-appb-000009
可以利用Trotter分解来解决上述不对易的问题。在下文中,将参见图1描述有关Trotter分解的概要。该图1示出了根据一个技术方案的Trotter分解的框图100,每个阶段可以对应于一个Trotter步。假设整个幺正演化过程的总时间为t,当时间t较大时,上述不等式两侧的差异将会非常显著。可以将整个演化过程划分为多个阶段110、112、…以及114。也即,将t分解为多个较小时间单位Δt(例如,将t分解为K个部分,t=KΔt)。图1表示已经执行量子虚时演化后的线路图,在各个阶段中H可以分别等于A (1),…,A (K)。此时,每个Δt非常小,因此对于每个Δt存在如下近似关系: Trotter decomposition can be used to solve the above-mentioned incompatibility problem. Hereinafter, an outline about Trotter decomposition will be described with reference to FIG. 1 . 1 shows a block diagram 100 of Trotter decomposition according to a technical solution, and each stage may correspond to a Trotter step. Assuming that the total time of the entire unitary evolution process is t, when the time t is large, the difference between the two sides of the above inequality will be very significant. The entire evolution process can be divided into a plurality of stages 110 , 112 , . . . and 114 . That is, decompose t into multiple smaller time units Δt (eg, decompose t into K parts, t=KΔt). Fig. 1 shows the circuit diagram after the quantum virtual time evolution has been performed, and H can be equal to A (1) ,...,A (K) in each stage. At this time, each Δt is very small, so there is the following approximate relationship for each Δt:
Figure PCTCN2022138710-appb-000010
Figure PCTCN2022138710-appb-000010
由此,整个时间t期间的演化可以近似地表示为:U(t)≈U′(Δt) K。可以将每个Δt称为一个Trotter步,整个演化期间包括K个Trotter步。此时,在如图1所示的各个阶段110、112、…、以及114中,可以基于U(t)≈U′(Δt) K来执行演化过程。 Thus, the evolution during the entire time t can be approximately expressed as: U(t)≈U′(Δt) K . Each Δt can be called a Trotter step, and the entire evolution period includes K Trotter steps. At this time, in each of the stages 110 , 112 , .
目前已经提出了量子虚时演化(QITE)的技术方案,以用于计算量子系统基态能量。该技术方案通过构建幺正的量子线路来模拟虚时演化过程。在近似误差和数值误差足够小的情况下,虚时演化过程可以收敛到基态能量。然而,已有的量子虚时演化过程涉及较大计算量,这导致相应的量子线路的深度较高。在此,在每个Trotter步骤期间都涉及大量计算,这导致量子虚时演化的线路深度与量子系统的哈密顿量的泡利算符的数量以及Trotter步的数量成正比。At present, the technical scheme of quantum imaginary time evolution (QITE) has been proposed to calculate the ground state energy of quantum systems. The technical solution simulates the virtual time evolution process by constructing a unitary quantum circuit. When the approximate error and numerical error are small enough, the virtual time evolution process can converge to the ground state energy. However, the existing quantum virtual time evolution process involves a large amount of calculation, which leads to a relatively high depth of the corresponding quantum circuit. Here, a large amount of computation is involved during each Trotter step, which leads to a line depth of quantum imaginary time evolution proportional to the number of Pauli operators of the quantum system's Hamiltonian and the number of Trotter steps.
虚时演化用于计算能量基态的一种演化,可以将U(t)中的t乘以虚数单位(即替换为it),则演化转换为e -Ht。在虚时演化中,只要构建的初态与基态部分地重合,则高阶激发态将会以指数速度衰减,最后得到基态的主要成分。然而,此变换是非幺正的并且不能利用量子门操作。QITE提供了通过求解线性方程组,找到幺正演化e -iAΔt,并使其对给定初始态|ψ>的影响与虚时演化e -HΔt近似地相同。为了在量子线路中实现上述幺正演化,可以执行Trotter分解。对于第j个Trotter 步,存在如下关系:
Figure PCTCN2022138710-appb-000011
(在此上标的括号表示第j个Trotter步)。
The imaginary time evolution is used to calculate the evolution of the energy ground state. The t in U(t) can be multiplied by the imaginary unit (that is, replaced by it), and the evolution is transformed into e -Ht . In virtual-time evolution, as long as the constructed initial state partially coincides with the ground state, the higher-order excited states will decay exponentially, and finally the main components of the ground state will be obtained. However, this transformation is non-unitary and cannot take advantage of quantum gate operations. QITE provides that by solving a system of linear equations, the unitary evolution e -iAΔt is found, and its effect on a given initial state |ψ> is approximately the same as the imaginary time evolution e -HΔt . To achieve the above-mentioned unitary evolution in quantum circuits, a Trotter decomposition can be performed. For the jth Trotter step, the following relationship exists:
Figure PCTCN2022138710-appb-000011
(The parentheses superscripted here denote the jth Trotter step).
在下文中,参见图2描述有关量子虚时演化的更多细节。图2示出了根据一个技术方案的利用量子线路实现的量子虚时演化过程的框图200。可以使用量子线路来实现各个阶段110、112、…、以及114。图2仅以第一个阶段110(即,第1个Trotter步)为示例进行描述,针对其他阶段的处理是类似的因而不再赘述。如图2所示,可以以量子线路320实现阶段110中的
Figure PCTCN2022138710-appb-000012
可以执行泡利分解,以便获得演化的展开形式:
Figure PCTCN2022138710-appb-000013
在此,
Figure PCTCN2022138710-appb-000014
表示泡利分解后获得的泡利算符。此时,展开形式可以在量子线路上实现。
In the following, more details about the evolution of quantum virtual time are described with reference to FIG. 2 . FIG. 2 shows a block diagram 200 of a quantum virtual time evolution process realized by using a quantum circuit according to a technical solution. The various stages 110, 112, ..., and 114 may be implemented using quantum circuits. FIG. 2 only uses the first stage 110 (that is, the first Trotter step) as an example for description, and the processing for other stages is similar and thus will not be repeated here. As shown in FIG. 2 , the quantum circuit 320 can be used to realize the
Figure PCTCN2022138710-appb-000012
A Pauli decomposition can be performed to obtain the expanded form of the evolution:
Figure PCTCN2022138710-appb-000013
here,
Figure PCTCN2022138710-appb-000014
represents the Pauli operator obtained after Pauli decomposition. At this point, the unfolded form can be realized on quantum circuits.
具体地,可以利用量子门220来实现
Figure PCTCN2022138710-appb-000015
可以利用量子门222来实现
Figure PCTCN2022138710-appb-000016
并且可以利用量子门220来实现
Figure PCTCN2022138710-appb-000017
此时,每个阶段都涉及大量计算,并且需要使用M个量子门来实现。进一步,对于包括K个阶段的整个量子虚时演化过程而言,需要使用至少M*K个量子门。此时,量子线路的深度与量子系统的哈密顿量的泡利算符的数量以及Trotter步的数量成正比。
Specifically, quantum gate 220 can be used to realize
Figure PCTCN2022138710-appb-000015
can be implemented using quantum gate 222
Figure PCTCN2022138710-appb-000016
And can utilize quantum gate 220 to realize
Figure PCTCN2022138710-appb-000017
At this point, each stage involves a lot of computation and needs to be implemented using M quantum gates. Further, for the entire quantum virtual time evolution process including K stages, at least M*K quantum gates need to be used. At this time, the depth of the quantum circuit is proportional to the number of Pauli operators of the Hamiltonian of the quantum system and the number of Trotter steps.
为了至少部分地解决上述技术方案中的缺陷,根据本公开的一个示例性实现方式,提供了一种用于基于量子虚时演化过程的管理量子系统的状态的技术方案DRIFT-QITE。在此,量子虚时演化过程可以实现从量子系统的初态转移至量子系统的基态,量子虚时演化过程包括至少一个演化阶段。根据本公开的一个示例性实现方式,可以基于目标泡利算符和放大步长来管理量子系统的状态转移,以便降低各个演化阶段中的计算量,进而使得各个演化阶段中的计算量不依赖于哈密顿量的泡利算符的数量。在每个演化阶段中所执行的操作可以是类似的,在下文中,将参见图3描述根据本公开的一个示例性实现方式的概要。In order to at least partly solve the defects in the above technical solutions, according to an exemplary implementation of the present disclosure, a technical solution DRIFT-QITE for managing the state of a quantum system based on the quantum imaginary time evolution process is provided. Here, the quantum virtual time evolution process can realize the transfer from the initial state of the quantum system to the ground state of the quantum system, and the quantum virtual time evolution process includes at least one evolution stage. According to an exemplary implementation of the present disclosure, the state transition of the quantum system can be managed based on the target Pauli operator and the amplification step size, so as to reduce the calculation amount in each evolution stage, so that the calculation amount in each evolution stage does not depend on The number of Pauli operators on the Hamiltonian. Operations performed in each evolution stage may be similar. Hereinafter, an outline of an exemplary implementation according to the present disclosure will be described with reference to FIG. 3 .
图3示出了根据本公开的一个示例性实现方式的利用量子线路来实现量子虚时演化过程的框图300。根据本公开的一个示例性实现方 式,量子虚时演化过程可以包括演化阶段310、312、…、314。在此,整个量子虚时演化过程可以将量子系统从初态转移至基态,每个演化阶段涉及整个量子虚时演化过程的总时间t中的一部分Δt。每个演化阶段可以从初态和基态之间的第一中间状态转移为第二中间状态,并且第二中间状态更为靠近基态。换言之,多个演化阶段可以串行地执行,以便逐步将初态转换至基态。Fig. 3 shows a block diagram 300 of implementing quantum virtual time evolution process by using quantum circuits according to an exemplary implementation of the present disclosure. According to an exemplary implementation of the present disclosure, the quantum virtual time evolution process may include evolution stages 310, 312, ..., 314. Here, the entire quantum virtual time evolution process can transfer the quantum system from the initial state to the ground state, and each evolution stage involves a part of Δt in the total time t of the entire quantum virtual time evolution process. Each evolution stage can be transferred from a first intermediate state between the initial state and the ground state to a second intermediate state, and the second intermediate state is closer to the ground state. In other words, multiple evolution stages can be performed serially to gradually transform the initial state to the ground state.
可以以类似方式实现每个演化阶段,以第一演化阶段310为示例,演化阶段310可以将第一中间状态(即,量子系统的初态|ψ 0>)转移为第二中间状态(即,量子系统的状态|ψ 1>)。具体地,可以确定与演化阶段310相关联的厄米算符
Figure PCTCN2022138710-appb-000018
进一步,可以针对该厄米算符进行泡利分解,以确定与演化阶段310相关联的多个泡利算符。在此,泡利分解的结果可以表示为
Figure PCTCN2022138710-appb-000019
其中,M表示泡利算符的数量,
Figure PCTCN2022138710-appb-000020
表示第一个演化阶段期间的多个泡利算符中的第j个泡利算符,并且
Figure PCTCN2022138710-appb-000021
表示第j个泡利算符的系数。
Each evolution stage can be realized in a similar manner, taking the first evolution stage 310 as an example, the evolution stage 310 can transfer the first intermediate state (i.e., the initial state |ψ 0 > of the quantum system) to the second intermediate state (i.e., The state of the quantum system |ψ 1 >). Specifically, the Hermitian operator associated with the evolution stage 310 can be determined
Figure PCTCN2022138710-appb-000018
Further, Pauli decomposition can be performed on the Hermitian operator to determine multiple Pauli operators associated with the evolution stage 310 . Here, the result of the Pauli decomposition can be expressed as
Figure PCTCN2022138710-appb-000019
Among them, M represents the number of Pauli operators,
Figure PCTCN2022138710-appb-000020
denote the jth Pauli operator among the Pauli operators during the first evolution stage, and
Figure PCTCN2022138710-appb-000021
Indicates the coefficient of the jth Pauli operator.
根据本公开的一个示例性实现方式,可以基于重要性采样从多个泡利算符
Figure PCTCN2022138710-appb-000022
中选择目标泡利算符
Figure PCTCN2022138710-appb-000023
进一步,可以基于目标泡利算符
Figure PCTCN2022138710-appb-000024
以及多个泡利算符的系数
Figure PCTCN2022138710-appb-000025
确定与演化阶段310相关联的第二中间状态,第二中间状态比第一中间状态更接近基态。可以将目标泡利算符
Figure PCTCN2022138710-appb-000026
的系数放大至基于各个泡利算符的系数
Figure PCTCN2022138710-appb-000027
确定的数量级,以便降低在演化阶段310的计算量。
According to an exemplary implementation of the present disclosure, multiple Pauli operators can be sampled based on importance
Figure PCTCN2022138710-appb-000022
Select the target Pauli operator in
Figure PCTCN2022138710-appb-000023
Furthermore, based on the objective Pauli operator
Figure PCTCN2022138710-appb-000024
and the coefficients of several Pauli operators
Figure PCTCN2022138710-appb-000025
A second intermediate state associated with the evolution stage 310 is determined, the second intermediate state being closer to the ground state than the first intermediate state. The target Pauli operator can be
Figure PCTCN2022138710-appb-000026
The coefficients of are scaled up to the coefficients based on the individual Pauli operators
Figure PCTCN2022138710-appb-000027
A certain order of magnitude in order to reduce the amount of computation in the evolution stage 310 .
在每个演化阶段(即,每个Trotter步)期间,当存在M个泡利算符时,假设与每个泡利算符相关联的计算量为amount,则利用已有QITE时每个演化阶段涉及的总计算量为amount*M。不同于已有QITE,利用本公开的示例性实现方式,通过选择目标泡利算符
Figure PCTCN2022138710-appb-000028
并放大相应的系数,每个演化阶段的计算量仅为与单一泡利算符
Figure PCTCN2022138710-appb-000029
相关联的计算量(即,amount)。以此方式,可以将每个演化阶段的相关计算量降低至已有QITE的1/M。将会理解,量子虚时演化过程通常包括大量演化阶段(例如,数十、上百甚至更多)。利用本公开 的示例性实现方式,可以大大降低每个演化阶段的计算量,进而降低整个量子虚时演化过程的总体计算量,由此降低相应的计算资源和时间资源的开销。
During each evolution stage (that is, each Trotter step), when there are M Pauli operators, assuming that the amount of calculation associated with each Pauli operator is amount, then each evolution using the existing QITE The total amount of computation involved in the stage is amount*M. Different from the existing QITE, using the exemplary implementation of the present disclosure, by selecting the target Pauli operator
Figure PCTCN2022138710-appb-000028
And amplify the corresponding coefficients, the calculation amount of each evolution stage is only with a single Pauli operator
Figure PCTCN2022138710-appb-000029
The associated computational amount (ie, amount). In this way, the amount of calculation related to each evolution stage can be reduced to 1/M of the existing QITE. It will be appreciated that quantum virtual-time evolution processes typically include a large number of evolution stages (eg, tens, hundreds, or even more). Using the exemplary implementation of the present disclosure, the calculation amount of each evolution stage can be greatly reduced, thereby reducing the overall calculation amount of the entire quantum virtual time evolution process, thereby reducing the corresponding calculation resource and time resource overhead.
继续参见图3,根据本公开的一个示例性实现方式,可以以量子门来实现演化阶段310。此时,仅需一个量子门322即可完成演化阶段310。以此方式,可以大大降低用于实现每个演化阶段的量子线路320的深度。将会理解,每个量子门的操作都可能会受到多种外界噪声的干扰,通过降低量子门的深度,可以大大降低量子线路的外界噪声的不利影响,因而提高量子线路的精度。当以量子线路实现整个量子虚时演化过程时,每个演化阶段仅需要一个量子门。以此方式,可以大大降低用于实现整个量子虚时演化过程的整体量子线路的深度。由此,可以以更高的效率和精度来实现量子虚时演化过程。Continuing to refer to FIG. 3 , according to an exemplary implementation of the present disclosure, the evolution stage 310 may be implemented with quantum gates. At this point, only one quantum gate 322 is needed to complete the evolution stage 310 . In this way, the depth of the quantum circuit 320 used to implement each evolution stage can be greatly reduced. It will be understood that the operation of each quantum gate may be disturbed by a variety of external noises, and by reducing the depth of the quantum gates, the adverse effects of the external noise of the quantum circuit can be greatly reduced, thereby improving the accuracy of the quantum circuit. When the whole quantum virtual time evolution process is realized by quantum circuits, only one quantum gate is needed for each evolution stage. In this way, the depth of the overall quantum circuit for realizing the entire quantum virtual time evolution process can be greatly reduced. Therefore, the quantum virtual time evolution process can be realized with higher efficiency and precision.
上文已经描述了根据本公开的一个示例性实现方式的概要,在下文中,将参见图4描述根据本公开的一个示例性实现方式的更多细节。图4示出了根据本公开的一个示例性实现方式的基于虚时演化过程来管理量子系统的状态的方法400的流程图。如图4所示,在框410处,可以确定量子系统的哈密顿量
Figure PCTCN2022138710-appb-000030
和初态。在此,哈密顿量是用于描述体系能量的厄米算符,可以基于目前已知的和/或将在未来开发的多种方式来获取量子系统的哈密顿量
Figure PCTCN2022138710-appb-000031
和初态。根据本公开的一个示例性实现方式,量子系统可以经历量子虚时演化过程中的多个演化阶段,以便从初态转移至基态。在此,每个演化阶段可以作为量子虚时演化过程的一部分,以便逐步地执行状态转移。
The outline of an exemplary implementation according to the present disclosure has been described above, and hereinafter, more details of an exemplary implementation according to the present disclosure will be described with reference to FIG. 4 . Fig. 4 shows a flowchart of a method 400 for managing the state of a quantum system based on a virtual time evolution process according to an exemplary implementation of the present disclosure. As shown in Figure 4, at block 410, the Hamiltonian of the quantum system can be determined
Figure PCTCN2022138710-appb-000030
and initial state. Here, the Hamiltonian is a Hermitian operator used to describe the energy of the system, and the Hamiltonian of a quantum system can be obtained based on various methods that are currently known and/or will be developed in the future
Figure PCTCN2022138710-appb-000031
and initial state. According to an exemplary implementation of the present disclosure, the quantum system can go through multiple evolution stages in the quantum virtual time evolution process, so as to transfer from the initial state to the ground state. Here, each evolution stage can be used as a part of the quantum virtual time evolution process to perform state transition step by step.
根据本公开的一个示例性实现方式,可以基于Trotter分解来确定多个演化阶段。具体地,可以基于用于执行量子虚时演化过程的时间长度和预定精度,确定多个演化阶段的时间步长。通常而言,量子虚时演化过程的时间长度可以涉及数秒(例如,T=5、10或者其他数值)。可以基于期望的精度来将时间步长Δt设置为0.01、0.05和/或其他数值。将会理解,时间步长Δt与精度成反比,Δt越小则精度越高。根据本公开的一个示例性实现方式,还可以指定演化阶段的数量,例如,可以 指定将量子虚时演化过程分解为100(或者其他数值)个演化阶段。According to an exemplary implementation of the present disclosure, multiple evolution stages may be determined based on Trotter decomposition. Specifically, the time steps of multiple evolution stages may be determined based on the time length and predetermined accuracy for performing the quantum virtual time evolution process. Generally speaking, the time length of the quantum virtual time evolution process may involve several seconds (for example, T=5, 10 or other values). The time step Δt can be set to 0.01, 0.05, and/or other values based on desired accuracy. It will be appreciated that the time step size Δt is inversely proportional to the precision, the smaller the Δt the higher the precision. According to an exemplary implementation of the present disclosure, the number of evolution stages can also be specified, for example, it can be specified that the quantum virtual time evolution process is decomposed into 100 (or other numerical values) evolution stages.
可以基于目前已知的和/或将在未来开发的技术来实现Trotter分解过程,在下文中将不再赘述细节。每个演化阶段可以涉及自身的输入状态和输出状态,也即,每个演化阶段可以实现从输入状态转移至输出状态的过程。在此,多个演化阶段中的第一个演化阶段的输入状态是量子系统的初态,如框410所示,可以将当前演化阶段的输入状态设置为量子系统的初态。进一步,多个演化阶段中的最后一个演化阶段的输出状态是量子系统的基态。对于其他演化阶段而言,各个演化阶段的输入状态和输出状态是初态和基态之间的中间状态。根据本公开的一个示例性实现方式,还可以将当前演化阶段的输入状态和输出状态分别称为与该演化阶段相关联的第一中间状态和第二中间状态。The Trotter decomposition process can be implemented based on currently known and/or technologies to be developed in the future, and the details will not be described in detail below. Each evolution stage can involve its own input state and output state, that is, each evolution stage can realize the process of transferring from an input state to an output state. Here, the input state of the first evolution stage among the plurality of evolution stages is the initial state of the quantum system, as shown in block 410, the input state of the current evolution stage may be set as the initial state of the quantum system. Further, the output state of the last evolution stage among the plurality of evolution stages is the ground state of the quantum system. For other evolution stages, the input state and output state of each evolution stage are intermediate states between the initial state and the base state. According to an exemplary implementation manner of the present disclosure, the input state and the output state of the current evolution stage may also be respectively referred to as a first intermediate state and a second intermediate state associated with the evolution stage.
在框420处,可以根据获取的哈密顿量和输入状态,确定当前演化阶段的厄米算符A。将会理解,在不同演化阶段,厄米算符A可以具有不同值。例如,第一个演化阶段的厄米算符可以表示为A (1)、第二个演化阶段的厄米算符可以表示A (2),以此类推。在此,厄米算符的上标中的数字表示演化阶段的编号。在每个演化阶段中的处理可以是类似的,在下文中,将仅以一个演化阶段作为示例进行描述。 At block 420, the Hermitian operator A of the current evolution stage may be determined according to the obtained Hamiltonian and the input state. It will be appreciated that the Hermitian operator A may have different values at different stages of evolution. For example, the Hermitian operator in the first evolution stage can be expressed as A (1) , the Hermitian operator in the second evolution stage can be expressed as A (2) , and so on. Here, the numbers in the superscripts of the Hermitian operators indicate the numbers of evolutionary stages. The processing in each evolution stage may be similar, and in the following, only one evolution stage will be used as an example for description.
在框430处,可以将厄米算符进行泡利分解,以便确定与当前演化阶段相关联的多个泡利算符。具体地,可以将厄米算符A分解为
Figure PCTCN2022138710-appb-000032
Figure PCTCN2022138710-appb-000033
其中M表示多个泡利算符的数量,A j表示第j个泡利算符,并a j表示第j个泡利算符的系数。进一步,在框440处,可以基于重要性采样从多个泡利算符中选择目标泡利算符A j_s。将会理解,在此可以基于多种方式来选择目标泡利算符A j_s
At block 430, the Hermitian operators may be subjected to Pauli decomposition to determine a number of Pauli operators associated with the current evolution stage. Specifically, the Hermitian operator A can be decomposed into
Figure PCTCN2022138710-appb-000032
Figure PCTCN2022138710-appb-000033
where M represents the number of multiple Pauli operators, A j represents the j-th Pauli operator, and a j represents the coefficient of the j-th Pauli operator. Further, at block 440, a target Pauli operator Aj_s may be selected from a plurality of Pauli operators based on importance sampling. It will be appreciated that the target Pauli operator Aj_s can be selected here based on a number of ways.
根据本公开的一个示例性实现方式,可以从多个泡利算符A j(j=1,…,M)中随机地选择目标泡利算符A j_s。例如,在第一个演化阶段,可以随机地选择第5个泡利算符;在第二个演化阶段,可以随机地选择第3个泡利算符,等等。利用本公开的示例性实现方式,可以利用随机选择的目标泡利算符A j_s代表量子系统在当前演化阶段的状态转 移趋势。以此方式,可以大大降低演化阶段的计算量,并且可以利用单一量子门来实现一个演化阶段。 According to an exemplary implementation of the present disclosure, a target Pauli operator A j_s may be randomly selected from a plurality of Pauli operators A j (j=1, . . . , M). For example, in the first evolution stage, the fifth Pauli operator can be randomly selected; in the second evolution stage, the third Pauli operator can be randomly selected, and so on. Using the exemplary implementation of the present disclosure, the randomly selected target Pauli operator A j_s can be used to represent the state transition trend of the quantum system at the current evolution stage. In this way, the calculation amount of the evolution stage can be greatly reduced, and a single quantum gate can be used to realize an evolution stage.
根据本公开的一个示例性实现方式,可以基于多个泡利算符A j(其中A=1,…,M)的系数a j(其中j=1,…,M)的比较,从多个泡利算符中选择目标泡利算符。具体地,可以选择具有较大系数(例如,最大系数、次大系数,等等)的泡利算符,来作为目标泡利算符A j_s。以此方式,可以选择演化阶段中的贡献最大的泡利算符,来代表该演化阶段的演化趋势。以此方式,可以提高演化过程的准确性。 According to an exemplary implementation of the present disclosure, based on the comparison of the coefficients a j (where j=1,...,M) of multiple Pauli operators A j (where A=1,...,M), from multiple Select the target Pauli operator in Pauli operator. Specifically, a Pauli operator with a larger coefficient (for example, the largest coefficient, the second largest coefficient, etc.) may be selected as the target Pauli operator A j_s . In this way, the Pauli operator with the largest contribution in the evolution stage can be selected to represent the evolution trend of the evolution stage. In this way, the accuracy of the evolution process can be improved.
继续参见图4,在框450处,可以基于目标泡利算符和多个泡利算符的系数,生成与演化阶段相关联的幺正变换。根据本公开的一个示例性实现方式,可以放大目标泡利算符A j_s来构造幺正变换,进而确定与演化阶段相关联的输出状态。将会理解,在此的输出状态比第一中间状态更接近基态。也即,在每个演化阶段中,都朝向从量子系统的初态向基态转移的方向,执行演化。在构造幺正变换时,可以基于目标泡利算符以及多个泡利算符的系数,确定与演化阶段相关联的输出状态。 Continuing to refer to FIG. 4 , at block 450 , a unitary transformation associated with an evolution stage may be generated based on the target Pauli operator and the coefficients of the plurality of Pauli operators. According to an exemplary implementation of the present disclosure, the target Pauli operator A j_s can be amplified to construct a unitary transformation, and then determine the output state associated with the evolution stage. It will be appreciated that the output state here is closer to the ground state than the first intermediate state. That is to say, in each evolution stage, the evolution is carried out toward the direction of transferring from the initial state of the quantum system to the ground state. When constructing a unitary transformation, an output state associated with an evolution stage can be determined based on a target Pauli operator and coefficients of a plurality of Pauli operators.
根据本公开的一个示例性实现方式,可以确定多个泡利算符的系数的绝对值的总和,并且基于目标泡利算符、目标泡利算符的系数和总和,确定幺正变换。具体地,可以基于概率
Figure PCTCN2022138710-appb-000034
来选择目标泡利算符A j_s,并且将目标泡利算符A j_s的系数放大至
Figure PCTCN2022138710-appb-000035
由此,可以利用
Figure PCTCN2022138710-appb-000036
来代替e -iA△t,进而基于该幺正变换来实现当前演化阶段。
According to an exemplary implementation of the present disclosure, a sum of absolute values of coefficients of multiple Pauli operators may be determined, and a unitary transformation may be determined based on a target Pauli operator, the sum of coefficients of the target Pauli operator. Specifically, based on the probability
Figure PCTCN2022138710-appb-000034
to select the target Pauli operator A j_s , and amplify the coefficient of the target Pauli operator A j_s to
Figure PCTCN2022138710-appb-000035
Thus, it is possible to use
Figure PCTCN2022138710-appb-000036
to replace e -iA△t , and then realize the current evolution stage based on the unitary transformation.
在当前演化阶段中,尽管利用放大目标泡利算符获得的演化准确性可能会低于已有QITE的演化准确性,然而,基于放大目标泡利算符执行的模拟过程所涉及的计算量将会远远小于已有QITE的计算量(例如,降低至原来的1/M)。进一步,当综合考虑多个演化阶段的运算结果时,实验表示:利用放大目标泡利算符所获得的基态的准确性仍然较高,并且与已有QITE技术方案的差异十分细微。以此方式,可以大大降低各个演化阶段所涉及的计算资源和时间资源的数量,进 而提高整个量子虚时演化过程的性能。In the current evolution stage, although the evolution accuracy obtained by using the enlarged target Pauli operator may be lower than the evolution accuracy of the existing QITE, however, the amount of calculation involved in the simulation process based on the enlarged target Pauli operator will be It will be much smaller than the calculation amount of the existing QITE (for example, reduced to the original 1/M). Furthermore, when the calculation results of multiple evolution stages are considered comprehensively, the experiment shows that the accuracy of the ground state obtained by using the enlarged target Pauli operator is still high, and the difference from the existing QITE technical scheme is very subtle. In this way, the number of computing resources and time resources involved in each evolution stage can be greatly reduced, thereby improving the performance of the entire quantum virtual time evolution process.
根据本公开的一个示例性实现方式,可以不断地重复如图4所示的循环过程,直到演化总时间达到预定的时间长度。具体地,在多个演化阶段中的第一演化阶段中,输入是初态,此时可以将第一演化阶段的输出状态馈送至第二演化阶段,以作为第二演化阶段的输入状态。进一步,可以将第二演化阶段的输出状态馈送至第三演化阶段,以作为第三演化阶段的输入状态,以此类推。According to an exemplary implementation manner of the present disclosure, the loop process shown in FIG. 4 may be repeated continuously until the total evolution time reaches a predetermined length of time. Specifically, in the first evolution stage among the plurality of evolution stages, the input is the initial state, at this time, the output state of the first evolution stage can be fed to the second evolution stage as the input state of the second evolution stage. Further, the output state of the second evolution stage can be fed to the third evolution stage as the input state of the third evolution stage, and so on.
继续上文描述的示例,在第一个演化阶段中,在已经确定与当前演化阶段相关联的输出状态之后,可以将该输出状态作为下一演化阶段(即,第二个演化阶段)的输入状态(例如,执行如下设置操作:输入状态=输出状态)。进一步,在框460处,可以确定已经执行的演化的总时间是否超过预定的时间长度。如果判断结果为“是”,则此时方法400结束,也即,此时已经完成了量子虚时演化过程的全部Trotter步。如果判断结果为“否”,则此时方法400返回至框420处,以便以类似方式执行下一演化阶段。Continuing with the example described above, in the first evolution stage, after the output state associated with the current evolution stage has been determined, this output state can be used as input to the next evolution stage (ie, the second evolution stage) state (for example, perform a set operation as follows: input state = output state). Further, at block 460, it may be determined whether the total time of evolutions that have been performed exceeds a predetermined length of time. If the judging result is "yes", the method 400 ends at this time, that is, all Trotter steps of the quantum virtual time evolution process have been completed at this time. If the determination is "No", at this point the method 400 returns to block 420 to perform the next evolution stage in a similar manner.
将会理解,图4仅仅以示例方式示出了基于时间比较来确定方法400是否完成的过程。根据本公开的一个示例性实现方式,还可以预先指定迭代次数,例如,可以在达到预定迭代次数时停止方法400。根据本公开的一个示例性实现方式,可以指定预定收敛条件。例如,当与演化阶段相关联的输入状态和输出状态之间的差异(或者前后两个演化阶段的输出状态之间的差异)满足收敛条件时,停止方法400。It will be appreciated that FIG. 4 illustrates by way of example only the process of determining whether method 400 is complete based on a time comparison. According to an exemplary implementation of the present disclosure, the number of iterations may also be specified in advance, for example, the method 400 may be stopped when the predetermined number of iterations is reached. According to an exemplary implementation of the present disclosure, predetermined convergence conditions may be specified. For example, the method 400 stops when the difference between the input state and the output state associated with an evolution stage (or the difference between the output states of two successive evolution stages) satisfies the convergence condition.
根据本公开的一个示例性实现方式,可以利用量子门执行幺正变换,以确定与当前演化阶段相关联的输出状态。利用本公开的示例性实现方式,可以将原本需要M个量子门执行的过程转移为由单一量子门实现。换言之,利用本公开的示例性实现方式仅需要单一量子门即可完成一个演化阶段。以此方式,可以大大降低每个演化阶段所涉及的计算量,进而降低相应量子线路的深度。According to an exemplary implementation of the present disclosure, quantum gates may be utilized to perform unitary transformations to determine the output state associated with the current evolutionary stage. Using the exemplary implementation of the present disclosure, the process that originally needs to be performed by M quantum gates can be transferred to be implemented by a single quantum gate. In other words, only a single quantum gate is needed to complete one evolution stage using the exemplary implementations of the present disclosure. In this way, the amount of calculations involved in each evolution stage can be greatly reduced, thereby reducing the depth of the corresponding quantum circuits.
根据本公开的一个示例性实现方式,可以进一步基于重要性采样来降低每个演化阶段的计算量。具体地,在初态下,可以基于量子系 统的哈密顿量
Figure PCTCN2022138710-appb-000037
(j=1,…,L,其中L为哈密顿量的泡利展开项的数量),确定哈密顿量的多个能量泡利算符。将会理解,在此哈密顿量H可以被泡利分解为多个项h jH j的求和。类似于在每个演化阶段中执行的操作,可以基于上述多个项的系数h j进行重要性采样,以便从多个能量泡利算符H j中选择一个目标能量泡利算符H j_sh。在此,目标能量泡利算符H j_sh的系数h j_sh可以在多个系数h j中具有最大绝对值。
According to an exemplary implementation of the present disclosure, the calculation amount of each evolution stage can be further reduced based on importance sampling. Specifically, in the initial state, it can be based on the Hamiltonian of the quantum system
Figure PCTCN2022138710-appb-000037
(j=1, . . . , L, where L is the number of Pauli expansion terms of the Hamiltonian), multiple energy Pauli operators for the Hamiltonian are determined. It will be appreciated that here the Hamiltonian H can be decomposed by Pauli into a sum of terms h j H j . Similar to the operations performed in each evolution stage, importance sampling can be performed based on the coefficients h j of the above-mentioned multiple terms, so as to select a target energy Pauli operator H j_sh from a plurality of energy Pauli operators H j . Here, the coefficient h j_sh of the target energy Pauli operator H j_sh may have the largest absolute value among the plurality of coefficients h j .
进一步,可以基于目标能量泡利算符H j_sh和基于多个能量泡利算符的系数获得的放大系数||h||,确定与演化阶段相关联的厄米算符。具体地,可以将H j_sh的系数h j_sh放大至
Figure PCTCN2022138710-appb-000038
此时,在演化阶段期间,不必针对哈密顿量中的全部的数据进行计算,而是只需要针对其中的放大后的能量泡利算符H j进行后续计算。以此方式,可以进一步降低演化阶段所涉及的计算量,进而降低整个量子虚时演化过程的计算资源和时间资源的开销。
Further, the Hermitian operator associated with the evolution stage may be determined based on the target energy Pauli operator H j_sh and the amplification factor ||h|| obtained based on the coefficients of a plurality of energy Pauli operators. Specifically, the coefficient h j_sh of H j_sh can be amplified to
Figure PCTCN2022138710-appb-000038
At this time, during the evolution phase, it is not necessary to perform calculations on all the data in the Hamiltonian, but only need to perform subsequent calculations on the amplified energy Pauli operator Hj therein. In this way, the calculation amount involved in the evolution stage can be further reduced, thereby reducing the calculation resource and time resource overhead of the entire quantum virtual time evolution process.
在下文中,将参见图5描述选择目标泡利算符的更多细节。图5示出了根据本公开的一些实现方式的用于基于放大目标泡利算符来实现量子虚时演化过程的框图500。在本公开的上下文中,可以基于DRIFT-QITE原理来处理演化过程,为了便于描述,在此演化过程仅包括3个演化阶段,并且每个演化阶段包括一系列演化U 1U 2…U MHereinafter, more details of selecting a target Pauli operator will be described with reference to FIG. 5 . FIG. 5 shows a block diagram 500 for implementing a quantum virtual time evolution process based on an amplified objective Pauli operator, according to some implementations of the present disclosure. In the context of the present disclosure, the evolution process can be processed based on the DRIFT-QITE principle. For ease of description, the evolution process only includes 3 evolution stages, and each evolution stage includes a series of evolution U 1 U 2 . . . U M .
具体地,在一个演化阶段中,可以从U 1U 2…U M中选择一项来替代整个演化阶段。换言之,可以构造V演化来近似整个演化阶段。此时,V的e指数部分仅包括单一泡利算符,因此当用量子门实现时深度仍然为1。进一步,可以放大所选择的目标泡利算符的系数,以便实现减小深度的效果。 Specifically, in one evolution stage, one item from U 1 U 2 . . . U M can be selected to replace the entire evolution stage. In other words, V-evolution can be constructed to approximate the entire evolution stage. At this time, the e-exponent part of V only includes a single Pauli operator, so the depth is still 1 when implemented with quantum gates. Further, the coefficient of the selected target Pauli operator can be amplified so as to achieve the effect of reducing the depth.
此时,整个量子虚时演化过程如图5中的曲线510所示。曲线510包括3个演化阶段,并且每个演化阶段包括相应的多个部分。具体地,第1个演化阶段涉及
Figure PCTCN2022138710-appb-000039
第2个演化阶段涉及
Figure PCTCN2022138710-appb-000040
并且第3个演化阶段涉及
Figure PCTCN2022138710-appb-000041
此时,每个部分朝向各自的方向前进一小步,例如,第1个演化阶段中的第一部 分朝向
Figure PCTCN2022138710-appb-000042
前进,第1个演化阶段中的第二部分朝向
Figure PCTCN2022138710-appb-000043
等等。
At this time, the entire quantum virtual time evolution process is shown as the curve 510 in FIG. 5 . Curve 510 includes 3 evolution stages, and each evolution stage includes a corresponding plurality of parts. Specifically, the first evolutionary stage involves
Figure PCTCN2022138710-appb-000039
The second evolutionary stage involves
Figure PCTCN2022138710-appb-000040
and the 3rd evolutionary stage involves
Figure PCTCN2022138710-appb-000041
At this point, each part takes a small step in its own direction, for example, the first part in the 1st evolutionary stage goes towards
Figure PCTCN2022138710-appb-000042
Forward, the second part of the first evolutionary stage towards
Figure PCTCN2022138710-appb-000043
etc.
利用本公开的示例性实现方式,在每个演化阶段期间,可以沿着具有最大系数的方向V来前进一大步(||a||,在此
Figure PCTCN2022138710-appb-000044
也即泡利分解后的多个泡利算符的系数的绝对值的总和)。根据本公开的一个示例性实现方式,可以基于概率
Figure PCTCN2022138710-appb-000045
来选择目标泡利算符A j_s,并且利用
Figure PCTCN2022138710-appb-000046
来代替e -iA△t。以此方式,可以大大降低每个演化阶段所涉及的计算量。
Using an exemplary implementation of the present disclosure, during each evolution stage, a large step can be taken along the direction V with the largest coefficient (||a||, where
Figure PCTCN2022138710-appb-000044
That is, the sum of the absolute values of the coefficients of multiple Pauli operators after Pauli decomposition). According to an exemplary implementation of the present disclosure, based on the probability
Figure PCTCN2022138710-appb-000045
to select the target Pauli operator A j_s , and use
Figure PCTCN2022138710-appb-000046
to replace e -iA△t . In this way, the amount of computation involved in each evolution stage can be greatly reduced.
如图5所示,在每个演化阶段中,可以将曲线510中的各个线段U 1,U 2,…U M以长度为概率进行采样,长度较长的线段更有可能被选中。进一步,可以将选中的线段的长度放大为该演化阶段中各线段U 1,U 2,…U M的长度之和。也即,在每个演化阶段中,朝向选中的线段的方向前进一大步。此时,图5所示的3个演化阶段(也即,3个Trotter步)只需要朝三个方向前进三大步。 As shown in FIG . 5 , in each evolution stage, each line segment U 1 , U 2 , . Further, the length of the selected line segment can be amplified to the sum of the lengths of the line segments U 1 , U 2 , . . . U M in the evolution stage. That is, in each evolution stage, a large step is taken in the direction of the selected line segment. At this time, the three evolutionary stages (that is, three Trotter steps) shown in FIG. 5 only need three steps forward in three directions.
如图5中虚线示出的折线520所示,可以将每个演化阶段中的M个线段替换为单一线段。例如,在第一个演化阶段中可以将
Figure PCTCN2022138710-appb-000047
替换为V (1),在第二个演化阶段中可以将
Figure PCTCN2022138710-appb-000048
替换为V (2),并且在第三个演化阶段中可以将
Figure PCTCN2022138710-appb-000049
替换为V (3)。也即,包括多个小线段的曲线510的演化路径被替换为三个长度较大的折线520。
As shown by broken line 520 shown in dotted line in FIG. 5 , the M line segments in each evolution stage can be replaced with a single line segment. For example, in the first evolution stage you can use
Figure PCTCN2022138710-appb-000047
Replaced by V (1) , in the second evolution stage, the
Figure PCTCN2022138710-appb-000048
is replaced by V (2) , and in the third evolution stage it is possible to replace
Figure PCTCN2022138710-appb-000049
Replaced by V (3) . That is, the evolution path of the curve 510 including multiple small line segments is replaced by three polylines 520 with larger lengths.
如图5所示,在量子虚时演化过程期间的某些位置处,尽管在折线520和曲线510之间存在差异,然而整个量子虚时演化过程中,折线520和曲线510的变化趋势保持一致。折线520中的每个线段可以对应于深度为1的量子线路。此时,因此基于曲线510实现的已有QITE的深度为3M(包括3个演化阶段,并且每个演化阶段的深度为M),而基于折线520实现的本公开的DRIFT-QITE的深度仅为3。以此方式,可以大大减少量子线路的深度,并且可以使得演化路径的偏移被控制在误差范围内。As shown in Figure 5, at certain positions during the quantum virtual time evolution process, although there are differences between the broken line 520 and the curve 510, the changing trends of the broken line 520 and the curve 510 remain consistent throughout the quantum virtual time evolution process . Each line segment in polyline 520 may correspond to a quantum circuit with a depth of one. At this time, the depth of the existing QITE realized based on the curve 510 is 3M (including 3 evolution stages, and the depth of each evolution stage is M), while the depth of the DRIFT-QITE of the present disclosure based on the broken line 520 is only 3. In this way, the depth of the quantum circuit can be greatly reduced, and the deviation of the evolution path can be controlled within the error range.
根据本公开的一个示例性实现方式,可以利用包括多个量子门的量子线路来执行量子虚时演化过程。在下文中,将参见图6描述有关 使用包括多个量子门的量子线路来实现量子虚时演化过程的更多细节。图6示出了根据本公开的一些实现方式的利用量子线路来实现量子虚时演化过程的框图600。如图6所示,可以基于多个演化阶段的数量来确定多个量子门的数量。具体地,可以使用一个量子门实现一个演化阶段相关联的幺正变换。例如,可以使用量子门322来实现演化阶段310,可以使用量子门610来实现演化阶段312,…,并且可以使用量子门620来实现演化阶段314。此时,量子线路610可以包括K个量子门,以用于模拟包括K个演化阶段的量子虚时演化过程。According to an exemplary implementation of the present disclosure, a quantum virtual time evolution process may be performed using a quantum circuit including a plurality of quantum gates. Hereinafter, more details about implementing the quantum virtual time evolution process using a quantum circuit including a plurality of quantum gates will be described with reference to FIG. 6 . FIG. 6 shows a block diagram 600 of implementing quantum virtual time evolution process using quantum circuits according to some implementations of the present disclosure. As shown in FIG. 6, the number of multiple quantum gates can be determined based on the number of multiple evolution stages. Specifically, a quantum gate can be used to implement a unitary transformation associated with an evolution stage. For example, evolution stage 310 may be implemented using quantum gate 322 , evolution stage 312 may be implemented using quantum gate 610 , . . . , and evolution stage 314 may be implemented using quantum gate 620 . At this time, the quantum circuit 610 may include K quantum gates for simulating a quantum virtual-time evolution process including K evolution stages.
利用本公开的示例性实现方式,在量子虚时演化过程的各个演化阶段中,基于重要性采样来选择目标泡利算符并且通过放大该目标泡利算符的系数,可以降低演化阶段中所涉及的计算量。当以量子线路来实现量子虚时演化过程时,可以大大降低每个演化阶段所使用的量子门的数量,进而降低量子线路的深度,提高量子虚时演化过程的整体性能。Using the exemplary implementation of the present disclosure, in each evolution stage of the quantum virtual time evolution process, the target Pauli operator is selected based on importance sampling and by amplifying the coefficient of the target Pauli operator, it is possible to reduce the amount of computation involved. When the quantum circuit is used to realize the quantum virtual time evolution process, the number of quantum gates used in each evolution stage can be greatly reduced, thereby reducing the depth of the quantum circuit and improving the overall performance of the quantum virtual time evolution process.
将会理解,尽管图6示出了在每个阶段310、312、…、以及314中都使用根据本公开的DRIFT-QITE方案来降低计算量,根据本公开的一个示例性实现方式,可以在上述多个阶段中的一部分阶段中应用DRIFT-QITE方案。此时,应用DRIFT-QITE方案的演化阶段的性能将会显著提高。It will be understood that although FIG. 6 shows that the DRIFT-QITE scheme according to the present disclosure is used in each stage 310, 312, ..., and 314 to reduce the amount of computation, according to an exemplary implementation of the present disclosure, the The DRIFT-QITE protocol is applied in some of the above multiple stages. At this time, the performance of the evolution stage applying the DRIFT-QITE scheme will be significantly improved.
根据本公开的一个示例性实现方式,可以在包括BeH 2分子的量子系统中应用上文描述的DRIFT-QITE方案。在分子平衡位置附近,在允许的误差范围内,使用DRIFT-QITE仅需要较少步骤(基于不同配置,例如可以通过52步或者37步)来达到期望精度的量子系统的基态。此时,所需量子门的数量为52或者37。然而在已有QITE中,单一Trotter步需要252个量子门,在包括数十个Trotter步的量子虚时演化过程中,已有QITE需要至少数千个量子门。可见,利用本公开的DRIFT-QITE方案,可以大大降低量子虚时演化过程的计算量,进而使用较少数量的量子门实现。以此方式,在不损失精度的情况下可以大大降低量子线路的深度,降低环境噪声的干扰进而提高量子虚 时演化过程的性能。 According to one exemplary implementation of the present disclosure, the DRIFT-QITE scheme described above can be applied in quantum systems including BeH2 molecules. Near the molecular equilibrium position, within the allowable error range, using DRIFT-QITE requires only fewer steps (based on different configurations, such as 52 steps or 37 steps) to reach the ground state of the quantum system with the desired accuracy. At this time, the number of required quantum gates is 52 or 37. However, in the existing QITE, a single Trotter step requires 252 quantum gates, and in the quantum virtual time evolution process including dozens of Trotter steps, the existing QITE requires at least thousands of quantum gates. It can be seen that by using the DRIFT-QITE scheme of the present disclosure, the calculation amount of the quantum virtual time evolution process can be greatly reduced, and then implemented with a smaller number of quantum gates. In this way, the depth of the quantum circuit can be greatly reduced without loss of precision, the interference of environmental noise can be reduced, and the performance of the quantum virtual time evolution process can be improved.
示例过程example process
图7示出了根据本公开的一个示例性实现方式的在量子虚时演化过程中的一个演化阶段中的用于管理量子系统的状态的方法700的流程图。在此,量子虚时演化过程用于实现量子系统从初态转移至基态的过程,量子虚时演化过程包括至少一个演化阶段。如图7所示,在框710处,在至少一个演化阶段中的演化阶段期间,基于量子系统的哈密顿量以及初态和基态之间的第一中间状态,确定与演化阶段相关联的厄米算符。Fig. 7 shows a flowchart of a method 700 for managing the state of a quantum system in an evolution stage in the quantum virtual time evolution process according to an exemplary implementation of the present disclosure. Here, the quantum virtual time evolution process is used to realize the process of transferring the quantum system from the initial state to the ground state, and the quantum virtual time evolution process includes at least one evolution stage. As shown in FIG. 7, at block 710, during an evolution stage in at least one of the evolution stages, an err associated with the evolution stage is determined based on the quantum system's Hamiltonian and a first intermediate state between the initial state and the ground state. meter operator.
在框720处,针对厄米算符进行泡利分解,以确定与演化阶段相关联的多个泡利算符。在框730处,基于重要性采样从多个泡利算符中选择目标泡利算符。根据本公开的一个示例性实现方式,可以基于多个泡利算符的系数的比较,从多个泡利算符中选择目标泡利算符。At block 720, a Pauli decomposition is performed on the Hermitian operators to determine a number of Pauli operators associated with the stages of evolution. At block 730, a target Pauli operator is selected from a plurality of Pauli operators based on importance sampling. According to an exemplary implementation of the present disclosure, a target Pauli operator may be selected from a plurality of Pauli operators based on a comparison of coefficients of the plurality of Pauli operators.
在框740处,基于目标泡利算符以及多个泡利算符的系数,确定与演化阶段相关联的第二中间状态,第二中间状态比第一中间状态更接近基态。根据本公开的一个示例性实现方式,为了确定第二中间状态,可以基于目标泡利算符和多个泡利算符的系数,生成与演化阶段相关联的幺正变换。继而,可以利用幺正变换来确定与演化阶段相关联的第二中间状态。At block 740, based on the target Pauli operator and coefficients of the plurality of Pauli operators, a second intermediate state associated with the evolution stage is determined, the second intermediate state being closer to the ground state than the first intermediate state. According to an exemplary implementation of the present disclosure, in order to determine the second intermediate state, a unitary transformation associated with an evolution stage may be generated based on a target Pauli operator and coefficients of a plurality of Pauli operators. In turn, a unitary transformation can be utilized to determine a second intermediate state associated with the evolution stage.
根据本公开的一个示例性实现方式,为了生成与演化阶段相关联的幺正变换,可以确定多个泡利算符的系数的绝对值的总和。进一步,可以基于目标泡利算符以及总和,确定幺正变换。According to an exemplary implementation of the present disclosure, in order to generate a unitary transformation associated with an evolution stage, the sum of the absolute values of the coefficients of a plurality of Pauli operators may be determined. Further, the unitary transformation can be determined based on the objective Pauli operator and the sum.
根据本公开的一个示例性实现方式,为了利用幺正变换确定第二中间状态,可以利用量子门执行幺正变换以确定第二中间状态。According to an exemplary implementation of the present disclosure, in order to determine the second intermediate state using unitary transformation, quantum gates may be used to perform unitary transformation to determine the second intermediate state.
根据本公开的一个示例性实现方式,至少一个演化阶段包括多个演化阶段。根据本公开的一个示例性实现方式,为了确定多个演化阶段,可以基于用于执行量子虚时演化过程的时间长度和预定精度,确定多个演化阶段的时间步长。继而,可以根据时间步长来针对量子虚 时演化过程执行Trotter分解,以确定多个演化阶段。According to an exemplary implementation of the present disclosure, at least one evolution stage includes a plurality of evolution stages. According to an exemplary implementation of the present disclosure, in order to determine the multiple evolution stages, the time steps of the multiple evolution stages may be determined based on the time length and predetermined accuracy for performing the quantum virtual time evolution process. Trotter decomposition can then be performed on the quantum virtual-time evolution process according to the time step to determine multiple evolution stages.
根据本公开的一个示例性实现方式,在多个演化阶段中的第一演化阶段中,第一中间状态是初态。根据本公开的一个示例性实现方式,可以将第二中间状态输出至跟随第一演化阶段的第二演化阶段,以作为第二演化阶段的第一中间状态。According to an exemplary implementation manner of the present disclosure, in the first evolution stage among the plurality of evolution stages, the first intermediate state is the initial state. According to an exemplary implementation of the present disclosure, the second intermediate state may be output to the second evolution stage following the first evolution stage as the first intermediate state of the second evolution stage.
根据本公开的一个示例性实现方式,可以利用包括多个量子门的量子线路来执行量子虚时演化过程,多个量子门的数量是基于多个演化阶段的数量来确定的,多个量子门中的给定量子门用于执行与多个演化阶段中的给定演化阶段相关联的幺正变换。According to an exemplary implementation of the present disclosure, a quantum virtual time evolution process may be performed using a quantum circuit including a plurality of quantum gates, the number of the plurality of quantum gates is determined based on the number of evolution stages, and the plurality of quantum gates A given quantum gate in is used to perform the unitary transformation associated with a given evolutionary stage of the plurality of evolutionary stages.
根据本公开的一个示例性实现方式,可以从多个泡利算符中随机地选择目标泡利算符。According to an exemplary implementation of the present disclosure, a target Pauli operator may be randomly selected from a plurality of Pauli operators.
根据本公开的一个示例性实现方式,为了确定与演化阶段相关联的厄米算符,可以基于量子系统的哈密顿量和初态,确定哈密顿量的多个能量泡利算符。继而,可以基于重要性采样,从多个能量泡利算符中选择目标能量泡利算符。进一步,可以基于目标能量泡利算符和多个能量泡利算符的系数,确定与演化阶段相关联的厄米算符。According to an exemplary implementation of the present disclosure, in order to determine the Hermitian operator associated with the evolution stage, multiple energy Pauli operators of the Hamiltonian may be determined based on the Hamiltonian and the initial state of the quantum system. Then, a target energy Pauli operator may be selected from a plurality of energy Pauli operators based on importance sampling. Further, the Hermitian operator associated with the evolution stage may be determined based on the target energy Pauli operator and the coefficients of the plurality of energy Pauli operators.
示例装置和设备Example Apparatus and Equipment
图8示出了根据本公开的一个示例性实现方式的基于量子虚时演化过程来管理量子系统的状态的装置800的框图。在此,量子虚时演化过程用于实现量子系统从初态转移至基态的过程,量子虚时演化过程包括至少一个演化阶段。Fig. 8 shows a block diagram of an apparatus 800 for managing the state of a quantum system based on a quantum virtual time evolution process according to an exemplary implementation of the present disclosure. Here, the quantum virtual time evolution process is used to realize the process of transferring the quantum system from the initial state to the ground state, and the quantum virtual time evolution process includes at least one evolution stage.
如图8所示,装置800包括确定模块810、分解模块820、选择模块830以及状态确定模块840。根据本公开的一个示例性实现方式,确定模块810配置用于在至少一个演化阶段中的演化阶段期间,基于量子系统的哈密顿量以及初态和基态之间的第一中间状态,确定与演化阶段相关联的厄米算符;分解模块820配置用于针对厄米算符进行泡利分解,以确定与演化阶段相关联的多个泡利算符;选择模块830配置用于基于重要性采样从多个泡利算符中选择目标泡利算符;以及 状态确定模块840配置用于基于目标泡利算符以及多个泡利算符的系数,确定与演化阶段相关联的第二中间状态,第二中间状态比第一中间状态更接近基态。根据本公开的一个示例性实现方式,该装置进一步包括用于执行方法700中的其他步骤的模块。As shown in FIG. 8 , the apparatus 800 includes a determination module 810 , a decomposition module 820 , a selection module 830 and a status determination module 840 . According to an exemplary implementation of the present disclosure, the determination module 810 is configured to determine and evolve the quantum system based on the Hamiltonian of the quantum system and the first intermediate state between the initial state and the ground state during at least one of the evolution stages. Hermitian operators associated with the stages; the decomposition module 820 is configured to perform Pauli decomposition on the Hermitian operators to determine a plurality of Pauli operators associated with the stages of evolution; the selection module 830 is configured for importance-based sampling Selecting a target Pauli operator from the plurality of Pauli operators; and state determination module 840 configured to determine a second intermediate state associated with the evolution stage based on the target Pauli operator and coefficients of the plurality of Pauli operators , the second intermediate state is closer to the ground state than the first intermediate state. According to an exemplary implementation manner of the present disclosure, the apparatus further includes a module for performing other steps in the method 700 .
在下文中,参见图9描述根据本公开的一个示例性实现方式的设备。图9示出了能够实施本公开的多个实现方式的设备900的框图。应当理解,图9所示出的计算设备900仅仅是示例性的,而不应当构成对本文所描述的实现方式的功能和范围的任何限制。例如,可以使用计算设备900来执行上文描述的方法700。Hereinafter, an apparatus according to an exemplary implementation of the present disclosure is described with reference to FIG. 9 . FIG. 9 shows a block diagram of a device 900 capable of implementing various implementations of the present disclosure. It should be understood that the computing device 900 shown in FIG. 9 is exemplary only, and should not constitute any limitation as to the functionality and scope of the implementations described herein. For example, computing device 900 may be used to perform method 700 described above.
如图9所示,计算设备900是通用计算设备的形式。计算设备900的组件可以包括但不限于一个或多个处理器或处理单元910、存储器920、存储设备930、一个或多个通信单元940、一个或多个输入设备950以及一个或多个输出设备960。处理单元910可以是实际或虚拟处理器并且能够根据存储器920中存储的程序来执行各种处理。在多处理器系统中,多个处理单元并行执行计算机可执行指令,以提高计算设备900的并行处理能力。As shown in FIG. 9, computing device 900 is in the form of a general-purpose computing device. Components of computing device 900 may include, but are not limited to, one or more processors or processing units 910, memory 920, storage devices 930, one or more communication units 940, one or more input devices 950, and one or more output devices 960. The processing unit 910 may be an actual or virtual processor and can perform various processing according to programs stored in the memory 920 . In a multi-processor system, multiple processing units execute computer-executable instructions in parallel to increase the parallel processing capability of the computing device 900 .
计算设备900通常包括多个计算机存储介质。这样的介质可以是计算设备900可访问的任何可以获得的介质,包括但不限于易失性和非易失性介质、可拆卸和不可拆卸介质。存储器920可以是易失性存储器(例如寄存器、高速缓存、随机访问存储器(RAM))、非易失性存储器(例如,只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、闪存)或它们的某种组合。存储设备930可以是可拆卸或不可拆卸的介质,并且可以包括机器可读介质,诸如闪存驱动、磁盘或者任何其他介质,其可以能够用于存储信息和/或数据(例如用于训练的训练数据)并且可以在计算设备900内被访问。 Computing device 900 typically includes a plurality of computer storage media. Such media can be any available media that is accessible by computing device 900, including but not limited to, volatile and nonvolatile media, removable and non-removable media. The memory 920 can be volatile memory (eg, registers, cache, random access memory (RAM)), nonvolatile memory (eg, read only memory (ROM), electrically erasable programmable read only memory (EEPROM) , flash memory) or some combination of them. Storage device 930 may be removable or non-removable media, and may include machine-readable media, such as flash drives, magnetic disks, or any other media that may be capable of storing information and/or data (e.g., training data for training ) and can be accessed within computing device 900.
计算设备900可以进一步包括另外的可拆卸/不可拆卸、易失性/非易失性存储介质。尽管未在图9中示出,可以提供用于从可拆卸、非易失性磁盘(例如“软盘”)进行读取或写入的磁盘驱动和用于从可拆卸、非易失性光盘进行读取或写入的光盘驱动。在这些情况中, 每个驱动可以由一个或多个数据介质接口被连接至总线(未示出)。存储器920可以包括计算机程序产品925,其具有一个或多个程序模块,这些程序模块被配置为执行本公开的各种实现方式的各种方法或动作。 Computing device 900 may further include additional removable/non-removable, volatile/nonvolatile storage media. Although not shown in FIG. 9, a disk drive for reading from or writing to a removable, nonvolatile disk (such as a "floppy disk") and a disk drive for reading from a removable, nonvolatile disk may be provided. CD-ROM drive for reading or writing. In these cases, each drive may be connected to the bus (not shown) by one or more data media interfaces. The memory 920 may include a computer program product 925 having one or more program modules configured to perform the various methods or actions of the various implementations of the present disclosure.
通信单元940实现通过通信介质与其他计算设备进行通信。附加地,计算设备900的组件的功能可以以单个计算集群或多个计算机器来实现,这些计算机器能够通过通信连接进行通信。因此,计算设备900可以使用与一个或多个其他服务器、网络个人计算机(PC)或者另一个网络节点的逻辑连接来在联网环境中进行操作。The communication unit 940 enables communication with other computing devices through communication media. Additionally, the functionality of the components of computing device 900 may be implemented in a single computing cluster or as a plurality of computing machines capable of communicating via communication links. Accordingly, computing device 900 may operate in a networked environment using logical connections to one or more other servers, a network personal computer (PC), or another network node.
输入设备950可以是一个或多个输入设备,例如鼠标、键盘、追踪球等。输出设备960可以是一个或多个输出设备,例如显示器、扬声器、打印机等。计算设备900还可以根据需要通过通信单元940与一个或多个外部设备(未示出)进行通信,外部设备诸如存储设备、显示设备等,与一个或多个使得用户与计算设备900交互的设备进行通信,或者与使得计算设备900与一个或多个其他计算设备通信的任何设备(例如,网卡、调制解调器等)进行通信。这样的通信可以经由输入/输出(I/O)接口(未示出)来执行。 Input device 950 may be one or more input devices, such as a mouse, keyboard, trackball, and the like. Output device 960 may be one or more output devices, such as a display, speakers, printer, or the like. The computing device 900 can also communicate with one or more external devices (not shown) through the communication unit 940 as needed, such as storage devices, display devices, etc., and one or more devices that enable the user to interact with the computing device 900 In communication, or with any device (eg, network card, modem, etc.) that enables computing device 900 to communicate with one or more other computing devices. Such communication may be performed via an input/output (I/O) interface (not shown).
根据本公开的示例性实现方式,提供了一种计算机可读存储介质,其上存储有计算机可执行指令,其中计算机可执行指令被处理器执行以实现上文描述的方法。根据本公开的示例性实现方式,还提供了一种计算机程序产品,计算机程序产品被有形地存储在非瞬态计算机可读介质上并且包括计算机可执行指令,而计算机可执行指令被处理器执行以实现上文描述的方法。根据本公开的示例性实现方式,提供了一种计算机程序产品,其上存储有计算机程序,所述程序被处理器执行时实现上文描述的方法。According to an exemplary implementation of the present disclosure, there is provided a computer-readable storage medium on which computer-executable instructions are stored, wherein the computer-executable instructions are executed by a processor to implement the methods described above. According to an exemplary implementation of the present disclosure, there is also provided a computer program product tangibly stored on a non-transitory computer-readable medium and comprising computer-executable instructions, and the computer-executable instructions are executed by a processor to implement the method described above. According to an exemplary implementation of the present disclosure, there is provided a computer program product on which a computer program is stored, the program implementing the method described above when executed by a processor.
这里参照根据本公开实现的方法、装置、设备和计算机程序产品的流程图和/或框图描述了本公开的各个方面。应当理解,流程图和/或框图的每个方框以及流程图和/或框图中各方框的组合,都可以由计算机可读程序指令实现。Aspects of the present disclosure are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus, apparatus, and computer program products implemented according to the disclosure. It should be understood that each block of the flowcharts and/or block diagrams, and combinations of blocks in the flowcharts and/or block diagrams, can be implemented by computer-readable program instructions.
这些计算机可读程序指令可以提供给通用计算机、专用计算机或其他可编程数据处理装置的处理单元,从而生产出一种机器,使得这些指令在通过计算机或其他可编程数据处理装置的处理单元执行时,产生了实现流程图和/或框图中的一个或多个方框中规定的功能/动作的装置。也可以把这些计算机可读程序指令存储在计算机可读存储介质中,这些指令使得计算机、可编程数据处理装置和/或其他设备以特定方式工作,从而,存储有指令的计算机可读介质则包括一个制造品,其包括实现流程图和/或框图中的一个或多个方框中规定的功能/动作的各个方面的指令。These computer-readable program instructions may be provided to a processing unit of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine such that when executed by the processing unit of the computer or other programmable data processing apparatus , producing an apparatus for realizing the functions/actions specified in one or more blocks in the flowchart and/or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause computers, programmable data processing devices and/or other devices to work in a specific way, so that the computer-readable medium storing instructions includes An article of manufacture comprising instructions for implementing various aspects of the functions/acts specified in one or more blocks in flowcharts and/or block diagrams.
可以把计算机可读程序指令加载到计算机、其他可编程数据处理装置、或其他设备上,使得在计算机、其他可编程数据处理装置或其他设备上执行一系列操作步骤,以产生计算机实现的过程,从而使得在计算机、其他可编程数据处理装置、或其他设备上执行的指令实现流程图和/或框图中的一个或多个方框中规定的功能/动作。computer-readable program instructions can be loaded onto a computer, other programmable data processing apparatus, or other equipment, so that a series of operational steps are performed on the computer, other programmable data processing apparatus, or other equipment to produce a computer-implemented process, Instructions executed on computers, other programmable data processing devices, or other devices can thus implement the functions/actions specified in one or more blocks in the flowcharts and/or block diagrams.
附图中的流程图和框图显示了根据本公开的多个实现的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段或指令的一部分,模块、程序段或指令的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个连续的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或动作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various implementations of the present disclosure. In this regard, each block in a flowchart or block diagram may represent a module, a program segment, or a portion of an instruction that contains one or more executable instruction. In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks in succession may, in fact, be executed substantially concurrently, or they may sometimes be executed in the reverse order, depending upon the functionality involved. It should also be noted that each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented by a dedicated hardware-based system that performs the specified function or action , or may be implemented by a combination of dedicated hardware and computer instructions.
以上已经描述了本公开的各实现,上述说明是示例性的,并非穷尽性的,并且也不限于所公开的各实现。在不偏离所说明的各实现的范围和精神的情况下,对于本技术领域的普通技术人员来说许多修改和变更都是显而易见的。本文中所用术语的选择,旨在最好地解释各 实现的原理、实际应用或对市场中的技术的改进,或者使本技术领域的其他普通技术人员能理解本文公开的各个实现方式。Having described various implementations of the present disclosure above, the foregoing description is exemplary, not exhaustive, and is not limited to the disclosed implementations. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described implementations. The choice of terminology used herein aims to best explain the principle of each implementation, practical application or improvement of technology in the market, or to enable other ordinary skilled in the art to understand the various implementations disclosed herein.

Claims (23)

  1. 一种用于基于量子虚时演化过程管理量子系统的状态的方法,所述量子虚时演化过程用于实现所述量子系统从初态转移至基态的过程,所述量子虚时演化过程包括至少一个演化阶段,所述方法包括:A method for managing the state of a quantum system based on a quantum virtual time evolution process, the quantum virtual time evolution process is used to realize the process of transferring the quantum system from an initial state to a ground state, and the quantum virtual time evolution process includes at least An evolution stage, the method comprising:
    在所述至少一个演化阶段中的演化阶段期间,基于所述量子系统的哈密顿量以及所述初态和所述基态之间的第一中间状态,确定与所述演化阶段相关联的厄米算符;During an evolution stage of said at least one evolution stage, a Hermitian associated with said evolution stage is determined based on a Hamiltonian of said quantum system and a first intermediate state between said initial state and said ground state operator;
    针对所述厄米算符进行泡利分解,以确定与所述演化阶段相关联的多个泡利算符;performing Pauli decomposition on the Hermitian operator to determine a plurality of Pauli operators associated with the evolution stage;
    基于重要性采样从所述多个泡利算符中选择目标泡利算符;以及selecting a target Pauli operator from the plurality of Pauli operators based on importance sampling; and
    基于所述目标泡利算符以及所述多个泡利算符的系数,确定与所述演化阶段相关联的第二中间状态,所述第二中间状态比所述第一中间状态更接近所述基态。Based on the target Pauli operator and coefficients of the plurality of Pauli operators, determining a second intermediate state associated with the evolution stage, the second intermediate state being closer to the first intermediate state than the first intermediate state ground state.
  2. 根据权利要求1所述的方法,其中选择所述目标泡利算符包括:基于所述多个泡利算符的所述系数的比较,从所述多个泡利算符中选择所述目标泡利算符。The method of claim 1 , wherein selecting the target Pauli operator comprises selecting the target Pauli operator from the plurality of Pauli operators based on a comparison of the coefficients of the plurality of Pauli operators. Pauli operator.
  3. 根据权利要求1所述的方法,其中确定所述第二中间状态包括:The method of claim 1, wherein determining the second intermediate state comprises:
    基于所述目标泡利算符和所述多个泡利算符的所述系数,生成与所述演化阶段相关联的幺正变换;以及generating a unitary transformation associated with the evolution stage based on the target Pauli operator and the coefficients of the plurality of Pauli operators; and
    利用所述幺正变换来确定与所述演化阶段相关联的所述第二中间状态。The second intermediate state associated with the evolution stage is determined using the unitary transformation.
  4. 根据权利要求3所述的方法,其中生成与所述演化阶段相关联的所述幺正变换包括:The method of claim 3, wherein generating the unitary transformation associated with the evolution stage comprises:
    确定所述多个泡利算符的所述系数的绝对值的总和;以及determining the sum of the absolute values of the coefficients of the plurality of Pauli operators; and
    基于所述目标泡利算符以及所述总和,确定所述幺正变换。Based on the target Pauli operator and the sum, the unitary transformation is determined.
  5. 根据权利要求3所述的方法,其中利用所述幺正变换确定所述第二中间状态包括:利用量子门执行所述幺正变换以确定所述第二 中间状态。The method of claim 3, wherein using the unitary transformation to determine the second intermediate state comprises performing the unitary transformation with a quantum gate to determine the second intermediate state.
  6. 根据权利要求5所述的方法,其中所述至少一个演化阶段包括多个演化阶段,以及所述方法进一步包括基于如下来确定所述多个演化阶段:The method of claim 5, wherein the at least one evolution stage comprises a plurality of evolution stages, and the method further comprises determining the plurality of evolution stages based on:
    基于用于执行所述量子虚时演化过程的时间长度和预定精度,确定所述多个演化阶段的时间步长;以及determining time steps for said plurality of evolution stages based on a length of time and a predetermined precision for performing said quantum virtual time evolution process; and
    根据所述时间步长来针对所述量子虚时演化过程执行Trotter分解,以确定所述多个演化阶段。Trotter decomposition is performed on the quantum virtual time evolution process according to the time step size to determine the plurality of evolution stages.
  7. 根据权利要求6所述的方法,其中在所述多个演化阶段中的第一演化阶段中,所述第一中间状态是所述初态,以及所述方法进一步包括:将所述第二中间状态输出至跟随所述第一演化阶段的第二演化阶段,以作为所述第二演化阶段的第一中间状态。The method according to claim 6, wherein in a first evolution stage of the plurality of evolution stages, the first intermediate state is the initial state, and the method further comprises: converting the second intermediate state to A state is output to a second evolution stage following the first evolution stage as a first intermediate state of the second evolution stage.
  8. 根据权利要求7所述的方法,进一步包括:利用包括多个量子门的量子线路来执行所述量子虚时演化过程,所述多个量子门的数量是基于所述多个演化阶段的数量来确定的,所述多个量子门中的给定量子门用于执行与所述多个演化阶段中的给定演化阶段相关联的幺正变换。The method according to claim 7, further comprising: performing the quantum virtual time evolution process using a quantum circuit comprising a plurality of quantum gates, the number of the plurality of quantum gates is based on the number of the plurality of evolution stages It is determined that a given quantum gate of the plurality of quantum gates is used to perform a unitary transformation associated with a given evolutionary stage of the plurality of evolutionary stages.
  9. 根据权利要求1至8中的任一项所述的方法,其中选择所述目标泡利算符包括:从所述多个泡利算符中随机地选择所述目标泡利算符。The method according to any one of claims 1 to 8, wherein selecting the target Pauli operator comprises randomly selecting the target Pauli operator from the plurality of Pauli operators.
  10. 根据权利要求1至8中的任一项所述的方法,其中确定与所述演化阶段相关联的所述厄米算符包括:The method of any one of claims 1 to 8, wherein determining the Hermitian operator associated with the evolution stage comprises:
    基于所述量子系统的哈密顿量和所述初态,确定所述哈密顿量的多个能量泡利算符;determining a plurality of energy Pauli operators of the Hamiltonian based on the Hamiltonian of the quantum system and the initial state;
    基于重要性采样,从所述多个能量泡利算符中选择目标能量泡利算符;以及selecting a target energy Pauli operator from the plurality of energy Pauli operators based on importance sampling; and
    基于所述目标能量泡利算符和所述多个能量泡利算符的系数,确定与所述演化阶段相关联的所述厄米算符。The Hermitian operator associated with the evolution stage is determined based on the target energy Pauli operator and coefficients of the plurality of energy Pauli operators.
  11. 一种电子设备,包括:An electronic device comprising:
    至少一个处理单元;以及at least one processing unit; and
    至少一个存储器,所述至少一个存储器被耦合到所述至少一个处理单元并且存储用于由所述至少一个处理单元执行的指令,所述指令在由所述至少一个处理单元执行时使所述设备执行用于基于量子虚时演化过程管理量子系统的状态的动作,所述量子虚时演化过程用于实现所述量子系统从初态转移至基态的过程,所述量子虚时演化过程包括至少一个演化阶段,所述动作包括:at least one memory coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit that, when executed by the at least one processing unit, cause the device Executing an action for managing the state of the quantum system based on a quantum virtual time evolution process, the quantum virtual time evolution process is used to realize the process of transferring the quantum system from the initial state to the ground state, and the quantum virtual time evolution process includes at least one In the evolution stage, the actions include:
    在所述至少一个演化阶段中的演化阶段期间,基于所述量子系统的哈密顿量以及所述初态和所述基态之间的第一中间状态,确定与所述演化阶段相关联的厄米算符;During an evolution stage of said at least one evolution stage, a Hermitian associated with said evolution stage is determined based on a Hamiltonian of said quantum system and a first intermediate state between said initial state and said ground state operator;
    针对所述厄米算符进行泡利分解,以确定与所述演化阶段相关联的多个泡利算符;performing Pauli decomposition on the Hermitian operator to determine a plurality of Pauli operators associated with the evolution stage;
    基于重要性采样从所述多个泡利算符中选择目标泡利算符;以及selecting a target Pauli operator from the plurality of Pauli operators based on importance sampling; and
    基于所述目标泡利算符以及所述多个泡利算符的系数,确定与所述演化阶段相关联的第二中间状态,所述第二中间状态比所述第一中间状态更接近所述基态。Based on the target Pauli operator and coefficients of the plurality of Pauli operators, determining a second intermediate state associated with the evolution stage, the second intermediate state being closer to the first intermediate state than the first intermediate state ground state.
  12. 根据权利要求11所述的设备,其中选择所述目标泡利算符包括:基于所述多个泡利算符的所述系数的比较,从所述多个泡利算符中选择所述目标泡利算符。The apparatus of claim 11 , wherein selecting the target Pauli operator comprises selecting the target Pauli operator from the plurality of Pauli operators based on a comparison of the coefficients of the plurality of Pauli operators. Pauli operator.
  13. 根据权利要求11所述的设备,其中确定所述第二中间状态包括:The apparatus of claim 11, wherein determining the second intermediate state comprises:
    基于所述目标泡利算符和所述多个泡利算符的所述系数,生成与所述演化阶段相关联的幺正变换;以及generating a unitary transformation associated with the evolution stage based on the target Pauli operator and the coefficients of the plurality of Pauli operators; and
    利用所述幺正变换来确定与所述演化阶段相关联的所述第二中间状态。The second intermediate state associated with the evolution stage is determined using the unitary transformation.
  14. 根据权利要求13所述的设备,其中生成与所述演化阶段相关联的所述幺正变换包括:The apparatus of claim 13, wherein generating the unitary transformation associated with the evolution stage comprises:
    确定所述多个泡利算符的所述系数的绝对值的总和;以及determining the sum of the absolute values of the coefficients of the plurality of Pauli operators; and
    基于所述目标泡利算符以及所述总和,确定所述幺正变换。Based on the target Pauli operator and the sum, the unitary transformation is determined.
  15. 根据权利要求13所述的设备,其中利用所述幺正变换确定所述第二中间状态包括:利用量子门执行所述幺正变换以确定所述第二中间状态。The apparatus of claim 13, wherein determining the second intermediate state using the unitary transformation comprises performing the unitary transformation using a quantum gate to determine the second intermediate state.
  16. 根据权利要求15所述的设备,其中所述至少一个演化阶段包括多个演化阶段,以及所述动作进一步包括基于如下来确定所述多个演化阶段:The apparatus of claim 15, wherein the at least one evolution stage comprises a plurality of evolution stages, and the actions further comprise determining the plurality of evolution stages based on:
    基于用于执行所述量子虚时演化过程的时间长度和预定精度,确定所述多个演化阶段的时间步长;以及determining time steps for said plurality of evolution stages based on a length of time and a predetermined precision for performing said quantum virtual time evolution process; and
    根据所述时间步长来针对所述量子虚时演化过程执行Trotter分解,以确定所述多个演化阶段。Trotter decomposition is performed on the quantum virtual time evolution process according to the time step size to determine the plurality of evolution stages.
  17. 根据权利要求16所述的设备,其中在所述多个演化阶段中的第一演化阶段中,所述第一中间状态是所述初态,以及所述动作进一步包括:将所述第二中间状态输出至跟随所述第一演化阶段的第二演化阶段,以作为所述第二演化阶段的第一中间状态。The apparatus of claim 16, wherein in a first evolution stage of the plurality of evolution stages, the first intermediate state is the initial state, and the actions further comprise: converting the second intermediate state to A state is output to a second evolution stage following the first evolution stage as a first intermediate state of the second evolution stage.
  18. 根据权利要求17所述的设备,其中所述动作进一步包括:利用包括多个量子门的量子线路来执行所述量子虚时演化过程,所述多个量子门的数量是基于所述多个演化阶段的数量来确定的,所述多个量子门中的给定量子门用于执行与所述多个演化阶段中的给定演化阶段相关联的幺正变换。The apparatus according to claim 17, wherein said actions further comprise: performing said quantum virtual time evolution process using a quantum circuit comprising a plurality of quantum gates, the number of said plurality of quantum gates being based on said plurality of evolution A given quantum gate of the plurality of quantum gates is used to perform a unitary transformation associated with a given evolutionary stage of the plurality of evolutionary stages.
  19. 根据权利要求11至18中的任一项所述的设备,其中选择所述目标泡利算符包括:从所述多个泡利算符中随机地选择所述目标泡利算符。The apparatus according to any one of claims 11 to 18, wherein selecting the target Pauli operator comprises randomly selecting the target Pauli operator from the plurality of Pauli operators.
  20. 根据权利要求11至18中的任一项所述的设备,其中确定与所述演化阶段相关联的所述厄米算符包括:The apparatus according to any one of claims 11 to 18, wherein determining the Hermitian operator associated with the evolution stage comprises:
    基于所述量子系统的哈密顿量和所述初态,确定所述哈密顿量的多个能量泡利算符;determining a plurality of energy Pauli operators of the Hamiltonian based on the Hamiltonian of the quantum system and the initial state;
    基于重要性采样,从所述多个能量泡利算符中选择目标能量泡利算符;以及selecting a target energy Pauli operator from the plurality of energy Pauli operators based on importance sampling; and
    基于所述目标能量泡利算符和所述多个能量泡利算符的系数,确定与所述演化阶段相关联的所述厄米算符。The Hermitian operator associated with the evolution stage is determined based on the target energy Pauli operator and coefficients of the plurality of energy Pauli operators.
  21. 一种用于基于量子虚时演化过程管理量子系统的状态的装置,所述量子虚时演化过程用于实现所述量子系统从初态转移至基态的过程,所述量子虚时演化过程包括至少一个演化阶段,所述装置包括:A device for managing the state of a quantum system based on a quantum virtual time evolution process, the quantum virtual time evolution process is used to realize the process of transferring the quantum system from an initial state to a ground state, and the quantum virtual time evolution process includes at least One stage of evolution, the device includes:
    确定模块,配置用于在所述至少一个演化阶段中的演化阶段期间,基于所述量子系统的哈密顿量以及所述初态和所述基态之间的第一中间状态,确定与所述演化阶段相关联的厄米算符;A determination module configured to determine, during an evolution stage of the at least one evolution stage, based on the Hamiltonian of the quantum system and a first intermediate state between the initial state and the ground state, the Hermitian operators associated with phases;
    分解模块,配置用于针对所述厄米算符进行泡利分解,以确定与所述演化阶段相关联的多个泡利算符;a decomposition module configured to perform Pauli decomposition on the Hermitian operator to determine a plurality of Pauli operators associated with the evolution stage;
    选择模块,配置用于基于重要性采样从所述多个泡利算符中选择目标泡利算符;以及a selection module configured to select a target Pauli operator from the plurality of Pauli operators based on importance sampling; and
    状态确定模块,配置用于基于所述目标泡利算符以及所述多个泡利算符的系数,确定与所述演化阶段相关联的第二中间状态,所述第二中间状态比所述第一中间状态更接近所述基态。a state determination module configured to determine a second intermediate state associated with the evolution stage based on the target Pauli operator and the coefficients of the plurality of Pauli operators, the second intermediate state being larger than the The first intermediate state is closer to the ground state.
  22. 一种计算机可读存储介质,其上存储有计算机程序,所述程序被处理器执行时实现根据权利要求1至10中任一项所述的方法。A computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, the method according to any one of claims 1 to 10 is realized.
  23. 一种计算机程序产品,其上存储有计算机程序,所述程序被处理器执行时实现根据权利要求1至10中任一项所述的方法。A computer program product on which is stored a computer program which, when executed by a processor, implements the method according to any one of claims 1 to 10.
PCT/CN2022/138710 2022-01-10 2022-12-13 Method and apparatus for managing state of quantum system, device and medium WO2023130918A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210022806.5A CN114372577B (en) 2022-01-10 2022-01-10 Method, apparatus, device and medium for managing states of a quantum system
CN202210022806.5 2022-01-10

Publications (1)

Publication Number Publication Date
WO2023130918A1 true WO2023130918A1 (en) 2023-07-13

Family

ID=81144253

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/138710 WO2023130918A1 (en) 2022-01-10 2022-12-13 Method and apparatus for managing state of quantum system, device and medium

Country Status (2)

Country Link
CN (1) CN114372577B (en)
WO (1) WO2023130918A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117895953A (en) * 2024-03-14 2024-04-16 哈尔滨工业大学(深圳)(哈尔滨工业大学深圳科技创新研究院) Confidence propagation decoding method and device based on Paulownia operator decoupling representation

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114372577B (en) * 2022-01-10 2024-01-02 北京有竹居网络技术有限公司 Method, apparatus, device and medium for managing states of a quantum system
CN115271083B (en) * 2022-07-26 2023-05-30 北京大学 Quantum gate noise calibration method and device
CN115481744B (en) * 2022-09-26 2023-05-30 北京大学 Method and device for acquiring eigenstates of system to be tested based on analog quantum device
CN115618955B (en) * 2022-12-19 2023-04-07 量子科技长三角产业创新中心 Quantum line optimization method, device, equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180053112A1 (en) * 2016-08-17 2018-02-22 International Business Machines Corporation Efficient reduction of resources for the simulation of fermionic hamiltonians on quantum hardware
US20190156239A1 (en) * 2016-05-17 2019-05-23 Google Inc. Fidelity estimation for quantum computing systems
CN113408733A (en) * 2021-06-29 2021-09-17 腾讯科技(深圳)有限公司 Method, device and equipment for acquiring ground state of quantum system and storage medium
CN114372577A (en) * 2022-01-10 2022-04-19 北京有竹居网络技术有限公司 Method, apparatus, device and medium for managing states of quantum system

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3362952A4 (en) * 2015-10-16 2018-10-03 D-Wave Systems Inc. Systems and methods for creating and using quantum boltzmann machines
EP3685321B1 (en) * 2017-10-02 2022-02-09 Google LLC Fermionic simulation gates
GB201801517D0 (en) * 2018-01-30 2018-03-14 River Lane Res Ltd A method of determining a state energy
WO2020091874A1 (en) * 2018-10-31 2020-05-07 Google Llc Efficient fault-tolerant trotter simulation of molecular hamiltonians
US11314536B2 (en) * 2019-07-08 2022-04-26 Tencent America LLC Quantum variational method, apparatus, and storage medium for simulating quantum systems
CN110738321B (en) * 2019-10-15 2022-04-29 北京百度网讯科技有限公司 Quantum signal processing method and device
US11687815B2 (en) * 2019-12-16 2023-06-27 International Business Machines Corporation Estimation of an expected energy value of a Hamiltonian
CN113222159B (en) * 2020-01-21 2023-06-06 合肥本源量子计算科技有限责任公司 Quantum state determination method and device
CN112561068B (en) * 2020-12-10 2021-09-07 北京百度网讯科技有限公司 Simulation method, computing device, classical device, storage device and product
CN113344209A (en) * 2021-06-01 2021-09-03 中国科学技术大学 Schrodinger-Heisenberg variation quantum ground state solving method
CN113298262B (en) * 2021-06-10 2022-04-26 北京百度网讯科技有限公司 Quantum device denoising method and device, electronic device and computer readable medium
CN113807526B (en) * 2021-09-26 2024-03-29 深圳市腾讯计算机系统有限公司 Method, device, equipment and storage medium for acquiring eigenstates of quantum system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190156239A1 (en) * 2016-05-17 2019-05-23 Google Inc. Fidelity estimation for quantum computing systems
US20180053112A1 (en) * 2016-08-17 2018-02-22 International Business Machines Corporation Efficient reduction of resources for the simulation of fermionic hamiltonians on quantum hardware
CN113408733A (en) * 2021-06-29 2021-09-17 腾讯科技(深圳)有限公司 Method, device and equipment for acquiring ground state of quantum system and storage medium
CN114372577A (en) * 2022-01-10 2022-04-19 北京有竹居网络技术有限公司 Method, apparatus, device and medium for managing states of quantum system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117895953A (en) * 2024-03-14 2024-04-16 哈尔滨工业大学(深圳)(哈尔滨工业大学深圳科技创新研究院) Confidence propagation decoding method and device based on Paulownia operator decoupling representation

Also Published As

Publication number Publication date
CN114372577A (en) 2022-04-19
CN114372577B (en) 2024-01-02

Similar Documents

Publication Publication Date Title
WO2023130918A1 (en) Method and apparatus for managing state of quantum system, device and medium
WO2023273045A1 (en) Method and apparatus for acquiring ground state of quantum system, device, medium and program product
WO2022257316A1 (en) Ground-state energy estimation method and system for quantum system
WO2022217854A1 (en) Quantum gate optimization method and apparatus, and device and storage medium
CN109074518B (en) Quantum phase estimation of multiple eigenvalues
JP7354320B2 (en) Quantum device noise removal method and apparatus, electronic equipment, computer readable storage medium, and computer program
CN107004161B (en) Method for efficiently realizing diagonal operator on CLIFFORD + T base
CN113935491B (en) Method, device, equipment, medium and product for obtaining eigenstates of quantum system
JP7125825B2 (en) Grouping Pauli Strings Using Entangled Measurements
CN113792880B (en) Pulse-based quantum gate implementation method and device, electronic equipment and medium
CN115169565B (en) Hamilton quantity simulation method and device of small molecule chemical system
CN112990472B (en) Method and apparatus for eliminating quantum noise, electronic device, and medium
CN114492823A (en) Method and apparatus for eliminating quantum noise, electronic device, and medium
CN114429218A (en) Method and apparatus for eliminating quantum noise, electronic device and medium
Krämer et al. Splitting methods for nonlinear Dirac equations with Thirring type interaction in the nonrelativistic limit regime
WO2023169345A1 (en) Method and apparatus for processing data simulation task, electronic device, and storage medium
WO2023138202A1 (en) Quantum circuit simulation method and apparatus, device, storage medium, and program product
US11836575B2 (en) Error corrected variational algorithms
Castillo et al. Classical simulation of Grovers quantum algorithm
CN115329971A (en) Method and apparatus for eliminating amplitude damping noise, electronic device, and medium
CN117769712A (en) Benchmark test protocol for quantum gates
US10671550B1 (en) Memory offloading a problem using accelerators
Verghese et al. Max-cut problem implementation and analysis on a quantum computer
JP2022061567A (en) Optimization device, evaluation device, method thereof, and program
Levin Optimized General Uniform Quantum State Preparation

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: 22918368

Country of ref document: EP

Kind code of ref document: A1