Skip to content

Conversation

@eggerdj
Copy link
Collaborator

@eggerdj eggerdj commented Aug 15, 2025

Summary

Until now we could not change the QAOA depth at runtime when using Fourier coefficients. This PR makes a small change to allow us to implement FOURIER[∞; 0] from the Zhou et al. PRX 10, 021067 (2020).

Details and comments

The depth of the Fourier function can now be set to None. If it is set to None then the QAOA depth (previously fixed) is the same as the number of Fourier coefficients per beta or gamma. Therefore, this allows the recursion trainer to grow the QAOA depth with the number of Fourier coefficients that it is optimizing. Furthermore, since we can control the target depth of the Fourier coefficients of the recursion trainer through the train_kwargsX in train.py, we can now set the QAOA depth at runtime when using train.

Version updated

Please increment the qaoa_training_pipeline_version variable and extend the main README.md.

  • [ ]

@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant