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

A few perf. improvements for state handling #1607

Merged

Conversation

1tnguyen
Copy link
Collaborator

@1tnguyen 1tnguyen commented May 3, 2024

Description

  • Make sure that we don't actually allocate state in tracer mode (e.g., in library mode to detect mid-circuit measurements).

  • Skip state vector validation by default.

  • Add some more timing traces to custatevec backend for future analysis.

- Make sure that we don't actually allocate state in tracer mode (e.g.,
  library mode to detect mid-circuit measurements).

- Skip state vector validation by default.

- Add some more timing traces to custatevec backend for future analysis.
github-actions bot pushed a commit that referenced this pull request May 3, 2024
github-actions bot pushed a commit that referenced this pull request May 3, 2024
Didn't handle both the tracer path: execution manager and nvqir.
github-actions bot pushed a commit that referenced this pull request May 3, 2024
github-actions bot pushed a commit that referenced this pull request May 3, 2024
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.

LGTM. (Small nit.)

@1tnguyen 1tnguyen enabled auto-merge (squash) May 22, 2024 00:54
@1tnguyen 1tnguyen merged commit 1cc7ce6 into NVIDIA:experimental/stateHandling May 22, 2024
112 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators May 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants