Skip to content

Bernstein Vazirani & (Inverse) QFT #56

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

Draft
wants to merge 32 commits into
base: main
Choose a base branch
from
Draft

Conversation

LukeAndreesen
Copy link
Collaborator

@LukeAndreesen LukeAndreesen commented Aug 4, 2025

(draft) PR currently in progress. Still need:

  • testing

Implementation of Bernstein-Vazirani, Quantum Fourier Transform, Inverse Quantum Fourier Transform.

Addresses: #54 (comment)

  • Implemented load_program method for each algorithm, which takes user-defined parameters and returns a PyQASM module for the algorithm with the appropriate parameters.
  • Implemented generate_submodule method for each algorith, which takes user-defined parameters and generates a .qasm file in the user's cwd with the algorithm as a subroutine, for use in custom circuits
    • Implemented a BernVaz-specific function generate_oracle which does the same as above, but for just a string-encoded oracle, rather than entire BernVaz circiut
  • Created Demo Jupyter notebooks for (I)QFT and BernVaz

@LukeAndreesen LukeAndreesen marked this pull request as draft August 4, 2025 21:23
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