Quantum algorithm for preparing the ground state of a system via resonance transition

Preparing the ground state of a system is an important task in physics. We propose a quantum algorithm for preparing the ground state of a physical system that can be simulated on a quantum computer. The system is coupled to an ancillary qubit, by introducing a resonance mechanism between the ancilla qubit and the system, and combined with measurements performed on the ancilla qubit, the system can be evolved to monotonically converge to its ground state through an iterative procedure. We have simulated the application of this algorithm for the Afflect-Kennedy-Lieb-Tasaki model, whose ground state can be used as resource state in one-way quantum computation.

Purification of quantum states is the key for many quantum applications, e.g., highlypurified quantum states are required in improving the signal to noise ratio in spectroscopy [1,2] and the resolution in metrology and quantum sensing [3][4][5][6].It is also essential in quantum information science, such as initializing a set of qubits to a known state in many quantum algorithms, preparing resource state in one-way quantum computation [7], and supplying fresh ancillary qubits in fault-tolerant quantum computing and quantum error correction [8,9].To purify a quantum state, in addition to physical cooling, algorithmic cooling can be used to reduce the entropy of the system.In quantum computation, algorithmic cooling can be used for preparing the ground state of a quantum computer by means of the computer itself [10,11].
There are a few quantum cooling algorithms have been proposed.In Ref. [12], a heat-bath algorithmic cooling (HBAC) approach was proposed and demonstrated experimentally.In this approach, the entropy of qubits is reduced by distributing more entropy to one of the qubits, which can release the excess entropy to a heat bath through thermalization.HBAC is not a universal cooling algorithm, it is mainly used for preparing polarized spins as initial states for quantum computation.Another approach [13,14] for quantum cooling is to engineer dissipative open-system dynamics to drive quantum states to the ground state of a simulated system.This approach is based on simulation of the Lindblad master equations, and is restricted to the frustration-free Hamiltonians.In Ref. [15], a universal quantum cooling approach was proposed, this approach can be applied to enhance the probability of the ground-state projection through non-unitary operations introduced through measurements.In this approach, it cannot be verified directly that the system is cooled to its ground state.In Ref. [20], a method is proposed for purifying a quantum system A to a pure state through Zeno-like measurements on another quantum system B that is coupled to A. The effect of performing a series of frequent measurements on system B introduces non-unitary operations on system A and drives it to a pure state.
In this work, we propose a quantum algorithm for preparing the ground state of a system via resonance transition, provided that the ground state energy of the system is known.The system is coupled to an ancillary qubit and a resonance transition is introduced between them, through an energy exchange with the ancilla qubit, the system can be driven to monotonically converge to its ground state in an iterative way.In this algorithm, the system is prepared in an initial state and the amplitude of the ground state is amplified through a resonance mechanism, by performing measurements on the ancilla qubit, the system is purified to converge quickly to its ground state.The algorithm can be applied to any system with a Hamiltonian that can be simulated on a quantum computer.We have simulated the application of this algorithm for the Afflect-Kennedy-Lieb-Tasaki (AKLT) model, whose ground state can be used as resource state in one-way quantum computation.

Results
The Algorithm.For a qubit coupled to a physical system, when the qubit resonates with a transition in the system, it exhibits a dynamical response and an energy exchange occurs between the qubit and the system.By performing measurements on the qubit, the system can be purified to its ground state.Based on this, we propose a quantum algorithm for preparing the ground state of a system, provided that the ground state energy is known.For some systems, such as some oracle-based problems in quantum computation, the ground state energies are already known, or they can be obtained through the algorithm we introduced here and in ref. [17].In this algorithm, the system is coupled with an ancillary qubit and is prepared in an initial state which can be spanned by the eigen-basis of the Hamiltonian of the system, the amplitude of the ground state is amplified through a resonance mechanism.
By performing measurements on the ancilla qubit, which introduces a non-unitary operations on the system [20], the system can be purified and driven to monotonically converge to its ground state.Details of the algorithm are as follows.
The algorithm requires (n + 2) qubits, two ancillary qubits and n qubits that represent the system.The first ancilla qubit is coupled to a quantum register R of (n + 1) qubits consisting of the second ancilla qubit and an n-qubit quantum register representing a system of dimension N = 2 n .The Hamiltonian of the algorithm is constructed as where and H S is the Hamiltonian of the physical system.The eigenstates of the system are |χ j and H S |χ j = E j |χ j (j = 1, 2, . .., N), where E j are the eigenvalues of H S .I 2 is the twodimensional identity operator, σ x and σ z are the Pauli matrices.The first term in Eq. ( 1) is the Hamiltonian of the first ancilla qubit, the second term is the Hamiltonian of the register R, and the third term describes the interaction between the ancilla qubit and R. Here, ε 0 is a reference parameter, and c is the coupling strength between the first ancilla qubit and R.
In the algorithm, a guess state |ϕ (0) of the ground state of the system is prepared as the initial input state.The register R of the circuit is prepared in state |0 |ϕ (0) , which is an eigenstate of the Hamiltonian H R with eigenvalue ε 0 .We set the parameter ε 0 such that , where E 1 represents the ground state energy of the system.The procedures of the algorithm are as follows: For k = 1: (i) Prepare the first ancilla qubit in its ground state |0 and the register R in state 1) .
(iii) Perform a measurement on the first ancilla qubit in its computational basis.If the measurement result is in its excited state |1 , go to the next step; otherwise, set k = 1 and run the algorithm start from step (i) again.
(iv) Take the state of the last n qubits obtained from step (iii) as input state |ϕ (k) for the system.Set k = k + 1 and run the procedures from step (i) again.
Here, k represents the iteration number of the algorithm.The state |ϕ (m) obtained on the last n qubits is close to the ground state of the system.The time evolution operator U(τ ) = exp (−iHτ ) can be implemented efficiently through the Trotter formula [19].
The initial state of the system |ϕ (0) can be spanned by the complete set of eigenstates of the system Hamiltonian {|χ . ., N}, the Hamiltonian of the algorithm can be decomposed as direct sum of N two-dimensional matrix In the first iteration of the algorithm, the initial state of the circuit is the unitary evolution of the circuit is U|Ψ 0 = N j=1 d j U j |0 |0 |χ j , where U j = exp(−iH j τ ).Then we have where c 1 = e −i(α+ π 2 ) and α = 2E 1 +1 4c π.And where and Then From Eq. ( 7), we can see that . The probability of the measurement on the ancilla qubit being in its excited state |1 , depends on the coupling coefficient c and the energy gaps between the ground state and the excited states δ j .In the case where δ j ≫ c and c ≪ 1, |c j1 | ≪ 1 and |c j0 | ≈ 1. Therefore in the first iteration of the algorithm, the probability of the measurement on the ancilla qubit being in its excited state is ≈ |d 1 | 2 .The system is evolved to the excited states of the system energy when the measurement on the ancilla qubit is in state |0 , while the system is purified to a state that is close to its ground state when the measurement is in its excited state |1 .When the measurement on the first ancilla qubit is in state |1 , the circuit is collapsed to state the state |1 |1 |χ 1 that encodes the ground state of H S contributes most to the state |Ψ (1) , as long as d 1 is polynomial large.Ignoring phase factors, the state on the last n qubits of the circuit can be written as |χ j represents a state that does not contain the ground state |χ 1 .The amplitude of the ground state of the system is amplified in a rate about 1 : a 0 c through the resonance mechanism.After m continuous measurements on the first ancilla qubit being in its excited state |1 , the system is purified to state and the amplitude of the component that does not contain the ground state of H S is compressed to be exponentially small with m.
The success probability for (m + 1) continuous measurements on the first ancilla qubit to be in its excited state |1 is If the coupling coefficient c is set such that a 0 c < 1/ √ m and δ j ≫ c, then the success probability of the algorithm P succ > |d 1 | 2 /e in the asymptotic limit of m.The system is purified to a state that has fidelity of (1−m (a 0 c) 2m ) with the ground state of the Hamiltonian H S .The number of trials the algorithm has to be run is proportional to 1/P succ .The evolution time of the algorithm is τ = π/(2c), if the energy gap between the ground state and the excited states δ j is polynomially large, then the coupling coefficient c can be set to be polynomially small and δ j ≫ c, then as long as |d 1 | 2 is not exponentially small, the algorithm can be run in polynomial time with finite success probability.
Since the amplitude of the ground state of the system is amplified in a rate about 1 : a 0 c where a 0 c ≪ 1, the system is evolved very fast to a state that is very close to the ground state of the system when the measurement on the first ancilla qubit is in its excited state.
The success probability of the algorithm mainly depends on the overlap between the initial state and the ground state of the system.Once the measurement on the ancilla qubit fails to be in its excited state, we can start over the algorithm again.Then after a few iterations, the initial state is purified to be close to the ground state of the system.In practice, the system can be purified to a state that is very close to the ground state of the system in a few iterations of the algorithm, as we can see in the example below.
We have to implement the time evolution operator U(τ ) = exp (−iHτ ).In the algorithm Hamiltonian H, as shown in Eq. ( 1), the first two terms commute, while they do not commute with the third term.The operator U(τ ) can be implemented through the Trotter formula [19]: By making L very large, the error can be made as small as possible.L can be made sufficiently large such that the error is bounded by some threshold.By applying the Trotter approximation, the evolution operator on the circuit is U(τ ) − O(1/L), which introduces a slight deviation from the real unitary evolution of the state in an iteration of the algorithm.
Then the probability for (m + 1) continuous measurements on the first ancilla qubit to be in its excited state A slight modification of the algorithm can be used for obtaining the ground state energy of a system.When the transition frequency between the reference state and an eigenstate of the system matches the frequency of the first ancilla qubit, it contributes the most to the excitation of the qubit.By performing measurements on the first ancilla qubit to obtain its excitation probability, a peak in the excitation rate of the qubit will be observed.Therefore by varying the eigenvalue of the reference state ε 0 , and run the algorithm, we can locate the transition frequency between the reference state and the ground state and obtain the ground state energy of the system.The procedures are the same as in Ref. [17].
Simulating the algorithm for the AKLT model.In the following, we simulate the algorithm for the one-dimensional Afflect-Kennedy-Lieb-Tasaki model.The ground state of the two-dimensional AKLT model can be used as resource state for universal one-way quantum computation [18].The AKLT model is a gapped model, therefore it can be cooled to its ground state, and by performing single-qubit operations, one-way quantum computation can be implemented on this model.In Ref. [21], the authors simulated one-way quantum computation on the one-dimensional AKLT model by preparing the solid bond state of the model on photon system, but they did not use a cooling method [7].Here, by applying the algorithm we proposed, we can evolve the simulated AKLT model on qubit system to its ground state.
The one-dimensional AKLT model consists of a linear chain of N spin-1's in the bulk and two spin-1/2's on the boundary.The spin-1 operators are represented by S k and spin-1/2 operators by s j , where j = 0, N + 1.The Hamiltonian of the system is [23] AKLT model of spin-3/2 particles is a universal resource for one-way quantum computation.
In this model, the spin states of a spin-3/2 particle are represented by three qubits as shown in [24].The 2d-AKLT model of spin-3/2 particles is a gapped model and the algorithm we proposed here can be applied for preparing its ground state.We can use this algorithm to obtain its ground state energy, then run the algorithm to evolve the system to converge to its ground state.

Discussion
We have proposed a quantum algorithm for preparing the ground state of a system, provided that the ground state energy is known.A resonance mechanism is introduced to amplify the amplitude of the ground state that is contained in an initial input state of the system.
A measurement performed on the ancilla qubit indicates whether the system is prepared to its ground state or not.The procedures of the algorithm can be run iteratively to drive the system to converge monotonically to its ground state.This algorithm can be applied to any system with a Hamiltonian that can be simulated on a quantum computer.
The efficiency of the algorithm depends on the overlap between the initial input state and the ground state of the system, as shown in Eq. ( 9) when the energy gap between the ground and excited states of the system is much larger the coupling coefficient c.It is limited by the energy gap between the ground state and excited states, as shown in Eqs.(6 − 8), when the energy gap is small, the amplification rate of the amplitude of the ground state in the input state of the algorithm is limited by the energy gap.If the overlap between the initial input state and the ground state of the system is finite, and the energy gap between the ground state and the first excited state of the system is polynomial large, such that the coupling coefficient c in the algorithm can be set to be much less than the energy gap, then the system can be evolved to its ground state in polynomial time with finite success probability.
We now compare this algorithm with other cooling algorithms for preparing the ground state of a system.Firstly, in our algorithm, the ground state energy of the system is required.
For some systems, the ground state energy is already known, such as the example we used and some oracle-based problems in quantum computation.For a system whose ground state energy is unknown, an approximate ground state energy can be obtained using the algorithm in Ref. [17] or the algorithm in this work as shown in the example.Obtaining the ground state energy of a system requires some extra cost, but it provides some advantages for the algorithm.By using this algorithm, whether a system is prepared to its ground state can be determined according to the measurement result on the first ancilla qubit.We can be certain that the system is evolved to a state that is close to the ground state of the system when an excitation is observed on the first ancilla qubit.While for other algorithms, there is no direct way of verifying that the system is cooled to its ground state.
Secondly, the algorithm we proposed here can be run iteratively.With the known ground state energy, the system can be evolved to converge monotonically to its ground state through the iterative procedures in the algorithm.This algorithm provides a systematic way of purifying a state to the ground state of a system.While other cooling algorithms do not have such a property.
Thirdly, in our algorithm, a total number of (n+2) qubits are used, while other algorithms use (n + 1) qubits.By adding the second ancillary qubit, we can introduce a reference state that does not depend on the energy spectrum of the system, which gives us the flexibility of setting proper resonance transitions to evolve the system to any of its eigenstates.The algorithms in our previous work [16,17] that use (n + 1) qubits, can also be used for preparing the ground state of a system.But they can only be run in one time and the resonance transition induced depends on the energy spectrum of the system.While in the present algorithm, we can purify the ground state iteratively, the purity of the ground state can be increased in a systematic way.
In Ref. [26], a cooling algorithm was proposed also based on resonance transition, where a qubit that represents the bath is coupled to the system.The frequency of the qubit is adjusted to match a transition frequency of the system to induce a resonance transition to cool the system.While in our algorithm, by adding the second ancillary qubit, we can introduce a reference state that is independent of the energy spectrum of the system.
Its eigenvalue can be adjusted such that the transition frequency between the reference state and the ground state of the system matches the frequency of the first ancilla qubit, therefore a resonance mechanism can be induced.This provides the flexibility of obtaining any eigenstate of the system.Besides, our algorithm can be run iteratively to evolve the system to converge monotonically to its ground state.While the algorithm in Ref. [26] does not have this property.
Adiabatic evolution can also be used for preparing the ground state of a system.In the adiabatic state preparation approach, one starts with an initial Hamiltonian and evolve it adiabatically to the target Hamiltonian, therefore the system is evolved from the ground state of the initial Hamiltonian to the ground state of the target Hamiltonian.While our algorithm starts with the target Hamiltonian directly to obtain its ground state.It requires only information concerning the spectrum of the Hamiltonian of the system, and not any intermediate Hamiltonians of the adiabatic evolution.The implementation is simpler for our algorithm, and whether the system is evolved to its ground state can be determined from the measurement on the first ancilla qubit.
In Ref. [27], the author introduced a controlled quantum adiabatic evolutions of singleand two-qubit operations for performing universal quantum computation.Compare with the algorithm we proposed here, both algorithms have a similarity in the controlled Hamiltonian, one can see that the Hamiltonian H R in our algorithm can be thought of as a controlled Hamiltonian evolution.And the initial states for both algorithms are eigenstates of the controlled Hamiltonians, respectively.The difference is that our algorithm is based on a resonance mechanism to obtain the ground state of a system, it starts from the target Hamiltonian directly; while the algorithm in [27], the desired quantum state is reached through a controlled adiabatic evolution.

FIG. 1 :
FIG. 1: Transition frequency spectrum between the reference state, |ϕ 0 , and the ground state of the AKLT model.The blue solid curve represents the excitation probability of the first ancilla qubit at different eigenvalues of ε 0 of the reference state.The coupling coefficient in Eq. (1) c = 0.05 and the evolution time τ = 31.4.