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

Phase polynomials #57

Merged
merged 14 commits into from
Jun 21, 2024
Merged

Phase polynomials #57

merged 14 commits into from
Jun 21, 2024

Conversation

renezander90
Copy link
Contributor

Introduces methods for application of Hamiltonian functions:

app_sb_phase_polynomial -- applies Hamiltonian function that is given by a semi-Boolean polynomial acting on a list of QuantumVariables

app_phase_polynomial -- applies Hamiltonian function that is given by a polynomial acting on a list of QuantumFloats

  • Documentation under "Miscellaneous Functions"

Note: Both methods apply diagonal unitaries, therefore should be "lifted" The "lifted" decorator is commented out, otherwise documentation for the methods is not generated properly (at least when I generate it).

@renezander90 renezander90 requested review from positr0nium and removed request for positr0nium June 17, 2024 15:42
@renezander90 renezander90 self-assigned this Jun 18, 2024
@renezander90 renezander90 merged commit 0d919d7 into main Jun 21, 2024
1 of 2 checks passed
@renezander90 renezander90 deleted the phase_polynomials branch June 21, 2024 13:00
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