EFFICIENT QUANTUM CHEMISTRY SIMULATION USING GATE-BASED QUBIT QUANTUM DEVICES
20230020166 · 2023-01-19
Inventors
Cpc classification
G06N10/00
PHYSICS
G16C20/30
PHYSICS
G06N5/01
PHYSICS
International classification
G16C10/00
PHYSICS
Abstract
A method for simulating a quantum chemistry system comprises determining a hard-core bosonic Hamiltonian describing the quantum chemistry system, the Hamiltonian model restricting the electronic states to electron singlet state configurations; determining a “paired-electron unitary coupled cluster with double excitations” (pUCCD) ansatz, the ansatz being restricted to paired-electron configurations; mapping the pUCCD ansatz to qubit operations of a quantum circuit that comprises a set of qubits and gates for enabling pairs of qubits to interact with each other: and, determining a trial state on the quantum circuit by applying the qubit operations defined by the mapped pUCCD ansatz to the qubits; and, determining an energy of the quantum chemistry system based on the trial state and the restricted Hamiltonian, grouping the Hamiltonian terms into three sets of operators which can be measured simultaneously; and, an error-mitigation technique, based on post-selection of the quantum measurements with the known particle number.
Claims
1. A method for simulating a quantum chemistry system using a data processing system comprising a classical computer connected to a quantum computer, the method comprising: receiving or determining, by the classical computer, information on a Hamiltonian describing the quantum chemistry system, the Hamiltonian being a hard core bosonic Hamiltonian, which restricted to electron singlet state configurations; receiving or determining, by the classical computer, information on a paired-electron unitary coupled cluster with double excitations (pUCCD) ansatz, the ansatz being restricted to electron singlet state configurations; transforming, by the classical computer, the pUCCD ansatz into a quantum circuit, the quantum circuit representing a sequence of qubit operations; executing, by the quantum computer, the quantum circuit, the execution including applying the sequence of gate operations to qubits of the quantum computer: receiving, by the classical computer, a trial state, the trial state including measured expectation values of the Hamiltonian; and, determining an energy of the quantum chemistry system based on the trial state.
2. The method according to claim 1, wherein the electron singlet state configurations only include molecular orbitals that are either occupied or not occupied by electron pairs, preferably a qubit includes a first qubit state |1 representing a molecular orbital that is occupied with an electron pair and a second qubit state |0
representing a molecular orbital that is not occupied with an electron pair.
3. The method according to claim 1 wherein the Hamiltonian describing the quantum chemistry system is defined in terms of hard-core bosonic annihilation operators, preferably according to the following equation:
4. The method according to claim 1 wherein a paired-electron unitary coupled cluster with double excitations (pUCCD) ansatz is defined in terms of annihilation operators, preferably according to the following equation:
5. The method according to claim 1 wherein, the trial state and the energy are determined based on a variational scheme, preferably a variational quantum eigensolver (VQE) scheme.
6. The method according to claim 5, wherein determining a trial state includes: initializing the qubits of the quantum computer based on parameters, preferably coupled cluster amplitudes, which are computed on the basis of information of the quantum chemistry system.
7. The method according to claim 5, wherein determining a trial state includes: sequentially applying gate operations of the quantum circuit to pairs of qubits, an application of a gate causing the pair of qubits to interact with each other.
8. The method according to 7, wherein determining a trial state further includes: applying a basis rotation to each of the qubits; and, performing one or more qubit readout, a qubit readout representing one of the measured expectation values of the Hamiltonian.
9. The method according to claim 5 wherein, the trial state is error-mitigated using a diagonalize-and-post-selection procedure, filtering out non-physical measurement results (errors).
10. The method according to claim 5 wherein the gate operation is a singlet-state simulation (SSS) gate operation, including a partial-swap gate operation, partial-swap gate performs an entangling operation which simulates partially distributing an electron pair among two molecular orbitals.
11. The method according to claim 5 wherein the gate operation is a singlet-state simulation (SSS) gate operation, including a full-swap gate, which swaps qubit labels in order to bring every qubit which was occupied next to every other qubit which was not occupied.
12. The method according to claim 1, wherein the trial state and the energy are determined based on a quantum phase estimation (QPE) scheme.
13. A system for simulating a quantum chemistry system using a data processing system comprising a classical computer connected to a quantum computer, the system comprising: a computer readable storage medium having computer readable program code embodied therewith, and a processor, preferably a microprocessor, coupled to the computer readable storage medium, wherein responsive to executing the computer readable program code, the processor is configured to perform executable operations comprising: configuring a data processing system comprising a classical computer connected to a quantum computer; receiving or determining, by the classical computer, information on a Hamiltonian describing the quantum chemistry system, the Hamiltonian being a hard core bosonic Hamiltonian, which restricted to electron singlet state configurations; receiving or determining, by the classical computer, information on a paired-electron unitary coupled cluster with double excitations (pUCCD) ansatz, the ansatz being restricted to electron singlet state configurations; transforming, by the classical computer, the pUCCD ansatz into a quantum circuit, the quantum circuit representing a sequence of qubit operations; executing, by the quantum computer, the quantum circuit, the execution including applying the sequence of gate operations to qubits of the quantum computer; receiving, by the classical computer, a trial state, the trial state including measured expectation values of the Hamiltonian; and, determining an energy of the quantum chemistry system based on the trial state.
14. The system according to claim 13 wherein the electron singlet state configurations only include molecular orbitals that are occupied or not occupied by electron pairs, preferably a qubit includes a first qubit state |1 representing a molecular orbital that is occupied with an electron pair and a second qubit state |0
representing a molecular orbital that is not occupied with an electron pair.
15. A computer program product comprising one or more computer-readable storage devices, and program instructions stored on at least one of the one or more storage devices, the stored program instructions comprising instructions for: configuring a data processing system comprising a classical computer connected to a quantum computer; receiving or determining, by the classical computer, information on a Hamiltonian describing the quantum chemistry system, the Hamiltonian being a hard core bosonic Hamiltonian, which restricted to electron singlet state configurations; receiving or determining, by the classical computer, information on a paired-electron unitary coupled cluster with double excitations (pUCCD) ansatz, the ansatz being restricted to electron singlet state configurations; transforming, by the classical computer, the pUCCD ansatz into a quantum circuit, the quantum circuit representing a sequence of qubit operations; executing, by the quantum computer, the quantum circuit, the execution including applying the sequence of gate operations to qubits of the quantum computer; receiving, by the classical computer, a trial state, the trial state including measured expectation values of the Hamiltonian; and, determining an energy of the quantum chemistry system based on the trial state.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0044]
[0045]
[0046]
[0047]
[0048]
[0049]
[0050]
[0051]
[0052]
DETAILED DESCRIPTION
[0053] In this particular application, a molecular chemistry ‘simulation’ may refer to the determination of the electronic ground state configuration energy with respect to the energy of a quantum chemistry system. For example, (at least) two separate atoms, e.g. two Li atoms, being at rest at a large distance away from each other. The accurate determination of such energy profiles as a function of atomic geometry is essential to the field of quantum chemistry. For example, reaction kinetics are highly dependent on Potential Energy Curves (PECs) as a function of geometrical configuration and knowledge of such energy profiles are essential in understanding and improving the reaction. An aspect of the invention aims to simulate such class of problems on a quantum computer in a manner that is polynomially more efficient than with conventional classical approximate methods such as CCSD(T).
[0054]
[0055] The system may further comprise a (purely classical information) input 112 and an (purely classical information) output 114. Input data may include information about the quantum chemistry system that is needed for the simulation. This information may include the number of electrons, choice of basis set, active and frozen space indices, self-consistent field calculated electron-electron integrals, atomic numbers and geometry, algorithm hyperparameters and optimization settings, etc. The input data may be used by the system to classically calculate values, e.g. amplitudes of excitations, which may be used to initialize a quantum circuit that may be executed on the quantum processor. In particular, the input data may be used by the system to construct quantum circuits, representing a sequence of qubit operations. The quantum circuit may be translated into sequences of pulses, e.g. microwave pulses, which may be used to initialize and control qubit operations according to the quantum circuit. Similarly, output data may include ground state and/or excited state energies of the quantum system, correlator operator expectation values, optimization convergence results, optimized quantum circuit parameters and hyperparameters, and other classical data.
[0056] Each of the one or more quantum processors may comprise a set of controllable two-level systems referred to as qubits. The two levels are |0> and |1> and the wave function of a N-qubit quantum processor may be regarded as a superposition of 2.sup.N of these basis states. Examples of such quantum processors include noisy intermediate-scale quantum (NISQ) computing devices and fault tolerant quantum computing (FTQC) devices.
[0057] The quantum processor may be configured to execute quantum algorithms in accordance with the qubits operations of a quantum circuit. For example, a quantum circuit maybe used to encode a Hamiltonian describing a quantum system, e.g. a molecular chemical system, on the set of N qubits. The quantum processor may be implemented as a gate-based qubit quantum device, which allows initialization of the qubits into an initial state, interactions between the qubits by sequentially applying quantum gates between different qubits and subsequent measurement of the qubits' states. To that end, the input devices may be configured to configure the quantum processor in an initial state and to control gates that realize interactions between the qubits. Similarly, the output devices may include readout circuitry for readout of the qubits which may be used to determine a measure of the energy associated with the expectation value of the Hamiltonian of the system taken over the prepared state.
[0058] The Hamiltonian describing a chemical system may comprise several parts. In the so-called Born-Oppenheimer approximation, molecular nuclei may be regarded as stationary on the timescales involved with electron dynamics. In that case simulating the Hamiltonian is the most relevant challenge to solve. In second quantization, the electronic many-body Hamiltonian of the chemical system may be written as follows (equation 1):
where C is a constant offset, and {h,p,q,s} are fermionic mode indices, a, is the fermionic annihilation operator of the p-th fermionic mode and h.sub.p,q and h.sub.p,q,r,s are Hamiltonian matrix elements which are integrals over the electron-electron electric field interactions. These integrals are classically computationally tractable and computable using self-consistent-field methods. The number of terms in this Hamiltonian is (N.sup.4).
[0059] The number of fermionic modes and the values of the matrix elements also depend on the choice of a basis set, i.e. an orthogonal set of quantum wavefunctions decomposing the overall state of the many-body electronic system. These wavefunctions may indeed be decomposed as a sum of any complete orthogonal set of eigenfunctions. For example, in the STO-6G basis, six Molecular Orbitals (MOs) are used to describe the lithium-hydride system. As electrons are spin-1/2 particles, two of them can occupy a single fermionic mode (spin-up and spin-down). This brings the total number of spin-orbitals (SOs) to twelve. The fermionic Hamiltonian of equation (1) may be mapped to qubits of a gate-based quantum computer using a variety of transformations, for example the Jordan-Wigner transformation, resulting in long Pauli-string operators for every fermionic term which may have the form of {circumflex over (α)}.sub.p.sup.†{circumflex over (α)}.sub.q.sup.†{circumflex over (α)}.sub.r{circumflex over (α)}.sub.s.
[0060] In an embodiment, the qubit requirement for a given number of spin-orbitals may be reduced by using an approximate mapping transformation which hereafter may be referred to as the electron singlet-state approximation. In this approximation, it is assumed that in systems with not so many higher-order electron correlations, electrons occupying certain molecular orbitals always stay in, and move as, pairs. This approximation means restricting the Hilbert space from all possible many-body electronic states to only those where molecular orbitals are only occupied by electron pairs (either there are no electrons, or exactly two, or a superposition of those two states, but no single-electron occupation).
[0061] The electron singlet approximation allows to map a problem of a given problem size to half as many qubits.
[0062] Each logical qubit has two internal states, 0 and 1. In the electron singlet-state approximation the absence or presence of a pair of electrons in that orbital may be represented by these two qubit states, respectively. A pair of electrons occupying a single molecular orbital is always composed of a spin up and spin down electron (because of Pauli's exclusion principle), therefore the net spin equals zero. In that case, the entire system may be described as a set of N two-level bosonic systems, meaning each bosonic mode has a maximum occupancy of one, associated with each molecular orbital (MO). This is known as a hard-core boson (HCB) system. In that case the restricted Hamiltonian Ĥ.sub.r, may be written as (equation 2):
wherein {h,p,q,s} are MO indices, {circumflex over (b)}.sub.p, is the annihilation operator of the p-th hard-core bosonic mode with anti-commutator {{circumflex over (b)}.sub.p, {circumflex over (b)}.sub.q.sup.†}=δ.sub.p,q, and commutator [{circumflex over (b)}.sub.p, b.sub.q]=[{circumflex over (b)}.sub.p.sup.†, {circumflex over (b)}.sub.q.sup.†]=0 and h.sub.p,q.sup.(r1) and h.sub.p,q.sup.(r2) are Hamiltonian matrix elements which are integrals over the energy contributions. In this restricted case, the total number of terms in the Hamiltonian scales as N.sup.2 (as compared to N.sup.4 in the unrestricted Hamiltonian).
[0063] The restricted Hamiltonian in the electron singlet-state approximation (as represented by equation 2) can be mapped to Pauli spin operators describing the qubit dynamics of a gate-based quantum simulator using the following transformation rule (equation 3):
where {circumflex over (σ)}.sub.p.sup.X and {circumflex over (σ)}.sub.p.sup.Y, are the pauli spin x- and y-qubit operators respectively. Due to hermiticity of equation 2, some terms vanish, and the full Hamiltonian—referred to as the qubit Hamiltonian Ĥ.sub.qb— may be given by the following equation 4:
wherein {circumflex over (σ)}.sub.p.sup.Z is the Pauli spin z-qubit operator and f, the unity operator.
[0064] From the above equation, it is clear that there are three groups that can be identified as commuting with each other: all terms involving Z and ZZ, all terms involving XX, and all terms involving YY. The terms within each of these groups of operators can be measured simultaneously, which means the total N.sup.2 terms can actually be simulated in just three steps (first Z/ZZ, then XX, then YY) and classical post-processing can tabulate and sum these results. In order to measure the terms based on Z or ZZ, the qubits are simply measured directly in the original basis. In that case, no rotation before measurement is needed because, the Z basis is already the natural basis to measure in for qubit-based quantum hardware, by definition. Hence, beside the gain in runtime, a significant reduction in the complexity in the readout scheme of the qubits is provided.
[0065] In order to measure the XX terms, one would rotate all qubits by 90° from X basis to Z basis, using an RY rotation (410 in
[0066] The restricted Hamiltonian, a hard-core bosonic Hamiltonian, therefore hardware efficient scheme for executing a quantum algorithm for modelling quantum chemistry. It provides a reduction in scaling which is in stark contrast to the original fermionic Hamiltonian mapping to qubits, which even after grouping, results in N.sup.4 mutually-commuting terms. This is because a fermionic Hamiltonian cannot be mapped to qubits directly/naturally, whereas the hard-core bosonic Hamiltonian is directly supported on qubits due to the matching commutation relations of the shared SU(2) group. Fermionic Hamiltonians can be mapped to qubits using for example the Jordan-Wigner transformation. This transformation maps each fermionic operator to a string of Pauli operators (or Pauli ‘words’), with terms like X/Y/Z spread around, which support on several qubits in a chain potentially covering the whole quantum processor. This introduces huge complexity in the measurement scheme, as each qubit would need to be rotated to a particular basis and the terms cannot be grouped into a lower number of shared tensor-product bases than O(N.sup.4). Furthermore, the shot-noise error is worse for longer Pauli words (worse for greater non-locality of the Hamiltonian).
[0067] As a particular numerical example of the difference in runtime scaling between N.sup.4 and 3, an example of simulating ABP in an accurate basis set may be regarded; In the year 2020, the energy of 2-aminobenzophenone (ABP, C13H11NO) was computed in the large def2-QZVPPD basis set using a CCSD(T) approach. That calculation, utilizing the density-fitting approximation, correlated 90 non-FC electrons among 1569 orbitals and was completed on 224 classical computer cores in 68 hours. This sets a rough limit of what is still feasible on a classical supercomputer now. On a conventional UCCSD approach, this large number of orbitals would mean repeating the quantum circuit estimations at least N.sup.4˜10.sup.14 times the number of shots per term, for each VQE iteration, while in the method presented here, this would be three times the number of shots per term, resulting in a wall-clock runtime improvement of 10.sup.14. This extra time can then instead be used to consider a larger basis set, larger problem, or running more calculations per unit of time.
[0068] A first step of any quantum simulation algorithm is the preparation of a trial state. The success of an algorithm for determining eigenenergies of the Hamiltonian depends on the quality of the state preparation and its closeness to the actual eigenstate of interest. A good initial guess for the groundstate of the restricted Hamiltonian Ĥ.sub.r is the Hartree-Fock (HF) state, which in this case is just a product state with the n.sub.e lowest-energy MOs occupied with a single pair of electrons. For systems with even number of electrons, the HF state in the singlet-subspace approximation describes the same state as without the approximation, and the groundstate energy expectation value of this state over the restricted Hamiltonian is also equal to the groundstate energy of the full Hamiltonian.
[0069] Such a simple guess state often does not capture the complexity of an entangled ground state. Therefore, after preparing the HF state on a qubit lattice, i.e. a collection, e.g. a grid or a line, of hardware qubits with a certain connectivity amongst them, an additional circuit may be applied to the array which prepares the trial state, i.e. a more general ansatz including higher-order correlators. In principle, an eigenstate of the many-body Hamiltonian could contain many complicated correlations, which implies that a large number of entangling operations need to be applied to the HF state (which is a product state) in order to produce this highly entangled state.
[0070] In practice however, single/double/triple single-particle excitations are often enough to bring the HF state very close to the groundstate. A scheme grounded in this idea, is known as the coupled-cluster method, taking for example single/double(triple) (CCSD(T)) excitations. In classical computational chemistry, the non-unitary form of this operation is applied to the HF state as an approximation, because the unitary matrix exponential is very costly to compute. However, on a specific quantum simulator device the unitary evolution over a coupled-cluster operator is naturally implementable.
[0071] In conventional UCCSD methods, unitary operator 0 may be constructed based on the single-particle coupled-cluster scheme according to the following equations 5-8:
wherein, {circumflex over (T)}.sub.X {circumflex over ({circumflex over (T)})}.sub.2,1 and {circumflex over (T)}.sub.2,2 represent CC operators with excitations involving two orbitals and a single electron, excitations involving two distinct orbitals and two electrons, and excitations involving up to four distinct orbitals and two electrons, respectively. {circumflex over (α)}.sub.i is the fermionic annihilation operator of the i-th fermionic mode and t.sub.ij.sup.(1), t.sub.ij.sup.(2,1) and t.sub.ij.sup.2,2 represent individual excitation amplitudes for each overall operator {circumflex over (T)}.sub.1 {circumflex over (T)}.sub.2.1 and {circumflex over (T)}.sub.2,2 respectively. To simulate this as a quantum circuit, one may Trotterize the evolution and apply each term sequentially as e.g. described in the article by M. Suzuki, Fractal decomposition of exponential operators with applications to many-body theories and Monte Carlo simulations, Physics Letters A 146, 319 (1990). If the amplitudes are not too big, this Trotterization leads only to small errors with the true UCCSD state.
[0072] Within the electron-singlet approximation however, the above-mentioned UCC ansatz changes to only include pairs of electrons being removed from an occupied MO and moved to a virtual MO. Therefore, the following approximate ansatz unitary, for reaching an approximate groundstate to the problem Hamiltonian may be used (equations 9-11) where the superscript (s) denotes the electron-singlet approximation:
[0073] Here, {circumflex over (T)}.sub.s represents the singlet-restricted coupled cluster operator, t.sub.ij.sup.(s)) represents the amplitudes associated with each coupled cluster term, t.sub.ij.sup.(s)) is the corresponding term indexed on the qubit lattice instead, {circumflex over (σ)}.sub.p.sup.X and {circumflex over (σ)}.sub.p.sup.Y are the pauli spin x- and y-qubit operators respectively, and {circumflex over (σ)}.sub.p.sup.+ and {circumflex over (σ)}.sub.p.sup.− are the pauli spin raising and lowering operators respectively. From the form of the ansatz it is clear the unitary operation is particle and spin conserving. This ansatz may henceforth be referred to as the paired-electron unitary coupled cluster with double excitations (pUCCD) ansatz. {circumflex over (T)}.sub.s can be mapped to Pauli spin operators describing the qubit dynamics of a gate-based quantum simulator using the transformation rule of the above described equation 3. This mapping results in qubit operator {circumflex over (T)}.sub.qb (equation 11) which expresses the pUCCD ansatz in terms of Pauli-spin operators of a gate-based qubit-based quantum circuit.
[0074] Thus, based on the above-described scheme efficient simulation of quantum chemistry systems can be achieved.
[0075] The Trotterized version of {circumflex over (T)}.sub.qb can be described as a parametric circuit for a gate-based quantum computer. After performing a trial state preparation with such a parametrized circuit, the energy may be calculated in different ways. In an embodiment, a Quantum Phase Estimation may be which would yield arbitrary precision but has coherence requirements that are too stringent for current-era NISQ hardware. In another embodiment, Hamiltonian averaging and variationally optimizing over the resulting energy expectation value may be used. Such method may be referred to as a variational quantum eigensolver (VQE) scheme.
[0076] and an energy estimation module 308 for estimating the energy by determining expectation values 310.sub.1-m of the energy associated with the initial state. The determining of the expectation value includes preparing a parameterized quantum state |Ψ{right arrow over (θ)}
on the quantum device by applying a parameterized unitary U({right arrow over (θ)}) to the initial state: U({right arrow over (θ)})|Ψ.sub.0
=|Ψ{right arrow over (θ)}
. Here the initial state is relatively straightforward to prepare and the parameterize unitary, in this case specifically, is executed as a parametrized circuit which simulates the above-described pUCCD ansatz. θ represents the parameters of the ansatz, which in this case consists of the list of amplitudes
[0077] As shown in H
({right arrow over (θ)}), which is represented by a real number. This value may be provided to an optimization algorithm 314, which may produce a new set of parameters {right arrow over (θ)} 316 for input to the quantum circuit for a next measurement round.
[0078] state. In the quantum circuit each qubit represents (simulates) an electron pair, wherein the |1
state represents a molecular orbital that is occupied with an electron pair and the |0
state represents a molecular orbital that is not occupied with an electron pair.
[0079] The lowest n.sub.e molecular orbitals, in this example three orbitals, may be populated with electron-pairs using a so-called X-gate (or ‘NOT-gate’) 404, switching the |0 state of the first three MO to the occupied |1
state. After application of the X-gate, the qubits may be configured in a Hartee-Fock (HF) initial state |Ψ.sub.0
406. Further, at the start of the process, the parameters of the quantum circuit, e.g. the coupled cluster amplitudes t.sub.ij.sup.(s) may be initialized based on estimates which may be computed based on a classical model. These estimates may be computed based on information on the chemistry problem. This information may be provided as input data to the system. The quantum circuit representing the paired-electron unitary coupled cluster with double excitations (pUCCD) ansatz may then be executed by sequentially applying predetermined gate operations to the qubits. The gate operations 408 are applied in a so-called parallelized swap network 409, followed by basis rotations 410 depending on the particular qubit Hamiltonian element to be estimated, and followed by performing qubit readout 412.
[0080]
[0081] A SSS-gate 422 may include a partial-swap gate 426 followed by a full-swap gate 424. The full-swap gate swap(i, j) swaps the logical qubit labels in order to bring every logical qubit which was occupied next to every other logical qubit which was not occupied. The partial-swap gate performs an entangling operation which simulates partially distributing an electron pair among two molecular orbitals, parametrized by the gate angle θ. This gate angle θ may be used as an optimization parameter in an optimization loop. In this way, excitations from occupied orbitals to every virtual orbital may be simulated, in a minimal gate-depth of Neven on linear chain of qubits (nearest-neighbor connectivity). The SSS-gate implements the required 2-body terms, which is a more natural implementation on current-day universal gate-based quantum computers than conventional UCCSD cluster exponential four-body terms.
[0082] In the measurement phase, one may only measure sets of non-commuting operators due to the fundamental limits imposed on measurement by the laws of quantum mechanics. In conventional UCCSD-VQE, this set size scales in size as (N.sup.4), increasing the overall computation time this factor, and the theoretical upper bound on total measurements is
(N.sup.6) may be brought down to an upper bound of O(N.sup.6) measurements for most realistic molecules in a Gaussian type orbital basis set as e.g. described in the article by McClean et al, Exploiting Locality in Quantum Computation for Quantum Chemistry, The Journal of Physical Chemistry Letters 5 (24), 4368-4380 2014 (in practice, due to its heuristic nature the scaling could be several orders lower).
[0083] However, as described above, in the restricted singlet subspace Hamiltonian method described in this application, all Hamiltonian operators may be sorted into just three groups of mutually commuting sets of operators, i.e.: X-basis, Y-basis and Z-basis parts of the qubit Hamiltonian represented by equation 4. This only provides a constant overhead, (1), in the overall complexity due to the measurement phase contribution, with a worst-case-scenario scaling upper bound of
(N.sup.4) measurements due to shot repetition requirements at fixed desired accuracy. This is due to the fact that estimation of the energy is performed by repeated bitstring measurements over the qubit lattice wave-function in order to essentially perform tomography, which has a certain shot repetition requirement to be accurate enough (However, this is only theoretically upper bounded, not lower bounded) The final total black-box evaluation time scaling then shows a significant polynomial speedup over the state-of-the-art quantum simulation protocol UCCSD-VQE.
[0084] state; gate operations representing the paired-electron unitary coupled cluster with double excitations (pUCCD) ansatz; gate operations representing basis rotations and readout operations for qubit readout 438. Comparing this diagram to
[0085]
[0086] The complete operator form of pUCCD may be constructed 510 which is then converted to a quantum circuit via Suzuki-Trotter decomposition 512. This quantum circuit is then used as the main circuit ansatz applied to the qubits 514. This part is described in more detail with reference to
[0087] Hereunder an example of a problem mapping in quantum chemistry calculations is described based the above-described the above-described paired-electron unitary coupled cluster with double excitations (pUCCD) ansatz. For this purpose, a simple molecule, the lithium-hydride molecule is used, which is one of the smallest di-atomic molecules with more than two electrons and which is produced by treating lithium metal with hydrogen gas at high temperatures. Its potential applications include hydrogen storage, as a precursor to complex metal hydrides, for shielding or moderation of nuclear reactors. The lithium-hydride molecule may be readily studied with exact methods in computational methods. The example is merely used to illustrate the advantages of the invention and is in no way limiting the gist of the invention in the sense that the invention may be used for efficient quantum simulation of more complex molecules.
[0088]
[0089] Simulations of the pUCCD yield good correspondence to the exact groundstate in the same basis set, over the whole range of interatomic spacings. The results are compared against a much bigger and more accurate basis set, representing an unrestricted diagonalization of the cc-pVDZ set. As shown in
[0090]
[0091] A similar argument can be made in general for the realization of a better computational scaling of quantum algorithms using a restricted-Hilbert space approach within quantum chemistry simulations. Generally, the Hamiltonian described by equation 2 describes only first-order interactions and requires less gate-depth to simulate to arbitrary precision using QPE and similar FTQC algorithms, than does the conventional higher-order Hamiltonian of equation 1. This is because the number of terms considered in the restricted subspace is now (N.sup.2) instead of
(N.sup.4).
[0092] . After applying the quantum version of an inverse Fourier transform 810 to the k-qubit register, the qubit registers are readout and a k-bit representation of the eigenenergy of the Hamiltonian may be extracted to an accuracy ε. The groundstate energy can then be found in time proportional to 1/
V.sub.a|V
.sup.2 and 1/ε, where
V.sub.a|V
is the overlap between the true groundstate and the approximate groundstate prepared on the state preparation register.
[0093] For some systems, it has been proven that the HF-state, a simple product state preparable in (1) gates, may have exponentially vanishing overlap with the true groundstate. In that case, a state preparation scheme such as pUCCD is required, or adiabatic state preparation. In either of these cases, substantial benefits in terms of scaling can be achieved, because pUCCD state preparation has only
(N) depth and adiabatic state preparation at most
(N.sup.2) assuming parallelizable gate operations.
[0094] The pUCCD ansatz may be used for other phase estimation part of QPE, the controlled-unitaries describe Hamiltonian evolution and as such require a gate depth scaling at most (N.sup.3) (
terms requiring at most N operations per term) per Trotter step, much less than in the case of a fully unrestricted Gaussian basis set at
(N.sup.5) (
terms requiring at most N operations per term) per Trotter step, which gives a favorable scaling to the overall computational runtime. The controlled-unitary gate operations are often challenging to realize practically on a quantum device, as it may involve multi-qubit interactions which are hard to implement coherently. In the un-restricted Hamiltonian QPE simulation, these controlled-unitaries involve at most 5-qubit interactions whereas in the restricted Hamiltonian QPE the controlled-unitary operations can be performed with 3-qubit interactions.
[0095] The performance enhancement is likewise expected for Kitaev's PEA and Iterative Phase Estimation methods, as the state preparation and controlled-unitary operations remain the main components contributing to the total runtime of the algorithms.
[0096]
[0097] In
U.sub.p,q(x/4).sup.1(σ.sub.p.sup.Xσ.sub.q.sup.X+σ.sub.p.sup.Yσ.sub.q.sup.Y)U.sub.p,q(x/4)=σ.sub.p.sup.Z−σ.sub.q.sup.Z
is a Givens rotation over angle θ between qubits p and q, with matrix basis {00\>,|01>,|10>,|11>}. Or, inversely, the system wavefunction could be rotated, first prepared with the regular initialization 900, HF state preparation 902, and variational ansatz 904, before measurement by a circuit-synthesized unitary U.sup.† (908) and then the diagonal Z.sub.i and Z.sub.j operators can be measured simultaneously 910, 912. Hereunder, it is shown how this helps in measuring the expectation value of the chemistry Hamiltonian in qubit form. The task is divided into measuring the expectation value of the XX+YY terms 906, the Z and ZZ terms, and the constant term C′ (which now absorbs the identity terms in addition to the C constant from the original qubit Hamiltonian):
E=Ψ|Ĥ.sub.xx,yy|Ψ
+
Ψ|Ĥ.sub.z,zz|Ψ
+C′
where the term for H_z,zz i may be efficiently evaluated in one go, as the Hamiltonian is diagonal in the qubit operators. Next the H.sub.xx,yy term may be written
where in the last step, a basis rotation 908 on qubit pairs {p,q} is executed that diagonalizes those terms to Z.sub.p-Z.sub.q 910. In effect, this allows to measure the XX and YY terms simultaneously for each pair, and to rotate to a diagonal basis where the particle number should have been maintained. If this is done for N/2 distinct pairs of the total N modes, effectively all modes in the particle-basis are measured and can therefore filter out some of the noisy bitstring measurements.
[0098] In