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

Rename Statetensor to TensorNet #759

Merged
merged 9 commits into from
Jun 11, 2024
Merged

Commits on Jun 10, 2024

  1. initial commit

    multiphaseCFD committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    2ec0ea0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c25f09d View commit details
    Browse the repository at this point in the history
  3. add changelog

    multiphaseCFD committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    705a594 View commit details
    Browse the repository at this point in the history
  4. resolve comments

    multiphaseCFD committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    91fb725 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    70e5524 View commit details
    Browse the repository at this point in the history
  6. Trim down MCM tests. (#754)

    Please complete the following checklist when submitting a PR:
    
    - [x] All new features must include a unit test.
    If you've fixed a bug or added code that should be tested, add a test to
    the
          [`tests`](../tests) directory!
    
    - [x] All new functions and code must be clearly commented and
    documented.
    If you do make documentation changes, make sure that the docs build and
          render correctly by running `make docs`.
    
    - [x] Ensure that the test suite passes, by running `make test`.
    
    - [x] Add a new entry to the `.github/CHANGELOG.md` file, summarizing
    the
          change, and including a link back to the PR.
    
    - [x] Ensure that code is properly formatted by running `make format`.
    
    When all the above are checked, delete everything above the dashed
    line and fill in the pull request template.
    
    ------------------------------------------------------------------------------------------------------------
    
    **Context:**
    MCM tests are slow and dominate the CI run time. New tests have been
    incorporated as new features came in without rationalizing the test
    suite as a whole. There are redundant or overly parametrized tests as a
    results.
    
    **Description of the Change:**
    Combine a bunch of tests into `test_simple_dynamic_circuit` which tests
    all possible measurements are handle correctly by `dynamic_one_shot`
    post-processing. This needs not be parametrized over `reset` since it
    does not show up in post-processing.
    
    Combine some tests into `test_multiple_measurements_and_reset` which
    checks that multiple measurements are handle correctly and that `reset`
    is properly applied while getting to the final state.
    
    Combine all composite MCM measurements in `test_composite_mcms`.
    
    `test_counts_return_type` remains as is.
    
    **Benefits:**
    Faster CI.
    
    **Possible Drawbacks:**
    
    **Related GitHub Issues:**
    [sc-65255]
    
    ---------
    
    Co-authored-by: ringo-but-quantum <github-ringo-but-quantum@xanadu.ai>
    Co-authored-by: Amintor Dusko <87949283+AmintorDusko@users.noreply.github.com>
    3 people authored and multiphaseCFD committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    cb7026e View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    7dd9c48 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    89ae2ee View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    8b2e118 View commit details
    Browse the repository at this point in the history