Skip to content

About

Variational Quantum Eigensolver Tutorial

Resources

Stars

4 stars

Watchers

1 watching

Forks

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Variational Quantum Eigensolver Tutorial

This is my submission (Task 4) for the QOSF Mentorship program.

Installation

For best results:

conda create -n vqe
conda install jupyterlab qutip matplotlib
pip install qiskit[visualization]

and an account with IBM's quantum experience. Make sure to run:

from qiskit import IBMQ
IBMQ.save_account('YOUR_TOKEN')

Usage

python vqe.py --samples 60 --n_shots 4096 --quantum/--classical/--backend name

You can choose the number of samples of Θ as well as the number of shots per quantum circuit. The default is to run locally. Use --classical to run on IBM's classical simulator, --quantum to run on ibmq_vigo. Or choose your own backend.

For more details, check out the jupyter notebook!

Binder

About

Variational Quantum Eigensolver Tutorial

Resources

Stars

4 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages