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

Add module documentation for ops #2730

Merged
merged 92 commits into from
Aug 9, 2022
Merged

Add module documentation for ops #2730

merged 92 commits into from
Aug 9, 2022

Commits on Jun 13, 2022

  1. Configuration menu
    Copy the full SHA
    30650a6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    333541b View commit details
    Browse the repository at this point in the history

Commits on Jun 14, 2022

  1. Allow templates to be decomposed (#2704)

    * Allow templates to be decomposed
    
    * Add TODO to clean
    
    * Update changelog
    
    * Fix pylint error
    
    Co-authored-by: Edward Jiang <edward.jiang@resident.xanadu.ai>
    eddddddy and Edward Jiang committed Jun 14, 2022
    Configuration menu
    Copy the full SHA
    b524f25 View commit details
    Browse the repository at this point in the history
  2. Deprecate qml.ExpvalCost (#2571)

    * Add UserWarning to ExpvalCost and catch said warning in all tests containing ExpvalCost
    
    * added warning in doc string
    
    * added to the changelog in 0.23.1
    
    * Update pennylane/vqe/vqe.py
    
    Co-authored-by: Josh Izaac <josh146@gmail.com>
    
    * Update pennylane/vqe/vqe.py
    
    Co-authored-by: Josh Izaac <josh146@gmail.com>
    
    * Update pennylane/vqe/vqe.py
    
    Co-authored-by: Josh Izaac <josh146@gmail.com>
    
    * Update pennylane/vqe/vqe.py
    
    Co-authored-by: Josh Izaac <josh146@gmail.com>
    
    * Update tests/optimize/test_qng.py
    
    Co-authored-by: Josh Izaac <josh146@gmail.com>
    
    * Update tests/qchem/of_tests/test_convert.py
    
    Co-authored-by: Josh Izaac <josh146@gmail.com>
    
    * Update tests/test_qaoa.py
    
    Co-authored-by: Josh Izaac <josh146@gmail.com>
    
    * Update tests/test_vqe.py
    
    Co-authored-by: Josh Izaac <josh146@gmail.com>
    
    * Update tests/transforms/test_adjoint_metric_tensor.py
    
    Co-authored-by: Josh Izaac <josh146@gmail.com>
    
    * Update tests/optimize/test_optimize_shot_adapative.py
    
    Co-authored-by: Josh Izaac <josh146@gmail.com>
    
    * overlooked to catch the new warning in test_dipole_of
    
    * switched to the right changelog
    
    Co-authored-by: Qottmann <qottmann@LT0290.ad.icfo.net>
    Co-authored-by: Josh Izaac <josh146@gmail.com>
    Co-authored-by: Romain Moyard <rmoyard@gmail.com>
    4 people committed Jun 14, 2022
    Configuration menu
    Copy the full SHA
    cb85618 View commit details
    Browse the repository at this point in the history
  3. Update JAX jit forward mode forward evaluation (#2700)

    * update logic
    
    * update logic
    
    * test case
    
    * test assertion
    
    Co-authored-by: Romain Moyard <rmoyard@gmail.com>
    antalszava and rmoyard committed Jun 14, 2022
    Configuration menu
    Copy the full SHA
    d0cb387 View commit details
    Browse the repository at this point in the history

Commits on Jun 15, 2022

  1. Improve ising gates documentation (#2711)

    * Update doc
    
    * Update
    
    * Update pennylane/ops/qubit/parametric_ops.py
    
    Co-authored-by: antalszava <antalszava@gmail.com>
    
    * Apply suggestions from code review
    
    * CHange
    
    * Typo
    
    Co-authored-by: antalszava <antalszava@gmail.com>
    rmoyard and antalszava committed Jun 15, 2022
    Configuration menu
    Copy the full SHA
    76e3fa3 View commit details
    Browse the repository at this point in the history
  2. Support classical fisher gradients when using Autograd (#2688)

    * Support classical fisher gradients when using Autograd
    
    * Update doc/releases/changelog-dev.md
    
    * added test for jax and autograd
    
    * black
    
    * added xfail tests
    
    * added comment in doc string about torch and tf not diffable
    
    Co-authored-by: Qottmann <korbinian.kottmann@gmail.com>
    Co-authored-by: Romain Moyard <rmoyard@gmail.com>
    3 people committed Jun 15, 2022
    Configuration menu
    Copy the full SHA
    8c39317 View commit details
    Browse the repository at this point in the history
  3. Support classical Fisher gradients when using TF and torch (#2710)

    * Support classical fisher gradients when using Autograd
    
    * Update doc/releases/changelog-dev.md
    
    * added test for jax and autograd
    
    * black
    
    * added xfail tests
    
    * added comment in doc string about torch and tf not diffable
    
    * Fix differentiability for tensorflow and torch
    
    * Remove warning
    
    * Fix TF not iterable error
    
    * Trigger CI
    
    * added example in doc-string about diffability
    
    * close-block becomes code-block lol
    
    * Update pennylane/qinfo/transforms.py
    
    Co-authored-by: Josh Izaac <josh146@gmail.com>
    
    * Change pytest mark
    
    Co-authored-by: Josh Izaac <josh146@gmail.com>
    Co-authored-by: Qottmann <korbinian.kottmann@gmail.com>
    Co-authored-by: Romain Moyard <rmoyard@gmail.com>
    4 people committed Jun 15, 2022
    Configuration menu
    Copy the full SHA
    34dc494 View commit details
    Browse the repository at this point in the history
  4. Remove hardware argument in qml.qinfo.quantum_fisher (#2695)

    * removed hardware argument, adapted doc string
    
    * updated tests
    
    * black
    
    * Update pennylane/qinfo/transforms.py
    
    Co-authored-by: Josh Izaac <josh146@gmail.com>
    
    * Update pennylane/qinfo/transforms.py
    
    Co-authored-by: Josh Izaac <josh146@gmail.com>
    
    * add default.qubit condition and change doc string
    
    Co-authored-by: Josh Izaac <josh146@gmail.com>
    Co-authored-by: Romain Moyard <rmoyard@gmail.com>
    3 people committed Jun 15, 2022
    Configuration menu
    Copy the full SHA
    9ba938b View commit details
    Browse the repository at this point in the history
  5. Add qinfo measurements in supported configurations docs (#2712)

    * Add documentation for new qinfo measurements
    
    * Add docs for finite diff
    
    * Fix JAX tests
    
    * Change param shift to red
    
    * Move entropy param shift tests
    
    Co-authored-by: Romain Moyard <rmoyard@gmail.com>
    eddddddy and rmoyard committed Jun 15, 2022
    Configuration menu
    Copy the full SHA
    96da6bd View commit details
    Browse the repository at this point in the history
  6. Use access_state (#2719)

    Co-authored-by: Romain Moyard <rmoyard@gmail.com>
    antalszava and rmoyard committed Jun 15, 2022
    Configuration menu
    Copy the full SHA
    e5a3ac3 View commit details
    Browse the repository at this point in the history

Commits on Jun 16, 2022

  1. Update docs v0.24 (#2724)

    * private func has no indices arg
    
    * update the circuit name in the example
    
    * reduced_dm doc update
    
    * correct Hamiltonian creation for classical Fisher
    
    * Delete exactly one space from reduced_dm docstring to correct rendering
    
    * Update outputting quantum_fisher example
    antalszava committed Jun 16, 2022
    Configuration menu
    Copy the full SHA
    c036f79 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1d45127 View commit details
    Browse the repository at this point in the history
  3. add ops module section

    albi3ro committed Jun 16, 2022
    Configuration menu
    Copy the full SHA
    ddaa9d2 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b5080a8 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    1bb564d View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    4886673 View commit details
    Browse the repository at this point in the history
  7. Wires not updated for a hamiltonian with in-place addition (#2738)

    * fixed hamiltonian wire bug
    
    * changelog
    Jaybsoni committed Jun 16, 2022
    Configuration menu
    Copy the full SHA
    40469ec View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    cf69743 View commit details
    Browse the repository at this point in the history
  9. try other way

    albi3ro committed Jun 16, 2022
    Configuration menu
    Copy the full SHA
    14737ea View commit details
    Browse the repository at this point in the history
  10. try other way

    albi3ro committed Jun 16, 2022
    Configuration menu
    Copy the full SHA
    ef91cb2 View commit details
    Browse the repository at this point in the history
  11. Cleanup docs (#2736)

    eddddddy committed Jun 16, 2022
    Configuration menu
    Copy the full SHA
    bf39ac0 View commit details
    Browse the repository at this point in the history

Commits on Jun 17, 2022

  1. Documentation changes for batch_partial (#2737)

    * Update docs
    
    * Add double backticks
    
    * Add other backtick :xd:
    
    Co-authored-by: Christina Lee <christina@xanadu.ai>
    eddddddy and albi3ro committed Jun 17, 2022
    Configuration menu
    Copy the full SHA
    a756e54 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    64e5fb6 View commit details
    Browse the repository at this point in the history
  3. Fix sphinx class/method links (#2729)

    Co-authored-by: Jay Soni <jbsoni@uwaterloo.ca>
    dime10 and Jaybsoni committed Jun 17, 2022
    Configuration menu
    Copy the full SHA
    30d59c0 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    666cae5 View commit details
    Browse the repository at this point in the history
  5. trying something else

    albi3ro committed Jun 17, 2022
    Configuration menu
    Copy the full SHA
    9dc5663 View commit details
    Browse the repository at this point in the history
  6. Fix rendering of matrix rep of ECR (#2741)

    * fix rendering of matrix rep of ECR
    
    * lint
    
    * trigger ci
    
    Co-authored-by: Romain Moyard <rmoyard@gmail.com>
    Jaybsoni and rmoyard committed Jun 17, 2022
    Configuration menu
    Copy the full SHA
    0778b2e View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    e0e001d View commit details
    Browse the repository at this point in the history
  8. Fix doc quantum information and ising (#2732)

    * Ising doc
    
    * Move entropy test
    
    * Math doc
    
    * Measurement doc
    
    * qinfo doc
    
    * Update pennylane/qinfo/transforms.py
    
    Co-authored-by: Edward Jiang <34989448+eddddddy@users.noreply.github.com>
    
    * Apply suggestions from code review
    
    Co-authored-by: Edward Jiang <34989448+eddddddy@users.noreply.github.com>
    
    * Update pennylane/math/quantum.py
    
    * Update
    
    * Fix kwargs for fidelity (#2740)
    
    * update
    
    * Typo
    
    * Update pennylane/qinfo/transforms.py
    
    Co-authored-by: Christina Lee <christina@xanadu.ai>
    
    Co-authored-by: Christina Lee <christina@xanadu.ai>
    
    * Reduced dm
    
    * Apply suggestions from code review
    
    Co-authored-by: Edward Jiang <34989448+eddddddy@users.noreply.github.com>
    
    * remove reduce dm
    
    Co-authored-by: Edward Jiang <34989448+eddddddy@users.noreply.github.com>
    Co-authored-by: Christina Lee <christina@xanadu.ai>
    3 people committed Jun 17, 2022
    Configuration menu
    Copy the full SHA
    9a07e07 View commit details
    Browse the repository at this point in the history
  9. hope

    albi3ro committed Jun 17, 2022
    Configuration menu
    Copy the full SHA
    8100968 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    86d5a56 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    f798b58 View commit details
    Browse the repository at this point in the history
  12. Add quantum info measurements to introduction doc page (#2734)

    * add quantum info measurements to introduction page
    
    * minor doc fixes
    
    * more minor fixes
    
    * revert kwargs change
    
    * Apply suggestions from code review
    
    Co-authored-by: Romain Moyard <rmoyard@gmail.com>
    albi3ro and rmoyard committed Jun 17, 2022
    Configuration menu
    Copy the full SHA
    3cafe56 View commit details
    Browse the repository at this point in the history
  13. maybe this time

    albi3ro committed Jun 17, 2022
    Configuration menu
    Copy the full SHA
    a21d846 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    c8e1dda View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    a6f69c1 View commit details
    Browse the repository at this point in the history
  16. Apply suggestions from code review

    Co-authored-by: Jay Soni <jbsoni@uwaterloo.ca>
    albi3ro and Jaybsoni committed Jun 17, 2022
    Configuration menu
    Copy the full SHA
    58e96e0 View commit details
    Browse the repository at this point in the history

Commits on Jul 26, 2022

  1. update with master

    albi3ro committed Jul 26, 2022
    Configuration menu
    Copy the full SHA
    7c9ede8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    dc7422f View commit details
    Browse the repository at this point in the history
  3. updates

    albi3ro committed Jul 26, 2022
    Configuration menu
    Copy the full SHA
    c78a42a View commit details
    Browse the repository at this point in the history
  4. merge something

    albi3ro committed Jul 26, 2022
    Configuration menu
    Copy the full SHA
    9740775 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    de50fb5 View commit details
    Browse the repository at this point in the history
  6. update docstring

    albi3ro committed Jul 26, 2022
    Configuration menu
    Copy the full SHA
    142196b View commit details
    Browse the repository at this point in the history
  7. line length problem

    albi3ro committed Jul 26, 2022
    Configuration menu
    Copy the full SHA
    d6df57f View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    29f70aa View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2022

  1. Configuration menu
    Copy the full SHA
    63bee53 View commit details
    Browse the repository at this point in the history
  2. fix controlled signature

    albi3ro committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    5a73282 View commit details
    Browse the repository at this point in the history
  3. fix s_prod

    albi3ro committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    450915b View commit details
    Browse the repository at this point in the history
  4. add control class notes

    albi3ro committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    219914f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    157aca1 View commit details
    Browse the repository at this point in the history

Commits on Aug 3, 2022

  1. Configuration menu
    Copy the full SHA
    a5988d3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c38a046 View commit details
    Browse the repository at this point in the history
  3. typo

    Jaybsoni committed Aug 3, 2022
    Configuration menu
    Copy the full SHA
    cbd69d4 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    81f6aa6 View commit details
    Browse the repository at this point in the history
  5. small fix

    Jaybsoni committed Aug 3, 2022
    Configuration menu
    Copy the full SHA
    12edb92 View commit details
    Browse the repository at this point in the history
  6. fixing docs

    Jaybsoni committed Aug 3, 2022
    Configuration menu
    Copy the full SHA
    4da67a2 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    40fbbba View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    d29d10c View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    76fd92e View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    f0902ba View commit details
    Browse the repository at this point in the history
  11. clean up

    Jaybsoni committed Aug 3, 2022
    Configuration menu
    Copy the full SHA
    9b6427e View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    419dcae View commit details
    Browse the repository at this point in the history

Commits on Aug 4, 2022

  1. fix sprod demo

    Jaybsoni committed Aug 4, 2022
    Configuration menu
    Copy the full SHA
    6981376 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    21fa5a4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    408eedf View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    929b7b1 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    ff42631 View commit details
    Browse the repository at this point in the history
  6. typo

    Jaybsoni committed Aug 4, 2022
    Configuration menu
    Copy the full SHA
    e83c454 View commit details
    Browse the repository at this point in the history
  7. added example

    Jaybsoni committed Aug 4, 2022
    Configuration menu
    Copy the full SHA
    f41a7ba View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    cb07d5f View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    be4b551 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    7ea822b View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    f098547 View commit details
    Browse the repository at this point in the history

Commits on Aug 5, 2022

  1. typo

    Jaybsoni committed Aug 5, 2022
    Configuration menu
    Copy the full SHA
    fa5983c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    06e8efc View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ff5341b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8336df7 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    a8b7826 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    a3efeb4 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    dcfc891 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    8c2ce94 View commit details
    Browse the repository at this point in the history

Commits on Aug 8, 2022

  1. Configuration menu
    Copy the full SHA
    043f7de View commit details
    Browse the repository at this point in the history
  2. Update doc/introduction/operations.rst

    Co-authored-by: antalszava <antalszava@gmail.com>
    Jaybsoni and antalszava committed Aug 8, 2022
    Configuration menu
    Copy the full SHA
    8f3cd2a View commit details
    Browse the repository at this point in the history
  3. Update pennylane/ops/op_math/controlled_class.py

    Co-authored-by: antalszava <antalszava@gmail.com>
    Jaybsoni and antalszava committed Aug 8, 2022
    Configuration menu
    Copy the full SHA
    ff476b8 View commit details
    Browse the repository at this point in the history
  4. Update pennylane/ops/op_math/sum.py

    Co-authored-by: antalszava <antalszava@gmail.com>
    Jaybsoni and antalszava committed Aug 8, 2022
    Configuration menu
    Copy the full SHA
    a989c9a View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    3ee42af View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    b590e2a View commit details
    Browse the repository at this point in the history
  7. lint

    Jaybsoni committed Aug 8, 2022
    Configuration menu
    Copy the full SHA
    34dd5af View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    287fafa View commit details
    Browse the repository at this point in the history

Commits on Aug 9, 2022

  1. Configuration menu
    Copy the full SHA
    d71f15f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9d1aa71 View commit details
    Browse the repository at this point in the history