Skip to content
/ vqe Public

Application of VQE algorithm to find the ground energy of a given hamiltonian matrix H with a specifc ansatz and decomposition.

License

Notifications You must be signed in to change notification settings

Abduhu/vqe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This code is written to complete the application procedure to QOSF program.

How to use the code?

To give a try, compile init.py script! The code consists of two main modules:

  1. decomposition.py: includes some tools to find Pauli's decomposition of 'H' matrix.
  2. vqe.py: is the main script where hybrid variational method is used to approximate the lowest eigenvalue.

Task 4

Find the lowest eigenvalue of the following matrix:

[[1, 0, 0, 0] [0, 0, -1, 0], [0, -1, 0, 0], [0, 0, 0, 1]]

using VQE-like circuits, created by yourself from scratch.

About

Application of VQE algorithm to find the ground energy of a given hamiltonian matrix H with a specifc ansatz and decomposition.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages