Karl Michael Ziems*ab,
Erik Rosendahl Kjellgren
c,
Stephan P. A. Sauer
d,
Jacob Kongsted
c and
Sonia Coriani
a
aDepartment of Chemistry, Technical University of Denmark, Kemitorvet Building 207, DK-2800 Kongens Lyngby, Denmark. E-mail: kmizi@kemi.dtu.dk
bSchool of Chemistry, University of Southampton, Highfield, Southampton SO17 1BJ, UK. E-mail: K.M.Ziems@soton.ac.uk.
cDepartment of Physics, Chemistry and Pharmacy, University of Southern Denmark, Campusvej 55, DK-5230 Odense, Denmark
dDepartment of Chemistry, University of Copenhagen, DK-2100 Copenhagen Ø, Denmark
First published on 8th January 2025
The promise of quantum computing to circumvent the exponential scaling of quantum chemistry has sparked a race to develop chemistry algorithms for quantum architecture. However, most works neglect the quantum-inherent shot noise, let alone the effect of current noisy devices. Here, we present a comprehensive study of quantum linear response (qLR) theory obtaining spectroscopic properties on simulated fault-tolerant quantum computers and present-day near-term quantum hardware. This work introduces novel metrics to analyze and predict the origins of noise in the quantum algorithm, proposes an Ansatz-based error mitigation technique, and reveals the significant impact of Pauli saving in reducing measurement costs and noise in subspace methods. Our hardware results using up to cc-pVTZ basis set serve as proof of principle for obtaining absorption spectra on quantum hardware in a general approach with the accuracy of classical multi-configurational methods. Importantly, our results exemplify that substantial improvements in hardware error rates and measurement speed are necessary to lift quantum computational chemistry from proof of concept to an actual impact in the field.
Conventionally, to predict the properties of systems with strong correlation, multi-configurational wave function methods such as complete active space (CAS)4–7 and restricted active space (RAS)8,9 self-consistent field (SCF) have been used in combination with LR.2,3,10–12 The drawback of these methods is that the scaling with respect to the system size scales exponentially, with the limit of current technology being 22 electrons in 22 orbitals13 or 26 electrons in 23 orbitals for “exact” implementations.14
A promising emerging technology to overcome the exponential scaling of these conventional multi-configurational methods are quantum processing units (QPUs). At present, fault-tolerant QPUs remain a future aspiration, while the available noisy intermediate-scale quantum (NISQ) devices face significant technological limitations. These limitations not only require extensive error suppression and mitigation strategies but also severely limit the range and quality of executable algorithms. For obtaining the molecular ground state wave function, several hybrid quantum-classical algorithms have been proposed, the most prominent examples being the variational quantum eigensolver (VQE)15,16 and approaches based on imaginary- or real-time evolution.17–19 To reduce the number of qubits, VQE has also been used within the active-space approximation.20–23
To utilize the wave function on a quantum device for property simulations, the EOM framework was extended to quantum EOM (qEOM).24,25 In the context of variational formulations, the EOM and LR formulations are identical for complete space unitary coupled cluster,26 and very similar for other Ansätze and in reduced spaces, hence qEOM and qLR were developed in parallel and are combined in the following. The qEOM formalism has been extended to many different use cases including multi-component-EOM,27 QED-EOM,28 spin-flip qEOM,29 qEOM for thermal averages of quantum states,30 and qEOM for non-adiabatic molecular dynamics.31 The original qEOM formulation has also seen improvements to its parameterizations as self-consistent (sc-qEOM/LR)32,33 and projected (proj-qEOM/LR) variant.33 Additionally, LR has been implemented by solving auxiliary response quantum states via VQE.34,35 A crucial step to near-term application, qEOM/LR were recently formulated within the active-space approximation with orbital-optimization (oo) as a powerful hybrid-classical algorithm opening for simulations beyond minimal basis on near-term devices. Apart from the naive implementation oo-qEOM36 and oo-qLR,37 eight different parametrizations were introduced by Ziems et al. using combinations of naive, self-consistent, state-transfer, and projected formalisms.37 The most suitable NISQ-era algorithms were found to be oo-qLR, oo-proj-qLR, and oo-allproj-qLR. Moreover, algorithmic improvements to the qEOM/LR formalism such as the Davidson solver sc-qEOM/LR38,39 and a reduced density matrix formulation of oo-qLR40 have recently been reported.
So far, the work in this field has mostly focused on algorithmic developments and testing on noise-free simulators that ignored not just the device noise of NISQ-QPUs but also the unavoidable quantum mechanical shot/sampling noise of fault-tolerant quantum computers. This work addresses these shortcomings and reports qLR results not only on a simulated fault-tolerant quantum computer (i.e., a shot-noise simulator) but also on currently available NISQ quantum hardware. Moreover, we analyze in detail how the quantum mechanical nature of quantum devices impacts the qLR/EOM algorithm and compare algorithms, systems, and excited state results using various (novel) metrics. For the mitigation of noise, we introduce our own Ansatz-based read-out and error mitigation and on-the-fly Pauli saving.
Importantly, we provide a proof of principle that absorption spectra can be obtained on a real quantum device using qLR/EOM formulations with a triple-zeta basis set. For this, we choose a small molecule, yet with a general and accurate Ansatz that can reproduce classic quantum chemistry. In that goal, this work diverges from many hardware studies that focus on large qubit number simulations using either approximated Ansätze, where the results often fall short of the accuracy achieved by classical quantum chemistry, sometimes merely replicating mean-field solutions, or are extremely dominated by classic costs, such as variants of quantum-select CI41 that use QPUs to just sample bitstrings in the computational basis.42–45 This study provides insight into the maturity of chemistry on quantum computers not from the viewpoint of a technical quantum advantage but of the possibilities and limitations for a chemist to obtain useful results on QPUs in the future.
|0(θ)〉 = |I〉 ⊗ |A(θ)〉 ⊗ |V〉 | (1) |
|A(θ)〉 = U(θ)|A〉 | (2) |
Ô = ÔI ⊗ ÔA ⊗ ÔV | (3) |
〈0(θ)|Ô|0(θ)〉 = 〈I|ÔI|I〉 ⊗ 〈A(θ)|ÔA|A(θ)〉 ⊗ 〈V|ÔV|V〉 | (4) |
The active space unitary, U(θ), can utilize any common quantum computing wave function Ansatz such as k-UpCCGSD,46 QNP,47 tUPS,48 and variants of ADAPT.49–54 In this work, we use trotterized unitary coupled-cluster with singles and doubles (tUCCSD)
![]() | (5) |
![]() | (6) |
![]() | (7) |
![]() | (8) |
The orbital optimization is included via non-redundant rotations of the type inactive to active, inactive to virtual, and active to virtual, pq ∈ {vi, ai, av}. The orbital rotation parameters are
![]() | (9) |
![]() | (10) |
![]() | (11) |
![]() | (12) |
![]() | (13) |
The ground state wave function and its energy can now be found by variational minimization of the parameters θ and κ,
![]() | (14) |
The qLR framework allows us to obtain excited state energies and properties within first-order time-dependent perturbation theory on top of any variationally obtained ground state wave function. Specifically, the generalized eigenvalue problem
E[2]βk = ωkS[2]βk | (15) |
![]() | (16) |
A = A†, AIJ = 〈0|[![]() ![]() | (17) |
B = BT, BIJ = 〈0|[![]() ![]() | (18) |
Σ = Σ†, ΣIJ = 〈0|[![]() ![]() | (19) |
Δ = −ΔT, ΔIJ = 〈0|[![]() ![]() | (20) |
• Naive LR (oo-naive qLR), using = Ĝ and
=
;
• Projected LR (oo-proj qLR), using = Ĝ|0〉〈0| − 〈0|Ĝ|0〉 and
=
;
• All projected LR (oo-allproj qLR) using = Ĝ|0〉〈0| − 〈0|Ĝ|0〉 and
=
|0〉〈0|; with the naive orbital rotation operator
![]() | (21) |
![]() | (22) |
While eqn (15) is diagonalized classically, the matrix elements eqn (17)–(20) are obtained as expectation value measurements of the ground state wave function using the active space separation in the wave function and qLR operators introduced above.
Within this formalism, oscillator strengths for a given excited state k are obtained as
![]() | (23) |
![]() | (24) |
![]() | (25) |
In singles and doubles excitation, qLR leads to 14, 10 and 7 generic matrix element terms in the qLR equations for the naive, proj and allproj implementation, respectively, without significant change in the results.37 It will be part of this work to see whether this trend of saving elements on the fermionic level is reproduced in terms of Pauli string measurements. We point out that qLR with singles and doubles can also be implemented via reduced density matrices (RDM), where it represents a up to 6-RDM property for the proj qLR and allproj qLR, and a up to 4-RDM property for the naive qLR.40
![]() | (26) |
During the quantum computational workflow, from wave function optimization to molecular property, many expectation values are evaluated in order to assess energies, gradients, and second derivatives/hessians. These will have common Pauli strings. Thus, on an on-the-fly basis, every new Pauli string distribution is saved and stored in memory. This storage is accessed and updated during the computational workflow as new Pauli strings are needed. Importantly, only the most connected clique within qubit-wise commutation is stored and this only for a given parametrized circuit. Thus, the memory requirement will scale with the number of clique heads that in turn is proportional to the number of Pauli strings, e.g., O(N4qubit) for the electronic Hamiltonian.61
At its core, this approach means that a given Pauli string has always the same deviation from the true mean regardless of in which expectation value or where during the algorithm it appears. This is also true for measurement methods based on quantum tomography62 and approximations thereof, like classic shadows63 and matrix product state tomography.64 This implies that our findings below using Pauli saving apply to a wide range of (reduced and approximated) measurement schemes.
pmitigated = M−1REMpraw | (27) |
MREM,ij = Pr(bj|bi) | (28) |
Instead of only encoding read-out error as done in “traditional” REM, both read-out error and gate error can be encoded into the confusion matrix in our approach. This is achieved by including the ansatz when measuring the bit-strings, bj. To know what the prepared bit-string bi is, all parameters in the ansatz are set to zero, meaning that the ansatz does not modify the initial state but allows to encode gate error. The circuit preparation to construct bi takes the form,
circ(bi) = U(0)Xi | (29) |
pmitigated = M−1U0praw | (30) |
Using the ansatz with zero parameters to capture gate error makes the circuits Clifford-circuits. Thus, this error mitigation can also be seen as a form to combine REM with Clifford data regression.67 Especially, the add-and-subtract Clifford-based gate error mitigation68 also invokes a zero parameter ansatz to capture gate errors. These methods are for error mitigation of specific expectation values, in contrast to all distributions for a given Ansatz. A thorough comparison of these approaches will be part of future works.
Our approach can be combined with pre- and post-processing methods, as well as error suppression schemes. It should be noted that, in the form currently used in this work, this error mitigation technique is exponentially scaling in the number of required measurements.
The expectation value of an operator ÔA is obtained via measurements of Pauli strings on a wave function (cf. eqn (26)). Each measurement yields a bit-string distribution from which the expectation value is obtained as the sum of the means for each Pauli string distribution, i.e. . Additionally, the standard deviation of an operator's expectation value, σÔA can be obtained from the distributions:
![]() | (31) |
![]() | (32) |
To analyze the noise in our qLR formalism we use various standard deviations.
First, we sample the qLR excitation energies for a given number of shots per Pauli string by performing many individual qLR simulations on a shot noise simulator, which provides the sampled standard deviation, σk, for each state k. This is the most accurate (yet expensive) and “black-box” insight into how each excited state is influenced by the quantum mechanical nature of quantum computers.
Second, we construct the qLR matrices, eqn (17)–(19), with the standard deviation for each matrix element obtained via eqn (31). Then, each matrix is analyzed in terms of their average standard deviation, M with M ∈ A, B, Σ, which we will refer to as matrix std from here on. This tells us how the noise spreads through the various matrices of qLR and allows us to compare between different molecules and qLR parametrizations. Additionally, we construct a matrix standard deviation
M,nc where we set the coefficient in eqn (32) to cl = 1 for all Pl. Comparing this to
M allows us to assess whether the standard deviation is mainly driven by the deviation in the Pauli string or by large coefficients.
Third, we use the procedure above to obtain the average standard deviation in each row, M(
l) of each matrix M. This corresponds to the standard deviation associated with each qLR operator
l in matrix M. Combining each operator's standard deviation with the contribution of each operator to a given excited state (extracted from the excitation vector, βk) allows us to obtain an expected standard deviation in each excited state from the qLR formalism,
![]() | (33) |
Additionally, the condition number and the average coefficient of variation (CV) of each matrix M are calculated as indicators of the matrix's susceptibility to noise.73 The CV is defined as the ratio of the standard deviation (calculated as in eqn (31)) and the mean. This is performed for each matrix element and averaged over.
Since device noise scales with shot noise, the information from this in-depth analysis will also help understand where algorithmic bottlenecks arise in noisy near-term machines. We note that such analysis can be performed for any quantum algorithm based on expectation value constructions.
On the shot noise simulator, we studied qLR of H2, LiH(2,2), H4 and BeH2(4,4) in a STO-3G78,79 basis set, while we run LiH(2,2) in both the STO-3G and cc-pVTZ80,81 basis sets on IBM Osaka. Here, a CAS-like active-space notation WF(n, o) was adopted, where n is the number of electrons in the active space and o is the number of spatial orbitals in the active space.
We used an oo-tUCCSD Ansatz for the wave function, qLR at the singles and doubles level (qLRSD), and Parity mapping for the fermionic-to-qubit mapping as it allows tapering off two qubits. Qubit-wise-commutativity (QWC)61,82 was employed in this work. The QWC algorithm used to find an approximate solution to the minimum clique coverage problem is a first-fit algorithm. For all simulations, the oo-VQE was performed classically with a shot-free simulator. The findings of this work, which focuses on qLR, are not reliant on having used oo-VQE for the ground state wave function optimization.
In the shot noise simulations we used a sampling of many qLR runs to obtain the sampled std. For this, 100000 shots per Pauli string were used and 1000 individual runs for the sampling of H2 and LiH(2,2) and 250 individual runs for H4 and BeH2(4,4).
For the hardware experiments, we used the same specifications as for the shot noise simulations, apart from an increase of shots per Pauli to 500k (and 1m) representing a total shot budget of 4.5 million (9 million) for each qLR run and 2 million (4 million) for the error mitigation.
PS + QWC | QWC | None | |
---|---|---|---|
H2 | |||
naive | 9 | 35 | 42 |
proj | 9 | 38 | 64 |
![]() |
|||
LiH(2,2) | |||
naive | 9 | 1118 | 1774 |
proj | 9 | 922 | 1491 |
allproj | 9 | 447 | 715 |
![]() |
|||
H4 | |||
naive | 699 | 22![]() |
76![]() |
proj | 774 | 15![]() |
83![]() |
![]() |
|||
BeH2(4,4) | |||
naive | 822 | 104![]() |
420![]() |
proj | 753 | 64![]() |
309![]() |
allproj | 753 | 44![]() |
227![]() |
Using PS and QWC together leads to a dramatic reduction of the number of Pauli strings to be measured (which translates to a reduction in total shot budget), by 75–99% or up to two orders of magnitude. This saving increases with system (and thus qubit) size and will become even more advantageous for larger systems than the ones studied here. For the full space simulations, i.e., H2 and H4, proj qLR requires slightly more measurements than naive qLR comparing PS + QWC and none. This is expected as the proj qLR inserts projections onto the wave function that leads to more matrix elements and in turn Pauli strings to be evaluated (see working equations ref. 37). On the other hand, the active space simulations, i.e. LiH(2,2) and BeH2(4,4), have the opposite trend with allproj qLR and proj qLR needing significantly less measurements. This is again in line with the qLR working equations as naive, proj and allproj consist of 14, 10 and 7 generic matrix element terms, respectively, where the saving in terms comes from the orbital rotation parts that are not present in full space systems. Less generic matrix element terms leads to less Pauli string evaluations.
For brevity, we only show in the following the simulation results of LiH(2,2) and H4, and refer the reader to the ESI† for details on H2 and BeH2(4,4). These show mostly the same behaviour and at times similarities or differences will be highlighted in the text.
The sampled stds, σk, from shot noise simulation in Fig. 1 (top row or ESI Fig. S4†) and Fig. 2 show that Pauli saving leads to a reduction in shot-noise-induced deviation of up to a factor of 100 for selected excited states (solid vs. dotted lines). Interestingly, this effect is more pronounced for active space simulations. Even more dramatically, 13/11/9% of the shot noise runs of LiH(2,2) naive/proj/allproj qLR failed without PS, as they resulted in a negative eigenvalue from the Hessian and were removed in post-processing as non-physical results (cf. subsubsection 2.3.3). For BeH2(4,4), this increased to >90% without PS. This happening on shot noise simulator, i.e. a fault-tolerant quantum computer, for 100k shots per Pauli strings‡ for such small systems, shows how advances in measurement number and speed will be crucial for any useful application of quantum computing in chemistry in the future. We showed that schemes like PS can assist alongside hardware improvements, in this specific case reducing both the number of shots and noise-induced std by up to two orders of magnitude.
![]() | ||
Fig. 1 Standard deviation (std) analysis of naive (left), proj (middle) and allproj (right) qLR of LiH. The top row shows the samples std, σk, with (dotted line) and without (solid line) Pauli saving (PS). The bottom row shows the state-specific std, ![]() ![]() |
![]() | ||
Fig. 2 Sampled std σk with (dotted line) and without (solid line) Pauli saving for H4 naive (blue) and proj (orange) qLR. |
The reason behind the noise reduction obtained using PS is that it preserves symmetries even for noisy results since the same Pauli string has always the same noise. In ESI Section S2,† we provide a more mathematical reasoning for the example of a 2 × 2 matrix. Importantly, this finding holds for any hybrid quantum computing method that solves a (generalized) eigenvalue equation and is thus of importance for any quantum subspace diagonalization scheme.17,19,21,25,83–87
First, we contrast the qLR methods against each other before addressing the system- and state-dependent behaviour. For the full space systems, H2 (ESI Fig. S1†) and H4 (Fig. 2), proj qLR has a larger σk than naive qLR, while for active space simulations, LiH(2,2) (Fig. 1) and BeH2(4,4) (ESI Fig. S8†), the difference between the methods is much smaller. We can see this replicated in some of the metrics introduced in subsubsection 2.3.4 and shown in Tables S2, 2, 3 and S4† for H2, LiH(2,2), H4 and BeH2(4,4), respectively. For H4, M and CV reveal that proj qLR has much larger (up to a factor of 10) matrix stds, confirming the sampled std results from the shot noise simulator. For LiH(2,2), the metrics are very similar between the qLR methods, again aligning with the sampled results.
cond | ![]() |
![]() |
CV | |
---|---|---|---|---|
naive qLR | ||||
A | 200 | 0.27 | 1.60 | 32.33 |
B | 356 | 0.01 | 1.26 | 12.36 |
Σ | 41 | 0.03 | 0.15 | 5.55 |
E[2] | 232 | |||
(S[2])−1E[2] | 49 | |||
![]() |
||||
proj qLR | ||||
A | 201 | 0.36 | 2.34 | 36.06 |
B | large | 0.06 | 1.85 | large |
Σ | 41 | 0.03 | 0.22 | 5.42 |
E[2] | 232 | |||
(S[2])−1E[2] | 49 | |||
![]() |
||||
allproj qLR | ||||
A | 202 | 0.37 | 3.00 | 36.69 |
B | inf | 0.05 | 0.86 | inf |
Σ | 41 | 0.03 | 0.22 | 5.42 |
E[2] | 202 | |||
(S[2])−1E[2] | 47 |
cond | ![]() |
![]() |
CV | |
---|---|---|---|---|
naive qLR | ||||
A | 4.37 | 0.15 | 20.78 | 2.78 |
B | 12.27 | 0.04 | 14.90 | 2.83 |
Σ | 1.07 | 0.15 | 6.25 | 257.27 |
E[2] | 6.71 | |||
(S[2])−1E[2] | 6.59 | |||
![]() |
||||
proj qLR | ||||
A | 4.52 | 0.75 | 258.49 | 25.33 |
B | inf | 0.32 | 232.18 | inf |
Σ | 1.08 | 0.14 | 25.11 | 436.17 |
E[2] | 4.52 | |||
(S[2])−1E[2] | 4.55 |
Interestingly, for all systems the matrix std, M, in A dominates. As evident from eqn (32), a matrix std's value comes from both the Pauli string variance and the coefficient. Comparing
M with
M,nc helps to differentiate this as the latter ignores the coefficient. From this, we can see that the dominance of A over B stems from the coefficient, while the dominance of A over Σ (if present) stems from the Pauli string variance. For example, for H4 naive (proj) qLR in Table 3,
M differs between A and B by a factor of 4 (2), while the coefficient free std,
M,nc, are similar. On the other hand, A and Σ are identical (factor 2) in
M, but differ by a factor of 3 (10) in
M,nc.
Second, comparing the sampled std σk between the four systems, one observes that (i) the full space systems have smaller std than their active space counterparts and (ii) that the std increases with qubit size. Thus, we observe that the sampled std increases from H2, to H4, LiH(2,2), and BeH2(4,4). While the condition number, cond, does not seem to be a reliable indicator for the subtle differences between qLR methods for a given system, it correctly predict this trend between systems. For example, for naive qLR the condition number of the Hessian, E[2], rises from 2.15, 6.71, 232, 960 for H2, H4, LiH(2,2), BeH2(4,4), respectively. The inter-system trend is also captured by the CV of the dominant A matrix.
Third, we come back to the state-dependent behaviour of the sampled std, σk, and focus on LiH(2,2) (see ESI† for others). In Fig. 1 (top row), we see the sampled std for each state. The most interesting feature is the dramatic decrease in std for excited states k = 8, 9, 10. In Fig. 1 (bottom row), we see the state-specific std, M,k, for LiH that reconstructs the noise contribution to each state stemming from each qLR matrix (cf. subsubsection 2.3.4). It reproduces the overall trends of the actual sampled std, σk, in the case of no PS (solid line, top row Fig. 1), importantly, including the dip for the excited states k = 8, 9, 10. This dip can now be explained as these excitation energies are dominated by transitions that originate from inactive-to-virtual orbital rotations. Our state-specific std approach can capture all this (see Section S1† for other systems) since it is based on classic quantum chemistry transition analysis of excited states, combined with the std of individual quantum operators based on their Pauli string decomposition.
Not all subtle differences within one order of magnitude of std are captured, but large trends are perfectly reproduced (see also ESI Section S1†). To understand the discrepancies, we recall that the matrix and state-specific std (i) only account for trends in a given qLR matrix and not in the final excitation energies, and (i) assigns approximately a std to each quantum operator by row-wise integration of the qLR matrices.
As discussed in subsubsection 4.1.1, Pauli Saving leads to a reduction in measurement and noise, but Fig. 1 (top row) shows that, additionally, the trend between excited states is changed. This change cannot be captured by M,k (bottom row). However, the overall std behaviour between the different qLR methods and different systems is preserved with PS.
In summary, this shows that the metrics that are directly based on the std of Pauli strings can explain how the quantum mechanical shot noise of quantum computers impact each level of the qLR algorithms differently and is parametrization-, system-, and excited state-dependent. It reveals that simple methods used so far like adding Gaussian distributed random numbers as noise to matrix elements32,33 cannot capture these subtleties and thus will not give results applicable to real quantum computers. We also note that the chosen 100k shots per Pauli string on simulated fault-tolerant quantum computers is not sufficient to reach chemical accuracy in the standard deviation for all excited states and systems presented. Again, it shows that even for small systems high measurement numbers (and speed) will be crucial and limiting even in the fault-tolerant regime. While the hardware will be the major restriction going forward, we note that the number of shots needed for a given accuracy might be reduced by using alternative measurement schemes. This includes: (i) different grouping algorithms, e.g. for QWC,61 variance based optimizations,88–90 full commutativity and fermionic approaches;82,91–93 (ii) classic shadow tomography;62 (iii) positive operator-valued measure (POVM) schemes;94 (iv) shot balancing;69–72 (v) mid-stream or feed-forwarding measurement;95,96 and (vi) shifting techniques.97,98 These approaches can incur classic and circuit depth overhead that have to be carefully studied for application on current noisy hardware. In the context of qLR, this is part of future works.
In Fig. 3, we present hardware results for all three qLR methods in the STO-3G basis set. The black line represents the ideal result (shot- and device-noise free) that is identical to classic CASSCF LR.37 In order to judge reproducibility, the hardware experiments were run 5 times. It shows that not all peaks are captured equally well. The peaks in the area of around 15–20 eV show the largest deviations, while the peaks around 55–60 eV are perfectly matched every time. This fully agrees with the shot noise study above (see Fig. 1 and ESI S4†), where these two areas have, respectively, the largest and smallest shot noise-induced deviations. This confirms that on near-term hardware the additional device noise leads to a broadening of the quantum mechanical shot noise. Between all three methods, none performs clearly better as expected from our quantum metrics analysis above. However, allproj qLR consists only of two runs as the three other runs were removed in post-processing as they had negative Hessian eigenvalues. Based on the analysis performed in the previous section and the low statistics count of only 5 hardware runs per qLR method, we do not believe that this is characteristic of allproj qLR but rather shows that the error rate of quantum computers can suddenly change between runs leading to nonphysical results even with error mitigation present.
![]() | ||
Fig. 3 Absorption spectra of LiH(2,2)/STO-3G calculated on IBM Osaka with various qLR methods. The black line indicates the ideal (shot- and device-noise free) results that coincide with classic CASSCF. For each qLR method, five quantum hardware runs were performed and are shown in different colours. For allproj qLR, quantum run 1, 3, and 5 failed as they produced negative Hessian eigenvalues and were removed at post-processing. Detailed and zoomed-in results of each hardware run are found in ESI Section S3.† |
Furthermore, Fig. 3 also shows the effect of our Ansatz-based gate and read-out error mitigation. The first column reveals the effect for naive qLR. Systematic hardware errors that lead to shifts in peaks are clearly mitigated by this approach.
For each qLR run, the error mitigation had a cost of 2 million shots with a quantum runtime of 9 min, while the qLR simulation itself had a cost of 4.5 million shots taking 20 min each. This shows how costly and time-consuming even simple systems are on current near-term devices.
Lastly, in Fig. 4 (and in ESI Fig. S16†), we present naive qLR LiH(2,2) with cc-pVTZ basis set using 1m (500k) shots per Pauli string. The bottom panel show the sampled std, σk, for LiH(2,2)/cc-pVTZ on the shot noise simulator and correlates the dot size with the oscillator strength. As for the STO-3G case, there is a clear correlation between std from shot noise and deviation of the hardware runs from ideal results. In general, the STO-3G results show less deviation than the cc-pVTZ results (compare also Fig. S4 and S6 in the ESI†). We can reason this with our quantum metrics (see ESI Table S3†) as the triple-zeta simulation has larger cond (1199 for E[2], 111 for (S[2])−1E[2]) and CV (51 for A, 33 for B, 27 for Σ) than the single-zeta metrics in Table 2. This is due to the cc-pVTZ basis set being more diffuse than the STO-3G basis set. This causes some of the MO-coefficient to be small, which increases the sensitivity to noise.
![]() | ||
Fig. 4 (Top) absorption spectra of LiH(2,2)/cc-pVTZ calculated on IBM Osaka with naive qLR and 1m shots per Pauli string. The black line indicates the ideal (shot- and device-noise free) results that coincide with classic CASSCF. Five quantum hardware runs were performed and are shown in different colours. Detailed results of each hardware run are found in S3.† (Bottom) sampled standard deviation, σk, for 1000 samples with 100k shots on shot noise simulator. The size of the dot correlates with the oscillator strength value. |
To this end, we studied H2, H4, LiH and BeH2 on a shot noise simulator, i.e. a simulated fault-tolerant quantum computer, and discussed how the quantum mechanical shot noise of these devices impacts differently depending on the algorithm, system, and even the specific excited state. Using a standard deviation metric based on the individual Pauli string distribution, we reveal the coefficient of variation as a reliable indicator to compare algorithms across and within systems. Moreover, the unique standard deviation of each operator translates to different deviations in the individual excitation peak. Interestingly, we show that Pauli saving leads to a reduction in both measurement cost and noise by up to two orders of magnitude. This effect is likely to increase for larger systems.
The hardware results of LiH using up to cc-pVTZ basis set are a first small example of quantum simulations of spectroscopic properties towards useable results beyond the minimal basis approach commonly adopted in quantum computing for chemistry. The orbital-optimized qLR algorithm in combination with the chosen oo-tUCCSD ansatz can replicate classic quantum chemistry (CASSCF) for LiH. The results show that our Ansatz-based error mitigation and a large number of shots can capture most features of the absorption spectrum but accuracy still limited by measurement speed and error rates. We confirm that the excitation energy trend found in shot noise simulation and studied with our error metrics translates to quantum hardware.
This work is understood as a proof of principle to show that molecular excited state properties can be obtained on a quantum computer in a systematic and general fashion that is inspired by classic quantum chemistry and does not rely on approximated or hand-crafted circuits, pre-knowledge of the classic solution, massive classic post-processing or full state tomography allowing for density matrix clean-up. We show that for very small systems near-term hardware results can converge to classic state-of-the-art quantum chemistry accuracy. Importantly, this work also showcases that, in order for quantum computers to have any application in chemistry and scale simulations with accurate, multi-configurational results using proper basis sets to meaningful system sizes, let alone beyond classic capabilities, great improvements in hardware error rates and measurement speed are needed. Nonetheless, while quantum computing for chemistry is in its infancy, the prospect of circumventing the exponential scaling of quantum chemistry algorithms is highly impactful and motivates detailed fundamental research efforts.
Footnotes |
† Electronic supplementary information (ESI) available. See DOI: https://doi.org/10.1039/d4sc05839a |
‡ Note that we chose 100k shots as realistic number because this was the upper limit of shots per circuit on IBM hardware at the time. |
This journal is © The Royal Society of Chemistry 2025 |