0% found this document useful (0 votes)
28 views15 pages

Variational Quantum Eigensolver Guide

Quantum computing

Uploaded by

an23ms268
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
28 views15 pages

Variational Quantum Eigensolver Guide

Quantum computing

Uploaded by

an23ms268
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Qiskit Fall Fest 2024

Variational Quantum
Eigensolver
- [Link]
Why this Algorithm?

● Helps us to calculate the Ground state of given


Hamiltonian
● Its a hybrid algorithm,thereby can be
implemented with the current noise-prone
Quantum computers

Qiskit Fall Fest 2024 2


STEP-1: Defining our ANSATZ
● Reference State : We begin our Quantum Circuit with a initial state ,
which we will parameterize and will arrive at our Ansatz state

Qiskit Fall Fest 2024 3


Qiskit Fall Fest 2024 4
● Parametrizing our Quantum Circuit : We need to parametrize
our Quantum Circuit to find be able to search over our vector
space and find the ideal parameters which would minimize our
cost function

Qiskit Fall Fest 2024 5


Qiskit Fall Fest 2024 6
● Speed: By reducing the search space, the algorithm can run
faster.

● Accuracy: However, reducing the space could risk excluding the


actual solution to the problem, leading to suboptimal solutions.

● Noise: Deeper circuits are affected by noise, so we need to


experiment with our ansatz's connectivity, gates, and gate fidelity

Qiskit Fall Fest 2024 7


Qiskit Fall Fest 2024 8
STEP-2: Defining our cost function

● The problem we need to solve should be mapped to a function, in


such a way that if function is minimized ,it gives us the solution of
the problem we are looking for

● In our case we define our cost function using the variational


principle of Quantum mechanics

Qiskit Fall Fest 2024 9


● The cost function in our case that should minimized is the
expectation value with respect to the hamiltonian , i.e

C(θ)=⟨ψ(θ)∣H∣ψ(θ)⟩ >= ⟨ψ(G.S)∣H∣ψ(G.S)⟩

● The set of values of the parameters which minimizes the cost


function is the solution of our problem

Qiskit Fall Fest 2024 10


STEP-3: Optimizing our cost function

● The Quantum Computer evaluates the expectation efficiently and


send the calculated value to classical computer

● Classical computers optimize the function using a classical


optimizers (the ones provided by scipy in python in our case)
which updates the value of the parameters and sends it back to
the Quantum Computer

● The QC again calculates the expectation and sends it back to the


Classical computer and this process continues till the optimizer
finds a minima

Qiskit Fall Fest 2024 11


How does the classical computer calculates the
minima ?

● The most traditional one would be to minimize the function using


GRADIENT DESCENT

Qiskit Fall Fest 2024 12


Qiskit Fall Fest 2024 13
Once we find the optimal set of parameters for
which our cost function is minimized we have
arrived at our solution and optimizer converges
to that value

Qiskit Fall Fest 2024 14


Qiskit Fall Fest 2024

The Algorithm is complete and we have the parameter values


which if fed into the Quantum Circuit gives us the GROUND
STATE !!!!

You might also like