Skip to content

Latest commit

 

History

History
13 lines (11 loc) · 368 Bytes

README.md

File metadata and controls

13 lines (11 loc) · 368 Bytes

Simple VQE example

Usage

Write the hamiltonian information in a .txt file such as h2.txt The first line is molecule name, transformation, number of qubits

python simple_vqe.py --hamil_filename=h2.txt

Optionally add more configs:

python simple_vqe.py --hamil_filename=h2.txt --epochs=100 --steps_per_epoch=100 --n_blocks=3