This repository is for sharing the codes of the VQE related experiments and simulations in https://arxiv.org/abs/1904.00102.
The code in this folder is for the experiments of running a 6-qubit VQE circuit on a 3-qubit chip (provided by IBM Quantum Experience) to estimate the ground energy of BeH2. It corresponds to the Appendix VII: VQE experiments of the paper.
The code in this folder is for the simulations of demonstrating how to reduce the CC(g) in the VQE circuit. It corresponds to the Appendix VIII: Reducing cc(g) in VQE of the paper.
The code of the VQE experiment is partly based on the codes of https://github.com/iQuHACK/QUasiCoders. Thanks for the help from Linsen Li, Kaidong Peng, Yufeng Ye, and Zhen Guo.