Skip to main content
QUICK REVIEW

[Paper Review] Use VQE to calculate the ground energy of hydrogen molecules on IBM Quantum

Maomin Qing, Wei Xie|arXiv (Cornell University)|May 11, 2023
Quantum Computing Algorithms and ArchitectureComputer Science3 citations
TL;DR

This paper implements the Variational Quantum Eigensolver (VQE) algorithm on IBM Quantum hardware using Qiskit to calculate the ground state energy of a hydrogen molecule. It achieves a relative error of 1.47% compared to the exact solution, demonstrating VQE's feasibility for quantum molecular energy calculations despite noise and algorithmic limitations on near-term quantum devices.

ABSTRACT

Quantum computing has emerged as a promising technology for solving problems that are intractable for classical computers. In this study, we introduce quantum computing and implement the Variational Quantum Eigensolver (VQE) algorithm using Qiskit on the IBM Quantum platform to calculate the ground state energy of a hydrogen molecule. We provide a theoretical framework of quantum mechanics, qubits, quantum gates, and the VQE algorithm. Our implementation process is described, and we simulate the results. Additionally, experiments are conducted on the IBM Quantum platform, and the results are analyzed. Our fi ndings demonstrate that VQE can effi ciently calculate molecular properties with high accuracy. However, limitations and challenges in scaling the algorithm for larger molecules are also identifi ed. This work contributes to the growing body of research on quantum computing and highlights the potential applications of VQE for real-world problem-solving.

Motivation & Objective

  • To demonstrate the implementation of the VQE algorithm for quantum molecular energy calculation using real quantum hardware.
  • To evaluate the accuracy of VQE in computing the ground state energy of a hydrogen molecule on the IBM Quantum platform.
  • To analyze the sources of error in VQE results, particularly noise and algorithmic randomness on current noisy intermediate-scale quantum (NISQ) devices.
  • To compare VQE results with exact numerical solutions to assess fidelity and chemical accuracy.
  • To explore the scalability and practical limitations of VQE for larger molecular systems on current quantum hardware.

Proposed method

  • The VQE algorithm is implemented using Qiskit on the IBM Quantum platform, leveraging the UCCSD ansatz for parameterized quantum circuits.
  • The Hartree-Fock method initializes the quantum state to |0101⟩, providing a physically motivated starting point for the variational optimization.
  • The L-BFGS-B classical optimization algorithm is used to minimize the expectation value of the molecular Hamiltonian, iteratively adjusting variational parameters.
  • The molecular Hamiltonian is mapped to a qubit Hamiltonian using the Jordan-Wigner transformation, enabling quantum circuit simulation.
  • Simulations and experiments are conducted on the ibmq_jakarta quantum device, with results compared to exact solutions obtained via Qiskit's built-in numerical solver.
  • The ground state energy is computed across a range of interatomic distances from 0.2 Å to 0.725 Å in 0.05 Å steps to study the potential energy curve.
Figure 1: An example of a state vector represented in a Bloch sphere
Figure 1: An example of a state vector represented in a Bloch sphere

Experimental results

Research questions

  • RQ1How accurately can the VQE algorithm compute the ground state energy of a hydrogen molecule on current noisy quantum hardware?
  • RQ2What is the impact of quantum noise and algorithmic randomness on the convergence and accuracy of VQE in molecular energy calculations?
  • RQ3How does the VQE result compare to the exact solution obtained via classical numerical methods across varying interatomic distances?
  • RQ4What are the dominant sources of error in VQE-based molecular energy calculations on near-term quantum devices?
  • RQ5Can the UCCSD ansatz combined with L-BFGS-B optimization achieve chemical accuracy (0.0016 Hartree) in this context?

Key findings

  • The VQE algorithm successfully computes the ground state energy of the hydrogen molecule across multiple interatomic distances, producing a potential energy curve consistent with the exact solution.
  • At an interatomic distance of 0.725 Å, the VQE result is −1.134167 Hartree, compared to the exact value of −1.117506 Hartree, resulting in a relative error of 1.47%.
  • The error exceeds chemical precision (0.0016 Hartree), indicating that current NISQ devices still face challenges in achieving high-fidelity molecular energy calculations.
  • Three main error sources are identified: nuclear approximation, measurement noise, and inherent randomness in the VQE algorithm, with the latter being most impactful on real devices.
  • The use of the UCCSD ansatz and L-BFGS-B optimizer enables stable convergence, but device noise limits final accuracy.
  • Despite limitations, the results confirm that VQE is a viable approach for quantum chemistry simulations on current quantum hardware, especially for small molecules like H₂.
Figure 2: An example shows that use $H$ gate and CNOT gate to prepare entagled states
Figure 2: An example shows that use $H$ gate and CNOT gate to prepare entagled states

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.