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

Allow qml.cond to fallback to the Python interpreter if a compiler is not available and there are no MCMs #6016

Merged
merged 29 commits into from
Aug 2, 2024

Commits on Jul 18, 2024

  1. Allow qml.for_loop and qml.while_loop to fallback to the python i…

    …nterpreter if a compiler is not available.
    josh146 committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    08c5886 View commit details
    Browse the repository at this point in the history

Commits on Jul 21, 2024

  1. add tests

    josh146 committed Jul 21, 2024
    Configuration menu
    Copy the full SHA
    d48ba18 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    84548c2 View commit details
    Browse the repository at this point in the history
  3. black test compiler

    josh146 committed Jul 21, 2024
    Configuration menu
    Copy the full SHA
    ea87c28 View commit details
    Browse the repository at this point in the history
  4. Allow qml.cond to fallback to the Python interpreter if a compiler …

    …is not available and there are no MCMs
    josh146 committed Jul 21, 2024
    Configuration menu
    Copy the full SHA
    51ec3c0 View commit details
    Browse the repository at this point in the history
  5. linting and changelog

    josh146 committed Jul 21, 2024
    Configuration menu
    Copy the full SHA
    b8e6f9f View commit details
    Browse the repository at this point in the history
  6. changelog

    josh146 committed Jul 21, 2024
    Configuration menu
    Copy the full SHA
    93afc09 View commit details
    Browse the repository at this point in the history
  7. changelog

    josh146 committed Jul 21, 2024
    Configuration menu
    Copy the full SHA
    e6bbaf9 View commit details
    Browse the repository at this point in the history
  8. merge

    josh146 committed Jul 21, 2024
    Configuration menu
    Copy the full SHA
    8abdf7f View commit details
    Browse the repository at this point in the history
  9. linting

    josh146 committed Jul 21, 2024
    Configuration menu
    Copy the full SHA
    e7fbe71 View commit details
    Browse the repository at this point in the history
  10. coverage

    josh146 committed Jul 21, 2024
    Configuration menu
    Copy the full SHA
    3d43fe8 View commit details
    Browse the repository at this point in the history
  11. test

    josh146 committed Jul 21, 2024
    Configuration menu
    Copy the full SHA
    fd03214 View commit details
    Browse the repository at this point in the history
  12. lint

    josh146 committed Jul 21, 2024
    Configuration menu
    Copy the full SHA
    9f9acb7 View commit details
    Browse the repository at this point in the history
  13. isort

    josh146 committed Jul 21, 2024
    Configuration menu
    Copy the full SHA
    c2aee7d View commit details
    Browse the repository at this point in the history
  14. remove device test

    josh146 committed Jul 21, 2024
    Configuration menu
    Copy the full SHA
    ba83c8d View commit details
    Browse the repository at this point in the history

Commits on Jul 22, 2024

  1. Configuration menu
    Copy the full SHA
    8877f38 View commit details
    Browse the repository at this point in the history

Commits on Jul 23, 2024

  1. Apply suggestions from code review

    Co-authored-by: Christina Lee <christina@xanadu.ai>
    josh146 and albi3ro committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    f31d153 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ee25322 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    01428a5 View commit details
    Browse the repository at this point in the history
  4. suggested changes

    josh146 committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    ab489ab View commit details
    Browse the repository at this point in the history
  5. suggested changes - test

    josh146 committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    f833dd3 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    fcb2368 View commit details
    Browse the repository at this point in the history
  7. merge main

    josh146 committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    a4b7ceb View commit details
    Browse the repository at this point in the history

Commits on Jul 24, 2024

  1. merge master

    josh146 committed Jul 24, 2024
    Configuration menu
    Copy the full SHA
    2f33782 View commit details
    Browse the repository at this point in the history

Commits on Aug 1, 2024

  1. merge master

    josh146 committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    3daab62 View commit details
    Browse the repository at this point in the history
  2. Incorporate the 'captured' and 'non-captured' versions of qml.cond

    …into `CondCallable` (#6063)
    
    **Context:** For 'historical reasons', the captured version (see
    sc-66774) and the non-captured version (see sc-69157) of `qml.cond` have
    a different style, which is rather uneven.
    
    The purpose of this story is to incorporate them in such a way that the
    implementation is more similar to the one in Catalyst. Or, to make
    another example, the implementation of `qml.for_loop` in PL (see
    sc-66736 and sc-69432). The purpose is not to change/add
    functionalities, but rather to unify the code structure so that it is
    more elegant.
    
    **Description of the Change:** As above.
    
    **Benefits:** Better and cleaner structure, more similar to Catalyst.
    
    **Possible Drawbacks:** None that I can think of right now directly due
    to this PR (we just moved some code).
    
    **Related GitHub Issues:** None
    
    **Related Shortcut Stories:** [sc-70342]
    PietropaoloFrisoni committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    99a1454 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3e186af View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2024

  1. Configuration menu
    Copy the full SHA
    eea07ac View commit details
    Browse the repository at this point in the history
  2. suggested change

    josh146 committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    a659340 View commit details
    Browse the repository at this point in the history