Skip to content

Added ApplyQPE and ApplyOperationPowerCA to Canon namespace #2473

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

Merged
merged 7 commits into from
Jun 3, 2025

Conversation

DmitryVasilevsky
Copy link
Contributor

@DmitryVasilevsky DmitryVasilevsky commented May 30, 2025

  • Added ApplyQPE and ApplyOperationPowerCA to Canon namespace.
  • Added doc comments
  • Added tests

ApplyQPE along with the previously implemented ApplyQFT are useful primitives for quantum algorithms. To keep these implementations simple and avoid performance penalty no swaps are performed on arguments or results. In most cases such results can be used without problems. Note, that ApplyQFT and ApplyQPE work with little-endian registers.

@DmitryVasilevsky DmitryVasilevsky marked this pull request as ready for review May 30, 2025 20:27
Copy link

Change in memory usage detected by benchmark.

Memory Report for 0989925

Test This Branch On Main Difference
compile core + standard lib 25441766 bytes 25218942 bytes 222824 bytes

Copy link

Change in memory usage detected by benchmark.

Memory Report for 6938a5b

Test This Branch On Main Difference
compile core + standard lib 25441758 bytes 25218942 bytes 222816 bytes

Copy link

Change in memory usage detected by benchmark.

Memory Report for 84c5248

Test This Branch On Main Difference
compile core + standard lib 25441758 bytes 25218942 bytes 222816 bytes

@DmitryVasilevsky DmitryVasilevsky added this pull request to the merge queue Jun 3, 2025
Merged via the queue into main with commit c815077 Jun 3, 2025
18 checks passed
@DmitryVasilevsky DmitryVasilevsky deleted the dmitryv/phase_estimation branch June 3, 2025 08:27
@DmitryVasilevsky
Copy link
Contributor Author

Resolves #1856

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.

2 participants