An adaptive variational quantum eigenstate solving method based on context subspace

By constructing a consistent projection of the ground state reference quantum state and the excitation operator in a reduced qubit space, and combining CS-VQE and ADAPT-VQE, the problem of high computational cost of quantum ground state and excited state is solved, and resource-efficient solution of ground state and low excited state energies is achieved.

CN123140288APending Publication Date: 2026-11-20SHANGHAI UNIVERSITY OF FINANCE AND ECONOMICS
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611321057.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-28
Publication Date
2026-11-20

AI Technical Summary

Technical Problem

Current technologies are costly to compute quantum ground state and excited state, and require a large amount of quantum resources, making it impossible to efficiently solve for ground state and low-excitement state.

Method used

By employing the context subspace variable quantum eigenvalue solver (CS-VQE) and the adaptive variable quantum eigenvalue solver method, a ground state reference quantum state is constructed in a reduced qubit space, and a quantum response subspace is constructed based on the excitation operator with consistent projection of the context subspace. This keeps the Hamiltonian, variable quantum state preparation operator, and excitation operator in the same symmetric sector, thereby reducing the number of operators and the measurement scale.

Benefits of technology

This reduces the number of qubits, the complexity of the ground state variational circuit, and the resources required for excited state operators and measurements, enabling resource-efficient solutions for the molecular ground state and multiple low excited state energies, thus improving computational efficiency and numerical stability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123140288A_ABST
    Figure CN123140288A_ABST
Patent Text Reader

Abstract

The application discloses a kind of adaptive variable quantum eigenstate solving method based on context subspace, its characteristics are to target quantum system Hamiltonian is reduced and constructs context subspace, candidate variable operator is projected to the context subspace, and ADAPT-VQE adaptive variable quantum circuit is constructed, and ground state reference quantum state is obtained.Subsequently, in original space, excitation state subspace generation operator set is constructed, and the symmetry reduction and context subspace projection consistent with Hamiltonian and ground state variable operator are used, and the operator that is zero after projection is deleted;At least one excitation state energy is obtained by using the obtained projection operator and ground state reference quantum state to construct response subspace and solving by subspace eigenvalue.The application compared with prior art has reduced ground state variable line complexity and the required operator size and quantum measurement overhead of excitation state calculation, and realizes the resource efficient solution of ground state and low excitation state.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the fields of quantum computing and quantum chemical computing, and in particular to an adaptive variable quantum eigenstate solution method based on a context subspace variable quantum eigenstate solver and a context subspace. Background Technology

[0002] Molecular electronic structure calculations in quantum chemistry aim to obtain the ground-state energy, excited-state energy, and corresponding electronic structure information of molecular systems. This is a crucial foundation for studying molecular stability, chemical reactions, spectral properties, and photochemical processes. With the increasing number of molecular orbitals and electrons, the computational resources required for high-precision electronic structure calculations, such as classical full-configuration interactions, are rapidly increasing, leading to high computational costs for high-precision ground-state and excited-state calculations of larger molecular systems. Variational quantum eigenvalue solvers (VQEs) are one of the quantum-classical hybrid algorithms suitable for recent quantum devices. They prepare trial quantum states through parameterized quantum circuits and iteratively optimize variational parameters using the Hamiltonian expectation as the objective function, thereby obtaining the ground-state energy of the target quantum system. Traditional VQEs typically employ pre-defined parameterization, such as unitary coupled clusters, which may contain many redundant variational operators. As the system size increases, the depth of the quantum circuits and the number of parameters also increase.

[0003] To reduce quantum resource requirements, a context subspace variational quantum eigenvalue solving method, CS-VQE, has been proposed. This method divides the Hamiltonian of a qubit into a non-contextual part and a contextual part. The stabilizer constraint is determined based on the non-contextual part, and the original problem is projected onto a smaller context subspace. Quantum corrections are then computed using VQE within the context subspace, thus reducing the number of qubits actually involved in the quantum computation. Previous research has further combined ADAPT-VQE with CS-VQE, projecting the pool of candidate variational operators in the full space onto the context subspace. Variational operators are then selected progressively based on their energy gradients, and parameterized quantum circuits are dynamically constructed, thereby reducing the circuit depth and the number of variational operators required to obtain the ground state.

[0004] The combination of CS-VQE and ADAPT-VQE mentioned above is mainly used to solve for the molecular ground state energy and ground state quantum state. For molecular excited states, it is necessary to further construct a quantum subspace that can describe the excited state based on the obtained ground state reference quantum state. Methods such as quantum subspace expansion usually use a set of excitation operators to act on the ground state reference quantum state to generate subspace basis vectors, and obtain multiple low-energy eigenstates by constructing the subspace Hamiltonian matrix and overlap matrix. However, when the Hamiltonian has already undergone symmetry reduction and context subspace projection, if the excitation operators are directly constructed in the reduced quantum space, the excitation operators may not be consistent with the original electronic excitation process and the physical symmetry sector to which the Hamiltonian belongs.

[0005] In summary, existing quantum ground state and excited state calculations are costly and require large amounts of quantum resources, failing to meet the resource-efficient solution requirements for ground states and low-excited states. Therefore, there is an urgent need for a ground state and excited state quantum computing method that combines the adaptive ground state preparation capability of ADAPT-VQE, the qubit compression capability of CS-VQE, and the uniformly projected excited state subspace construction method. This method would keep the ground state reference quantum state, the context subspace Hamiltonian, and the excited state subspace generation operator within a unified reduced space and physically symmetric sector. This would reduce the number of qubits, the complexity of the ground state variational circuit, and the scale of excited state operators and measurements, while simultaneously achieving resource-efficient solutions for molecular ground state and multiple low-excited state energies. Summary of the Invention

[0006] The purpose of this invention is to address the shortcomings of existing technologies by providing an adaptive variable quantum eigenstate solution method based on context subspace. This method employs a contextual subspace variational quantum eigensolver (CS-VQE) and an adaptive variable quantum eigenstate solution quantum computing approach. It constructs a ground state reference quantum state in a reduced qubit space and constructs a quantum response subspace based on excitation operators with consistent projections of the context subspace, thereby obtaining the molecular ground state and one or more low-excitation state energies. This method constructs excitation operators from the original Fermi subspace, ensuring that the Hamiltonian, variable quantum state preparation operator, and excitation operator use the same symmetry reduction mapping, keeping them within the same target physical symmetry sector. Excitation operators incompatible with the selected stable sub-sector are projected to zero and can be directly deleted. A ground state reference quantum state is constructed in the reduced qubit space, and a quantum response subspace is constructed based on excitation operators with consistent projections of the context subspace, thereby obtaining the molecular ground state and one or more low-excitation state energies. This invention can significantly compress the set of operators used for excited-state computation, and by using the retained projected excitation operators to act on the ground-state reference quantum state, it can construct a response subspace and obtain multiple low-excited-state energies by solving the subspace eigenvalues. This reduces the complexity of the ground-state variational circuit and the operator size and quantum measurement overhead required for excited-state computation, achieving resource-efficient solutions for the ground state and low-excited states. At the same time, it reduces the variational circuit complexity required for ground-state computation and the qubits, excitation operators, and measurement resources required for excited-state computation.

[0007] The specific technical solution to achieve the objective of this invention is: an adaptive variable quantum eigenstate solution method based on context subspace, characterized by adaptively constructing a ground state reference quantum state in a reduced qubit space, and constructing an excited state response subspace in a physically symmetric sector consistent with the ground state reference quantum state and the Hamiltonian. This method includes the following steps:

[0008] Step 1: Context word space construction

[0009] 1-1: Obtaining the electronic structure Hamiltonian of the target quantum system ;

[0010] 1-2: Mapping the electronic structure Hamiltonian to the qubit Hamiltonian ;

[0011] 1-3: Determine the Pauli-symmetric generators that commute with the Hamiltonian of the qubit and the corresponding target symmetric sectors, and perform qubit reduction on the Hamiltonian of the qubit according to the target symmetric sectors to obtain the reduced Hamiltonian. ;

[0012] 1-4: Divide the reduced Hamiltonian into non-contextual parts and context And determine the stable subset based on the non-contextual part. and the corresponding stable sub-sectors Construct the context subspace projection mapping;

[0013] 1-5: Projecting the context portion using the context subspace projection mapping yields the context subspace Hamiltonian acting on the reduced qubit space. .

[0014] Step 2: ADAPT-CS-VQE ground state solution

[0015] 2-1: Constructing a pool of candidate variational operators in the primordial space for ground state preparation The candidate variational operators are subjected to the same symmetry reduction and context subspace projection as the qubit Hamiltonian, and candidate variational operators that are zero after projection are deleted to obtain the context subspace candidate variational operator pool. ;

[0016] 2-2: In the context subspace, with the context subspace Hamiltonian as the target Hamiltonian, the adaptive variational quantum eigenvalue solution method is adopted to calculate the ground state energy gradient corresponding to each candidate variational operator in the candidate variational operator pool of the context subspace, and select at least one candidate variational operator to add to the parameterized quantum circuit according to the ground state energy gradient, and perform variational optimization on the parameterized quantum circuit.

[0017] 2-3: Repeat the ADAPT-VQE iterative loop of candidate variational operator selection and variational optimization until the preset ground state convergence condition is met, and obtain the ground state energy of the target quantum system. and ground state reference quantum state .

[0018] Step 3: Solving the excited state space

[0019] 3-1: Constructing a set of excitation operators for excited-state computation in the primordial fermionic subspace The excitation operator set is subjected to the same symmetry reduction and context subspace projection as the qubit Hamiltonian and candidate variational operators. Excitation operators that are zero after projection are deleted to obtain the projected excitation operator set located in the context subspace. ;

[0020] 3-2: Utilizing the excitation operators in the projection excitation operator set Acting on the ground state reference quantum state Construct a quantum response subspace;

[0021] 3-3: Obtaining the subspace Hamiltonian matrix of the context subspace Hamiltonian in the quantum response subspace and overlapping matrix And solve for the generalized eigenvalues ​​corresponding to the subspace Hamiltonian matrix and the overlap matrix to obtain at least one excited state energy of the target quantum system.

[0022] Compared with the prior art, the present invention has the following beneficial technical effects and significant technical progress:

[0023] 1) This invention combines the adaptive ground state preparation capability of ADAPT-VQE, the qubit compression capability of CS-VQE, and the uniform projection excited state subspace construction method to form a ground state and excited state quantum computing method. This method keeps the ground state reference quantum state, the context subspace Hamiltonian, and the excited state subspace generation operator within a unified shrinking space and physical symmetry sector. While reducing the number of qubits, the complexity of the ground state variational circuit, and the scale of excited state operators and measurements, it achieves resource-efficient solutions for molecular ground state and multiple low excited state energies.

[0024] 2) This invention adaptively constructs ground-state parameterized quantum circuits in the context subspace based on the energy gradient of candidate variational operators. This reduces the number of variational operators and redundant circuit operations that contribute little to the target ground state. Compared to the method of directly constructing excitation operators in the reduced quantum space, this invention generates excitation operators from the original Fermi subspace and makes the Hamiltonian, ground-state variational operator, and excited-state subspace generation operator adopt consistent symmetry reduction and context subspace projection, thereby maintaining the consistency of their physical symmetry sectors and automatically deleting excitation operators that are incompatible with the selected stable sub-sectors.

[0025] 3) This invention can simultaneously reduce the number of qubits, the complexity of the ground state variational circuit, the size of the excitation operator pool, and the measurement overhead of the excited state subspace, thereby improving the resource utilization efficiency and numerical stability of molecular ground state and multiple low-excited state quantum computing. Attached Figure Description

[0026] Figure 1 This is a flowchart of the present invention. Detailed Implementation

[0027] The present invention comprises the following five key parts: 1) performing qubit mapping and symmetry reduction on the electronic structure Hamiltonian of the target quantum system, and constructing a context subspace based on the non-context Hamiltonian;

[0028] 2) Project the candidate variational operator used for ground state preparation onto the context subspace, and use ADAPT-VQE to adaptively construct a parameterized quantum circuit based on the ground state energy gradient to obtain the ground state energy and the ground state reference quantum state;

[0029] 3) Construct a set of excitation operators for excited state computation in the original Fermi subspace, and apply symmetry reduction and context subspace projection to the excitation operators in the same manner as Hamiltonian and ground state variational operators.

[0030] 4) Delete the excitation operators that result in zero after projection, and construct the quantum response subspace using the retained projected excitation operators and the ground state reference quantum state;

[0031] 5) Construct the Hamiltonian matrix and overlap matrix in the response subspace, and obtain one or more low-excited state energies of the target quantum system by solving the subspace eigenvalues.

[0032] See Figure 1 The present invention specifically includes the following steps:

[0033] Step 1: Context word space construction

[0034] 1-1: Obtaining the electronic structure Hamiltonian of the target quantum system The electronic structure Hamiltonian is converted into the qubit Hamiltonian through fermion-to-qubit mapping. ;

[0035] 1-2: Determine the Pauli-symmetric generator that commutes with the Hamiltonian of the qubit, determine the corresponding target symmetric sector based on the target particle number, spin, or reference quantum state, and perform qubit reduction on the qubit Hamiltonian through Clifford transformation and sector constraint to obtain the reduced Hamiltonian. ;

[0036] 1-3: Reduce the Hamiltonian Divided into non-contextual parts and context Based on the non-contextual part, multiple commutative stable sub-generators and their corresponding eigenvalues ​​are determined, and stable sub-sectors are determined by the stable sub-generators and their corresponding eigenvalues.

[0037] 1-4: Construct a Clifford transformation that maps the stabilizer generator to a single-bit Pauli operator on a specified qubit, and construct a context subspace projection mapping based on the stabilizer sector;

[0038] 1-5: Project the reduced Hamiltonian onto the context subspace projection mapping and eliminate the qubit degrees of freedom determined by the stabilizer constraint to obtain the context subspace Hamiltonian acting on the reduced qubit space. .

[0039] Step 2: ADAPT-CS-VQE ground state solution

[0040] 2-1: Constructing a pool of candidate variational operators in the primordial space for the preparation of the ground state quantum state. The candidate variational operators are reduced with the same symmetry as the qubit Hamiltonian in step 1, and projected using the same context subspace projection mapping as in step 1.

[0041] 2-2: Delete candidate variational operators whose projection result is zero, and form the remaining non-zero candidate variational operators into a pool of candidate variational operators in the context subspace. ;

[0042] 2-3: Using the projected reference quantum state as the initial quantum state, for each candidate variational operator in the candidate variational operator pool of the context subspace, calculate its corresponding ground state energy gradient, and evaluate the contribution of the candidate variational operator to the ground state energy based on the absolute value or gradient norm of the energy gradient.

[0043] 2-4: Select at least one candidate variational operator that meets the preset selection conditions from the candidate variational operator pool in the context subspace, add it to the current parameterized quantum circuit, and use the classical optimizer to re-optimize all variational parameters in the parameterized quantum circuit, so as to reduce the expected value of the context subspace Hamiltonian.

[0044] 2-5: Repeat the candidate variational operator evaluation, candidate variational operator selection, and variational parameter optimization process. Determine whether a preset ground state convergence condition is met based on at least one of the pre-defined convergence criteria: the maximum candidate variational operator gradient, the gradient norm, or the change in ground state energy between adjacent iterations. When the preset ground state convergence condition is met, output the ground state energy of the target quantum system. and the corresponding ground state reference quantum state .

[0045] Step 3: Solving the excited state space

[0046] 3-1: In the original fermionic subspace, based on occupied orbits and virtual orbits, construct single-excitation operators and double-excitation operators for excited-state computation, and form an initial set of excited operators. ;

[0047] 3-2: Map the excitation operator to a qubit operator using the same fermion-to-qubit mapping as in step 1;

[0048] 3-3: For the qubit excitation operator, the same Clifford transformation and target symmetric sector constraint as the qubit Hamiltonian are used for symmetry reduction, and the same context subspace projection mapping as in step 2 is used for projection, so that the Hamiltonian, ground state variational operator and excitation operator are kept in the same target symmetric sector and satisfy the same context subspace stable subsector constraint.

[0049] 3-4: For excitation operators whose projection result is zero, remove them from the excitation operator set and form the remaining non-zero excitation operators into a projection excitation operator set. .

[0050] The excitation operators originate from the complete fermionic subspace and use the same reduction mapping as the Hamiltonian operator, rather than being arbitrarily reconstructed directly in the reduced space. Simultaneously, operators incompatible with the selected stable sub-sector are reduced to zero and deleted during the projection process. Each of the obtained projected excitation operators is applied to the ground state reference quantum state obtained in step 2, forming multiple response subspace basis vectors, which together constitute the quantum response subspace.

[0051] For projection operators and By measuring the corresponding quantum expectation value at the ground state reference quantum state, the subspace Hamiltonian matrix and overlap matrix are constructed as expressed by the following equation:

[0052] ;

[0053] .

[0054] The generalized eigenvalues, consisting of the subspace Hamiltonian matrix and the overlap matrix, are then solved using the following formula:

[0055] .

[0056] The ground state energy and one or more low-excited state energies of the target quantum system are obtained based on generalized eigenvalues. When the overlap matrix exhibits near-linear correlation or ill-conditioned conditions, spectral decomposition is performed on the overlap matrix. Eigenvectors corresponding to near-zero eigenvalues ​​are deleted according to a preset truncation threshold. An orthogonalization transformation matrix is ​​constructed using the retained eigenvalues ​​and eigenvectors, transforming the generalized eigenvalue problem into a standard eigenvalue problem for solution, thereby improving the numerical stability of excited state energy calculations.

[0057] The candidate variational operator pool in step 2 can be composed of Pauli operators obtained by mapping Fermi single-excitation operators and double-excitation operators from Fermi to qubits. Before participating in the ADAPT-VQE operator screening, the candidate variational operators are all subjected to symmetry reduction consistent with the Hamiltonian of the context subspace and context subspace projection, and Pauli operators with projection results of zero are deleted to obtain the candidate variational operator pool that acts on the current context subspace.

[0058] The initial set of excitation operators in step 3 is constructed in the original fermionic subspace and then uniformly subjected to symmetry reduction and context subspace projection, rather than directly generating excitation operators in the reduced qubit space, in order to maintain the consistency of the original electronic excitation structure and the target physical symmetry sector corresponding to the excitation operator.

[0059] The solution of the eigenvalues ​​of the response subspace in step 3 can be achieved using the quantum subspace expansion method. The quantum expectation value required to construct the Hamiltonian matrix and overlap matrix of the subspace is measured by a quantum computing device, and the matrix processing and eigenvalue solution are completed by a classical computing device, thereby obtaining the energies corresponding to multiple low-energy eigenstates.

[0060] The technical solution of the present invention will be further described in detail below with reference to specific embodiments and accompanying drawings. It should be noted that the following embodiments are for illustrative purposes only and are not intended to limit the scope of protection of the present invention. Unless otherwise specified, the molecular electronic structure calculation, fermion-to-qubit mapping, variational quantum eigenvalue solving, and classical matrix eigenvalue solving involved in the present invention can all be implemented using existing technologies in the field. The present invention does not limit specific quantum computing platforms, classical optimizers, or quantum hardware types.

[0061] Example 1

[0062] See Figure 1A quantum ground state and excited state calculation method based on adaptive variable quantum eigenvalue solving and context subspace is proposed. The method involves constructing a Hamiltonian for the qubit based on the target quantum system, performing symmetry reduction on the Hamiltonian, and further constructing a context subspace. Subsequently, an ADAPT-VQE adaptive method is used to construct a ground state variable quantum circuit in the context subspace to obtain the ground state energy and ground state reference quantum state. Based on this, a set of excitation operators is constructed in the original Fermi subspace, and the excitation operators are subjected to symmetry reduction and context subspace projection consistent with the Hamiltonian and ground state variational operators. Finally, a response subspace is constructed using the obtained projected excitation operators and the ground state reference quantum state. The ground state and one or more low-excited state energies of the target quantum system are obtained by solving for the eigenvalues ​​of the subspace. The specific steps are as follows:

[0063] Step 1: Obtain the molecular geometry, atomic composition, and selected basis set of the target molecular system. Calculate the single-electron and two-electron integrals using classical electronic structure calculations, and then construct the electronic structure Hamiltonian in the second-order quantization form shown in the following equation:

