C2QA / bosonic-qiskit

Extension of Qiskit to support hybrid boson-qubit simulations for the NQI C2QA effort.
BSD 2-Clause "Simplified" License
51 stars 14 forks source link

Vqe loop #38

Closed teaguetomesh closed 2 years ago

teaguetomesh commented 2 years ago

Merging after discussion with @EllaCrane this morning.

Merge includes additional functions within resource.py which implement the full VQE and provide support such as ansatz construction with a variable number of layers.

The VQE loop is currently nonfunctional -- it still requires a function (or multiple) which will take the ansatz and simulation results and measure the expected energy of the Z2 LGT.