Skip to content

TQA Trainer has incorrect optimized_qaoa_angles #30

@eggerdj

Description

@eggerdj

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions