Next Article in Journal
Quantum-Solving Algorithm for d’Alembert Solutions of the Wave Equation
Previous Article in Journal
Attack–Defense Game Model with Multi-Type Attackers Considering Information Dilemma
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Quantum Multi-Round Resonant Transition Algorithm

1
State Key Laboratory of Low-Dimensional Quantum Physics and Department of Physics, Tsinghua University, Beijing 100084, China
2
Beijing Academy of Quantum Information Sciences, Beijing 100193, China
3
Department of Applied Physics, School of Science, Xi’an Jiaotong University, Xi’an 710049, China
4
Shenzhen Institute for Quantum Science and Engineering, Southern University of Science and Technology, Shenzhen 518055, China
5
Tsinghua National Laboratory for Information Science and Technology, Beijing 100084, China
6
Collaborative Innovation Center of Quantum Matter, Beijing 100084, China
*
Authors to whom correspondence should be addressed.
These authors contributed equally to this work.
Entropy 2023, 25(1), 61; https://doi.org/10.3390/e25010061
Submission received: 15 November 2022 / Revised: 14 December 2022 / Accepted: 23 December 2022 / Published: 28 December 2022
(This article belongs to the Section Quantum Information)

Abstract

:
Solving the eigenproblems of Hermitian matrices is a significant problem in many fields. The quantum resonant transition (QRT) algorithm has been proposed and demonstrated to solve this problem using quantum devices. To better realize the capabilities of the QRT with recent quantum devices, we improve this algorithm and develop a new procedure to reduce the time complexity. Compared with the original algorithm, it saves one qubit and reduces the complexity with error ϵ from O ( 1 / ϵ 2 ) to O ( 1 / ϵ ) . Thanks to these optimizations, we can obtain the energy spectrum and ground state of the effective Hamiltonian of the water molecule more accurately and in only 20 percent of the time in a four-qubit processor compared to previous work. More generally, for non-Hermitian matrices, a singular-value decomposition has essential applications in more areas, such as recommendation systems and principal component analysis. The QRT has also been used to prepare singular vectors corresponding to the largest singular values, demonstrating its potential for applications in quantum machine learning.

1. Introduction

Calculating the eigenvalues and eigenstates of a Hamiltonian is a fundamental problem in quantum physics and chemistry. Furthermore, the singular-value decomposition (SVD) for non-Hermitian matrices plays a vital role in more fields. Fundamentally, one can solve the eigenequations of the matrices to get this information. However, calculating this problem is ineffective because the computational cost grows exponentially if the dimension of a matrix grows exponentially with the size of the systems, such as a molecular Hamiltonian [1].
Several quantum algorithms have come up to effectively obtain the energy spectrum in a quantum computer. The quantum phase estimation algorithm (PEA) [2,3] is one of the most famous quantum algorithms, which can obtain the eigenvalues of a Hamiltonian with a quantum advantage over classical algorithms. Nevertheless, before using the PEA, we should usually prepare an eigenstate as the initial state. For a complicated system, giving an appropriate guess state before the PEA is difficult. The adiabatic state preparation [4] is another quantum algorithm for preparing an eigenstate of a system, but the efficiency of the ASP algorithm depends on the minimum energy gap between the ground state and the first excited state of the adiabatic evolution Hamiltonian along the evolution path between the initial Hamiltonian and the system Hamiltonian, which is difficult to estimate in practice [5,6]. Many quantum algorithms aim to solve the ground state and energy for a given Hamiltonian. The quantum eigenvalue transformation of unitary matrices with real polynomials (QTE-U) is a useful tool that uses a single ancilla qubit and no multi-qubit gate to estimate the ground-state energy and prepare the ground state [7]. The quantum eigenvalue estimation algorithm can estimate the eigenvalues of a Hamiltonian from the expectation values of the evolution operator for various times [8]. Universal quantum cooling algorithms are another way to prepare the ground state by utilizing a dual-phase representation of decaying functions to universally and deterministically realize a general cooling procedure with shallow quantum circuits [9]. A variational quantum eigensolver [10] is one way that can provide a quantum over-classical advantage to accomplish this task by using a classical computer and a noisy intermediate-scale quantum device with a low coherence time. Almost all algorithms based on the variational principle need many samples to obtain the estimated values of the different items. A full quantum eigensolver [11] based on a linear combination of unitary operators [12,13,14,15,16] has obtained rapid theoretical development [17,18] and some state-of-the-art experimental demonstrations [18,19].
The quantum resonant transition (QRT) algorithm is one way to obtain eigenvalues and eigenvectors based on a Hamiltonian simulation. It just needs one ancilla qubit and one Hamiltonian evolution operator, which may be implemented on existing devices. In addition, it can obtain the energy spectrum of a Hamiltonian and each eigenstate directly rather than just the ground-state energy. The previous work in Refs. [20,21,22,23,24] determined the energy spectrum and ground state of a two-qubit low-energy effective Hamiltonian of the water molecule. We design new multi-round processing to improve the efficiency of the QRT algorithm that reduces the complexity from O ( Δ E / ϵ 2 ) to O ( R / ϵ ) , with an eigenvalues range Δ E , the number of eigenvalues R and the accuracy ϵ . We utilize a nuclear magnetic resonance (NMR) four-qubit quantum simulator to solve the eigenproblem of a three-qubit effective water molecule Hamiltonian in a given energy range. Non-Hermitian matrices are more common in a broader range of fields, such as data compression and principal component analysis. Therefore, we also show its ability to determine the singular vectors of a simple non-Hermitian matrix as an example.
In this paper, we introduce the QRT-based algorithm and our improvement in Section 2, show the details and results of the experiments in Section 3, and analyze some details of this work in Section 4.

2. Materials and Methods

QRT is a common quantum phenomenon in which energy will transit from one system to another. It often happens in two systems with close eigenenergies, such as photons and atoms. In order to make the QRT algorithm easier to understand, we first introduce the algorithm of determining eigenstates of H s with known eigenvalues and then explain how to obtain eigenvalues in a given range through QRT.
The Hamiltonian of the QRT algorithm is constructed as
H = 1 2 ω σ z I + H T + c σ x A ,
where I is the identity operator and σ x , z are the Pauli matrices. The first term in the above equation is the Hamiltonian of the probe qubit where ω is its frequency. The second term H T is the Hamiltonian of the work qubits in subspace | 1 of probe qubit, and the third term describes the interaction between probe qubit and work qubits with coupling strength c and interaction matrix A. The Hamiltonian H T is given by
H T = ω 0 | 0 0 | | Φ Φ | + | 1 1 | H s ,
where ω 0 is a parameter set as a reference point to the energy E i of H s . In the algorithm, we firstly set the probe qubit in | 0 and the work qubits in a reference state | Φ , which means the initial state of the circuit is an eigenstate of H T with eigenvalue ω 0 . Considering the example of solving the ground state of the H s , we set ω + ω 0 E 0 . Simulating the Hamiltonian in Equation (1) with evolution time τ , we apply the first-order perturbation theory with small c | E 0 | , and the state of all qubits can be formulated as
| Ψ ( τ ) = e i H τ | 0 | Φ = e i ϕ 1 sin Ω 0 τ 2 | 1 Ψ 0 + e i ϕ 0 cos Ω 0 τ 2 | 0 | Φ ,
where Ψ 0 is the ground state of H s and Ω 0 = 2 c Ψ 0 | A | Φ . Here, ϕ 1 and ϕ 0 are phases that are inessential in this algorithm. By measuring the probe qubit, we can easily affirm the state of work qubits. If the evolution time τ = π 2 c Ψ 0 | A | Φ , the final state will be | 1 Ψ 0 determinately. The procedure to prepare the eigenstates by QRT is shown as follows.
(i) Initialize the state to 0 Φ . It should be noted that a better guess state Φ obtained from preprocessing, such as the tensor-network method, will shorten the evolution time τ to improve the efficiency.
(ii) Dynamical evolution. The Hamiltonian is shown in Equations (1) and (2). Appropriate evolution time will increase the probability of success in the next step.
(iii) Measure the probe qubit. If  ω + ω 0 E i , the measurement result will be 1 with a certain probability, and the state of work qubits would be the corresponding eigenstate Ψ i . When the measuring result is 0 , the state of all qubits is 0 Φ , then we should return to step (ii) and run again until the measurement result is 1 .
Compared with the original work, it saves one qubit to do the same things [20]. Usually, we just have an approximate eigenenergy but not an exact one, then the off-resonance will happen, and the amplitude of Rabi oscillation will be Ω 0 2 Ω 0 2 + Δ E 2 where Δ E = E 0 ( ω + ω 0 ) . In other words, it is also accessible to Ψ 0 with a high probability when Δ E Ω 0 .
In the above example, we have assumed that the energy spectrum of H s is almost known. In the following, we show how to obtain the energy spectrum in a given range of energy. In the previous algorithm, the probability of probe qubit in | 1 will depend on evolution time τ if ω + ω 0 approximates any eigenvalue E i . Assuming that the energy range is from E m i n to E m a x , we pick N equally spaced points ω k ( k = 1 , 2 , N ) in this range with step Δ ω = E m a x E m i n N and set ω + ω 0 = ω k , respectively, then run the previous algorithm. By measuring the probability P k of probe qubit in | 1 for each ω k , it is obvious that QRT will happen if ω k E i , and the probability of | 1 will increase in these points. As mentioned above, off-resonance will happen, and the amplitude of Rabi oscillation will be bigger when ω k gets closer to E i . We can find ω k corresponding to the points of peaks (the approximate value E i ˜ of eigenvalue E i ) with a higher P k , and reset ω + ω 0 near these points E i ˜ with smaller step Δ ω and c to reduce the error of off-resonance. The process that updates E i ˜ will repeat many times until the precision is sufficient, and the E i ˜ in the final process are the eigenvalues with limited error. It can be summarized by Algorithm 1. The original QRT method just set ω k = E m i n + k ϵ where k = 0 , 1 , 2 , E m a x E m i n ϵ . It will directly scan the interesting range of eigenvalues at regular intervals. By this loop program, the efficiency of the QRT-based eigenvalues search algorithm is improved due to ignoring non-resonance points.
Algorithm 1: Eigenvalues search by QRT
Inputs: H s , | Φ , E m i n , E m a x .
step 1: Set ω k = E m i n + k × E m a x E m i n N ( k = 0 , 1 , N ) and c = c 0 .
Repeat the following steps:
step 2: Set ω + ω 0 = ω k .
step 3: Run eigenstate search algorithm for each k with stepsize Δ ω n .
step 4: Obtain P k for each k.
step 5: Update E i ˜ .
step 6: Set ω k from E i ˜ m Δ ω n + 1 to E i ˜ + m Δ ω n + 1 , smaller c n + 1 and Δ ω n + 1 = c n + 1 .
Outputs: E i ˜ .
It is worth mentioning that a better initial state Φ with an appropriate transition operator A will also shorten evolution time τ . For example, if we have an approximate guess state | Φ about the target eigenstate (such as ground state), then we set A = I , and the evolution time would be greatly reduced to improve the efficiency.

3. Results

We demonstrate the algorithm in a four-qubit liquid nuclear magnetic resonance (NMR) system. In these experiments, the four-qubit sample used is 13C-labeled transcrotonic acid dissolved in d6-acetone with the 1H decoupled throughout the entire process. In this letter, the energies and time are recorded in units of Hartree and Hartree 1 . The structure and parameters of this molecule are illustrated in Figure 1. Here, C1 is chosen as the probe qubit and C2-C4 are the work qubits. The internal Hamiltonian under a weak coupling approximation is
H = Σ i = 1 4 π v i σ z i + Σ i < j 4 π 2 J i j σ z i σ z j ,
where v i is the chemical shift and J i j is the J-coupling strength between the ith and jth nuclei. All experiments are carried out on the Bruker DRX 600-MHz spectrometer at room temperature (298 K).

3.1. Eigenvalues and Eigenstates of Water Molecule Hamiltonian

In this subsection, we demonstrate how to obtain the eigenvalues and determine the eigenstates by the QRT algorithm in a four-qubit NMR system. The schematic diagram and quantum circuit are shown in Figure 2. The first step of the NMR experiments is preparing the Pseudopure State (PPS). We use the spatial averaging technique method [25,26,27] to obtain it by several gradient fields and unitary operators. The density matrix of a four-qubit PPS is
ρ 0000 = 1 ϵ 16 I 16 + ϵ | 0000 0000 |
where the polarization ϵ 10 5 . The identity matrix will not show any signal so the second term is the effective density matrix. In this algorithm, the initial state | 0 | 000 is the same with the effective density matrix of the PPS so we are actually done initializing the state after preparing the PPS. The density matrix of the PPS is constructed by using the quantum state tomography technology [28,29,30,31,32] and obtaining a fidelity of 99.51 % between the experiment result and | 0000 0000 | . The fidelity of the initial state is high enough that we can proceed to the next step.
The Hamiltonian simulation is the vital step in this algorithm. As mentioned above, the Hamiltonian we simulate is shown in Equations (1) and (2), where the quantum circuit to implement the evolution operator U = e i H t using the Trotter formula is shown in Figure 2b. The state | Φ is | 000 here, and H s is the effective Hamiltonian of the water molecule in an eight-dimensional Hilbert space. The transition operator A = H d H d H d , where H d is the Hadamard operator. Here, we set ω = 1 , and the details of the water molecule Hamiltonian H s are shown in Appendix A. Assuming that the interesting range of eigenvalues is from 84.30 ( E m i n ) to 80.70 ( E m a x ) , we firstly set sixty points where ω + ω 0 is changed from E m i n to E m a x at regular intervals and c = 0.05 . To detect the energy spectrum of the Hamiltonian, we need to obtain the possibility of C1 (probe qubit) in | 0 , i.e., T r ( ρ | 0 0 | I I I ) . By applying the readout pulse Y I I I , where Y denotes a rotation of π / 2 along the y axis, T r ( ρ | 0 0 | I I I ) = T r ( ρ ( I I I I + σ z I I I ) / 2 ) can be extracted from the fitting of the experiment’s data.
The results of these experiments are shown in Figure 3a, which has some peaks in different coordinates. From the position of these peaks, we deduce eight peaks roughly corresponding to the eight eigenvalues of H s : {−81.07 −81.98 −82.41 −82.65 −82.77 −83.02 −83.38 −83.93}. To improve the accuracy, we reset c = 0.012 and rerun the algorithm with setting ω + ω 0 near the eight peaks. The results are shown in Figure 3b. They help us update the previous eight eigenvalues: {−81.04 −81.98 −82.44 −82.64 −82.75 −83.00 −83.38 −83.96}. Compared with the results of the numerical calculation, {−81.0447 −81.9802 −82.4325 −82.6418 −82.7594 −82.9918 −83.3756 −83.9558}, the difference values between the experimental and theoretical values are smaller than step length Δ ω .
When we obtain the energy spectrum of the Hamiltonian H s by our method or other methods, we can prepare the eigenstates of this Hamiltonian. Here, we assume that the accurate energy of the ground state is known and set ω + ω 0 = 83.9558 , which is the lowest energy level of H s . After repeating the previous three steps, the final quantum state is | 1 | Ψ 0 , with | Ψ 0 as the ground state of H s . Usually, it is an entangled state with an arbitrary evolution time τ , and we need to measure the probe qubit until the measurement result is | 1 .
For the other eigenstates, if the measurement result of the probe qubit is | 1 , the state of the work qubits is the target state | Ψ i corresponding to the energy level E i ω + ω 0 similarly.
As an efficient demonstration of the algorithm, we reconstruct the density matrix of the ground state corresponding to the first peak E a in Figure 3b. We can obtain the ground state in the subspace of the probe qubit being in the state | 1 . To determine the eigenstates, we use quantum state tomography to rebuild the density matrix or quantum state with a series of readout pulses [28,29,30,31,32]. The ground state is represented in Figure 4a, and the fidelity is up to 98.66%.

3.2. Singular-Value Decompositions

The matrices are often non-Hermitian or non-square in many fields, where the singular-value decomposition is more important in a matrix analysis. For a matrix M, the SVD can be represented as this equation:
M = i = 1 N s i u i v i ,
N is the rank of matrix M, u i and v i are the ith left and right singular vectors corresponding to the singular value s i > 0 .
M is a non-Hermitian matrix, and we can construct a new Hermitian matrix B [33]:
B = 0 M M 0 ,
0 is the zero matrix. B has the full information of matrix M, and we can obtain singular values and vectors by solving the eigenproblem of Hermitian matrix B. The ith eigenvalue and eigenvector of B are s i and [ u i v i ] T . That is to say, if H s = 0 M M 0 , by our algorithm, the final state in the work qubits is:
Ψ i = | 0 u i + | 1 v i .
It should be noted that the eigenvalues of B are s 0 , s 1 s N , s N , , s 1 , s 0 . For the eigenvalue s i , the eigenvector is [ u i v i ] T , which is the same except a minus. So, we do not need to set our parameter ω + ω 0 < 0 because of their same singular vectors.
M = 3 0 0 0 0 1 0 1 0 1 1 0 0 0 0 1
Here, we use a non-Hermitian matrix M and construct a new Hermitian matrix B by Equation (7). We often pay more attention to the singular vectors corresponding to the larger singular values, such as in recommendation systems. The experiment details of solving singular-value problems are similar to Section 3.1, which are omitted here. Figure 5 shows the reconstructed density matrix of the left and right singular vectors | Ψ 0 = 1 2 | 0 | u 0 + 1 2 | 1 | v 0 of the maximum singular value, and the fidelity is 98.44%.

4. Discussion

The results of the original algorithm are similar to Figure 3a. It sets ω from E m i n ω 0 to E m a x ω 0 with the same stepsize ϵ ; thus, the accuracy of the eigenvalues is ϵ obviously. The evolution time is t = 1 / c = O ( 1 / ϵ ) in each point, so the total complexity about the accuracy is O ( Δ E / ϵ 2 ) where Δ E = E m a x E m i n . For our multi-round procedure, Equation (3) and the previous works [6,21] show that the widths of the resonant peaks are proportional to c. Therefore, the number of points near each eigenvalue is independent of c l . It is the width/stepsize c l / Δ ω l = O ( 1 ) . If we set c l + 1 = 0.5 × c l , the total complexity with ϵ is O ( 1 / ϵ ) because l = 1 l = L 1 / c l 2 / c L = O ( 1 / ϵ ) . Here, we ignore the first round because 1 / ϵ 0 1 / ϵ L . The complexity of this multi-round QRT algorithm is O ( R / ϵ ) . If we focus only on a small number of eigenvalues with a high accuracy, such as the ground-state energy, the total time of the experiment will be greatly reduced. Compared with the other quantum algorithms, our improved QRT algorithm can obtain the arbitrary eigenstate of a Hamiltonian by a time evolution operator. Using the QSP, we can obtain the j-th eigenvalue and prepare the eigenstate with a query complexity O ( ϵ 1 ) . It just needs an evolution operator e i H / c and measures one ancilla qubit, which may be friendly to the quantum device. More details can be found in Appendix B.
In this experimental work, here is a simple comparison of the resource required by the two methods. Assuming that we can implement the evolution operator e i H , we roughly calculate the number of times that different methods need to use this unitary operator. The repeating times of each point to obtain P | 1 is the same for the two methods in the experiments so we ignore this factor in this computing. For the original QRT, we set c = 0.01 for each point. The number of points is Δ E / c = 350 . For each point, it needs the 1 / c unitary operator e i H to implement the Hamiltonian evolution e i H t where t = 1 / c . So, the total number of the used operator e i H is 35,000. For our multi-round method, c = 0.05 , so the total number of e i H is 3.5 / 0.05 × 1 / 0.05 = 1400 where c 1 = 0.05 . For the second round, it is 72 × 1 / c 2 = 6000 . So, the total number of two rounds is 7400. Compared with the original QRT, our method just uses about 20% of the number of the operator e i H to obtain the eigenvalues with the same accuracy. This method is not limited to two rounds, and the ratio can be further improved with more rounds.
The total running time of each experiment is about 20 ms, where T2 is about 1s for 13C so that we can ignore its influence. There are two factors resulting in the deviations of the final experimental states from the expected eigenstates: the fluctuations of the strength of the NMR signal and the error from the gradient ascent pulse engineering (GRAPE) pulses. The first part of the error is due to the difference between the ideal and experimental electromagnetic field strength, which includes the uncontrollable fluctuation of the experimental instruments and some systematic errors, such as the error generated by measuring the π pulse. For the second part, all the operators are optimized by GRAPE [28,34] in this four-qubit experiment, which is theoretically not perfect. The fidelities of the single-qubit gates and two-qubit gates that we set here are 99.99%, and the fidelities of the time evolution operators in the second step are 99.5%. Comparing the fidelity of the final states with PPS, our experiments confirm the validity of this quantum algorithm in the range of the errors permitted. In these experiments, two factors influence the scaling of the algorithm: the uncertainty ϵ of the eigenvalues and the evolution time of the Hamiltonian simulation. For the second part, some alternative methods such as the Trotter formula [35,36], sparse matrix [14,37] and quantum signal processing (QSP) [38] can be used to simulate a Hamiltonian efficiently. Although we cannot give specific scaling laws for simulating a realistic system, the computational resources required scale polynomially with the system size, giving a quantum speedup compared to classical computers [20,39].
This quantum algorithm needs to measure the probability of the state of one qubit. Recently, some quantum systems like the superconducting quantum circuits and nitrogen vacancy (NV) center have been promising to achieve practical computations beyond the classical computer. It is convenient and fast to achieve an ensemble measurement of one qubit in these quantum systems, making it more efficient to obtain the eigenvalues of a Hamiltonian by this algorithm.

5. Conclusions

To summarize, we demonstrated the optimized algorithm based on QRT to solve the eigenproblem of the three-qubit effective Hamiltonian of the water molecule without having a good initial state. This Hamiltonian’s energy and ground state are obtained in a four-qubit NMR quantum simulator with high fidelity. Using the multi-round method, we reduce the complexity from O ( Δ E / ϵ 2 ) to O ( R / ϵ ) . It is suitable for searching a small number of eigenvalues with high precision over a large range. Our algorithm can achieve a quadratic speedup over the phase estimation algorithm [22] and may perform better than adiabatic quantum computing in some problems [6]. Meanwhile, we also prepared singular vectors of a simple non-Hermitian matrix, showing the ability to solve singular-value decomposition problems. Our improved QRT algorithm reduces the quantum resource requirement for solving eigenproblems and provides an alternative for exploring the potential of quantum computers for matrix problems.

Author Contributions

Conceptualization, F.Y. and H.W.; methodology, F.Y.; software, F.Y. and X.C.; investigation, D.Z. and J.W.; resources, G.L. and T.X.; data curation, X.C. and F.Y.; writing—original draft preparation, F.Y. and X.C.; writing—review and editing, D.Z., S.W., J.W. and H.W.; supervision, T.X. and G.L.; project administration, G.L. All authors have read and agreed to the published version of the manuscript.

Funding

This research was supported by the National Basic Research Program of China. S.W. acknowledges the National Natural Science Foundation of China under Grant No. 12005015. We gratefully acknowledge support from the National Natural Science Foundation of China under Grants No. 11974205 and No. 11774197; the National Key Research and Development Program of China (2017YFA0303700); the Key Research and Development Program of Guangdong province (2018B030325002); and the Beijing Advanced Innovation Center for Future Chip (ICFC).

Institutional Review Board Statement

Not applicable.

Data Availability Statement

The data presented in this study are available on request from the corresponding author.

Conflicts of Interest

The authors declare no conflict of interest. The funders had no role in the design of the study; in the collection, analyses or interpretation of data; in the writing of the manuscript; or in the decision to publish the results.

Abbreviations

The following abbreviations are used in this manuscript:
PEAPhase Estimation Algorithm
SVDSingular-Value Decomposition
QRTQuantum Resonant Transition
NMRNuclear Magnetic Resonance
GRAPEGradient Ascent Pulse Engineering

Appendix A. Hamiltonian of Water Molecule

The electronic Hamiltonian of the water molecule in the form of second quantization [40] is
H S = p , q p T + V N q a p + a q 1 2 p , q , r , s p q V e r s a p + a q + a r a s
where | p , | q , | r , | s denote the one-particle states, a p + is its fermionic creation operator and operators T, V N and V e are the one-particle kinetic energy operator, nuclear attraction operator and two-particle electron repulsion operator, respectively. The Hartree–Fock wave function for the electronic structure of the water molecule is 1 a 1 2 2 a 1 2 1 b 2 2 3 a 1 2 1 b 1 2 . The number of qubits required to represent water molecules on a quantum simulator can be optimized according to the state mapping technique proposed in Ref. [41]. Considering the 1 A 1 symmetries, using the STO-3G basis set and freezing the first two a 1 orbital and the first b 2 orbital, the b 1 orbital and the first b 2 orbital, we construct a model space that includes the 3 a 1 , 4 a 1 , 1 b 1 and the 2 b 2 orbitals for the low-energy Hamiltonian H S of water molecule and perform configuration interaction (CI) calculations [42]. Accordingly, the multi-reference configuration interaction (MRCI) space is composed of eight configuration state functions which require two qubits to represent the state of the water molecule. The Hamiltonian matrix is given by:
H s = 82.8959 0.0371 0.1570 0.0008 0.0687 0.0496 0.0404 0 0.0371 83.8700 0.0200 0.2077 0 0.0470 0 0.0404 0.1570 0.0200 82.6919 0 0.0965 0 0.0470 0.0496 0.0008 0.2077 0 83.4231 0.0200 0.1221 0 0.0687 0.0687 0 0.0965 0.0200 82.0025 0 0.0109 0.0008 0.0496 0.0470 0 0.1221 0 82.7118 0.0200 0.1570 0.0404 0 0.0470 0 0.0109 0.0200 81.0488 0.0371 0 0.0404 0.0496 0.0687 0.0008 0.1570 0.0371 82.5377
whose eigenvalues are 81.0447 , 81.9802 , 82.4325 , 82.6418 , 82.7594 , 82.9918 , 83.3756 , 83.9558 . In this paper, energies and time are recorded in units of Hartree and Hartree 1 , respectively. In the general case, one can always write down the Hamiltonian of a chemical system in the second quantization form and map it to an operator acting on a qubit by the Jordan–Wigner transform. The Hamiltonian contains only a polynomial number of local interaction terms that can be transformed into operators that act on only a few qubits and can be implemented efficiently. Thus, one can safely state that the computational resources required to simulate chemical systems on quantum computers grow polynomially with the system size, as opposed to the exponential growth expected for classical computers.

Appendix B. Error and Complexity of QRT

In this section, we briefly introduce the original QRT algorithm and analyze the error and complexity of QRT. Quantum resonant transition was used to obtain the eigenvalues and eigenstates of Hamiltonian by Hefeng Wang in 2016. The key step is Hamiltonian designs and evolution. The algorithm comprises a probe qubit coupled to an ( n + 1 ) -qubit quantum register R.
H = ω 2 σ z I 2 ( n + 1 ) + I 2 H R + c σ x A .
The second term represents the Hamiltonian of register R and is given by
H R = | 0 0 | H E 0 + | 1 1 | H S .
Here, H E 0 is defined as H E 0 = E 0 | E 0 E 0 | with E 0 serving as an energy reference point and the eigenstate | E 0 being the input state. This state does not need to have substantial overlap with any particular target eigenstate. H S is the Hamiltonian of the simulated system, and A = σ x B where B is the operator that will drive the transformation in the system qubits. When the energy gap between E 0 and E j equals the gap of the probe qubit, i.e., ω = E j E 0 , the simulator is on resonance. Here, E j is the eigenvalue and | E j is the corresponding eigenstate. Considering the subspace of input state | 1 | 0 | E 0 and | 0 | 1 | E j , the Hamiltonian in this subspace can be rewritten as:
H 0 j = ω 2 + E 0 c d * c d ω 2 + E j ,
where d = E j | B | E 0 . If E 0 + ω E j c , we can ignore the influence of other eigenstates. We will discuss this off-resonance in error analysis. The initial state is | 1 | 0 | E 0 , and after the Hamiltonian evolution operator e i H τ , the state is:
| Ψ j ( τ ) = e i ϕ 0 1 | 2 c | d j | Ω 0 j sin ( Ω 0 j τ 2 ) | 2 | 1 | 0 | E 0 + e i ϕ 1 2 c | d j | Ω 0 j sin ( Ω 0 j τ 2 ) | 0 | 1 | E j .
Here, Ω 0 j = | 2 c d j | 2 + ( E 0 + ω E j ) 2 . If the measurement result of ancilla qubits is | 0 | 1 , the state in the third register is j-th eigenstate.
Our improved QRT has almost the same dynamic process with the original method. There is just a little difference about the ancilla qubits. By optimizing the Hamiltonian, we just use one ancilla qubit in Equation (1) and achieve the same process with Equation (A2).
The main error of the QRT algorithm is off-resonance. As shown in Equation (A4), the quantum resonant transition will happen if E 0 + ω = E j . For the other case, | E 0 + ω E j | c , the off-resonance will happen, and the amplitude of this error state is | a o f f | 2 c | d j | Δ 0 j c / Δ 0 j as shown in Equation (A5), where Δ 0 j = | E 0 + ω E j | . Assuming B = I 2 n , the error of j-th eigenstate is ϵ = | | P s i Q R T | E j | = O ( c / Δ m i n ) . The evolution time τ π 2 | c d j | = O ( c 1 γ 1 ) will improve the probability of j-th eigenstate in Equation (A5) to a constant, where γ = E 0 | E j . We simulate the error using the quantum circuit in Figure 2 for the ground state. We set the Trotter step N = 1 / c for each c and change c from 0.001 to 0.05 . The result is Figure A1. It shows that the error is linear with c by using the Trotter method if the Trotter step N = 1 / c . The error is the amplitude of another state besides the ground state, so we calculate it by this equation:
| E j Q R T = 1 ϵ | E j + ϵ | E j ¯ ϵ = 1 | E j Q R T | E j | 2 .
| E j ¯ is the state orthogonal to | E j and | E j Q R T is j-th eigenstate prepared by QRT.
Figure A1. Numerical simulation results of error ϵ with c. Blue line is simulation results and red dotted line is the linear fitting results.
Figure A1. Numerical simulation results of error ϵ with c. Blue line is simulation results and red dotted line is the linear fitting results.
Entropy 25 00061 g0a1
The QRT can obtain the eigenvalues from the probabilities of different points that set a different parameter ω . Here, we analyze the complexity of obtaining the ground-state energy. In the first round, the number of points is ( E m a x E m i n ) / c 1 , where c 1 is the stepsize of ω . The QRT can find the eigenvalue with accuracy c 1 in the first round. For the last l-th round, the half-width of the resonant peak is:
2 c l | d j ( 2 c l d j ) 2 + ( E 0 + ω E j ) 2 = 1 / 2 | Δ j | = 2 c l | d j | .
So, the number of points around this peak 2 c l | d j | / c l = 2 | d j | is independent with c for l-round and obtain the j-th peak with accuracy c l . The query complexity of l-th round is
O ( s | H | τ ) × 2 | d j | = O ( s | H | ( c l | d j | ) 1 × | d j | ) = O ( s | H | c l 1 ) .
Here, we use the QSP to implement the Hamiltonian evolution operator. Assuming that c l + 1 = 0.5 c l , the total query complexity besides the first round is O ( s | H | l = 2 L c l 1 ) O ( s | H | c L ) = O ( s | H | ϵ 1 Δ m i n 1 ) , where s is the sparsity of H and ϵ = c L is the final accuracy of j-th eigenvalue. We ignore the first round because 1 / c L 1 / c 0 in the most time. The previous works in Refs. [20,21] use ( E m a x E m i n ) / ϵ points to estimate the eigenvalue, and each eigenvalue needs O ( s | H | τ ) times query. So, the total query complexity of the original method is O ( s | H | Δ E ϵ 2 γ 1 ) . For the accuracy ϵ , our method achieves a quadratic speedup compared to the original QRT.

References

  1. Thøgersen, L.; Olsen, J. A coupled cluster and full configuration interaction study of CN and CN-. Chem. Phys. Lett. 2004, 393, 36–43. [Google Scholar] [CrossRef]
  2. Kitaev, A.Y. Quantum measurements and the Abelian Stabilizer Problem. arXiv 1995, arXiv:quant-ph/quant-ph/9511026. [Google Scholar]
  3. Abrams, D.S.; Lloyd, S. Quantum Algorithm Providing Exponential Speed Increase for Finding Eigenvalues and Eigenvectors. Phys. Rev. Lett. 1999, 83, 5162–5165. [Google Scholar] [CrossRef] [Green Version]
  4. Farhi, E.; Goldstone, J.; Gutmann, S.; Sipser, M. Quantum Computation by Adiabatic Evolution. arXiv 2000, arXiv:quant-ph/quant-ph/0001106. [Google Scholar]
  5. Albash, T.; Lidar, D.A. Adiabatic quantum computation. Rev. Mod. Phys. 2018, 90, 015002. [Google Scholar] [CrossRef] [Green Version]
  6. Wang, H.; Yu, S.; Xiang, H. A multi-step quantum algorithm for solving problems with a special structure. arXiv 2020, arXiv:quant-ph/1912.06959. [Google Scholar]
  7. Dong, Y.; Lin, L.; Tong, Y. Ground-State Preparation and Energy Estimation on Early Fault-Tolerant Quantum Computers via Quantum Eigenvalue Transformation of Unitary Matrices. PRX Quantum 2022, 3, 040305. [Google Scholar] [CrossRef]
  8. Somma, R.D. Quantum eigenvalue estimation via time series analysis. New J. Phys. 2019, 21, 123025. [Google Scholar] [CrossRef]
  9. Zeng, P.; Sun, J.; Yuan, X. Universal quantum algorithmic cooling on a quantum computer. arXiv 2021, arXiv:2109.15304. [Google Scholar]
  10. Peruzzo, A.; McClean, J.; Shadbolt, P.; Yung, M.H.; Zhou, X.Q.; Love, P.J.; Aspuru-Guzik, A.; O’Brien, J.L. A variational eigenvalue solver on a photonic quantum processor. Nat. Commun. 2014, 5, 1–7. [Google Scholar] [CrossRef] [Green Version]
  11. Wei, S.; Li, H.; Long, G. A Full Quantum Eigensolver for Quantum Chemistry Simulations. Research 2020, 2020, 1486935. [Google Scholar] [CrossRef] [Green Version]
  12. Gui-Lu, L. General quantum interference principle and duality computer. Commun. Theor. Phys. 2006, 45, 825. [Google Scholar] [CrossRef] [Green Version]
  13. Gudder, S. Mathematical theory of duality quantum computers. Quantum Inf. Process. 2007, 6, 37–48. [Google Scholar] [CrossRef]
  14. Berry, D.W.; Childs, A.M.; Cleve, R.; Kothari, R.; Somma, R.D. Simulating Hamiltonian dynamics with a truncated Taylor series. Phys. Rev. Lett. 2015, 114, 090502. [Google Scholar] [CrossRef] [PubMed]
  15. Wei, S.J.; Long, G.L. Duality quantum computer and the efficient quantum simulations. Quantum Inf. Process. 2016, 15, 1189–1212. [Google Scholar] [CrossRef] [Green Version]
  16. Gui-Lu, L.; Yang, L. Duality computing in quantum computers. Commun. Theor. Phys. 2008, 50, 1303. [Google Scholar] [CrossRef]
  17. Liang, J.M.; Wei, S.J.; Fei, S.M. Quantum gradient descent algorithms for nonequilibrium steady states and linear algebraic systems. Sci. China Phys. Mech. 2022, 65, 1–13. [Google Scholar] [CrossRef]
  18. Lv, P.; Wei, S.J.; Xie, H.N.; Long, G.L. QCSH: A Full Quantum Computer Nuclear Shell-Model Package. arXiv 2022, arXiv:2205.12087. [Google Scholar]
  19. Wen, J.; Xiao, J.; Li, H.; Wei, S.; Long, G. A full circuit-based quantum algorithm for excited-states in quantum chemistry. arXiv 2021, arXiv:2112.14193. [Google Scholar]
  20. Li, Z.; Liu, X.; Wang, H.; Ashhab, S.; Cui, J.; Chen, H.; Peng, X.; Du, J. Quantum Simulation of Resonant Transitions for Solving the Eigenproblem of an Effective Water Hamiltonian. Phys. Rev. Lett. 2019, 122, 090504. [Google Scholar] [CrossRef] [Green Version]
  21. Wang, H.; Ashhab, S.; Nori, F. Quantum algorithm for obtaining the energy spectrum of a physical system. Phys. Rev. A 2012, 85, 062304. [Google Scholar] [CrossRef] [Green Version]
  22. Wang, H. Quantum algorithm for obtaining the eigenstates of a physical system. Phys. Rev. A 2016, 93, 052334. [Google Scholar] [CrossRef] [Green Version]
  23. Berkley, A.J.; Przybysz, A.J.; Lanting, T.; Harris, R.; Dickson, N.; Altomare, F.; Amin, M.H.; Bunyk, P.; Enderud, C.; Hoskinson, E.; et al. Tunneling spectroscopy using a probe qubit. Phys. Rev. B 2013, 87, 020502. [Google Scholar] [CrossRef] [Green Version]
  24. Babbush, R.; Love, P.J.; Aspuru-Guzik, A. Adiabatic Quantum Simulation of Quantum Chemistry. Sci. Rep. 2015, 4, 6603. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  25. Cory, D.G.; Price, M.D.; Havel, T.F. Nuclear magnetic resonance spectroscopy: An experimentally accessible paradigm for quantum computing. Phys. D Nonlinear Phenom. 1998, 120, 82–101. [Google Scholar] [CrossRef] [Green Version]
  26. Hou, S.Y.; Sheng, Y.B.; Feng, G.R.; Long, G.L. Experimental Optimal Single Qubit Purification in an NMR Quantum Information Processor. Sci. Rep. 2015, 4, 6857. [Google Scholar] [CrossRef]
  27. Li, H.; Gao, X.; Xin, T.; Yung, M.H.; Long, G. Experimental study of Forrelation in nuclear spins. Sci. Bull. 2017, 62, 497–502. [Google Scholar] [CrossRef] [Green Version]
  28. Lee, J.S. The quantum state tomography on an NMR system. Phys. Lett. A 2002, 305, 349–353. [Google Scholar] [CrossRef]
  29. Feng, G.; Xu, G.; Long, G. Experimental Realization of Nonadiabatic Holonomic Quantum Computation. Phys. Rev. Lett. 2013, 110, 190501. [Google Scholar] [CrossRef] [Green Version]
  30. Leskowitz, G.M.; Mueller, L.J. State interrogation in nuclear magnetic resonance quantum-information processing. Phys. Rev. A 2004, 69, 052302. [Google Scholar] [CrossRef]
  31. Feng, G.; Long, G.; Laflamme, R. Experimental simulation of anyonic fractional statistics with an NMR quantum-information processor. Phys. Rev. A 2013, 88, 022305. [Google Scholar] [CrossRef] [Green Version]
  32. Li, J.; Huang, S.; Luo, Z.; Li, K.; Lu, D.; Zeng, B. Optimal design of measurement settings for quantum-state-tomography experiments. Phys. Rev. A 2017, 96, 032307. [Google Scholar] [CrossRef] [Green Version]
  33. Harrow, A.W.; Hassidim, A.; Lloyd, S. Quantum Algorithm for Linear Systems of Equations. Phys. Rev. Lett. 2009, 103, 150502. [Google Scholar] [CrossRef] [PubMed]
  34. Ryan, C.A.; Negrevergne, C.; Laforest, M.; Knill, E.; Laflamme, R. Liquid-state nuclear magnetic resonance as a testbed for developing quantum control methods. Phys. Rev. A 2008, 78, 012328. [Google Scholar] [CrossRef] [Green Version]
  35. Reiher, M.; Wiebe, N.; Svore, K.M.; Wecker, D.; Troyer, M. Elucidating reaction mechanisms on quantum computers. Proc. Natl. Acad. Sci. USA 2017, 114, 7555–7560. [Google Scholar] [CrossRef] [Green Version]
  36. Casanova, J.; Mezzacapo, A.; Lamata, L.; Solano, E. Quantum Simulation of Interacting Fermion Lattice Models in Trapped Ions. Phys. Rev. Lett. 2012, 108, 190502. [Google Scholar] [CrossRef]
  37. Berry, D.W.; Ahokas, G.; Cleve, R.; Sanders, B.C. Efficient quantum algorithms for simulating sparse Hamiltonians. Commun. Math. Phys. 2007, 270, 359–371. [Google Scholar] [CrossRef] [Green Version]
  38. Low, G.H.; Chuang, I.L. Optimal Hamiltonian Simulation by Quantum Signal Processing. Phys. Rev. Lett. 2017, 118, 010501. [Google Scholar] [CrossRef] [Green Version]
  39. Kivlichan, I.D.; McClean, J.; Wiebe, N.; Gidney, C.; Aspuru-Guzik, A.; Chan, G.K.L.; Babbush, R. Quantum Simulation of Electronic Structure with Linear Depth and Connectivity. Phys. Rev. Lett. 2018, 120, 110501. [Google Scholar] [CrossRef] [Green Version]
  40. Levine, I. Quantum Chemistry; Prentice Hall Inc.: Upper Saddle River, NJ, USA, 2000. [Google Scholar]
  41. Wang, H.; Kais, S.; Aspuru-Guzik, A.; Hoffmann, M.R. Quantum algorithm for obtaining the energy spectrum of molecular systems. Phys. Chem. Chem. Phys. 2008, 10, 5388–5393. [Google Scholar] [CrossRef]
  42. Szabo, A.; Ostlund, N.S. Modern Quantum Chemistry: Introduction to Advanced Electronic Structure Theory; Courier Corporation: Chelmsford, MA, USA, 2012. [Google Scholar]
