The Variational Quantum Eigensolver — Programming on Quantum Computers — Coding with Qiskit S2E4

Qiskit · 36K views · 2020 · 22:26

Open on YouTube

Quantum computingComputability & complexity theorytutorialdated

Why Quantum Computing Stack Exchange recommends it

Quantum Computing Stack Exchange users point to it as a tutorial source for VQE, and several questions are about porting or running its notebook code on newer Qiskit versions.

Recommended by 1 people across 1 different months, 2022 to 2024.

What it is

An episode from the Qiskit channel's 'Coding with Qiskit' series that introduces the Variational Quantum Eigensolver (VQE) and walks through implementing it in Qiskit, with a companion Jupyter notebook. It is presented by the IBM Qiskit team and covers using VQE to compute molecular ground-state energies.

What people said

Recommends Himanshu · 2024-12 · Quantum Computing Stack Exchange · on “Variational quantum eigensolver tutorial”

Adding summarizing to what already said in the comments and other answers - Reviews The Variational Quantum Eigensolver: a review of methods and best practices [LINK] (This is a long review on VQA) Variational quantum state eigensolver [LINK] Variational quantum algorithms [LINK] (Comprehensive review on VQE) Noisy intermediate-scale quantum algorithms [LINK] VQE method: a short survey and recent developments [LINK] Variational quantum algorithms: fundamental concepts, applications and challenges [LINK] Wikipedia [LINK] Tutorials Variational quantum algorithms (IBM) [LINK] Variational quantum eigensolver (IBM) [LINK] More exercises based on Qiskit available in github rep [LINK] There are bun

Cites Lima · 2022-05 · Quantum Computing Stack Exchange · on “Hamiltonian & QubitMappingType cannot be imported from qiskit.chemistry.core”

I'm trying to implement the same Jupyter notebook in The Variational Quantum Eigensolver — Programming on Quantum Computers — Coding with Qiskit S2E4 [this video] ;however,I found a problem: Error: --------------------------------------------------------------------------- ImportError Traceback (most recent call last) Input In [5], in <cell line: 12>() 10 from qiskit_nature.circuit.library import UCCSD 11 from qiskit_nature.drivers.second_quantization.pyscfd import PySCFDriver ---> 12 from qiskit.chemistry.core import Hamiltonian,QubitMappingType 13 import matplotlib.pyplot as plt 14 get_ipython().run_line_magic('matplotlib', 'inline') ModuleNotFoundError: No module named 'qiskit.chemistry' I kno

Cites ScientiaNatura · 2023-12 · Quantum Computing Stack Exchange · on “Updating qiskit.chemistry.core.Hamiltonian to qiskit-nature Framework”

I recently saw a piece of code that computes molecular bond energy with respect to bond length. I am trying to update the code to the newer qiskit framework (I'm running qiskit 0.45.1 and qiskit-nature instead of the depricated qiskit.chemistry ). The complete original code is available as a video [this video] , but I have extracted the relevant parts below. In order to generate a qubit operator associated with the Hamiltonian in the process of finding the eigen energy, the older version of qiskit uses the class qiskit.chemistry.core.Hamiltonian , which does not exist anymore in qiskit_nature . I'm wondering if there is an alternative way to generate the qubitOp such that I can use NumPyMinimumEi