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.
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.