Skip to content

Add ability to propagate constants through spans. - #2953

Merged
schweitzpgi merged 2 commits into
NVIDIA:mainfrom
schweitzpgi:ch-span.lit
May 30, 2025
Merged

schweitzpgi merged 2 commits into
NVIDIA:mainfrom
schweitzpgi:ch-span.lit

Conversation

@schweitzpgi

@schweitzpgi schweitzpgi commented May 23, 2025 •

Copy link
Copy Markdown
Collaborator

This is part 1. Part 2 will include codegen and argument conversion.

  • Updates to existing ops
  • Add reify_span op
  • Add tests
  • Add the general constant propagation pass
  • Fixes for Python
  • Fix bugs in decomposition
  • Add guard against implicit length in stdvec_init.
  • Fix bug with potentially dropping adjoint flag.
  • Fix tests. Fix bugs. Remove old comment.
  • Make sure we cache the Pauli word value for the decomposition.

@schweitzpgi schweitzpgi changed the title [core] Add ability to fold constants through spans. [core] Add ability to propagate constants through spans. May 23, 2025
github-actions Bot pushed a commit that referenced this pull request May 23, 2025
@github-actions

Copy link
Copy Markdown

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

github-actions Bot pushed a commit that referenced this pull request May 24, 2025
@github-actions

Copy link
Copy Markdown

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

github-actions Bot pushed a commit that referenced this pull request May 27, 2025
@github-actions

Copy link
Copy Markdown

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

github-actions Bot pushed a commit that referenced this pull request May 27, 2025
@github-actions

Copy link
Copy Markdown

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

github-actions Bot pushed a commit that referenced this pull request May 27, 2025
@github-actions

Copy link
Copy Markdown

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

github-actions Bot pushed a commit that referenced this pull request May 28, 2025
@github-actions

Copy link
Copy Markdown

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

github-actions Bot pushed a commit that referenced this pull request May 28, 2025
@github-actions

Copy link
Copy Markdown

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

1 similar comment
@github-actions

Copy link
Copy Markdown

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

github-actions Bot pushed a commit that referenced this pull request May 28, 2025
github-actions Bot pushed a commit that referenced this pull request May 28, 2025
@github-actions

Copy link
Copy Markdown

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

github-actions Bot pushed a commit that referenced this pull request May 28, 2025
@github-actions

Copy link
Copy Markdown

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

github-actions Bot pushed a commit that referenced this pull request May 28, 2025
@github-actions

Copy link
Copy Markdown

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

github-actions Bot pushed a commit that referenced this pull request May 28, 2025
@github-actions

Copy link
Copy Markdown

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

github-actions Bot pushed a commit that referenced this pull request May 28, 2025
@github-actions

Copy link
Copy Markdown

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

github-actions Bot pushed a commit that referenced this pull request May 29, 2025
@github-actions

Copy link
Copy Markdown

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

github-actions Bot pushed a commit that referenced this pull request May 29, 2025
@github-actions

Copy link
Copy Markdown

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

 - Updates to existing ops
 - Add reify_span op
 - Add tests
 - Add the general constant propagation pass
 - Fixes for Python
 - Fix bugs in decomposition
 - Add guard against implicit length in stdvec_init.
 - Fix bug with potentially dropping adjoint flag.
 - Fix tests.  Fix bugs.  Remove old comment.
 - Make sure we cache the Pauli word value for the decomposition.

Signed-off-by: Eric Schweitz <eschweitz@nvidia.com>
github-actions Bot pushed a commit that referenced this pull request May 29, 2025
@github-actions

Copy link
Copy Markdown

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

@schweitzpgi

Copy link
Copy Markdown
Collaborator Author

ping for a review

@schweitzpgi
schweitzpgi requested a review from sacpis May 30, 2025 15:41
Comment thread python/tests/backends/test_IonQ.py Resolved

@sacpis sacpis left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

One question. LGTM. Thanks @schweitzpgi.

@schweitzpgi
schweitzpgi merged commit 2f770d4 into NVIDIA:main May 30, 2025
github-actions Bot pushed a commit that referenced this pull request May 30, 2025
@github-actions

Copy link
Copy Markdown

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

@schweitzpgi
schweitzpgi deleted the ch-span.lit branch May 30, 2025 20:13
annagrin pushed a commit to annagrin/cuda-quantum that referenced this pull request Jun 17, 2025
- Updates to existing ops
 - Add reify_span op
 - Add tests
 - Add the general constant propagation pass
 - Fixes for Python
 - Fix bugs in decomposition
 - Add guard against implicit length in stdvec_init.
 - Fix bug with potentially dropping adjoint flag.
 - Fix tests.  Fix bugs.  Remove old comment.
 - Make sure we cache the Pauli word value for the decomposition.

Signed-off-by: Eric Schweitz <eschweitz@nvidia.com>
Signed-off-by: Anna Gringauze <agringauze@nvidia.com>
@bettinaheim bettinaheim changed the title [core] Add ability to propagate constants through spans. Add ability to propagate constants through spans. Jul 22, 2025
@bettinaheim bettinaheim added the release notes Changes need to be captured in the release notes label Jul 22, 2025
@bettinaheim bettinaheim added this to the release 0.12.0 milestone Jul 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release notes Changes need to be captured in the release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants