Skip to content

Deprecate exp_val_z/expectation_z in favor of expectation - #791

Merged
anthony-santana merged 5 commits into
NVIDIA:mainfrom
anthony-santana:deprecate_expz
Oct 18, 2023
Merged

anthony-santana merged 5 commits into
NVIDIA:mainfrom
anthony-santana:deprecate_expz

Conversation

@anthony-santana

@anthony-santana anthony-santana commented Oct 18, 2023 •

Copy link
Copy Markdown
Collaborator

Description

Closes #384

  • Adds deprecation notices to the C++ source definitions of exp_val_z

  • New expectation functions added to C++ in replacement of exp_val_z

  • C++ tests/docs/examples updated to use the preferred "expectation"

  • Adds deprecation notices to the Python source definitions of expectation_z

  • *New expectation functions added to python in replacement of expectation_z

  • Python tests/docs/examples updated to use the preferred "expectation"

Signed-off-by: A.M. Santana <anthonys@nvidia.com>
Signed-off-by: A.M. Santana <anthonys@nvidia.com>
@copy-pr-bot

copy-pr-bot Bot commented Oct 18, 2023

Copy link
Copy Markdown

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.

Signed-off-by: A.M. Santana <anthonys@nvidia.com>
@anthony-santana anthony-santana changed the title Deprecate exp_val_z/expectation_z for expectation Deprecate exp_val_z/expectation_z in favor of expectation Oct 18, 2023
@anthony-santana
anthony-santana marked this pull request as ready for review October 18, 2023 19:54
@anthony-santana

anthony-santana commented Oct 18, 2023 •

Copy link
Copy Markdown
Collaborator Author

/ok to test

Command Bot: Processing...

@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 Oct 18, 2023
@anthony-santana
anthony-santana enabled auto-merge (squash) October 18, 2023 20:47
Comment thread runtime/common/MeasureCounts.cpp Resolved
Signed-off-by: A.M. Santana <anthonys@nvidia.com>
@anthony-santana

anthony-santana commented Oct 18, 2023 •

Copy link
Copy Markdown
Collaborator Author

/ok to test

Command Bot: Processing...

@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 Oct 18, 2023
Signed-off-by: A.M. Santana <anthonys@nvidia.com>
@anthony-santana

anthony-santana commented Oct 18, 2023 •

Copy link
Copy Markdown
Collaborator Author

/ok to test

Command Bot: Processing...

@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 Oct 18, 2023
@anthony-santana
anthony-santana merged commit dcd2b68 into NVIDIA:main Oct 18, 2023
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 18, 2023
@anthony-santana
anthony-santana deleted the deprecate_expz branch October 26, 2023 15:27
@bettinaheim bettinaheim added this to the release 0.5.0 milestone Nov 15, 2023
@bettinaheim bettinaheim added the release notes Changes need to be captured in the release notes label Nov 15, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

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.

CUDA Quantum functions for expectation value computation

3 participants