Figure 1. (a) Molecule structure of 13C-labeled crotonic acid. (b) Molecule parameters of 13C-labeled crotonic acid. C1 is probe qubit and C2-C4 are work qubits. 1H’s are decoupled throughout the experiment. Diagonal and non-diagonal elements are the chemical shifts and J couplings (in megahertz). Decoherence time T2s (in seconds) for each qubit are shown at the bottom.
Figure 1. (a) Molecule structure of 13C-labeled crotonic acid. (b) Molecule parameters of 13C-labeled crotonic acid. C1 is probe qubit and C2-C4 are work qubits. 1H’s are decoupled throughout the experiment. Diagonal and non-diagonal elements are the chemical shifts and J couplings (in megahertz). Decoherence time T2s (in seconds) for each qubit are shown at the bottom.
Entropy 25 00061 g001
Figure 2. (a) The schematic diagram of this experiment. The left is water molecule and its eigenenergy where right is probe system. (b) The quantum circuit of the experiments using the Trotter formula. We set N = 1 / c here. The rotation angle of R z 1 , R z 2 and R z 3 are t N , ω 0 t N , 2 c t N . U H 3 is the Kronecker product of three single-bit operators U H = U H 1 3 that satisfies U H 1 σ z U H 1 = H d .
Figure 2. (a) The schematic diagram of this experiment. The left is water molecule and its eigenenergy where right is probe system. (b) The quantum circuit of the experiments using the Trotter formula. We set N = 1 / c here. The rotation angle of R z 1 , R z 2 and R z 3 are t N , ω 0 t N , 2 c t N . U H 3 is the Kronecker product of three single-bit operators U H = U H 1 3 that satisfies U H 1 σ z U H 1 = H d .
Entropy 25 00061 g002
Figure 3. The probabilities of state | 1 of probe qubit. Red points are experiment results and blue line is obtained by numerical simulation. (a) c = 0.05 . (b) c = 0.012 . Eight peaks represent eight eigenvalues of H s . The probability P k of | 1 is increasing just when ω + ω 0 E i , and we are able to deduce the eigenvalues of H s by measuring probe qubit.
Figure 3. The probabilities of state | 1 of probe qubit. Red points are experiment results and blue line is obtained by numerical simulation. (a) c = 0.05 . (b) c = 0.012 . Eight peaks represent eight eigenvalues of H s . The probability P k of | 1 is increasing just when ω + ω 0 E i , and we are able to deduce the eigenvalues of H s by measuring probe qubit.
Entropy 25 00061 g003
Figure 4. Experimental state tomography of the quantum simulator. (a,b) show the real parts of experimental reconstructed density matrices, and the rows and columns labeled 1–8 represent computational basis states from | 1000 to | 1111 . (a) The ground state | Ψ 0 of H s corresponding to E a in Figure 3. (b) State of E b which is far from resonant point. We just show the elements of subspace where probe qubit is | 1 because the other elements give no information about H s .
Figure 4. Experimental state tomography of the quantum simulator. (a,b) show the real parts of experimental reconstructed density matrices, and the rows and columns labeled 1–8 represent computational basis states from | 1000 to | 1111 . (a) The ground state | Ψ 0 of H s corresponding to E a in Figure 3. (b) State of E b which is far from resonant point. We just show the elements of subspace where probe qubit is | 1 because the other elements give no information about H s .
Entropy 25 00061 g004
Figure 5. Experimental state tomography of the left and right singular vectors of M corresponding to maximum singular value. The rows and columns labeled 1–8 represent computational basis states from | 1000 to | 1111 .
Figure 5. Experimental state tomography of the left and right singular vectors of M corresponding to maximum singular value. The rows and columns labeled 1–8 represent computational basis states from | 1000 to | 1111 .
Entropy 25 00061 g005
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Yang, F.; Chen, X.; Zhao, D.; Wei, S.; Wen, J.; Wang, H.; Xin, T.; Long, G. Quantum Multi-Round Resonant Transition Algorithm. Entropy 2023, 25, 61. https://doi.org/10.3390/e25010061

AMA Style

Yang F, Chen X, Zhao D, Wei S, Wen J, Wang H, Xin T, Long G. Quantum Multi-Round Resonant Transition Algorithm. Entropy. 2023; 25(1):61. https://doi.org/10.3390/e25010061

Chicago/Turabian Style

Yang, Fan, Xinyu Chen, Dafa Zhao, Shijie Wei, Jingwei Wen, Hefeng Wang, Tao Xin, and Guilu Long. 2023. "Quantum Multi-Round Resonant Transition Algorithm" Entropy 25, no. 1: 61. https://doi.org/10.3390/e25010061

APA Style

Yang, F., Chen, X., Zhao, D., Wei, S., Wen, J., Wang, H., Xin, T., & Long, G. (2023). Quantum Multi-Round Resonant Transition Algorithm. Entropy, 25(1), 61. https://doi.org/10.3390/e25010061

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop