Environment
- Qiskit version: 1.4.3
- Python version: 3.9
- Operating system: Windows
What is happening?
The TQATrainer does not properly add the optimized_qaoa_angles entry to its ParamsResult. It is only adding the DT.
How can we reproduce the issue?
Run the TQATrainer.
What should happen?
The optimized angles should be added to the result.
Any suggestions?
It looks like self._qaoa_angles_function is not set properly at init time.