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

Hadamard test example #1867

Merged
merged 9 commits into from
Jul 18, 2024
Merged

Hadamard test example #1867

merged 9 commits into from
Jul 18, 2024

Conversation

marwafar
Copy link
Collaborator

@marwafar marwafar commented Jun 28, 2024

I added an example for the Hadamard test. The Hadamard test is used to compute the matrix element for the problem of interest. Then, I use numpy (for large problem it can be CuPy) for diagonalizing the matrix. Hadamard test is an intermediate algorithm between VQE and QPE. In addition, it is an algorithm that is using cudaq.control() feature

Copy link

copy-pr-bot bot commented Jun 28, 2024

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@schweitzpgi
Copy link
Collaborator

schweitzpgi commented Jul 8, 2024

/ok to test

Command Bot: Processing...

@schweitzpgi schweitzpgi added this to the release 0.8.0 milestone Jul 8, 2024
@schweitzpgi
Copy link
Collaborator

schweitzpgi commented Jul 10, 2024

/ok to test

Command Bot: Processing...

Copy link
Collaborator

@sacpis sacpis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @marwafar. LGTM!

nit: You can just skim through for spaces around '=', ','

@sacpis
Copy link
Collaborator

sacpis commented Jul 17, 2024

There is one job (Create Docker Images) failing.

@bmhowe23
Copy link
Collaborator

bmhowe23 commented Jul 17, 2024

/ok to test

Command Bot: Processing...

@sacpis sacpis enabled auto-merge (squash) July 17, 2024 22:46
auto-merge was automatically disabled July 17, 2024 23:58

Pull Request is not mergeable

@bmhowe23
Copy link
Collaborator

bmhowe23 commented Jul 18, 2024

/ok to test

Command Bot: Processing...

Copy link

CUDA Quantum Docs Bot: A preview of the documentation can be found here.

github-actions bot pushed a commit that referenced this pull request Jul 18, 2024
@bmhowe23 bmhowe23 merged commit 6e23406 into NVIDIA:main Jul 18, 2024
125 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Jul 18, 2024
@bettinaheim bettinaheim added the documentation Improvements or additions to documentation label Jul 29, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants