Skip to content

Adding Grover’s Algorithm to Algorithm Visualizer #777

Description

@Babitha-Banothu

Proposal: Adding Grover’s Algorithm to Algorithm Visualizer

Background:

Algorithm Visualizer currently supports classical algorithms like sorting, graph traversal, and backtracking. However, quantum algorithms like Grover’s search are becoming increasingly relevant in computer science and AI.

Why Include Grover’s Algorithm?

  • Grover’s Algorithm provides a quadratic speedup over classical search.
  • Introducing quantum computing in Algorithm Visualizer can help students understand quantum search algorithms visually.
  • It can be implemented using Q.js (JavaScript) or Qiskit (Python) and integrated into the existing visualization system.

Proposed Implementation:

  • Algorithm Simulation: Simulating Grover’s Algorithm using quantum computing principles.
  • Visualization Approach:
    • Representing qubit amplitudes using bar charts.
    • Showing quantum gates applied to a circuit.
    • Graphically illustrating the search process.

Would the maintainers be open to including quantum algorithms in Algorithm Visualizer? If so, I would be happy to submit a PR.

Looking forward to your thoughts! 🚀

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions