Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Massively improve generation performance #34

Merged
merged 5 commits into from
Oct 29, 2024

Conversation

AntonReinhard
Copy link
Member

  • This changes the generation of DAGs to a much more efficient algorithm which doesn't need to iterate through all the feynman_diagrams(proc), which scales ~O(n!), and instead just generates all possible virtual particles directly, only taking ~O(2^n).
  • Fixes a proper input type for the generated functions.
  • Various compute-time performance improvements

@AntonReinhard AntonReinhard merged commit 8b77e80 into QEDjl-project:dev Oct 29, 2024
3 checks passed
@AntonReinhard AntonReinhard deleted the up-computable-dags branch October 29, 2024 15:30
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