-
Notifications
You must be signed in to change notification settings - Fork 586
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
Update to class SparseHamiltonian documentation #2750
Conversation
Hello. You may have forgotten to update the changelog!
|
Codecov Report
@@ Coverage Diff @@
## v0.24.0-rc0 #2750 +/- ##
==============================================
Coverage ? 99.61%
==============================================
Files ? 251
Lines ? 20683
Branches ? 0
==============================================
Hits ? 20603
Misses ? 80
Partials ? 0 Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @AmintorDusko 💯
* Update phase decomp test (#2697) * Update interfaces.rst (#2698) * 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> * 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> * Update JAX jit forward mode forward evaluation (#2700) * update logic * update logic * test case * test assertion Co-authored-by: Romain Moyard <rmoyard@gmail.com> * 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> * 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> * 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> * 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> * 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> * Use access_state (#2719) Co-authored-by: Romain Moyard <rmoyard@gmail.com> * 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 * Move summary to start (#2727) * added weights initialization example (#2735) * Wires not updated for a hamiltonian with in-place addition (#2738) * fixed hamiltonian wire bug * changelog * Cleanup docs (#2736) * Documentation changes for `batch_partial` (#2737) * Update docs * Add double backticks * Add other backtick :xd: Co-authored-by: Christina Lee <christina@xanadu.ai> * Fix sphinx class/method links (#2729) Co-authored-by: Jay Soni <jbsoni@uwaterloo.ca> * 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> * 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> * 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> * update documentation (#2750) * Release notes `v0.24.0` (#2701) * Update * Reorganization new features * Typo * Check all PRs * Typo removed * Add 2688 * Isaac changes up to ~Improvements * Isaac full pass through release notes * Add rc * Math rendering * Add grad example * Math rendering again * Change matrices * Remove matrices * Reorganize * Math rendering and ECR description * Took out matrix definitions of IsingXY and ECR * Reference for IsingXY * vn_entropy fix names * changelog changes * Add bug fix ham wires * more * Apply suggestions from code review Co-authored-by: Romain Moyard <rmoyard@gmail.com> * NGD link * Small edits * op_math.Pow more descriptive * Correct some values * Include update * Apply suggestions from my code review (very minor grammar) * lightning qubit additions * Remove PL-lightning stuff * Move qchem PR * Removed PL lightning contributors * Remove more PL lightning contributors * Update version * Contributors full stop * Trigger CI Co-authored-by: Isaac De Vlugt <isaacdevlugt@gmail.com> Co-authored-by: Antal Szava <antalszava@gmail.com> Co-authored-by: Josh Izaac <josh146@gmail.com> Co-authored-by: Isaac De Vlugt <34751083+isaacdevlugt@users.noreply.github.com> * Update rc sync Co-authored-by: antalszava <antalszava@gmail.com> Co-authored-by: Edward Jiang <34989448+eddddddy@users.noreply.github.com> Co-authored-by: Edward Jiang <edward.jiang@resident.xanadu.ai> Co-authored-by: Korbinian Kottmann <43949391+Qottmann@users.noreply.github.com> Co-authored-by: Qottmann <qottmann@LT0290.ad.icfo.net> Co-authored-by: Josh Izaac <josh146@gmail.com> Co-authored-by: Qottmann <korbinian.kottmann@gmail.com> Co-authored-by: Jay Soni <jbsoni@uwaterloo.ca> Co-authored-by: Christina Lee <christina@xanadu.ai> Co-authored-by: David Ittah <dime10@users.noreply.github.com> Co-authored-by: Amintor Dusko <87949283+AmintorDusko@users.noreply.github.com> Co-authored-by: Isaac De Vlugt <isaacdevlugt@gmail.com> Co-authored-by: Isaac De Vlugt <34751083+isaacdevlugt@users.noreply.github.com>
Context:
The documentation for
class SparseHamiltonian
needs to be updated.Description of the Change:
Updates
class SparseHamiltonian
sparse format in documentation.Benefits:
Possible Drawbacks:
Related GitHub Issues: