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

Improve performance of GST #305

Merged
merged 3 commits into from
Aug 10, 2023
Merged

Conversation

eendebakpt
Copy link
Contributor

This PR improves performance of 2-qubit GST

  • Vectorize LindbladCoefficientBlock.from_vector. Replacing the loop over i reduces the overhead for 2-qubit gst (where num_bels=15). In microbenchmarks this is a factor 6 faster
  • Replace call to _np.sum to direct call of sum(). In microbencmark this is 33% faster.

@sserita sserita merged commit 8ed0c41 into sandialabs:develop Aug 10, 2023
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.

2 participants