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

Added quantum circuit probability predictor #842

Conversation

Panchadip-128
Copy link
Contributor

@Panchadip-128 Panchadip-128 commented Nov 9, 2024

Related Issues or bug

  • The Quantum Circuit Probability Predictor is a machine learning-based application designed to predict the probability of measuring a specific quantum state after applying a series of quantum gates to a qubit. Leveraging the principles of quantum mechanics and classical machine learning, this project aims to create a robust model that accurately estimates the probabilities associated with different quantum states resulting from varied input parameters.
    Fixes: #[issue number that will be closed through this PR]

Proposed Changes

  • The core functionalities include:

Quantum Circuit Simulation:
Utilizing Qiskit's advanced quantum simulation capabilities, the project creates quantum circuits that implement rotations around the X-axis based on user-defined angles.

State Probability Calculation:
The application computes the probabilities of measuring the |0⟩ and |1⟩ states for various angles, using statevector sampling to retrieve the state vector of the quantum circuit after the operations are performed.

Model Training:
A machine learning model is trained on the computed probabilities to predict outcomes for angles not seen during training, enabling the model to generalize well to new inputs.

Interactive Visualization:
The project features an intuitive interface that allows users to input angles and visualize the resulting probabilities and model predictions, enhancing the understanding of quantum state dynamics.

Educational Tool:
This project serves as an educational resource for students and enthusiasts interested in quantum computing and machine learning, demonstrating the intersection of these fields through hands-on experience.

Technologies Used:
Quantum Computing Framework: Qiskit Machine Learning: Python, NumPy, and relevant ML libraries (e.g., scikit-learn, TensorFlow, or PyTorch) Data Visualization: Matplotlib or similar libraries for plotting probabilities and predictions User Interface: Streamlit or Flask for creating a web application interface (to be deployed soon after making model more optimized)
qpm_2
qpm-1

Closes issue: #835

Additional Info

  • Anything related Issues

Screenshots

Original Updated
original screenshot **updated screenshot **

Copy link

vercel bot commented Nov 9, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
ml-nexus ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 9, 2024 10:19am

Copy link

github-actions bot commented Nov 9, 2024

👋 Thank you for opening this pull request! We appreciate your contribution to improving this project. Your PR is under review, and we'll get back to you shortly.
Don't forget to mention the issue you solved!

@UppuluriKalyani UppuluriKalyani merged commit 3d575d3 into UppuluriKalyani:main Nov 9, 2024
5 checks passed
Copy link

github-actions bot commented Nov 9, 2024

🎉🎉 Thank you for your contribution! Your PR #842 has been merged! 🎉🎉

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

Successfully merging this pull request may close these issues.

2 participants