Skip to content

Finding lowest Eigenvalue for given Two-Qubit Hamiltonian

License

Notifications You must be signed in to change notification settings

pratik-ingle/VQE

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VQE

Finding lowest Eigenvalue for given Two-Qubit Hamiltonian using VQE-like circuits

Task 4

Hamiltonian (H): $$ H = \begin{vmatrix} 1 & 0 & 0 & 0\ 0 & 0 & -1 & 0\ 0 & -1 & 0 & 0\ 0 & 0 & 0 & 1 \end{vmatrix} $$

Variational quantum eigensolver

It works on variational principal which say if we have a Hamiltonian H with eigenstates and associated eigenvalues . Then the following relation holds: $$ H |\psi⟩ = \lambda|\psi⟩$$ where λ is energy value for given state |ψ⟩. for every different |ψ⟩ we can find its energy, but for only one |ψ⟩ there exist λ which is smallest of all, and we call that |ψ⟩ as groung state of the system. and VQE helps us to find groung state of any given system. to make process simpler it decompose Hamiltonians into Pauli-Matrices. Resourse

Variational quantum eigensolver single qubit(VQE)

VQE can be sum up in three parts

  1. Decomposition
  2. Circuit
    • Ansatz
    • Initializing mesurement basis
  3. Measurement

(run the code for interactive eigenvalues graphs :) Preview:https://nbviewer.jupyter.org/github/pratik-ingle/VQE/blob/master/VQE.ipynb

About

Finding lowest Eigenvalue for given Two-Qubit Hamiltonian

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published