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

Basic TTN simulation #41

Merged
merged 93 commits into from
Feb 2, 2024
Merged

Basic TTN simulation #41

merged 93 commits into from
Feb 2, 2024

Conversation

PabloAndresCQ
Copy link
Collaborator

@PabloAndresCQ PabloAndresCQ commented Nov 2, 2023

This PR includes:

  • A new simulation algorithm TTNxGate currently only supporting:
    • exact and approximate chi-bound simulation.
    • some basic TTN state querying functions (vdot, get_amplitude, get_statevector)
  • A new abstract class TNState that encapsulates both MPS and TTN.
  • Updated docs
  • Updated the MPI examples for the new API.
  • Updated the MPS Jupyter notebook for the new API.

TODO

  • Merge the three pending feature/ttn_* PRs into this one
  • Cleanup the bonds_from_q0_to_ancestor code and sanity checks after merging the above
  • Check the code again to look for weird artefacts created by merging the PRs
  • Run tests locally
  • Add stuff to changelog (under "Unreleased")
  • Check that the generated docs look good
  • Change the name of tnstate module to structured
  • Write a new Jupyter notebook for TTN

@PabloAndresCQ
Copy link
Collaborator Author

PabloAndresCQ commented Feb 2, 2024

We agreed that the tasks that remain (see below) will be done on a separate PR.

  • Add stuff to changelog (under "Unreleased")
  • Check that the generated docs look good
  • Write a new Jupyter notebook for TTN
  • Add a NetworkX option for _get_qubit_partition to not depend on KaHypar installation

@erinaldiq
Copy link
Collaborator

Thanks @PabloAndresCQ ! Let me know if you need help with the example and/or testing the docs 👍🏼

@PabloAndresCQ PabloAndresCQ merged commit 4317b14 into develop Feb 2, 2024
6 checks passed
@PabloAndresCQ PabloAndresCQ deleted the feature/ttn branch March 4, 2024 20:15
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