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

[feat] GeneralBraOpKet and mutable tensors in GeneralState #165

Merged
merged 29 commits into from
Oct 24, 2024

Conversation

PabloAndresCQ
Copy link
Collaborator

@PabloAndresCQ PabloAndresCQ commented Oct 22, 2024

Description

  • Refactor of GeneralState so that it uses CuTensorNet's NetworkState
  • Support for mutable tensors on GeneralState, so that parameterised circuits can be simulated without optimising the contraction path again for different parameter values.
  • Includes a new GeneralBraOpKet operator that can be used to calculate expectation values, inner products and arbitrary matrix elements.
  • Some misc improvements to the general_state module here and there.

Related issues

#150

Checklist

  • Write a notebook tutorial.
  • I have performed a self-review of my code.
  • I have commented hard-to-understand parts of my code.
  • I have made corresponding changes to the public API documentation.
  • I have added tests that prove my fix is effective or that my feature works.
  • I have updated the changelog with any user-facing changes.

@PabloAndresCQ PabloAndresCQ marked this pull request as ready for review October 24, 2024 09:59
@PabloAndresCQ PabloAndresCQ merged commit 3db8e2b into main Oct 24, 2024
9 checks passed
@PabloAndresCQ PabloAndresCQ deleted the feat/network_state branch October 24, 2024 16:12
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