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

PR #2683 Follow up #2705

Open
wants to merge 92 commits into
base: main
Choose a base branch
from
Open

PR #2683 Follow up #2705

wants to merge 92 commits into from

Conversation

sacpis
Copy link
Collaborator

@sacpis sacpis commented Mar 6, 2025

PR #2683 Follow up

  • Removing dynamics from the validation's script skip list
  • Cleaning up if loop with a single statement enclosed in brackets
  • Removing getters in EvolveResult and making optioanl members public, as per the spec
  • Updated validation_script to skip dynamics examples in Create Docker image job and only enabled it in publishing workflow

sacpis and others added 30 commits March 3, 2025 20:27
Signed-off-by: Sachin Pisal <[email protected]>
Signed-off-by: Sachin Pisal <[email protected]>
Signed-off-by: Sachin Pisal <[email protected]>
Signed-off-by: Sachin Pisal <[email protected]>
Signed-off-by: Sachin Pisal <[email protected]>
Co-authored-by: Bettina Heim <[email protected]>
Signed-off-by: Sachin Pisal <[email protected]>
Signed-off-by: Sachin Pisal <[email protected]>
Signed-off-by: Sachin Pisal <[email protected]>
Signed-off-by: Sachin Pisal <[email protected]>
Signed-off-by: Thien Nguyen <[email protected]>
Signed-off-by: Sachin Pisal <[email protected]>
Signed-off-by: Sachin Pisal <[email protected]>
Signed-off-by: Sachin Pisal <[email protected]>
Signed-off-by: Sachin Pisal <[email protected]>
sacpis added 2 commits March 6, 2025 17:42
Signed-off-by: Sachin Pisal <[email protected]>
Signed-off-by: Sachin Pisal <[email protected]>
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 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
@@ -24,20 +24,19 @@ class evolve_result {
// The final state after the time evolution.
state final_state;

public:
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can we match the spec here? Basically remove the intermediate / final distinction for state and expectation values and initialize everything to std::nullopt.
https://gitlab-master.nvidia.com/cuda-quantum/cudaq-spec/-/merge_requests/20/diffs

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Just a QQ. Does this mean cleaning up Python version as well?
https://github.com/NVIDIA/cuda-quantum/blob/main/python/runtime/common/py_EvolveResult.cpp#L43

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

We will have to change the Python dynamics version as well? Seems like right now evolve is kind of dependent on evolve_internal.

Can we make this change in the next release?

Copy link
Collaborator

Choose a reason for hiding this comment

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

We should be able to keep the Python API as is, juggling the binding methods. If it's more work than that, I agree, we shouldn't do it now.

This changes the public-facing api for evolve, so it's harder to change in next release.

Signed-off-by: Sachin Pisal <[email protected]>
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 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
  workflow
* Removed scalar_operator from cpp example

Signed-off-by: Sachin Pisal <[email protected]>
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
@sacpis sacpis marked this pull request as ready for review March 8, 2025 00:51
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
Copy link

github-actions bot commented Mar 9, 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 9, 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.

3 participants