I'm currently evaluating a static QC, QML and QAOA approach to solving a combinational problem. My solution with the static QC and QML approach is finished, and all data has been collected.
Now, the QAOA solution for this exact issue exists even in the form of executable code, but I have an issue. The function
.get_optimal_cost() was deprecated and removed in
qiskit 0.35, as well as
optimal_params (See https://qiskit.org/documentation/release_notes.html#qiskit-0-35-0)
Of course, whilst being a lot of work, I could use past versions of qiskit to run it, but I assume there was a reason for the removal of it. In addition, I'd like to have my experiments be as up-to-date as possible. Sadly, I was unable to find the exact idea behind the removal or what its supposed replacement part is.
To confess, my basic understanding of QAOA is fairly limited, so maybe it's just me missing something.