[0064] .

[0065] in, and They represent the first Fermions in a spin orbit produce and annihilate operators. and These represent single-electron integrals and two-electron integrals, respectively.

[0066] The Jordan-Wigner transform is used to map the fermion Hamiltonian to the qubit Hamiltonian using the following equation:

[0067] .

[0068] in, A pauli string consisting of the tensor product of the pauli operators I, X, Y, and Z. is the corresponding real coefficient.

[0069] Further determine the Pauli symmetric generator that commutes with the Hamiltonian of the quantum bit. And it satisfies the commutation relation shown in the following formula:

[0070] .

[0071] Construct Clifford transformations for multiple commuting symmetric generators. This maps the qubit to a single-bit Pauli-Z operator on a specified qubit. Based on the physical information such as the number of particles and spin of the Hartree-Fock reference state or the target system, the corresponding symmetric sector eigenvalues ​​are determined, and the Pauli-Z operators on the corresponding qubits are replaced with these eigenvalues, thereby eliminating the corresponding symmetric qubits and obtaining the reduced qubit Hamiltonian. This process maintains the energy spectrum in the target physically symmetric sector while reducing the number of qubits involved in subsequent calculations. This yields the reduced Hamiltonian. Then, based on the commutation relations between Pauli terms in the Hamiltonian, the Hamiltonian is divided into non-contextual parts. and context Multiple mutually commuting stable sub-generators are determined based on the non-contextual parts. And determine the eigenvalues ​​of the stable generators corresponding to each stable generator.

[0072] Further construct the stabilizer Clifford transformation This maps stable generators to Pauli-Z operators on specified stable qubits. A context subspace projection mapping is constructed based on the selected stable sector. And project the reduced Hamiltonian onto the input... Each analog qubit constitutes a context subspace as shown in the following equation:

[0073] .

[0074] in, Represents the Hamiltonian of the context subspace. Less than or equal to the number of qubits retained after symmetry reduction.

[0075] This further compresses the original electronic structure problem into a smaller quantum register.

[0076] Step 2: Construct a set of candidate variational operators for preparing the ground state in the original fermionic subspace using the following formula:

[0077] .

[0078] The candidate variational operators can be composed of anti-Hermitian fermion generators corresponding to single and double excitations, or they can be composed of Pauli generators obtained by mapping fermion generators to qubits. To ensure that the candidate variational operators are consistent with the Hamiltonian of the context subspace, the same symmetry reduction mapping as that used in step 1 is applied to each candidate variational operator, which is expressed as follows:

[0079]

[0080] The context subspace projection mapping determined in step 2 is expressed by the following equation:

[0081] .

[0082] Candidate variational operators whose projection result is zero are removed, and the remaining candidate operators form the candidate variational operator pool in the context subspace. Subsequently, ADAPT-VQE is performed in the context subspace using the projected Hartree-Fock state as the initial reference quantum state.

[0083] Step 3: After obtaining the ground state reference quantum state, construct a set of excitation operators in the primordial fermion space to describe the electronic excitation process. For the occupied spin orbitals i and j and the virtual spin orbitals a and b in the reference determinant, construct the single excitation operator and the double excitation operator using the following equation:

[0084]

[0085] .

[0086] A complete pool of fermion excitation operators is formed by single-excitation operators and double-excitation operators. Applying the same symmetry reduction mapping to the complete excitation operator pool as the Hamiltonian in step 1, we obtain... .

[0087] The same context subspace projection mapping as in step 2 is used, which is expressed by the following equation:

[0088] .

[0089] This makes the context subspace Hamiltonian The ADAPT-VQE candidate variational operators and excited-state subspace generating operators reside in the same physically symmetric sector and the same context subspace. For those satisfying The excitation operators that result in a non-zero projection are removed from the excitation operator pool; excitation operators that result in a non-zero projection are retained and combined to form the final set of projection excitation operators as shown in the following formula:

[0090] .

[0091] Using the ground state reference quantum state obtained in step 2 and the set of projection excitation operators The response subspace basis vectors are constructed using the following formula:

[0092] .

[0093] The non-orthogonal quantum response subspace is formed by the basis vectors of each response subspace. For any two projected excitation operators... and Measure the corresponding quantum expectation value and construct the subspace Hamiltonian matrix. Its matrix elements are represented by the following formula:

[0094] .

[0095] And construct the overlap matrix Its matrix elements are represented by the following formula:

[0096] .

[0097] Then the generalized eigenvalue problem is solved using the following formula:

[0098]

[0099] Multiple eigenvalues ​​are obtained through the eigenvalue problem: The lowest eigenvalue corresponds to the subspace correction result of the ground state energy, while the other eigenvalues ​​correspond to one or more low excited state energies. Since linear correlations may occur between the excitation operators projected into the context subspace, the overlap matrix... An ill-conditioned condition has occurred. Therefore, the overlap matrix can be spectrally decomposed using the following equation:

[0100] .

[0101] Set cutoff threshold For satisfying Find the eigenvalues, delete the corresponding eigenvectors, and construct the orthogonalization transformation matrix using the remaining valid eigenvalues ​​and eigenvectors by the following formula:

[0102] .

[0103] The orthogonalized effective subspace Hamiltonian matrix is ​​obtained as shown in the following equation:

[0104]

[0105] The corresponding standard eigenvalue problem is solved to obtain the numerically stable ground state and low excited state energies.

[0106] The above-described specific implementations can be partially adjusted by those skilled in the art in different ways without departing from the principles and purpose of the present invention. The scope of protection of the present invention is defined by the claims and is not limited to the above-described specific implementations. All implementation schemes within the scope of the claims are bound by the present invention.

Claims

1. An adaptive variable quantum eigenstate solution method based on context subspace, characterized in that, The method includes the following steps: Step 1: Context word space construction 1-1: Obtaining the electronic structure Hamiltonian of the target quantum system ; 1-2: Mapping the electronic structure Hamiltonian to the qubit Hamiltonian ; 1-3: Determine the Pauli-symmetric generators that commute with the Hamiltonian of the qubit and the corresponding target symmetric sectors, and perform qubit reduction on the Hamiltonian of the qubit according to the target symmetric sectors to obtain the reduced Hamiltonian. ; 1-4: Divide the reduced Hamiltonian into non-contextual parts and context And determine the stable subset based on the non-contextual part. and the corresponding stable sub-sectors Construct the context subspace projection mapping; 1-5: Projecting the context portion using the context subspace projection mapping yields the context subspace Hamiltonian acting on the reduced qubit space. ; Step 2: ADAPT-CS-VQE ground state solution 2-1: Constructing a pool of candidate variational operators for ground state preparation in the primordial space The candidate variational operators are subjected to the same symmetry reduction and context subspace projection as the qubit Hamiltonian, and candidate variational operators that are zero after projection are deleted to obtain the context subspace candidate variational operator pool. ; 2-2: In the context subspace, with the context subspace Hamiltonian as the target Hamiltonian, the adaptive variational quantum eigenvalue solution method is adopted to calculate the ground state energy gradient corresponding to each candidate variational operator in the candidate variational operator pool of the context subspace, and select at least one candidate variational operator to add to the parameterized quantum circuit according to the ground state energy gradient, and perform variational optimization on the parameterized quantum circuit. 2-3: Repeat the ADAPT-VQE iterative loop of candidate variational operator selection and variational optimization until the preset ground state convergence condition is met, and obtain the ground state energy of the target quantum system. and ground state reference quantum state ; Step 3: Solving the excited state space 3-1: Constructing a set of excitation operators for excited-state computation in the primordial fermionic subspace The excitation operator set is subjected to the same symmetry reduction and context subspace projection as the qubit Hamiltonian and candidate variational operators. Excitation operators that are zero after projection are deleted to obtain the projected excitation operator set located in the context subspace. ; 3-2: Utilizing the excitation operators in the projection excitation operator set Acting on the ground state reference quantum state Construct a quantum response subspace; 3-3: Obtaining the subspace Hamiltonian matrix of the context subspace Hamiltonian in the quantum response subspace and overlapping matrix The generalized eigenvalues ​​corresponding to the Hamiltonian matrix and overlap matrix of the subspace are solved to obtain at least one excited state energy of the target quantum system.