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

Remove unneeded fields causing warnings #20

Closed caleb-johnson closed 2 years ago

caleb-johnson commented 2 years ago

Two class fields in ClassicalEnergies, nuc_energy and nao_nr, are never used in the software and never returned in the results due to their inability to be serialized. Since they serve no purpose and are causing warnings, we should remove them until they can be properly implemented.

Additionally, I have added some logic to properly set the rep_delay class field in entanglement_forging_config based on the backend being used. This will suppress another unnecessary warning.