qiskit-community / prototype-entanglement-forging

A module for simulating chemical and physical systems using a Variational Quantum Eigensolver (VQE) enhanced by Entanglement Forging.
https://journals.aps.org/prxquantum/abstract/10.1103/PRXQuantum.3.010309
Apache License 2.0
30 stars 10 forks source link

WIP: Return the eigenstates N, S_z, S^2 #43

Closed caleb-johnson closed 2 years ago

caleb-johnson commented 2 years ago

EntanglementForgedGroundStateSolver should return auxiliary eigenstates, N, S_z, and S^2, from its solve method.

This feature is fully implemented, and running the tutorials in this branch should yield these values when printing the results object from the EntanglementForgedGroundStateSolver.solve method.

(note, you will need to install entanglement forging from within my branch with pip install . in order to run the tutorials and see the new outputs)

This PR will remain a WIP until we implement test cases ensuring these values are valid.