Classiq / classiq-library

The Classiq Library is the largest collection of quantum algorithms, applications. It is the best way to explore quantum computing software. We welcome community contributions to our Library 🙌
https://platform.classiq.io
MIT License
282 stars 98 forks source link

Classiq VQE #114

Closed AbdullahKazi500 closed 1 month ago

AbdullahKazi500 commented 1 month ago

The Variational Quantum Eigensolver (VQE) is a quantum algorithm used to find the ground state energy of a given quantum Hamiltonian. Here's a brief explanation of how VQE works:

VQE starts by initializing a parameterized quantum circuit known as the ansatz. The ansatz represents a trial wavefunction that is used to approximate the ground state of the Hamiltonian.

The initialized ansatz is applied to a quantum state, and the energy expectation value of the Hamiltonian is measured. This measurement is performed using quantum operations and classical post-processing.

The parameters of the ansatz are then adjusted iteratively to minimize the energy expectation value. This optimization process is typically performed using classical optimization algorithms such as COBYLA or SPSA. Fixes #34

review-notebook-app[bot] commented 1 month ago

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

AbdullahKazi500 commented 1 month ago

Hi @EdenSchirmanClassiq and @TomerGoldfriend can you review the PR It fixes #34

Nadav138 commented 1 month ago

Hello @AbdullahKazi500! Well done for delving into our platform! I see that your code is not fully fulfilling the issue's requirements. If you still trying to solve it and you’re looking for some advice, I recommend using the our Slack Community

AbdullahKazi500 commented 1 month ago

@Nadav138 closing the PR thanks

Nadav138 commented 1 month ago

We appreciate the effort @AbdullahKazi500 ! Keep it up!