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

Support Rydberg Hamiltonian in C++ Evolve API #2704

Merged
merged 8 commits into from
Mar 8, 2025

Conversation

nvidia-dobri
Copy link
Collaborator

This enables Rydberg Hamiltonian evolution through analog quantum backends, currently QuEra and Pasqal. Authentication unique to each platform is required to run the examples.

QuEra requires valid AWS credentials with Braket access:

nvq++ --target quera 'quera_basic.cpp' -o out.x && CUDAQ_LOG_LEVEL=info ./out.x
nvq++ --target quera 'quera_intro.cpp' -o out.x && CUDAQ_LOG_LEVEL=info ./out.x

Pasqal requires env variables:

  • PASQAL_PROJECT_ID from Pasqal Cloud
  • PASQAL_AUTH_TOKEN obtained with pasqal_cloud python library.
nvq++ --target pasqal 'pasqal.cpp' -o out.x && CUDAQ_LOG_LEVEL=info ./out.x

Copy link

copy-pr-bot bot commented Mar 6, 2025

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.

@khalatepradnya
Copy link
Collaborator

khalatepradnya commented Mar 6, 2025

/ok to test

Command Bot: Processing...

Copy link
Collaborator

@schweitzpgi schweitzpgi left a comment

Choose a reason for hiding this comment

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

Thanks, Dobri. LGTM with a quick skim. Just a couple of nits.

@khalatepradnya
Copy link
Collaborator

We need a follow-up docs update PR to add the new examples for Pasqal and QuEra.

Copy link

github-actions bot commented Mar 6, 2025

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

github-actions bot pushed a commit that referenced this pull request Mar 6, 2025
@khalatepradnya
Copy link
Collaborator

Manually tested examples for both Pasqal and QuEra.
(QuEra system was unavailable at the time of testing so checked payload and canceled job.)
Also tried Pasqal with nvq++ --target pasqal --pasqal-machine EMU_FREE source.cpp

Signed-off-by: Dobri Y <[email protected]>
Copy link
Collaborator

@khalatepradnya khalatepradnya left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks, @nvidia-dobri .

@sacpis
Copy link
Collaborator

sacpis commented Mar 7, 2025

/ok to test

Command Bot: Processing...

Copy link

github-actions bot commented Mar 7, 2025

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

github-actions bot pushed a commit that referenced this pull request Mar 7, 2025
Signed-off-by: Dobri Y <[email protected]>
@nvidia-dobri
Copy link
Collaborator Author

nvidia-dobri commented Mar 7, 2025

/ok to test

Command Bot: Processing...

1 similar comment
@khalatepradnya
Copy link
Collaborator

khalatepradnya commented Mar 7, 2025

/ok to test

Command Bot: Processing...

Copy link

github-actions bot commented Mar 7, 2025

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

github-actions bot pushed a commit that referenced this pull request Mar 7, 2025
@nvidia-dobri nvidia-dobri enabled auto-merge (squash) March 7, 2025 20:00
@sacpis sacpis self-requested a review March 7, 2025 20:03
Copy link
Collaborator

@bmhowe23 bmhowe23 left a comment

Choose a reason for hiding this comment

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

I just reviewed the changes in the .github directory ... they LGTM.

@nvidia-dobri
Copy link
Collaborator Author

nvidia-dobri commented Mar 7, 2025

/ok to test

Command Bot: Processing...

@nvidia-dobri nvidia-dobri disabled auto-merge March 7, 2025 22:05
Signed-off-by: Dobri Y <[email protected]>
@nvidia-dobri
Copy link
Collaborator Author

nvidia-dobri commented Mar 7, 2025

/ok to test

Command Bot: Processing...

@nvidia-dobri
Copy link
Collaborator Author

nvidia-dobri commented Mar 7, 2025

/ok to test

Command Bot: Processing...

Copy link

github-actions bot commented Mar 7, 2025

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

github-actions bot pushed a commit that referenced this pull request Mar 7, 2025
Copy link

github-actions bot commented Mar 8, 2025

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

github-actions bot pushed a commit that referenced this pull request Mar 8, 2025
@nvidia-dobri nvidia-dobri merged commit b05087c into NVIDIA:main Mar 8, 2025
213 checks passed
@nvidia-dobri nvidia-dobri deleted the evolve_rydberg branch March 8, 2025 01:18
github-actions bot pushed a commit that referenced this pull request Mar 8, 2025
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.

5 participants