Skip to content

Implementation of variational quantum eigensolver for 1 and 2 qubit systems for finding the lowest eigenvalue of a Hamiltonian

License

Notifications You must be signed in to change notification settings

Rohit23110/Variational-Quantum-Eigensolver

Repository files navigation

Variational Quantum Eigensolver - QOSF 2020

Hey! This is Rohit Pai. This is my solution to task 4 - Finding the lowest eigenvalue of the given matrix using VQE like circuits - for the QOSF Quantum Computing Mentorship Program.

The jupyter notebook named VQE_single_qubit.ipynb is a file where I practised implementing VQE on single qubit systems. The jupyter notebook named VQE_submission.ipynb is my solution to the task 4 and contains relevant explanation and documentation along with the code.

To view the repository locally, you can clone the repository using the following command in a local directory or download a zip of the repository

git clone https://github.com/Rohit23110/Variational-Quantum-Eigensolver/

To run the code, the requirements need to be installed in an virtual environment (recommended) or globally by opening the local copy of the repository in the terminal and running

pip install -U -r requirements.txt 

or executing the first cell in VQE_submission.ipynb. It is assumed that the user has python and pip installed on the local machine.

If there is any difficulty in viewing or running the code, you can view the file named VQE_submission.html or view it on nbviewer.

Note: Additional changes were made to the repository after submitting the google form and are committed to the repository 7 minutes past the deadline of midnight 23rd September IST

About

Implementation of variational quantum eigensolver for 1 and 2 qubit systems for finding the lowest eigenvalue of a Hamiltonian

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published