This paper was converted on www.awesomepapers.org from LaTeX by an anonymous user.
Want to know more? Visit the Converter page.

Hybrid Quantum-Classical Eigensolver Without Variation or Parametric Gates

Pejman Jouzdani [email protected] General Atomics, San Diego, CA    Stefan Bringuier General Atomics, San Diego, CA
Abstract

The use of near-term quantum devices that lack quantum error correction, for addressing quantum chemistry and physics problems, requires hybrid quantum-classical algorithms and techniques. Here we present a process for obtaining the eigenenergy spectrum of electronic quantum systems. This is achieved by projecting the Hamiltonian of a quantum system onto a limited effective Hilbert space specified by a set of computational bases. From this projection an effective Hamiltonian is obtained. Furthermore, a process for preparing short depth quantum circuits to measure the corresponding diagonal and off-diagonal terms of the effective Hamiltonian is given, whereby quantum entanglement and ancilla qubits are used. The effective Hamiltonian is then diagonalized on a classical computer using numerical algorithms to obtain the eigenvalues. The use case of this approach is demonstrated for ground sate and excited states of BeH2 and LiH molecules, and the density of states, which agrees well with exact solutions. Additionally, hardware demonstration is presented using IBM quantum devices for H2 molecule.

Hybrid quantum-classical algorithms; quantum computing; quantum measurement; variational quantum algorithms;
thanks: corresponding author

I Introduction

Quantum computers offer the ability to address problems in quantum many-body chemistry and physics by quantum simulation or in a hybrid quantum-classical approach. The latter method is considered the most promising approach for noisy-intermediate scale quantum (NISQ) devices Preskill (2018). The prospect and benefits of quantum algorithms, along with suitable hardware, is in overcoming the complexity of the wave-function of a quantum system as it scales exponentially with system size McArdle et al. (2020). Therefore developing techniques and algorithms for NISQ era devices that may prove to have some computational advantage themselves, or establish a path towards ideas and foundations that provide advantage for future error-corrected quantum devices, is a worthwhile pursuit.

The leading algorithms intended to be executed on NISQ devices, which aim to determine solutions to an electronic Hamiltonian, are variational in nature Yuan et al. (2019). One specific algorithm is the variational quantum eigensolver (VQE), which has been tremendously successful in addressing chemistry and physics problems on quantum hardware and NISQ devices Peruzzo et al. (2014); McClean et al. (2016); Kandala et al. (2017); Barkoutsos et al. (2018); Jones et al. (2019); Nakanishi et al. (2019); Parrish et al. (2019a); Higgott et al. (2019); Jouzdani et al. (2019). However, the restriction or challenge that exist with VQE is the need for prior insight with regard to selecting the trial quantum state, i.e., ansatz circuit. Furthermore, the classical optimization of the ansatz parameters may be a poorly converging problem McClean et al. (2018); Parrish et al. (2019b) and therefore limiting the applicability of VQE for obtaining results accurate enough for chemical or physical interpretation. Finally, the realization of ansatz circuits that are motivated by domain knowledge, for example the unitary coupled cluster ansatz for chemistry problems Romero et al. (2017), may not be directly applicable on NISQ hardware and therefore requires clever modification to obtain hardware efficient ansätze Kandala et al. (2017); Barkoutsos et al. (2018); Herasymenko and O’Brien (2019).

In this work, we present a pragmatic hybrid quantum-classical approach for calculating the eigenenergy spectrum of a quantum system within an effective model. Firstly, an effective Hamiltonian is obtained through measurement of short-depth quantum circuits. The effective Hamiltonian is essentially the projection of the quantum system Hamiltonian onto a limited set of computational bases. The basis set is prepared with the intent of ensuring the dimensions of the corresponding matrix does not grow exponentially with the system size. In order to evaluate the matrix elements of the effective Hamiltonian, suitable non-parametric quantum circuits are specified. The quantum circuits are designed, executed, and measured. From the result of the measurements, the diagonal and off-diagonal terms of the effective Hamiltonian matrix are obtained. On the classical side, the effective Hamiltonian matrix, with suitable dimensions, is diagonalized numerically using a classical computer.

The paper is organized as follows: A short background is presented in Section II. In Section III the steps taken in our hybrid quantum-classical approach are explained in detail. In Section IV we demonstrate the application of this hybrid approach on simple chemical molecules BeH2 and LiH. In Section V the approach is demonstrated on the IBMQ 5-qubit Valencia quantum processor IBM-Q team (2020a) for H2 molecule. Finally, we discuss the integration of VQE and the proposed approach in Section VI.

II Background

Consider a quantum many-body system of electrons with the second quantized Hamiltonian:

H^=ijκijaiaj+ijklvijklaiajakal.\displaystyle\hat{H}=\sum_{ij}\kappa_{ij}a^{\dagger}_{i}a_{j}+\sum_{ijkl}v_{ijkl}a^{\dagger}_{i}a^{\dagger}_{j}a_{k}a_{l}. (1)

aia_{i}^{\dagger} and aia_{i} are the creation and annihilation operators, respectively. The anticommutator for the creation and annihilation are given by: aiaj+ajai=δija_{i}a^{\dagger}_{j}+a^{\dagger}_{j}a_{i}=\delta_{ij} and aiaj+ajai=aiaj+ajai=0a_{i}a_{j}+a_{j}a_{i}=a^{\dagger}_{i}a^{\dagger}_{j}+a^{\dagger}_{j}a^{\dagger}_{i}=0. These rules enforce the non-abelian group statistics for fermions, that is, under exchange of two fermions the wave-function yields a minus sign.

The indices in Eq. (1) refer to single-electron states. The coefficients κij\kappa_{ij} and vijklv_{ijkl} are the matrix integrals

κij\displaystyle\kappa_{ij} =\displaystyle= i|K^1|j\displaystyle\bra{i}\hat{K}_{1}\ket{j} (2)

and

vijkl\displaystyle v_{ijkl} =\displaystyle= ij|V^12|kl,\displaystyle\bra{ij}\hat{V}_{12}\ket{kl}, (3)

where K^1\hat{K}_{1} and V^12\hat{V}_{12} operators correspond to one- and two-body interactions respectively. Since K^1\hat{K}_{1} and V^12\hat{V}_{12} can depend on other parameters, such as the distance between nuclei, the Hamiltonian in Eq. (1) represents a class of problems. However, this class of problems has the common property that the number of fermions is a conserved value. Strictly speaking, the terms in the Hamiltonian act on fixed-particle-number Hilbert spaces, NF\mathcal{H}_{N_{F}}, that have the correct fermionic antisymmetry, with NFN_{F} denoting the number of electrons. In this paper, we consider this class of electronic systems where the Hamiltonian is assumed to be in the form of Eq. (1). The coefficients expressed in Eqs. (23) can be obtained using software packages developed for quantum chemistry calculations that perform efficient numerical integration Reine et al. (2012).

II.1 Mapping to qubits & computational basis

The Hamiltonian as written in Eq. (1) can be expressed in the form of qubit operations (i.e., Pauli matrices). This requires a transformation that preserves the anticommutation of the annihilation and creation operators. One transformation that satisfies the criteria, and is based on the physics of spin-lattice models, is the Jordan-Wigner (JW) transformation Fradkin (1989). The JW-transformed Hamiltonian takes the form

H^=sλsh^s,\displaystyle\hat{H}=\sum_{s}\lambda_{s}\hat{h}_{s}, (4)

in which λs\lambda_{s}’s are scalar and a Pauli string operator h^s\hat{h}_{s} is defined as

h^s=O^1sO^Ns.\displaystyle\hat{h}_{s}=\hat{O}^{s}_{1}\otimes\cdots\otimes\hat{O}^{s}_{N}. (5)

O^is{I^,X^,Y^,Z^}\hat{O}^{s}_{i}\in\{\hat{I},\hat{X},\hat{Y},\hat{Z}\} acts on the ii-th qubit, {X^,Y^,Z^}\{\hat{X},\hat{Y},\hat{Z}\} are the three Pauli matrices Nielsen and Chuang (2002) and I^\hat{I} is the identity matrix with the number of qubits denoted as NN.

If the number of I^\hat{I} operators in the tensor product of h^s\hat{h}_{s} is NkN-k, we call h^s\hat{h}_{s} a kk-local Pauli string operator. Upon the JW transformation of the Hamiltonian, a Fock basis of the second quantization representation is in one-to-one correspondence with a computational basis of the qubits Steudtner and Wehner (2019). In other words, a computational basis of

|𝐧=|n0,n1,,nN,\displaystyle\ket{\bf n}=\ket{n_{0},n_{1},\dots,n_{N}}, (6)

with NN qubits, where ni{0,1}n_{i}\in\{0,1\}, is equivalent to a an antisymmetric Fock basis.

Within the finite, but exponentially large, Hilbert space spanned by 2N2^{N} computational basis set, an effective matrix representation of the Hamiltonian may be possible, specifically, if one can efficiently evaluate the matrix elements 𝐧|H^|𝐧\bra{\bf n^{\prime}}\hat{H}\ket{\bf n} for an arbitrary computational basis |𝐧\ket{\bf n} and |𝐧\ket{\bf n^{\prime}}. Furthermore, assuming that the dimensions of the resulting effective matrix are relatively small, the matrix can be diagonalized on a classical computer, where its eigenvalues approximate the spectrum of the original Hamiltonian.

In this paper, we show how to evaluate a matrix element 𝐧|H^|𝐧\bra{\bf n^{\prime}}\hat{H}\ket{\bf n} for arbitrary computational basis |𝐧\ket{\bf n} and |𝐧\ket{\bf n^{\prime}}, using a quantum circuit that has a circuit depth 𝒪(N)\mathcal{O}(N). We do so by using ancilla qubits, and thus N+1N+1 physical resources are needed. In addition, we discuss how to choose an effective subspace for a given electronic Hamiltonian, with a dimension NsN_{s}, based on physical motivations (see Section III.3). The condition Ns<<2NN_{s}<<2^{N} makes it possible to diagonalize the Hamiltonian on a classical computer. In Section IV, we numerically demonstrate this method for simple quantum chemistry systems, focusing on ground state energy and the density of state calculations of the low-energy spectrum. Furthermore, in Section V we use the IBMQ 5-qubit Valencia device to measure the terms for H2 in the complete computational basis of 4 qubits.

III Constructing An Effective Matrix Representation for a Hamiltonian by Qubit Measurement

III.1 Effective Hamiltonian and circuit representation

We first consider a Hamiltonian H^\hat{H} that is expressed in terms of Pauli strings as in Eq. (4). Additionally, a subspace 𝒮={|𝐧}\mathcal{S}=\{\ket{\bf n}\}, with NsN_{s} corresponding computational bases, is considered such that Ns<<2NN_{s}<<2^{N}. Let us define the effective Hamiltonian matrix as the projection of H^\hat{H} onto this subspace; that is

H^eff=𝐧,𝐧𝒮𝐧|H^|𝐧|𝐧𝐧|.\displaystyle\hat{H}_{eff}=\sum_{\bf n,n^{\prime}\in\mathcal{S}}\bra{\bf n}\hat{H}\ket{\bf n^{\prime}}\,\,\ket{\bf n}\bra{\bf n^{\prime}}. (7)

The next step is to define a simple quantum circuit that utilizes one ancillary qubit to measure 𝐧|H^|𝐧\bra{\bf n}\hat{H}\ket{\bf n^{\prime}} matrix element.

The dimension of H^eff\hat{H}_{eff} depends on the choice of the subspace in 𝒮\mathcal{S}. The choice of the subspace, intuitively, depends on the physics of the problem. However, the focus of this paper is towards quantum chemistry problems, which are a primary application for NISQ devices. For this class of Hamiltonians there is a systematic way to select the appropriate subspace. This is discussed in Section III.3.

The evaluation of diagonal terms in H^eff\hat{H}_{eff}, e.g., 𝐧|H^|𝐧\bra{\bf n}\hat{H}\ket{\bf n}, is trivially performed by preparing NN qubits as a bit string of |𝐧(n0,,nN)\ket{\bf n}\equiv(n_{0},\dots,n_{N}) and measuring H^\hat{H}. The measurement of the total Hamiltonian is obtained by measuring every individual Pauli string, h^s\hat{h}_{s}, in Eq. (5). The diagonal terms are then given by

𝐧|H^|𝐧=sλs𝐧|h^s|𝐧.\displaystyle\bra{\bf n}\hat{H}\ket{\bf n}=\sum_{s}\lambda_{s}\bra{\bf n}\hat{h}_{s}\ket{\bf n}. (8)

The off-diagonal matrix elements, e.g., 𝐧|H^|𝐧\bra{\bf n^{\prime}}\hat{H}\ket{\bf n}, which are generally complex numbers, can be evaluated using a single ancillary qubit. This can be done by considering the quantum circuits as shown in Fig. 1. The two circuits shown in Fig. 1(a) and (b) are used to calculate the real and imaginary parts of the matrix element, respectively. In both circuits the N+1N+1 qubits are initially prepared in |ψint=|0|0N\ket{\psi_{int}}=\ket{0}\otimes\ket{0}^{\otimes N} state. The qubits are assumed to be enumerated linearly from 11 to N+1N+1, where the N+1N+1-th qubit is the control qubit.

(a)
Refer to caption
(b)
Refer to caption
(c)
Refer to caption
Figure 1: Quantum circuits for measuring (a) the real and (b) imaginary parts of an off-diagonal element 𝐧|H^|𝐧\bra{\bf n^{\prime}}\hat{H}\ket{\bf n}. (c) A controlled-nn gate represents a set of CNOT gates that prepares the qubits in the state |n\ket{n}. An example of controlled-nn for N=3N=3 and |n=|011\ket{n}=\ket{011} is shown.

After applying the first Hadamard gate on the ancillary qubit, from left to right as shown in the circuits in Fig. 1(a–b), the quantum state of all the qubits is

|ψ=12[|0|0N+|1|0N],\displaystyle\ket{\psi}=\frac{1}{\sqrt{2}}\left[\ket{0}\ket{0}^{\otimes N}+\ket{1}\ket{0}^{\otimes N}\right], (9)

which, after a sequence of controlled-XX gates, becomes entangled as

|ψ=12[|0|𝐧+|1|𝐧].\displaystyle\ket{\psi}=\frac{1}{\sqrt{2}}\left[\ket{0}\ket{\bf n^{\prime}}+\ket{1}\ket{\bf n}\right]. (10)

Here, control gates (controlled-nn and controlled-nn^{\prime}) flip NFN_{F} qubits (corresponding to the NFN_{F} occupied electronic states) and prepares the target qubits in the computational basis |𝐧\ket{\bf n} (|𝐧\ket{\bf n^{\prime}}), conditioned on the state of the control qubit is |1\ket{1} (|0\ket{0}).

An example of a controlled-nn gate that prepares target qubits in |011\ket{011} state is shown in Fig. 1(c). In practice, this part of the circuit requires two-qubit gates (e.g., CNOT) and perhaps the need for full connectivity of qubits in order to operate on any two qubits. Full connectivity of qubits could potentially be realized with ion-trapped devices Wright et al. (2019). See Section VI for further discussion.

Depending on whether the real part or the imaginary part is calculated, the last gates acting on the control qubit changes. With regard to the real part, after applying the last Hadamard gate on the control qubit in Fig. 1(a), the quantum state is

|ψ=12|0[|𝐧+|𝐧]+12|1[|𝐧|𝐧].\displaystyle\ket{\psi}=\frac{1}{2}\ket{0}\left[\ket{\bf n^{\prime}}+\ket{\bf n}\right]+\frac{1}{2}\ket{1}\left[\ket{\bf n^{\prime}}-\ket{\bf n}\right]. (11)

Using this prepared quantum state, one can measure

M^0\displaystyle\hat{M}_{0} =\displaystyle= |00|H^,\displaystyle\ket{0}\bra{0}\otimes\hat{H}, (12)

at the end of the circuit and have

m0\displaystyle m_{0} =\displaystyle= ψ|[|00|H^]|ψ\displaystyle\bra{\psi}\left[\ket{0}\bra{0}\otimes\hat{H}\right]\ket{\psi}
=\displaystyle= 122(𝐧|H^|𝐧+𝐧|H^|𝐧+2𝐑𝐞[𝐧|H^|𝐧)]).\displaystyle\frac{1}{2^{2}}\left(\bra{\bf n}\hat{H}\ket{\bf n}+\bra{\bf n^{\prime}}\hat{H}\ket{\bf n^{\prime}}+2{\bf Re}\left[\bra{\bf n}\hat{H}\ket{\bf n^{\prime}})\right]\right).

Thus, after substituting for the diagonal elements 𝐧|H^|𝐧\bra{\bf n}\hat{H}\ket{\bf n} and 𝐧|H^|𝐧\bra{\bf n^{\prime}}\hat{H}\ket{\bf n^{\prime}}, using Eq. (8), one obtains the real part of the off-diagonal matrix element 𝐧|H^|𝐧\bra{\bf n}\hat{H}\ket{\bf n^{\prime}}. The value m0m_{0} in Eq. (LABEL:eq:subsec:idea:measurement-theory) is measured on a quantum device using the identity |00|=12(I^+Z^)\ket{0}\bra{0}=\frac{1}{2}(\hat{I}+\hat{Z}), by

m0\displaystyle m_{0} =\displaystyle= 12ψ|I^H^|ψ+12ψ|Z^H^|ψ\displaystyle\frac{1}{2}\bra{\psi}\hat{I}\otimes\hat{H}\ket{\psi}+\frac{1}{2}\bra{\psi}\hat{Z}\otimes\hat{H}\ket{\psi} (14)
=\displaystyle= sλs2ψ|I^h^s|ψ+λs2ψ|Z^h^s|ψ.\displaystyle\sum_{s}\frac{\lambda_{s}}{2}\bra{\psi}\hat{I}\otimes\hat{h}_{s}\ket{\psi}+\frac{\lambda_{s}}{2}\bra{\psi}\hat{Z}\otimes\hat{h}_{s}\ket{\psi}.

The imaginary part can be obtained in a similar fashion as done for the real part, but with a slight modification to the circuit as shown in Fig. 1(b). The key addition is a phase-gate, SS, before the execution of the last Hadamard gate on the control qubit. This yields the quantum state

|ψ=12|0[|𝐧+i|𝐧]+12|1[|𝐧i|𝐧]\displaystyle\ket{\psi}=\frac{1}{2}\ket{0}\left[\ket{\bf n^{\prime}}+i\ket{\bf n}\right]+\frac{1}{2}\ket{1}\left[\ket{\bf n^{\prime}}-i\ket{\bf n}\right] (15)

that now includes a phase factor ii before |n\ket{n}. After the last Hadamard gate in Fig. 1(b), and following the same steps, Eqs. (12)-(14), the imaginary part 𝐈𝐦[𝐧|H^|𝐧)]{\bf Im}\left[\bra{\bf n}\hat{H}\ket{\bf n^{\prime}})\right] is obtained.

Our approach differs from the typical hybrid quantum-classical paradigm used in ground state chemistry electronic structure calculations in that the quantum hardware is used as a coprocessor to measure these matrix elements. Therefore, no parameterized ansatz or variational optimization is required. In this approach, the depth of the quantum circuit is significantly reduced, however, our method is based on the assumption that the dimensions of H^eff\hat{H}_{eff} in Eq. (7) are reasonable enough such that it can be diagonalized using classical numerical algorithms.

III.2 Implementing Measurements

As shown in Eq. (14), the expectation value of the Hamiltonian becomes the weighted sum of expectations for the set of Pauli string operators with respect to the output quantum state of the circuit. Since these operators are not in general commuting, one needs to setup and run a number of different quantum circuits. This number can be up-to all Pauli string operators in the Hamiltonian. Each circuit is then executed many times and every time the qubits are measured, the results are realized in different computational bases. The sampled realization provides a probability distribution and is used to estimate the expectation value of the Pauli string.

Generally, measurements are done either directly or indirectly. In the case of direct measurements, single-qubit rotations are applied to a subset of qubits at the end of the circuit. This subset is identified based on the locations in the tensor-product of the operator h^s\hat{h}_{s} that are not identity I^\hat{I}. This set of rotations essentially changes the computational bases in which the given operator h^s\hat{h}_{s} is diagonal. The direct measurement is commonly used in the experimental demonstration of quantum hardware and VQE Kandala et al. (2017).

The indirect measurement approach Knill et al. (2007) requires a series of controlled gates that are applied to the NN target qubits, using one ancillary control qubit. The indirect measurement method is used in iterative quantum phase estimation algorithms Dobšíček et al. (2007).

Although the two types of measurement approaches are theoretically equivalent Nielsen and Chuang (2002), experimentally, there are differences. The benefits and drawbacks of direct and indirect measurements are discussed for example in Mitarai and Fujii (2019). The main difference is the number of times the circuit is to be executed to achieve a desired precision ϵ\epsilon, which is 𝒪(1ϵ2)\mathcal{O}(\frac{1}{\epsilon^{2}}) and 𝒪(1ϵ)\mathcal{O}(\frac{1}{\epsilon}) for direct and indirect measurements respectively. The implementation of a general control-UU gate in the indirect measurement is a challenging task Knill et al. (2007). However, in regards to our purposed approach, where the UU operator is a single Pauli string, the indirect measurement implementation is straightforward.

The indirect measurement can be adapted as shown in quantum circuit in Fig. 2. An additional control qubit is added to this circuit. The Pauli operators are applied on the kk locations of h^s\hat{h}_{s} when the control is in state |1\ket{1}. It is straightforward to follow the quantum state of the qubits throughout the circuit. The final state reads as:

|ψ=12|00[|𝐧+|𝐧+h^|𝐧+h^|𝐧]+.\displaystyle\ket{\psi}=\frac{1}{2}\ket{00}\left[\ket{\bf n^{\prime}}+\ket{\bf n}+\hat{h}\ket{\bf n^{\prime}}+\hat{h}\ket{\bf n}\right]+\dots.
(16)

Upon measuring M^=|00||00|I^\hat{M}=\ket{0}\bra{0}\otimes\ket{0}\bra{0}\otimes\hat{I}, at the end of this circuit, using Eq. (16), and steps discussed in sec. III.1, the real part of the off-diagonal matrix element 𝐧|h^s|𝐧\bra{\bf n^{\prime}}\hat{h}_{s}\ket{\bf n} is obtained. The imaginary part is determined under same steps, while an additional phase gate is applied to the last ancillary qubit, similar to the situation in Fig. 1(b).

In terms of Pauli strings, the value of ψ|M^|ψ\bra{\psi}\hat{M}\ket{\psi} is obtained from the expectations ψ|Z^N+2|ψ\bra{\psi}\hat{Z}_{N+2}\ket{\psi}, ψ|Z^N+1|ψ\bra{\psi}\hat{Z}_{N+1}\ket{\psi}, and ψ|Z^N+2Z^N+1|ψ\bra{\psi}\langle\hat{Z}_{N+2}\otimes\hat{Z}_{N+1}\ket{\psi}, similar to Eq. (14).

Refer to caption
Figure 2: Quantum circuit for indirect measurment of the real and imaginary parts of an arbitrary element 𝐧|h^s|𝐧\bra{\bf n^{\prime}}\hat{h}_{s}\ket{\bf n}, for a given Pauli string operator h^s\hat{h}_{s}. Only controlled one-qubit gates are used. The first control qubit from the top is used for the measurement of the operator h^s\hat{h}_{s}. The second control is to prepare the quantum state of the target qubits.

Finally, using the state preparation and measurements outlined through Sections III.1III.2, all the Ns×NsN_{s}\times N_{s} matrix elements of the effective Hamiltonian in Eq. (7) can be evaluated, by repeating the execution of the quantum circuits as discussed in Figs. 1-2, for all the possible combinations of a chosen set of {|𝐧}\{\ket{\bf n}\} bases.

Note that the approach for evaluating the real and imaginary parts of a matrix element is similar to the interference method introduced in ref. Parrish et al. (2019a), with the difference being that our approach uses an ancillary qubit in order to realize the interference.

III.3 Preparing the computational basis

The computational basis set 𝒮={|𝐧}\mathcal{S}=\{\ket{\bf n}\} with Ns<<2NN_{s}<<2^{N}, needs to be specified in practice. These bases serve as the row and columns of H^eff\hat{H}_{eff} in Eq. (7). The process and motivation for how to choose this set should be based on the underlying nature and physics of the problem.

In theory, one established approach to approximate the ground states of quantum many-body systems is mean-field theory Jensen (2017). In this approach, the true ground state is constructed by perturbing a reference mean-field quantum state. The quantum chemistry field has established theories and techniques for treating such problems. One particularly successful theory and numerical method is coupled cluster (CC), typically referred to as the gold-standard in computational quantum chemistry Bartlett and Musiał (2007). In CC one assumes a wave-function ansatz

|ψ\displaystyle\ket{\psi} =\displaystyle= eT^|𝟎,\displaystyle e^{\hat{T}}\ket{\bf 0}, (17)

for the ground state. Here |𝟎\ket{\bf 0} is a reference quantum state (e.g., Hartree-Fock) and is considered to be anti-symmetric under exchange of two fermions. The operator T^=T^1+T^2+\hat{T}=\hat{T}_{1}+\hat{T}_{2}+\cdots is a sum over different possible excitation operators with respect to the reference state. Typically, the set of excitation operators in T^\hat{T} includes single and double terms (i.e., CCSD), which enables a series representation of the Taylor expansion of eT^e^{\hat{T}}, but high-order terms can also be added. The coefficients for the excitation operators inside T^\hat{T} are determined by variational methods; that is, by minimizing the expectation of the Hamiltonian with respect to the ansatz Bartlett and Musiał (2007).

Since the exponential operator in the CC ansatz, Eq. (17), is non-unitary, it cannot be directly implemented on gate-based quantum computers, where gates correspond to unitary operators. Thus, a unitary version of the CC ansatz has been introduced and is known as Unitary Coupled Cluster (UCC) Romero et al. (2017); Wecker et al. (2015). Ideally, the implementation of UCC ansatz should be constructed such that the number of gates is minimized so that the circuit depth does not exhaust the current coherence times of NISQ devices. As a result of the this concern, hardware efficient anstaz have been proposed Kandala et al. (2017) as a substitute.

In the numerical demonstration of this work (see Section IV), we consider a simplified ansatz for the ground state as:

|ψ\displaystyle\ket{\psi} =\displaystyle= c0|𝟎\displaystyle c_{0}\ket{\bf 0} (18)
+\displaystyle+ iνciνaiaν|𝟎\displaystyle\sum_{i\nu}c_{i\nu}a_{i}^{\dagger}a_{\nu}\ket{\bf{0}}
+\displaystyle+ ijνβcijνβaiajaνaβ|𝟎\displaystyle\sum_{ij\nu\beta}c_{ij\nu\beta}a_{i}^{\dagger}a^{\dagger}_{j}a_{\nu}a_{\beta}\ket{\bf{0}}
+\displaystyle+ ,\displaystyle\cdots,

where i,j,i,j,\dots refer to the unoccupied levels, and ν,β,\nu,\beta,\dots, refer to occupied levels with respect to single (S), double (D), and higher order excitation operators. The ansatz in Eq. (18) implies that the true many-body ground state is a superposition of the reference state |𝟎\ket{\bf 0} and all possible S {aiaν|𝟎}\{a_{i}^{\dagger}a_{\nu}\ket{\bf{0}}\}, D {aiajaνaβ|𝟎}\{a_{i}^{\dagger}a^{\dagger}_{j}a_{\nu}a_{\beta}\ket{\bf{0}}\}, up-to T^n|𝟎\hat{T}_{n}\ket{\bf 0} excitations, where nn in T^n\hat{T}_{n} is finite and independent of NN.

In particular, assuming that it is possible to truncate the series at some low-excitation level such as the D or triples (T), the number of eigenstates in the expansion of the above ansatz remains a polynomial function in NN.

Taking the ansatz in Eq. (18), we specify the set 𝒮\mathcal{S} in the following way. (1) Pick a computational basis as the reference quantum state, that is |𝟎=|𝐧𝐢𝐧𝐭\ket{\bf 0}=\ket{\bf n_{int}}. (2) Identify computational bases corresponding to a finite number of excitations such as S and D. These are Ns<<2NN_{s}<<2^{N} bases and polynomial function in NN.

In step (1), we identify the initial computational basis |𝐧𝐢𝐧𝐭\ket{\bf n_{int}} by minimizing the 𝐧𝐢𝐧𝐭|H^|𝐧𝐢𝐧𝐭\bra{\bf n_{int}}\hat{H}\ket{\bf n_{int}}, in which, for example, a classical Monte Carlo process from spin lattice models Janke (1996) can be used. This computational basis is essentially the qubits’ configuration that has the lowest energy expectation. Since this step is a classical one, it is performed effectively even for a large number of qubits.

In step (2), once the state |𝐧𝐢𝐧𝐭\ket{\bf n_{int}} is determined, one can rearrange the configuration of the qubits by swapping 11’s and 0’s within the state |𝐧𝐢𝐧𝐭\ket{\bf n_{int}}. The swapping is done so that the configurations corresponding to S, D, up-to T^n\hat{T}_{n} are fully realized. The energy expectation corresponding to these configurations (the diagonal elements in the HeffH_{eff}) are stored on a classical register. The final result is obtained among the set of configurations whereby NsN_{s} of are the lowest energies; these are the configurations that are selected. The above steps are demonstrated numerically which is discussed in the next section (see Section IV).

IV Numerical Demonstration: LiH and BeH2

The application of the methodology discussed in Section III is focused on BeH2 and LiH molecules due to thier relatively small number of electrons and molecular orbital footprint. The number of electrons in BeH2 and LiH is six and four, respectively. The single-electron molecular spin-orbitals in the second quantized Hamiltonian are constructed using the minimal atomic STO-3G basis set Kandala et al. (2017); McArdle et al. (2020). For BeH2 there are a total of 1414 spin-orbital, and thus corresponds to 1414 qubits; LiH contains 1212 spin orbitals and hence 1212 qubits. For the purpose of measuring the matrix elements of the effective Hamiltonian, Eq. (7), one additional ancillary qubit is required, as illustrated in the quantum circuits shown in Fig. 1. Therefore, the total number of qubits for the simulation of BeH2 and LiH is 1515 and 1313, respectively.

To obtain the coefficients in the Hamiltonian of Eq. (1) — more specifically as defined in Eqs. (2) and (3) — we make use of the Psi4 quantum chemistry package Parrish et al. (2017). The second quantized Hamiltonian is further transfomed onto a set of Pauli strings and their corresponding weights, Eq. (1), via JW transform using OpenFermion package McClean et al. (2017a).

In order to construct the potential energy surface for each inter-nuclear distance, RR, the steps indicated in the previous paragraph are repeated. The distance RR corresponds to the bond length between Be–H or Li–H in a given molecule; both LiH and BeH2 are linear molecules. We note that these calculations are assuming the total Hamiltonian can be represented using the Born-Oppenheimer approximation, where the dynamics of the core nuclei are neglected. This is standard practice in quantum chemistry calculations Jensen (2017) and thus at every distance RR, the nuclear-nuclear repulsion energy is treated classically and is added to the Hamiltonian as a constant.

For every distance RR, a set of computational bases is chosen. This set includes the basis with the lowest energy expectation (the reference configuration) and computational bases that correspond to the low-order excitations (i.e., S, D, etc.) with respect to the reference configuration. In the case of BeH2, we construct the effective Hamiltonian matrix by keeping the S, D, and T excitations, and thus the total number of computational bases for BeH2 is Ns=1588N_{s}=1588. The low dimension of the effective Hamiltonian matrix makes it possible to diagonalize the matrix on a classical computer using standard numerical techniques Virtanen et al. (2020). Thus, the lowest energies, including the ground state energy, are obtained at every RR. The results for this process are shown in Fig. 3.

Fig. 3(a) shows the ground state energy as well as a few low-lying excited states for BeH2 of the effective Hamiltonian. The exact energies are given by the dashed curves in Fig. 3(a). In Fig. 3(b), the difference between the exact and obtained ground state energy is shown. An error within the hatched area indicates results that are within chemical accuracy. Chemical accuracy is typically identified as 5×103\sim 5\times 10^{-3} Hatrees. Figure 3(c) shows the same energy difference for all other excited-state energies. The same process is done for LiH where only S and D configurations are used. The total number of permutations of 44 fermions (495495) is reduced to Ns=200N_{s}=200, and the results are shown in Fig. 4.

Refer to caption
Figure 3: (a) The calculated binding curve of BeH2 for the ground state and several excited states demonstrating the application of the method described in this work. (b) The difference between the ground state energies obtained from diagonalization of the exact and the effective Hamiltonian along with the chemical accuracy line, and (c) is energy difference for the obtained excited state spectra within the effective model.
Refer to caption
Figure 4: Similar result as shown in Fig. 3 but for LiH. (a) Shows ground state and excited states and (b-c) indicate energy differences compared to exact diagonalization.

The total number of configurations can be approximated by the highest excitation considered. For nn-electron excitation the number of configurations is (NFn)(NNFn)<N2n\binom{N_{F}}{n}\binom{N-N_{F}}{n}<N^{2n}. Thus, the total number of configurations is less than 1++N2n=𝒪(N2n)1+\cdots+N^{2n}=\mathcal{O}(N^{2n}) when N1N\gg 1. Of course, this argument is valid as long as nn can be assumed to be finite and independent of the size of the system NN or the number of electrons NFN_{F}. Under these assumptions, the dimensions of the effective Hamiltonian, HeffH_{eff}, remains polynomial if one replaces the minimal STO-3G with the extended atomic basis.

IV.1 Density of States

Knowledge of density of states (DOS) can be important in analyzing the thermodynamic behaviour of a system at finite temperature and in the analysis of transition states important in chemical reactions Truhlar et al. (1996). One advantage of the method proposed in this paper is the insights provided into the low-energy spectrum of the quantum system, more precisely, the degeneracy of the energy levels. To illustrate this, in Fig. 5, the unnormalized DOS of the LiH obtained via the effective Hamiltonian is compared with the exact density, which shows qualitatively good agreement.

Refer to caption
Figure 5: The unnormalizaed density of states for LiH at different binding distances. The blue fill indicates the exact and the green fill indicates simulated

V Hardware Demonstration: H2

In this section, we demonstrate the feasibility of the hybrid quantum-classical approach discussed in this paper on a IBMQ hardware device. Specifically, we calculate the eigenenergy spectrum of H2 molecule using STO-3G minimal basis-set.

Within STO-3G basis set, the total number of spin-orbitals for H2 is four. In contrast to the numerical demonstration, where the computational basis was prepared using the UCC ansatz, here we employ the complete computational basis with conserved number of electrons for H2 (NF=2N_{F}=2). The number of computational basis set with conserved electron number, is Ns=6N_{s}=6, and the bases are:

{|n0,n1,n2,n3}=\displaystyle\{\ket{n_{0},n_{1},n_{2},n_{3}}\}= {|1100,|1010,|1001\displaystyle\{\ket{1100},\ket{1010},\ket{1001} (19)
|0110,|0101,|0011}.\displaystyle\ket{0110},\ket{0101},\ket{0011}\}.

The number of bases is not further reduced; that is, the effective Hamiltonian constructed here is equal to the full Hamiltonian within the NF=2N_{F}=2 electron number. The above set can be interpreted as the collection of all the S and D exciations, as introduced in sub-section III.3, above a classical configuration such as |1100\ket{1100}.

The Hamiltonian of the problem, stated as a weighted sum of Pauli string operators, as in Eq. (4), has a total of fifteen operators, which can be grouped as:

G1\displaystyle G_{1} =\displaystyle= {IIII,ZIII,IZII,IIZI,IIIZ,ZZII,\displaystyle\{IIII,\,ZIII,\,IZII,\,IIZI,\,IIIZ,\,ZZII, (20)
ZIZI,ZIIZ,IZZI,IZIZ,IIZZ}\displaystyle ZIZI,\,ZIIZ,IZZI,IZIZ,\,IIZZ\}

and

G2={YXXY,XXYY,YYXX,XYYX}.\displaystyle G_{2}=\{YXXY,\,XXYY,\,YYXX,\,XYYX\}. (21)

Here, a Pauli string operator such as ZIIIZIII is a shorthand for Z^1I^2I^3I^4\hat{Z}_{1}\otimes\hat{I}_{2}\otimes\hat{I}_{3}\otimes\hat{I}_{4}, as introduced in Eq. (5).

Our goal is to use the quantum hardware to evaluate the values for 𝐧|h^s|𝐧\bra{\bf n}\hat{h}_{s}\ket{\bf n^{\prime}}, where h^s\hat{h}_{s} belongs to G1G_{1} or G2G_{2}, and |𝐧\ket{\bf n} and |𝐧\ket{\bf n^{\prime}} can be any of the bases listed in Eq. (19).

Note that this task is not a difficult one for a classical computer. However, the objective of the paper and hardware demonstration is to establish a hybrid quantum-classical computational scheme in which the quantum processor performs some of the computational tasks. In the simulations of this paper, the task is the evaluation of the phase associated with the exchange of fermions; since 𝐧|h^s|𝐧\bra{\bf n}\hat{h}_{s}\ket{\bf n^{\prime}} can be understood as exchanging fermions on |𝐧\ket{\bf n} via the operator h^s\hat{h}_{s}, and to arrive at |𝐧\ket{\bf n^{\prime}}. The output can only take discrete values of ±1\pm 1, ±i\pm i, and 0.

In each group G1G_{1} and G2G_{2}, Pauli string operators commute and thus, theoretically, can be measured simultaneously. However, in order to perform simultaneous measurement, one needs to adjust the computational bases, by applying further quantum gates on the target qubits. The appended measurement circuit further increases the circuit depth Gui et al. (2020). Thus, practically, the simultaneous measurement may not be advantageous, and, in contrast, induces further noise and decoherence on NISQ devices. Nevertheless, for G1G_{1}, no further circuit depth is required, as they are all measured in the zz-basis.

We can further reduce the quantum coprocessor computational load by excluding circuits containing terms that are classically efficient to compute. In eqs. (20-21), the operators in G1G_{1} do not contribute to off-diagonal matrix element of the Hamiltonian, while operators in G2G_{2} contribute only to the off-diagonal matrix elements. This information is used to reduce the essential number of circuits to be run on the hardware.

The evaluation of an element 𝐧|h^s|𝐧\bra{\bf n}\hat{h}_{s}\ket{\bf n^{\prime}} is performed by assigning an appropriate circuit, as introduced in sub-section III.1, to a quantum coprocessor. In this work we make use of the IBMQ cloud open devices.

Once a circuit is loaded onto a quantum coprocessor, each circuit is executed a several times. The number of times a circuit is run is referred to as the number of shots. In this work, each circuit was executed for a total of 8,0008,000 shots. At each run, the qubits are measured, and the collection of the realized configurations is used to evaluate value of 𝐧|h^s|𝐧\bra{\bf n}\hat{h}_{s}\ket{\bf n^{\prime}}.

The preparation of the circuits is performed using the transpile and assemble routines available in the IBM Qiskit API Abraham et al. (2019), which enables collating individual circuits, corresponding to the diagonal and off-diagonal terms, to prepare each circuit to run as a single job on a target IBMQ device. In this work, we make use of the IBMQ 5-qubit Valencia hardware IBM-Q team (2020a). The number of circuits — for both real and imaginary parts separately — after the transpile and assemble routines for the diagonal and off-diagonal terms corresponds to 66 and 60 circuits, respectively. The execution timings for the IBMQ QASM simulator range between 0.21-1.5 seconds and for the IBMQ Valencia 5 qubit device 274-298 seconds with 8000 shots per circuit. Due to the limited number of qubits available on this processor, direct measurement is used, that is by measuring all the qubits at the end of the circuit.

As a sanity check, we first use IBMQ QASM simulator IBM-Q team (2020b) to perform all steps involved as outlined in III. The calculations are shown in Fig. 6(a). The results perfectly match the exact values as expected. Furthermore, in Fig. 6(b) the off-diagonal terms in the Hamiltonian are evaluated using IBMQ Valencia device, while the diagonal elements are evaluated using the IBMQ QASM simulator. In both cases, upon diagonalization of the obtained Hamiltonian, the energy spectrum is in good agreement with the exact values. We observe in Fig. 6(b) that there is a slight lifting of the double degeneracy of H2, which we associate to the device noise. This is due to the occurance of non-zero values in the measured off-diagonal terms when in fact the exact value should be zero.

Finally, all the matrix elements, that is, diagonal and off-diagonal elements, are evaluated using IBMQ Valencia device. The results are shown in Fig. 7-(a), which was done with and without measurement error mitigation. The use of measurement error mitigation marginally improves the results. The discrepancy between the exact and hardware values, without and with measurement error mitigation, are shown in 7(b-c).

The effect of noise is ubiquitous in current quantum hardware and is inherently complex and difficult to characterize. However, the result of noise due to the measurement process can be mitigated to some degree by using a calibration matrix Abraham et al. (2019). The resulting calibration matrix is then used to reduce errors of subsequent circuit measurements. The application of measurement error mitigation is demonstrated in Fig. 7(a) with beneficial impact on error shown in Fig. 7(c).

The calculations in Fig. 7, that is construction of the effective Hamiltonian, H^eff\hat{H}_{eff}, are performed through five independent IBMQ job submissions. Each time the energy-surface is slightly different, which can be associated to the inherent device errors and perhaps low number of shots used. The error bars in Fig. 7(b-c) indicate the min/max range in errors of the five different calculation.

Refer to caption
Figure 6: The binding curves for H2 using a (a) noiseless QASM simulator to obtain all Pauli terms and (b) a noiseless QASM simulator to evaluate diagonal Pauli terms and the IBMQ Valencia 5-qubit device to measure off-diagonal terms.
Refer to caption
Figure 7: The complete hardware calculation using the IBMQ Valencia 5-qubit device. The lowest value shown in (a) for 5 distinct hardware runs where 8000 shots is used. The absolute error between exact and hardware results is shown in (b), where symbol indicates the mean and error-bars min/max amongst the 5 runs. (c) the same as (b) but with measurement error mitigation for the target hardware. The semi-opaque region in (b-c) indicates chemical accuracy limit.

VI Discussion and Summary

Recently an abundance of Variational Quantum Algorithms (VQA) have been introduced to solve electronic quantum many-body problems on NISQ devices Peruzzo et al. (2014); Wecker et al. (2015); McClean et al. (2016); Yuan et al. (2019); Parrish et al. (2019a); Higgott et al. (2019); Jones et al. (2019); Nakanishi et al. (2019). These VQA proposals mostly rely on optimization of parametric circuits. In this paper we demonstrate that an alternative approach exists, specifically for quantum chemistry problems, which does not require an optimization procedure and parametric ansatz. In this approach, the quantum hardware is used only to prepare a many-body quantum state and to efficiently measure the expectation values of certain target observables with respect to this quantum state. From the output measurements, one can construct what we refer to as an effective Hamiltonian matrix, H^eff\hat{H}_{eff}. Upon diagonalization of H^eff\hat{H}_{eff} using classical eigen-decomposition numerical methods one obtains the ground state and low-lying excited states of the system.

The approach introduced in this paper is particularly suitable for NISQ devices where short quantum circuit depth is essential due to lack of error-correction protocols on these devices. An additional important aspect of this approach is that it provides access to the low-lying energy spectra of the system and not just the ground state in comparison with the original VQE process.

In the context of VQE and VQE-type algorithms, several attempts have been made to extend the variational approach to excited states Tilly et al. (2020); Santagati et al. (2018); Higgott et al. (2019); McArdle et al. (2019); Somma (2019); Parrish et al. (2019a). Quantum subspace expansion McClean et al. (2017b); Colless et al. (2018) for example constructs a set of non-orthogonal bases out of an optimized ansatz, and performs post-processing to obtain excited states. Deflation techniques as described in ref. Higgott et al. (2019), constructs a pseudo-Hamiltonian in which the ground state is excluded and orthogonality is enforced through regularization. Successful examples are introduced for some low-lying excited states of LiH Jones et al. (2019). In all these previous works, optimization of a parametric ansatz is required therefore necessitates an enormous number of quantum circuit executions and sampling.

The approach introduced in this paper is similar to multistate contracted VQE (MC-VQE) in ref. Parrish et al. (2019a). The main difference is the application of VQE: MC-VQE is obviously a VQE-type algorithm, our approach is distinct in that it does not require a parametric circuit or variational procedure for optimization. In addition, our method differs since it uses supporting quantum circuit resources, i.e., ancilla qubits, in order to perform interference and measurement that is different from the quantum circuit in ref. Diker (2016) and its generalization in ref. Parrish et al. (2019a).

An extension of our approach to VQE type algorithm is possible. This can be done by appending a set of parametric gates that act only on the target qubits to the circuits in Fig. 1. Let us denote this part of the circuit with U(θ)U(\theta), where θ\theta stands for a set of parameters. Then, it can be verified that, given θ\theta, the final matrix element obtained from the circuit after measurement (see Eq. (2) for example) becomes 𝐧|U(θ)H^U(θ)|𝐧\bra{\bf n}U^{\dagger}(\theta)\hat{H}U(\theta)\ket{\bf n^{\prime}}, compared to 𝐧|H^|𝐧\bra{\bf n}\hat{H}\ket{\bf n^{\prime}}. The appended parametric circuit U(θ)U(\theta) allows one to project the Hamiltonian onto 𝒮(θ)={U(θ)|𝐧}\mathcal{S}(\theta)=\{U(\theta)\ket{\bf n}\}, for a given θ\theta. This means the Ns×NsN_{s}\times N_{s} effective Hamiltonian is now parametric and depends on the value(s) of θ\theta. The optimal parameter(s) are then obtained by minimizing the ground-state energy of the effective Hamiltonian matrix. The reference state {U(θ)|𝐧}\{U(\theta)\ket{\bf n}\} can be regarded as the contracted reference states introduced in ref. Parrish et al. (2019a).

One possible limitation of the circuits shown in Fig. 1 is the execution of two-qubit gates corresponding to control operations over nn-qubits (i.e., series of CNOT gates). For NISQ devices with hardware-restricted qubit connectivity, this may require a number of SWAP gate operations and therefore can increase the circuit depth and subsequent error rates Venturelli et al. (2018); Nash et al. (2020). In essence, the implementation of the circuits described in this paper will depend on the ability to limit circuit depth and associated error rates by NISQ hardware circuit optimization (i.e., scheduling). However, significant improvements in qubit connectivity of various modalities (e.g., ion traps) Wright et al. (2019); Hazra et al. (2020) or optimizing quantum circuits against decoherence Zhang et al. (2019); Holmes et al. (2020) may blunt this concern.

VII Acknowledgement

The ideas and methodology discussed in Section III have been supported by General Atomics internal R&D funds. Their application towards quantum chemistry problems as discussed in Section IV and Section V is based upon work supported by the U.S. Department of Energy, Office of Science, Office of Fusion Energy Sciences, under Award Number DE-SC0020249. We thank Mark Kostuk for his guidance and management as PI under this grant. Additionally, we thank David P. Schissel for feedback and guidance at General Atomics.

Circuit diagrams are rendered using the  Quantikz package Kay (2019), numerical scripts utilize the Python SciPy package Virtanen et al. (2020), and 2D plots are generated with the Python matplotlib package Hunter (2007). We acknowledge use of the IBMQ for this work. The views expressed are those of the authors and do not reflect the official policy or position of IBM or the IBMQ team.

Disclaimer: A portion of this report was prepared as an account of work sponsored by an agency of the United States Government. Neither the United States Government nor any agency thereof, nor any of their employees, makes any warranty, express or implied, or assumes any legal liability or responsibility for the accuracy, completeness, or usefulness of any information, apparatus, product, or process disclosed, or represents that its use would not infringe privately owned rights. Reference herein to any specific commercial product, process, or service by trade name, trademark, manufacturer, or otherwise does not necessarily constitute or imply its endorsement, recommendation, or favoring by the United States Government or any agency thereof. The views and opinions of authors expressed herein do not necessarily state or reflect those of the United States Government or any agency thereof.

References

  • Preskill (2018) J. Preskill, Quantum 2, 79 (2018), ISSN 2521-327X, URL https://doi.org/10.22331/q-2018-08-06-79.
  • McArdle et al. (2020) S. McArdle, S. Endo, A. Aspuru-Guzik, S. C. Benjamin, and X. Yuan, Reviews of Modern Physics 92, 015003 (2020).
  • Yuan et al. (2019) X. Yuan, S. Endo, Q. Zhao, Y. Li, and S. C. Benjamin, Quantum 3, 191 (2019).
  • Peruzzo et al. (2014) A. Peruzzo, J. McClean, P. Shadbolt, M.-H. Yung, X.-Q. Zhou, P. J. Love, A. Aspuru-Guzik, and J. L. O’brien, Nature communications 5, 4213 (2014).
  • McClean et al. (2016) J. R. McClean, J. Romero, R. Babbush, and A. Aspuru-Guzik, New Journal of Physics 18 (2016), ISSN 13672630, eprint 1509.04279.
  • Kandala et al. (2017) A. Kandala, A. Mezzacapo, K. Temme, M. Takita, M. Brink, J. M. Chow, and J. M. Gambetta, Nature 549, 242 (2017).
  • Barkoutsos et al. (2018) P. K. Barkoutsos, J. F. Gonthier, I. Sokolov, N. Moll, G. Salis, A. Fuhrer, M. Ganzhorn, D. J. Egger, M. Troyer, A. Mezzacapo, et al., Phys. Rev. A 98, 022322 (2018), URL https://link.aps.org/doi/10.1103/PhysRevA.98.022322.
  • Jones et al. (2019) T. Jones, S. Endo, S. McArdle, X. Yuan, and S. C. Benjamin, Phys. Rev. A 99, 062304 (2019), URL https://link.aps.org/doi/10.1103/PhysRevA.99.062304.
  • Nakanishi et al. (2019) K. M. Nakanishi, K. Mitarai, and K. Fujii, Phys. Rev. Research 1, 033062 (2019), URL https://link.aps.org/doi/10.1103/PhysRevResearch.1.033062.
  • Parrish et al. (2019a) R. M. Parrish, E. G. Hohenstein, P. L. McMahon, and T. J. Martínez, Phys. Rev. Lett. 122, 230401 (2019a), URL https://link.aps.org/doi/10.1103/PhysRevLett.122.230401.
  • Higgott et al. (2019) O. Higgott, D. Wang, and S. Brierley, Quantum 3, 156 (2019), ISSN 2521-327X, URL https://doi.org/10.22331/q-2019-07-01-156.
  • Jouzdani et al. (2019) P. Jouzdani, S. Bringuier, and M. Kostuk, A method of determining excited-states for quantum computation (2019), eprint arXiv:1908.05238.
  • McClean et al. (2018) J. R. McClean, S. Boixo, V. N. Smelyanskiy, R. Babbush, and H. Neven, Nature communications 9, 1 (2018).
  • Parrish et al. (2019b) R. M. Parrish, J. T. Iosue, A. Ozaeta, and P. L. McMahon, A jacobi diagonalization and anderson acceleration algorithm for variational quantum algorithm parameter optimization (2019b), eprint arXiv:1904.03206.
  • Romero et al. (2017) J. Romero, R. Babbush, J. R. McClean, C. Hempel, P. Love, and A. Aspuru-Guzik, Strategies for quantum computing molecular energies using the unitary coupled cluster ansatz (2017), eprint arXiv:1701.02691.
  • Herasymenko and O’Brien (2019) Y. Herasymenko and T. E. O’Brien, A diagrammatic approach to variational quantum ansatz construction (2019), eprint 1907.08157.
  • IBM-Q team (2020a) IBM-Q team, IBM-Q 5 Qubit Valencia backend, specification v1.3.1 (2020a), retrieved from https://quantum-computing.ibm.com.
  • Reine et al. (2012) S. Reine, T. Helgaker, and R. Lindh, Wiley Interdisciplinary Reviews: Computational Molecular Science 2, 290 (2012).
  • Fradkin (1989) E. Fradkin, Physical review letters 63, 322 (1989).
  • Nielsen and Chuang (2002) M. A. Nielsen and I. Chuang, Quantum computation and quantum information (American Association of Physics Teachers, 2002).
  • Steudtner and Wehner (2019) M. Steudtner and S. Wehner, Phys. Rev. A 99, 022308 (2019), URL https://link.aps.org/doi/10.1103/PhysRevA.99.022308.
  • Wright et al. (2019) K. Wright, K. M. Beck, S. Debnath, J. M. Amini, Y. Nam, N. Grzesiak, J.-S. Chen, N. C. Pisenti, M. Chmielewski, C. Collins, et al., Nature Communications 10 (2019), ISSN 2041-1723, URL http://dx.doi.org/10.1038/s41467-019-13534-2.
  • Knill et al. (2007) E. Knill, G. Ortiz, and R. D. Somma, Phys. Rev. A 75, 012328 (2007), URL https://link.aps.org/doi/10.1103/PhysRevA.75.012328.
  • Dobšíček et al. (2007) M. Dobšíček, G. Johansson, V. Shumeiko, and G. Wendin, Phys. Rev. A 76, 030306 (2007), URL https://link.aps.org/doi/10.1103/PhysRevA.76.030306.
  • Mitarai and Fujii (2019) K. Mitarai and K. Fujii, Phys. Rev. Research 1, 013006 (2019), URL https://link.aps.org/doi/10.1103/PhysRevResearch.1.013006.
  • Jensen (2017) F. Jensen, Introduction to computational chemistry (John wiley & sons, 2017).
  • Bartlett and Musiał (2007) R. J. Bartlett and M. Musiał, Reviews of Modern Physics 79, 291 (2007).
  • Wecker et al. (2015) D. Wecker, M. B. Hastings, and M. Troyer, Phys. Rev. A 92, 042303 (2015), URL https://link.aps.org/doi/10.1103/PhysRevA.92.042303.
  • Janke (1996) W. Janke, Monte Carlo Simulations of Spin Systems (Springer Berlin Heidelberg, Berlin, Heidelberg, 1996), pp. 10–43, ISBN 978-3-642-85238-1, URL https://doi.org/10.1007/978-3-642-85238-1_3.
  • Parrish et al. (2017) R. M. Parrish, L. A. Burns, D. G. A. Smith, A. C. Simmonett, A. E. DePrince, E. G. Hohenstein, U. Bozkaya, A. Y. Sokolov, R. Di Remigio, R. M. Richard, et al., Journal of Chemical Theory and Computation 13, 3185 (2017), URL https://doi.org/10.1021/acs.jctc.7b00174.
  • McClean et al. (2017a) J. R. McClean, K. J. Sung, I. D. Kivlichan, Y. Cao, C. Dai, E. S. Fried, C. Gidney, B. Gimby, P. Gokhale, T. Häner, et al., Openfermion: The electronic structure package for quantum computers (2017a), eprint 1710.07629.
  • Virtanen et al. (2020) P. Virtanen, R. Gommers, T. E. Oliphant, M. Haberland, T. Reddy, D. Cournapeau, E. Burovski, P. Peterson, W. Weckesser, J. Bright, et al., Nature Methods (2020).
  • Truhlar et al. (1996) D. G. Truhlar, B. C. Garrett, and S. J. Klippenstein, The Journal of physical chemistry 100, 12771 (1996).
  • Gui et al. (2020) K. Gui, T. Tomesh, P. Gokhale, Y. Shi, F. T. Chong, M. Martonosi, and M. Suchara, Term grouping and travelling salesperson for digital quantum simulation (2020), eprint 2001.05983.
  • Abraham et al. (2019) H. Abraham, AduOffei, R. Agarwal, I. Y. Akhalwaya, G. Aleksandrowicz, T. Alexander, M. Amy, E. Arbel, A. Asfaw, A. Avkhadiev, et al., Qiskit: An open-source framework for quantum computing (2019).
  • IBM-Q team (2020b) IBM-Q team, IBM-Q QASM backend, specification v0.1.547 (2020b), retrieved from https://quantum-computing.ibm.com.
  • Tilly et al. (2020) J. Tilly, G. Jones, H. Chen, L. Wossnig, and E. Grant (2020), eprint arXiv:2001.04941.
  • Santagati et al. (2018) R. Santagati, J. Wang, A. A. Gentile, S. Paesani, N. Wiebe, J. R. McClean, S. Morley-Short, P. J. Shadbolt, D. Bonneau, J. W. Silverstone, et al., Science Advances 4 (2018), eprint arXiv:1611.03511.
  • McArdle et al. (2019) S. McArdle, T. Jones, S. Endo, Y. Li, S. C. Benjamin, and X. Yuan, npj Quantum Information 5 (2019), ISSN 2056-6387, URL http://dx.doi.org/10.1038/s41534-019-0187-2.
  • Somma (2019) R. D. Somma, Quantum eigenvalue estimation via time series analysis (2019), eprint 1907.11748.
  • McClean et al. (2017b) J. R. McClean, M. E. Kimchi-Schwartz, J. Carter, and W. A. de Jong, Physical Review A 95 (2017b), ISSN 2469-9934, URL http://dx.doi.org/10.1103/PhysRevA.95.042308.
  • Colless et al. (2018) J. I. Colless, V. V. Ramasesh, D. Dahlen, M. S. Blok, M. E. Kimchi-Schwartz, J. R. McClean, J. Carter, W. A. de Jong, and I. Siddiqi, Phys. Rev. X 8, 011021 (2018), URL https://link.aps.org/doi/10.1103/PhysRevX.8.011021.
  • Diker (2016) F. Diker, Deterministic construction of arbitrary ww states with quadratically increasing number of two-qubit gates (2016), eprint arXiv:1606.09290.
  • Venturelli et al. (2018) D. Venturelli, M. Do, E. Rieffel, and J. Frank, Quantum Science and Technology 3, 025004 (2018), URL https://doi.org/10.1088%2F2058-9565%2Faaa331.
  • Nash et al. (2020) B. Nash, V. Gheorghiu, and M. Mosca, Quantum Science and Technology 5, 025010 (2020), URL https://doi.org/10.1088%2F2058-9565%2Fab79b1.
  • Hazra et al. (2020) S. Hazra, K. V. Salunkhe, A. Bhattacharjee, G. Bothara, S. Kundu, T. Roy, M. P. Patankar, and R. Vijay, Applied Physics Letters 116, 152601 (2020), eprint https://doi.org/10.1063/1.5143440, URL https://doi.org/10.1063/1.5143440.
  • Zhang et al. (2019) Y. Zhang, H. Deng, Q. Li, H. Song, and L. Nie, in 2019 International Symposium on Theoretical Aspects of Software Engineering (TASE) (IEEE, 2019), pp. 184–191.
  • Holmes et al. (2020) A. Holmes, M. R. Jokar, G. Pasandi, Y. Ding, M. Pedram, and F. T. Chong, arXiv preprint arXiv:2004.04794 (2020), eprint 2004.04794.
  • Kay (2019) A. Kay (2019), URL https://royalholloway.figshare.com/articles/Quantikz/7000520.
  • Hunter (2007) J. D. Hunter, Computing in Science & Engineering 9, 90 (2007).