-
Notifications
You must be signed in to change notification settings - Fork 591
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
Speed up dispatching with autoray #4261
Commits on Jun 16, 2023
-
Remove custom registration of ndim and shape and use caching for in-p…
…lace import module import.
Configuration menu - View commit details
-
Copy full SHA for 2b608b6 - Browse repository at this point
Copy the full SHA 2b608b6View commit details -
Implement custom ndim and shape in qml.math to catch slow autograd Ar…
…rayBox operations. Disable _check_batching for set_parameters in copied operators to reduce do overheads.
Configuration menu - View commit details
-
Copy full SHA for 1cfba84 - Browse repository at this point
Copy the full SHA 1cfba84View commit details
Commits on Jul 5, 2023
-
Dispatch to old Jordan-Wigner function from new one (#4253)
* pylint errors * update changelog * tidy up * hopefully fix formatting complaints * hopefully fix formatting complaints * Update doc/releases/changelog-dev.md * formatting and codecov * leave original jordan_wigner docstring in place so qchem documentation is unchanged * Update pennylane/fermi/conversion.py * fix docstring issue with dispatch * Revert "fix docstring issue with dispatch" This reverts commit 9f3e736.
Configuration menu - View commit details
-
Copy full SHA for 679f5de - Browse repository at this point
Copy the full SHA 679f5deView commit details -
Update
qcut
to stop relying on operator hash (#4227)* Updated qcut * Updated qcut tests * Updated changelog * Makde changelog entry moree descriptive * Add the `FermiSentence` class (#4195) * create fermiword class * create fermisentence class * [skip ci] modify order * [skip ci] remove unused import * [skip ci] add deepcopy method * [skip ci] replace list with generator * [skip ci] add tests * [skip ci] add tests * [skip ci] add tests * add tests * [skip ci] run black * [skip ci] copy fermiword * [skip ci] rebase and fix conflict * [skip ci] run black * [skip ci] copy fermiword * [skip ci] add tests * add test to tests_passing_pylint * add sum mult test * [skip ci] add tests * [skip ci] add pow tests * add tests * fix pylint * add error tests * fix pylint * add TODO * modify docstrings * update changelog * update changelog * modify docstrings * fix codecov * add code review comments * add test for indices * fix codefactor * Update pennylane/fermi/fermionic.py Co-authored-by: Jay Soni <jbsoni@uwaterloo.ca> * black * update todos * update tests * Apply suggestions from code review * handle grouping in product of FermiSentences * Update pennylane/fermi/fermionic.py Co-authored-by: Jay Soni <jbsoni@uwaterloo.ca> * refactor __mul__ * Apply suggestions from code review Co-authored-by: Jay Soni <jbsoni@uwaterloo.ca> --------- Co-authored-by: lillian542 <38584660+lillian542@users.noreply.github.com> Co-authored-by: Jay Soni <jbsoni@uwaterloo.ca> Co-authored-by: lillian542 <Lillian.frederiksen@xanadu.ai> * Update Docker Plugins (#4178) * Removed sf and added quantuminspire plugins * Updated interface versions to those in CI. * Updatede interface-gpu versions * Updated Jaxlib for GPU to 0.4.10 * Update docker/interfaces/install-interface-gpu.sh Co-authored-by: Matthew Silverman <ma.silv11@gmail.com> --------- Co-authored-by: Matthew Silverman <ma.silv11@gmail.com> * Fix adjoint jacobian with grad on execution false (#4217) * Fix * Update * Add changelog * Update pennylane/interfaces/execution.py Co-authored-by: David Wierichs <david.wierichs@xanadu.ai> * Update doc/releases/changelog-dev.md Co-authored-by: David Wierichs <david.wierichs@xanadu.ai> * Black --------- Co-authored-by: David Wierichs <david.wierichs@xanadu.ai> * Trigger CI * Update doc/releases/changelog-dev.md * Updating to fix docs build * Further changes to fix doc build * Fixed KaHyPar tests * Update pennylane/operation.py * Added legacy tests * Added new eq and hash to test changes * Testing to see if anything fails with new hash * Reverted changes to op hash * Testing what updated equality breaks * Reverted op.__eq__ * Update docstrings to reflect changes to nodes * Update pennylane/transforms/qcut/processing.py Co-authored-by: Matthew Silverman <matthews@xanadu.ai> --------- Co-authored-by: soranjh <40344468+soranjh@users.noreply.github.com> Co-authored-by: lillian542 <38584660+lillian542@users.noreply.github.com> Co-authored-by: Jay Soni <jbsoni@uwaterloo.ca> Co-authored-by: lillian542 <Lillian.frederiksen@xanadu.ai> Co-authored-by: Manul Patel <77568048+manulpatel@users.noreply.github.com> Co-authored-by: Matthew Silverman <ma.silv11@gmail.com> Co-authored-by: Romain Moyard <rmoyard@gmail.com> Co-authored-by: David Wierichs <david.wierichs@xanadu.ai> Co-authored-by: Matthew Silverman <matthews@xanadu.ai>
Configuration menu - View commit details
-
Copy full SHA for 91d86ce - Browse repository at this point
Copy the full SHA 91d86ceView commit details -
More fermionic dunders (#4209)
* create fermiword class * create fermisentence class * [skip ci] modify order * [skip ci] remove unused import * [skip ci] add deepcopy method * [skip ci] replace list with generator * [skip ci] add tests * [skip ci] add tests * [skip ci] add tests * add tests * [skip ci] run black * [skip ci] copy fermiword * [skip ci] rebase and fix conflict * [skip ci] run black * [skip ci] copy fermiword * [skip ci] add tests * add test to tests_passing_pylint * add sum mult test * [skip ci] add tests * [skip ci] add pow tests * add tests * fix pylint * add error tests * fix pylint * add TODO * modify docstrings * update changelog * update changelog * modify docstrings * fix codecov * add code review comments * add test for indices * fix codefactor * multiply FermiWord and FermiSentence * add tests for fw * fs * add and test multiplying fermiword with integer or float * allow number times fermi sentence * update tests * Allow subtracting one FermiSentence from another * Allow substraction * clean up formatting and tests * Add multiplication by complex * Add more tests and reorganize * update change log * add test * black formatting * Add constants to FermiWord and FermiSentence * add tests * radd and rsub methods plus tests * missing lines for codecov * start adding support for tensors * numpy and pennylane numpy tensors plus tests for __add__ and __sub__ * add tests for multiplying by tensor * fix formatting issues post merge * add comment regarding overriding numpy dunders * Apply suggestions from code review Co-authored-by: soranjh <40344468+soranjh@users.noreply.github.com> * check len of array before adding to FeriSentence * Raise error if array with len>2 is passed to arithmetic dunders * Apply suggestions from code review Co-authored-by: Jay Soni <jbsoni@uwaterloo.ca> * Update doc/releases/changelog-dev.md * round to 10 digits --------- Co-authored-by: soranjh <soranjh@yahoo.com> Co-authored-by: soranjh <40344468+soranjh@users.noreply.github.com> Co-authored-by: Jay Soni <jbsoni@uwaterloo.ca>
Configuration menu - View commit details
-
Copy full SHA for 4ec0a01 - Browse repository at this point
Copy the full SHA 4ec0a01View commit details -
Support broadcasting in
measure
andmeasure_with_samples
(#4238)* Support broadcasting in state measurements * docs for is_state_batched * Support broadcasting in sample measurements * Apply suggestions from code review Co-authored-by: Christina Lee <christina@xanadu.ai> * black * black * Remove total_copies * fix --------- Co-authored-by: Christina Lee <christina@xanadu.ai>
Configuration menu - View commit details
-
Copy full SHA for 1fadda4 - Browse repository at this point
Copy the full SHA 1fadda4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 054c93e - Browse repository at this point
Copy the full SHA 054c93eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 58c45db - Browse repository at this point
Copy the full SHA 58c45dbView commit details -
Raise a warning when applying a pulse gradient transform to a QNode d…
…irectly (#4241) * introduce warning and tests * changelog, recommendation * docstrings * fix test * switch to raising an error instead * Apply suggestions from code review Co-authored-by: Tom Bromley <49409390+trbromley@users.noreply.github.com> * fix tests --------- Co-authored-by: Korbinian Kottmann <Korbinian.Kottmann@gmail.com> Co-authored-by: Tom Bromley <49409390+trbromley@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for b6dbf66 - Browse repository at this point
Copy the full SHA b6dbf66View commit details -
torch integration for DefaultQubit2 (#4257)
* copy-paste from autograd to torch * little fix in torch.py; get tests passing * changelog * put back the default tensor type after tests --------- Co-authored-by: Christina Lee <christina@xanadu.ai>
Configuration menu - View commit details
-
Copy full SHA for 5dd87fe - Browse repository at this point
Copy the full SHA 5dd87feView commit details -
Create projectors in any basis (#4192)
* First version of StateVectorProjector * Outer product fix * Support projector in default qubit * change inheritance * consistent diagonalizing gates * Update docstring * Proper bra-ket in label * Tests for StateVectorProjector * fix tests * Projector prototype * Explicit signature and pow method * discard hacky prototype * New hack (thanks Tymmy <3) * Exception tests * Docstring for __new__ * Label method adds matrix to cache * tests for label method * Update docstrings * Update changelog * enhanced docstring for label method * `Projector.__new__` docstring rephrased * Fix docstring Co-authored-by: Matthew Silverman <matthews@xanadu.ai> * Remove boolean kwarg * Remove `basis_representation` from changelog * Fix wire length issue * Update Projector example in docstring Co-authored-by: Matthew Silverman <matthews@xanadu.ai> * Update changelog description Co-authored-by: Tom Bromley <49409390+trbromley@users.noreply.github.com> * Update projector description Co-authored-by: Tom Bromley <49409390+trbromley@users.noreply.github.com> * change argument names to be `state` * Remove shape indication in docstring Co-authored-by: Tom Bromley <49409390+trbromley@users.noreply.github.com> * fix expval with state vector projector * Code example and remove hidden class docstring * minor docstring corrections * add expval test (it was failing) * projector bind new parameters dispatcher * Update error string Co-authored-by: Matthew Silverman <matthews@xanadu.ai> * fix projector and qubit device * extensive projector testing * remove outdated test * fix tests typo * Additional indications on input shape Co-authored-by: Mudit Pandey <mudit.pandey@xanadu.ai> * revision feedback * update copy --------- Co-authored-by: = <=> Co-authored-by: Matthew Silverman <matthews@xanadu.ai> Co-authored-by: Tom Bromley <49409390+trbromley@users.noreply.github.com> Co-authored-by: Mudit Pandey <mudit.pandey@xanadu.ai>
Configuration menu - View commit details
-
Copy full SHA for 841150f - Browse repository at this point
Copy the full SHA 841150fView commit details -
Update sporadically failing Hermitian test (#4258)
* update test * fix comments * see if this fixes mocking * Add pytest fixture Hermitian._eigs={} before each test * Update tests/ops/qubit/test_observables.py Co-authored-by: Matthew Silverman <matthews@xanadu.ai> --------- Co-authored-by: Matthew Silverman <matthews@xanadu.ai>
Configuration menu - View commit details
-
Copy full SHA for 3863cbd - Browse repository at this point
Copy the full SHA 3863cbdView commit details -
move dispatching into function to fix docstrings (#4260)
Co-authored-by: soranjh <40344468+soranjh@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 86ab67e - Browse repository at this point
Copy the full SHA 86ab67eView commit details -
Update
tapering.py
to support operator arithmetic (#4252)* save changes to tapering * add tapering update + tests * more testing * lint and tests * more tests * Apply suggestions from code review Co-authored-by: soranjh <40344468+soranjh@users.noreply.github.com> * added more tests * fix bug * lint * lint * lint * lint + codecov * more tests * Added test and warning message for coverage * Update pennylane/ops/functions/generator.py Co-authored-by: Utkarsh <utkarshazad98@gmail.com> * lint * lint and codefactor * lint + changelog * fix tests + lint * code review --------- Co-authored-by: soranjh <40344468+soranjh@users.noreply.github.com> Co-authored-by: Utkarsh <utkarshazad98@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 687b00b - Browse repository at this point
Copy the full SHA 687b00bView commit details -
Fix bug in fermi op arithmetic for np.array([1, 2])[0] (#4262)
* switch len with qml.math.size * update change log
Configuration menu - View commit details
-
Copy full SHA for ddc8ef8 - Browse repository at this point
Copy the full SHA ddc8ef8View commit details -
Deprecate the methods of
default.qubit
(#4145)* Add deprecation warning to public methods * Updated to not raise warnings in normal execution * Updated deprecation page * Added tests * Added qnode execution test * Updated tests to use recwarn * Added moer context to deprecations * Updated deprecations; removed warnings * Reverted pytest.ini * Removed unused import * Apply suggestions from code review Co-authored-by: Tom Bromley <49409390+trbromley@users.noreply.github.com> * Updated docstring * Added more warnings * Fixed name * Reformatting * Reverted changes to `operations`, `observables` * Updated where deprecation is shown * Formatting * Updated plugin doc * Updated per review --------- Co-authored-by: Tom Bromley <49409390+trbromley@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for d5a1135 - Browse repository at this point
Copy the full SHA d5a1135View commit details -
[skip ci] Add more registered dispatches to
bind_new_parameters
(#4256Configuration menu - View commit details
-
Copy full SHA for af7c355 - Browse repository at this point
Copy the full SHA af7c355View commit details -
Support broadcasting in
simulate
andpreprocess
(#4244)* Support broadcasting in state measurements * docs for is_state_batched * Support broadcasting in sample measurements * Support broadcastingin simulate and preprocess --------- Co-authored-by: Matthew Silverman <matthews@xanadu.ai>
Configuration menu - View commit details
-
Copy full SHA for 83a29db - Browse repository at this point
Copy the full SHA 83a29dbView commit details -
Allow classical shadow measurements in new device (#4162)
* Support classical shadow measurements * Add shot vector tests * Address comments * Add comment for diag_list * Apply suggestions from code review Co-authored-by: Christina Lee <christina@xanadu.ai> * Fix * Add unit tests for process_state_with_shots * Update preprocessing * Apply suggestions from code review Co-authored-by: Frederik Wilde <42576579+frederikwilde@users.noreply.github.com> * Address PR comments * set rng for test --------- Co-authored-by: Christina Lee <christina@xanadu.ai> Co-authored-by: Frederik Wilde <42576579+frederikwilde@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 82f3e71 - Browse repository at this point
Copy the full SHA 82f3e71View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7f96eae - Browse repository at this point
Copy the full SHA 7f96eaeView commit details -
support trainable Sum observables (#4251)
* support trainable Sum observables (analytic only) * just use pre-rotated state; use super with finite shots * fix tests; add test for trainable Sum coeffs * changelog * use overlapping wires to prove they work * add hacky gradient support * Revert "add hacky gradient support" This reverts commit 09009c8. * set interface=None to keep test behaviour
Configuration menu - View commit details
-
Copy full SHA for ac0833b - Browse repository at this point
Copy the full SHA ac0833bView commit details -
Integrate experimental device with the
QNode
(#4196)* integrate qnode with new device * some diff method improvements * repr methods * add tests, always pass config to device * add tests, always pass config to device * final test * pylint * autograd integration tests * pylint * Update pennylane/interfaces/execution.py Co-authored-by: Matthew Silverman <matthews@xanadu.ai> * pass shots through methods * changelog * revert set shots change * Apply suggestions from code review Co-authored-by: Matthew Silverman <matthews@xanadu.ai> * revert executionc hange, pylint: * pylint again --------- Co-authored-by: Matthew Silverman <matthews@xanadu.ai> Co-authored-by: Romain Moyard <rmoyard@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for d80b325 - Browse repository at this point
Copy the full SHA d80b325View commit details -
pre-release for v0.31.0 (#4265)
* pre-release for v0.31.0 * Update doc/releases/changelog-0.31.0.md
Configuration menu - View commit details
-
Copy full SHA for 392c7d5 - Browse repository at this point
Copy the full SHA 392c7d5View commit details -
Incrementing the version number to
v0.32.0-dev
(#4266)* pre-release for v0.31.0 * Update doc/releases/changelog-0.31.0.md * Incrementing the version number to v0.32.0-dev
Configuration menu - View commit details
-
Copy full SHA for 93ee5bb - Browse repository at this point
Copy the full SHA 93ee5bbView commit details -
Update installation.rst (#4247)
Update Python version to 3.8 Co-authored-by: Romain Moyard <rmoyard@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for b103aeb - Browse repository at this point
Copy the full SHA b103aebView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0ff6c3e - Browse repository at this point
Copy the full SHA 0ff6c3eView commit details -
Daily rc sync to master (#4273)
* Support `HardwareHamiltonian` pulses in `stoch_pulse_grad` (#4215) * single out gradient transform checks * rename stochastic pulse gradient file * unify gradient_analysis and grad_method_validation * continue restructure of analysis+validation * CV * black * modularize more * more modularizing * black * tiny [skip ci] * [skip ci] lint * remove dummy test * test fix * add test file to linting test file * test fixes, docstrings * code review * docstring gradient_analysis_and_grad_method_validation * move first fun * code review:move functions * test regex * regexs * move and promote reorder_grads * tmp * more tmp * test cases, contractions * lint * docstring * even more tmp * cleanup * black * tmp * lint * move stoch_pulse_gradient.. files back to pulse_gradient... * move stoch_pulse_gradient.. files back to pulse_gradient... * lint * rename * extend functions and tests * lint and black * changelog * improve * update example to include non-Pauli word generator * add jit test with pauli sentence * tmp * debugging, docstring, extend test * review * optimize for Pauli words * Apply suggestions from code review Co-authored-by: Romain Moyard <rmoyard@gmail.com> * test cases code review * fix parametrization * drafting * working prototype * finish merge; cleanup * changelog * comments * [skip ci] * raising an error; cleanup [skip ci] * Apply suggestions from code review Co-authored-by: Korbinian Kottmann <43949391+Qottmann@users.noreply.github.com> * change contraction idea * typo in docs * tests * remove prints * fix test * test descriptions * fix merge * format * code review; test coverage * coverage reordering * fix * trigger CI * trigger * clear caches * trigger * trigger --------- Co-authored-by: Romain Moyard <rmoyard@gmail.com> Co-authored-by: Korbinian Kottmann <43949391+Qottmann@users.noreply.github.com> Co-authored-by: Korbinian Kottmann <Korbinian.Kottmann@gmail.com> * Fix batching of derivative tapes in autograd (#4245) * exclude files from pr --------- Co-authored-by: David Wierichs <david.wierichs@xanadu.ai> Co-authored-by: Romain Moyard <rmoyard@gmail.com> Co-authored-by: Korbinian Kottmann <43949391+Qottmann@users.noreply.github.com> Co-authored-by: Korbinian Kottmann <Korbinian.Kottmann@gmail.com> Co-authored-by: Christina Lee <christina@xanadu.ai> Co-authored-by: GitHub Actions Bot <>
Configuration menu - View commit details
-
Copy full SHA for e2a1457 - Browse repository at this point
Copy the full SHA e2a1457View commit details -
Add timmysilv to RC sync reviewers (#4277)
Co-authored-by: Christina Lee <christina@xanadu.ai>
Configuration menu - View commit details
-
Copy full SHA for 63d93a4 - Browse repository at this point
Copy the full SHA 63d93a4View commit details -
Daily rc sync to master (#4281)
* Support `HardwareHamiltonian` pulses in `stoch_pulse_grad` (#4215) * single out gradient transform checks * rename stochastic pulse gradient file * unify gradient_analysis and grad_method_validation * continue restructure of analysis+validation * CV * black * modularize more * more modularizing * black * tiny [skip ci] * [skip ci] lint * remove dummy test * test fix * add test file to linting test file * test fixes, docstrings * code review * docstring gradient_analysis_and_grad_method_validation * move first fun * code review:move functions * test regex * regexs * move and promote reorder_grads * tmp * more tmp * test cases, contractions * lint * docstring * even more tmp * cleanup * black * tmp * lint * move stoch_pulse_gradient.. files back to pulse_gradient... * move stoch_pulse_gradient.. files back to pulse_gradient... * lint * rename * extend functions and tests * lint and black * changelog * improve * update example to include non-Pauli word generator * add jit test with pauli sentence * tmp * debugging, docstring, extend test * review * optimize for Pauli words * Apply suggestions from code review Co-authored-by: Romain Moyard <rmoyard@gmail.com> * test cases code review * fix parametrization * drafting * working prototype * finish merge; cleanup * changelog * comments * [skip ci] * raising an error; cleanup [skip ci] * Apply suggestions from code review Co-authored-by: Korbinian Kottmann <43949391+Qottmann@users.noreply.github.com> * change contraction idea * typo in docs * tests * remove prints * fix test * test descriptions * fix merge * format * code review; test coverage * coverage reordering * fix * trigger CI * trigger * clear caches * trigger * trigger --------- Co-authored-by: Romain Moyard <rmoyard@gmail.com> Co-authored-by: Korbinian Kottmann <43949391+Qottmann@users.noreply.github.com> Co-authored-by: Korbinian Kottmann <Korbinian.Kottmann@gmail.com> * Fix batching of derivative tapes in autograd (#4245) * Fix `expval` of `Sum` with broadcasting (#4275) * fix bug and add test * changelog addition * Various doc fixes (#4268) * exclude files from pr --------- Co-authored-by: David Wierichs <david.wierichs@xanadu.ai> Co-authored-by: Romain Moyard <rmoyard@gmail.com> Co-authored-by: Korbinian Kottmann <43949391+Qottmann@users.noreply.github.com> Co-authored-by: Korbinian Kottmann <Korbinian.Kottmann@gmail.com> Co-authored-by: Christina Lee <christina@xanadu.ai> Co-authored-by: Edward Jiang <34989448+eddddddy@users.noreply.github.com> Co-authored-by: GitHub Actions Bot <> Co-authored-by: Matthew Silverman <matthews@xanadu.ai>
Configuration menu - View commit details
-
Copy full SHA for 1565f9f - Browse repository at this point
Copy the full SHA 1565f9fView commit details -
Daily rc sync to master (#4294)
* Support `HardwareHamiltonian` pulses in `stoch_pulse_grad` (#4215) * single out gradient transform checks * rename stochastic pulse gradient file * unify gradient_analysis and grad_method_validation * continue restructure of analysis+validation * CV * black * modularize more * more modularizing * black * tiny [skip ci] * [skip ci] lint * remove dummy test * test fix * add test file to linting test file * test fixes, docstrings * code review * docstring gradient_analysis_and_grad_method_validation * move first fun * code review:move functions * test regex * regexs * move and promote reorder_grads * tmp * more tmp * test cases, contractions * lint * docstring * even more tmp * cleanup * black * tmp * lint * move stoch_pulse_gradient.. files back to pulse_gradient... * move stoch_pulse_gradient.. files back to pulse_gradient... * lint * rename * extend functions and tests * lint and black * changelog * improve * update example to include non-Pauli word generator * add jit test with pauli sentence * tmp * debugging, docstring, extend test * review * optimize for Pauli words * Apply suggestions from code review Co-authored-by: Romain Moyard <rmoyard@gmail.com> * test cases code review * fix parametrization * drafting * working prototype * finish merge; cleanup * changelog * comments * [skip ci] * raising an error; cleanup [skip ci] * Apply suggestions from code review Co-authored-by: Korbinian Kottmann <43949391+Qottmann@users.noreply.github.com> * change contraction idea * typo in docs * tests * remove prints * fix test * test descriptions * fix merge * format * code review; test coverage * coverage reordering * fix * trigger CI * trigger * clear caches * trigger * trigger --------- Co-authored-by: Romain Moyard <rmoyard@gmail.com> Co-authored-by: Korbinian Kottmann <43949391+Qottmann@users.noreply.github.com> Co-authored-by: Korbinian Kottmann <Korbinian.Kottmann@gmail.com> * Fix batching of derivative tapes in autograd (#4245) * Fix `expval` of `Sum` with broadcasting (#4275) * fix bug and add test * changelog addition * Various doc fixes (#4268) * Various things while validating changes for 0.31 (#4279) * change link in setup.py * fix qchem docs * fix qcut docs * rename string function (#4278) * Update docs (#4269) * Incrementing the version number to `v0.32.0-dev` (#4266) * pre-release for v0.31.0 * Update doc/releases/changelog-0.31.0.md * Incrementing the version number to v0.32.0-dev * Update installation.rst (#4247) Update Python version to 3.8 Co-authored-by: Romain Moyard <rmoyard@gmail.com> * docs typos * don't include updating versioning from master * don't include python requirements from master * update example output for shot_vector * Update pennylane/operation.py Co-authored-by: Matthew Silverman <matthews@xanadu.ai> * fix entirely unrelated rendering issue --------- Co-authored-by: Matthew Silverman <matthews@xanadu.ai> Co-authored-by: Catalina Albornoz <albornoz.catalina@hotmail.com> Co-authored-by: Romain Moyard <rmoyard@gmail.com> * Minor fixes for v0.31 (#4280) * Added fixes * Update pennylane/ops/qubit/matrix_ops.py Co-authored-by: Matthew Silverman <matthews@xanadu.ai> * Update pennylane/ops/qubit/matrix_ops.py --------- Co-authored-by: Matthew Silverman <matthews@xanadu.ai> * add graphviz to RTD apt packages (#4284) * Pulse gradient methods docs polish (#4282) * stoch pulse docs update * generator method docs update * small fixes / typos * Update pennylane/gradients/pulse_generator_gradient.py Co-authored-by: David Wierichs <david.wierichs@xanadu.ai> * Update pennylane/gradients/pulse_generator_gradient.py Co-authored-by: David Wierichs <david.wierichs@xanadu.ai> * Update pennylane/gradients/pulse_generator_gradient.py Co-authored-by: David Wierichs <david.wierichs@xanadu.ai> * code review * Update pennylane/gradients/pulse_gradient.py Co-authored-by: David Wierichs <david.wierichs@xanadu.ai> * code review * Update pennylane/gradients/pulse_generator_gradient.py Co-authored-by: Frederik Wilde <42576579+frederikwilde@users.noreply.github.com> * large | * add equal to --------- Co-authored-by: David Wierichs <david.wierichs@xanadu.ai> Co-authored-by: Frederik Wilde <42576579+frederikwilde@users.noreply.github.com> * 0.31 release notes (#4218) * Add categories * First pass at categorization * More categorization * More categorization * Typo * Add first half of resource estimation text * Improvements * Add custom ops resource estimation * Update wording * Improve entry * Move * Move * Move * Update * Add details about Torch and Keras * Add entry * Add contributor * Add to Keras and Torch layer section * Add saving and loading details * Add entry * Add contributor * Add contributor * Add qutrit basis state example * first round of edits * Remove * Add entry for one_qubit_decompostition * more changes * Reorder sections * fermi blurb * minor * Update * Add * Update doc/releases/changelog-dev.md Co-authored-by: Isaac De Vlugt <34751083+isaacdevlugt@users.noreply.github.com> * Update doc/releases/changelog-dev.md Co-authored-by: Isaac De Vlugt <34751083+isaacdevlugt@users.noreply.github.com> * update fermionic code examples * additions * minor * restructure sections * minor * minor * reorder fermi section * fixed fermi section * various small changes * Tweaks to fermionic * Tweaks to resource and UH sections * Improvements * Move * Update doc/releases/changelog-0.31.0.md * minior * minor * minor * minor * minor * Update * minor * use from_string for fermi ops * Add link * Update doc/releases/changelog-0.31.0.md * added links and other minor things * Update doc/releases/changelog-0.31.0.md * Update doc/releases/changelog-0.31.0.md * minor * minor * deleted extraneous notebook * Apply suggestions from code review Co-authored-by: Tom Bromley <49409390+trbromley@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> Co-authored-by: soranjh <soranjh@yahoo.com> * Allow updating dense kwarg in call of ParametrizedEvolution (#4285) * add dense kwarg to call * update changelog * update changelog better * changelog formatting --------- Co-authored-by: Korbinian Kottmann <43949391+Qottmann@users.noreply.github.com> * Remove line in code example to make docs render properly. (#4290) * Pin autograd to <= 1.5 (#4289) * pin autograd to 1.5 or less * allow autograd 1.4 as well * pin for doc build as well * Add dm_from_state_vector function to qml.math docs page. (#4291) * Fix `ShotAdaptiveOptimizer` to prevent removing shot vector axes (#4240) * Updated `ShotAdaptiveOpt` per suggestion in issue * Reformatting * Testing changes * Fixed bug * Updated min to max * Allow classical shadow measurements in new device (#4162) * Support classical shadow measurements * Add shot vector tests * Address comments * Add comment for diag_list * Apply suggestions from code review Co-authored-by: Christina Lee <christina@xanadu.ai> * Fix * Add unit tests for process_state_with_shots * Update preprocessing * Apply suggestions from code review Co-authored-by: Frederik Wilde <42576579+frederikwilde@users.noreply.github.com> * Address PR comments * set rng for test --------- Co-authored-by: Christina Lee <christina@xanadu.ai> Co-authored-by: Frederik Wilde <42576579+frederikwilde@users.noreply.github.com> * Add the `fermi` module docs (#4250) * support trainable Sum observables (#4251) * support trainable Sum observables (analytic only) * just use pre-rotated state; use super with finite shots * fix tests; add test for trainable Sum coeffs * changelog * use overlapping wires to prove they work * add hacky gradient support * Revert "add hacky gradient support" This reverts commit 09009c8. * set interface=None to keep test behaviour * Integrate experimental device with the `QNode` (#4196) * integrate qnode with new device * some diff method improvements * repr methods * add tests, always pass config to device * add tests, always pass config to device * final test * pylint * autograd integration tests * pylint * Update pennylane/interfaces/execution.py Co-authored-by: Matthew Silverman <matthews@xanadu.ai> * pass shots through methods * changelog * revert set shots change * Apply suggestions from code review Co-authored-by: Matthew Silverman <matthews@xanadu.ai> * revert executionc hange, pylint: * pylint again --------- Co-authored-by: Matthew Silverman <matthews@xanadu.ai> Co-authored-by: Romain Moyard <rmoyard@gmail.com> * pre-release for v0.31.0 (#4265) * pre-release for v0.31.0 * Update doc/releases/changelog-0.31.0.md * Support `HardwareHamiltonian` pulses in `stoch_pulse_grad` (#4215) * single out gradient transform checks * rename stochastic pulse gradient file * unify gradient_analysis and grad_method_validation * continue restructure of analysis+validation * CV * black * modularize more * more modularizing * black * tiny [skip ci] * [skip ci] lint * remove dummy test * test fix * add test file to linting test file * test fixes, docstrings * code review * docstring gradient_analysis_and_grad_method_validation * move first fun * code review:move functions * test regex * regexs * move and promote reorder_grads * tmp * more tmp * test cases, contractions * lint * docstring * even more tmp * cleanup * black * tmp * lint * move stoch_pulse_gradient.. files back to pulse_gradient... * move stoch_pulse_gradient.. files back to pulse_gradient... * lint * rename * extend functions and tests * lint and black * changelog * improve * update example to include non-Pauli word generator * add jit test with pauli sentence * tmp * debugging, docstring, extend test * review * optimize for Pauli words * Apply suggestions from code review Co-authored-by: Romain Moyard <rmoyard@gmail.com> * test cases code review * fix parametrization * drafting * working prototype * finish merge; cleanup * changelog * comments * [skip ci] * raising an error; cleanup [skip ci] * Apply suggestions from code review Co-authored-by: Korbinian Kottmann <43949391+Qottmann@users.noreply.github.com> * change contraction idea * typo in docs * tests * remove prints * fix test * test descriptions * fix merge * format * code review; test coverage * coverage reordering * fix * trigger CI * trigger * clear caches * trigger * trigger --------- Co-authored-by: Romain Moyard <rmoyard@gmail.com> Co-authored-by: Korbinian Kottmann <43949391+Qottmann@users.noreply.github.com> Co-authored-by: Korbinian Kottmann <Korbinian.Kottmann@gmail.com> * Fix batching of derivative tapes in autograd (#4245) * Fix `expval` of `Sum` with broadcasting (#4275) * fix bug and add test * changelog addition * Various doc fixes (#4268) * Various things while validating changes for 0.31 (#4279) * change link in setup.py * fix qchem docs * fix qcut docs * rename string function (#4278) * Update docs (#4269) * Incrementing the version number to `v0.32.0-dev` (#4266) * pre-release for v0.31.0 * Update doc/releases/changelog-0.31.0.md * Incrementing the version number to v0.32.0-dev * Update installation.rst (#4247) Update Python version to 3.8 Co-authored-by: Romain Moyard <rmoyard@gmail.com> * docs typos * don't include updating versioning from master * don't include python requirements from master * update example output for shot_vector * Update pennylane/operation.py Co-authored-by: Matthew Silverman <matthews@xanadu.ai> * fix entirely unrelated rendering issue --------- Co-authored-by: Matthew Silverman <matthews@xanadu.ai> Co-authored-by: Catalina Albornoz <albornoz.catalina@hotmail.com> Co-authored-by: Romain Moyard <rmoyard@gmail.com> * Minor fixes for v0.31 (#4280) * Added fixes * Update pennylane/ops/qubit/matrix_ops.py Co-authored-by: Matthew Silverman <matthews@xanadu.ai> * Update pennylane/ops/qubit/matrix_ops.py --------- Co-authored-by: Matthew Silverman <matthews@xanadu.ai> * add graphviz to RTD apt packages (#4284) * Updated test --------- Co-authored-by: Edward Jiang <34989448+eddddddy@users.noreply.github.com> Co-authored-by: Christina Lee <christina@xanadu.ai> Co-authored-by: Frederik Wilde <42576579+frederikwilde@users.noreply.github.com> Co-authored-by: soranjh <40344468+soranjh@users.noreply.github.com> Co-authored-by: Matthew Silverman <matthews@xanadu.ai> Co-authored-by: Romain Moyard <rmoyard@gmail.com> Co-authored-by: David Wierichs <david.wierichs@xanadu.ai> Co-authored-by: Korbinian Kottmann <43949391+Qottmann@users.noreply.github.com> Co-authored-by: Korbinian Kottmann <Korbinian.Kottmann@gmail.com> Co-authored-by: lillian542 <38584660+lillian542@users.noreply.github.com> Co-authored-by: Catalina Albornoz <albornoz.catalina@hotmail.com> * exclude files from pr --------- Co-authored-by: David Wierichs <david.wierichs@xanadu.ai> Co-authored-by: Romain Moyard <rmoyard@gmail.com> Co-authored-by: Korbinian Kottmann <43949391+Qottmann@users.noreply.github.com> Co-authored-by: Korbinian Kottmann <Korbinian.Kottmann@gmail.com> Co-authored-by: Christina Lee <christina@xanadu.ai> Co-authored-by: Edward Jiang <34989448+eddddddy@users.noreply.github.com> Co-authored-by: Matthew Silverman <matthews@xanadu.ai> Co-authored-by: soranjh <40344468+soranjh@users.noreply.github.com> Co-authored-by: lillian542 <38584660+lillian542@users.noreply.github.com> Co-authored-by: Catalina Albornoz <albornoz.catalina@hotmail.com> Co-authored-by: Mudit Pandey <mudit.pandey@xanadu.ai> Co-authored-by: Frederik Wilde <42576579+frederikwilde@users.noreply.github.com> Co-authored-by: Tom Bromley <49409390+trbromley@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> Co-authored-by: soranjh <soranjh@yahoo.com> Co-authored-by: GitHub Actions Bot <>
Configuration menu - View commit details
-
Copy full SHA for aef6545 - Browse repository at this point
Copy the full SHA aef6545View commit details -
raise warning if control indicators are hidden in drawer (#4295)
* raise warning if control indicators are hidden in drawer * add actionable suggestion to warning * fix import order * only check if multiple target wires * just check all control wires * Update doc/releases/changelog-dev.md
Configuration menu - View commit details
-
Copy full SHA for a612726 - Browse repository at this point
Copy the full SHA a612726View commit details -
Configuration menu - View commit details
-
Copy full SHA for f92faca - Browse repository at this point
Copy the full SHA f92facaView commit details -
merge 0.31 RC branch to master (#4305)
* Support `HardwareHamiltonian` pulses in `stoch_pulse_grad` (#4215) * single out gradient transform checks * rename stochastic pulse gradient file * unify gradient_analysis and grad_method_validation * continue restructure of analysis+validation * CV * black * modularize more * more modularizing * black * tiny [skip ci] * [skip ci] lint * remove dummy test * test fix * add test file to linting test file * test fixes, docstrings * code review * docstring gradient_analysis_and_grad_method_validation * move first fun * code review:move functions * test regex * regexs * move and promote reorder_grads * tmp * more tmp * test cases, contractions * lint * docstring * even more tmp * cleanup * black * tmp * lint * move stoch_pulse_gradient.. files back to pulse_gradient... * move stoch_pulse_gradient.. files back to pulse_gradient... * lint * rename * extend functions and tests * lint and black * changelog * improve * update example to include non-Pauli word generator * add jit test with pauli sentence * tmp * debugging, docstring, extend test * review * optimize for Pauli words * Apply suggestions from code review Co-authored-by: Romain Moyard <rmoyard@gmail.com> * test cases code review * fix parametrization * drafting * working prototype * finish merge; cleanup * changelog * comments * [skip ci] * raising an error; cleanup [skip ci] * Apply suggestions from code review Co-authored-by: Korbinian Kottmann <43949391+Qottmann@users.noreply.github.com> * change contraction idea * typo in docs * tests * remove prints * fix test * test descriptions * fix merge * format * code review; test coverage * coverage reordering * fix * trigger CI * trigger * clear caches * trigger * trigger --------- Co-authored-by: Romain Moyard <rmoyard@gmail.com> Co-authored-by: Korbinian Kottmann <43949391+Qottmann@users.noreply.github.com> Co-authored-by: Korbinian Kottmann <Korbinian.Kottmann@gmail.com> * Fix batching of derivative tapes in autograd (#4245) * Fix `expval` of `Sum` with broadcasting (#4275) * fix bug and add test * changelog addition * Various doc fixes (#4268) * Various things while validating changes for 0.31 (#4279) * change link in setup.py * fix qchem docs * fix qcut docs * rename string function (#4278) * Update docs (#4269) * Incrementing the version number to `v0.32.0-dev` (#4266) * pre-release for v0.31.0 * Update doc/releases/changelog-0.31.0.md * Incrementing the version number to v0.32.0-dev * Update installation.rst (#4247) Update Python version to 3.8 Co-authored-by: Romain Moyard <rmoyard@gmail.com> * docs typos * don't include updating versioning from master * don't include python requirements from master * update example output for shot_vector * Update pennylane/operation.py Co-authored-by: Matthew Silverman <matthews@xanadu.ai> * fix entirely unrelated rendering issue --------- Co-authored-by: Matthew Silverman <matthews@xanadu.ai> Co-authored-by: Catalina Albornoz <albornoz.catalina@hotmail.com> Co-authored-by: Romain Moyard <rmoyard@gmail.com> * Minor fixes for v0.31 (#4280) * Added fixes * Update pennylane/ops/qubit/matrix_ops.py Co-authored-by: Matthew Silverman <matthews@xanadu.ai> * Update pennylane/ops/qubit/matrix_ops.py --------- Co-authored-by: Matthew Silverman <matthews@xanadu.ai> * add graphviz to RTD apt packages (#4284) * Pulse gradient methods docs polish (#4282) * stoch pulse docs update * generator method docs update * small fixes / typos * Update pennylane/gradients/pulse_generator_gradient.py Co-authored-by: David Wierichs <david.wierichs@xanadu.ai> * Update pennylane/gradients/pulse_generator_gradient.py Co-authored-by: David Wierichs <david.wierichs@xanadu.ai> * Update pennylane/gradients/pulse_generator_gradient.py Co-authored-by: David Wierichs <david.wierichs@xanadu.ai> * code review * Update pennylane/gradients/pulse_gradient.py Co-authored-by: David Wierichs <david.wierichs@xanadu.ai> * code review * Update pennylane/gradients/pulse_generator_gradient.py Co-authored-by: Frederik Wilde <42576579+frederikwilde@users.noreply.github.com> * large | * add equal to --------- Co-authored-by: David Wierichs <david.wierichs@xanadu.ai> Co-authored-by: Frederik Wilde <42576579+frederikwilde@users.noreply.github.com> * 0.31 release notes (#4218) * Add categories * First pass at categorization * More categorization * More categorization * Typo * Add first half of resource estimation text * Improvements * Add custom ops resource estimation * Update wording * Improve entry * Move * Move * Move * Update * Add details about Torch and Keras * Add entry * Add contributor * Add to Keras and Torch layer section * Add saving and loading details * Add entry * Add contributor * Add contributor * Add qutrit basis state example * first round of edits * Remove * Add entry for one_qubit_decompostition * more changes * Reorder sections * fermi blurb * minor * Update * Add * Update doc/releases/changelog-dev.md Co-authored-by: Isaac De Vlugt <34751083+isaacdevlugt@users.noreply.github.com> * Update doc/releases/changelog-dev.md Co-authored-by: Isaac De Vlugt <34751083+isaacdevlugt@users.noreply.github.com> * update fermionic code examples * additions * minor * restructure sections * minor * minor * reorder fermi section * fixed fermi section * various small changes * Tweaks to fermionic * Tweaks to resource and UH sections * Improvements * Move * Update doc/releases/changelog-0.31.0.md * minior * minor * minor * minor * minor * Update * minor * use from_string for fermi ops * Add link * Update doc/releases/changelog-0.31.0.md * added links and other minor things * Update doc/releases/changelog-0.31.0.md * Update doc/releases/changelog-0.31.0.md * minor * minor * deleted extraneous notebook * Apply suggestions from code review Co-authored-by: Tom Bromley <49409390+trbromley@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> Co-authored-by: soranjh <soranjh@yahoo.com> * Allow updating dense kwarg in call of ParametrizedEvolution (#4285) * add dense kwarg to call * update changelog * update changelog better * changelog formatting --------- Co-authored-by: Korbinian Kottmann <43949391+Qottmann@users.noreply.github.com> * Remove line in code example to make docs render properly. (#4290) * Pin autograd to <= 1.5 (#4289) * pin autograd to 1.5 or less * allow autograd 1.4 as well * pin for doc build as well * Add dm_from_state_vector function to qml.math docs page. (#4291) * Fix `ShotAdaptiveOptimizer` to prevent removing shot vector axes (#4240) * Updated `ShotAdaptiveOpt` per suggestion in issue * Reformatting * Testing changes * Fixed bug * Updated min to max * Allow classical shadow measurements in new device (#4162) * Support classical shadow measurements * Add shot vector tests * Address comments * Add comment for diag_list * Apply suggestions from code review Co-authored-by: Christina Lee <christina@xanadu.ai> * Fix * Add unit tests for process_state_with_shots * Update preprocessing * Apply suggestions from code review Co-authored-by: Frederik Wilde <42576579+frederikwilde@users.noreply.github.com> * Address PR comments * set rng for test --------- Co-authored-by: Christina Lee <christina@xanadu.ai> Co-authored-by: Frederik Wilde <42576579+frederikwilde@users.noreply.github.com> * Add the `fermi` module docs (#4250) * support trainable Sum observables (#4251) * support trainable Sum observables (analytic only) * just use pre-rotated state; use super with finite shots * fix tests; add test for trainable Sum coeffs * changelog * use overlapping wires to prove they work * add hacky gradient support * Revert "add hacky gradient support" This reverts commit 09009c8. * set interface=None to keep test behaviour * Integrate experimental device with the `QNode` (#4196) * integrate qnode with new device * some diff method improvements * repr methods * add tests, always pass config to device * add tests, always pass config to device * final test * pylint * autograd integration tests * pylint * Update pennylane/interfaces/execution.py Co-authored-by: Matthew Silverman <matthews@xanadu.ai> * pass shots through methods * changelog * revert set shots change * Apply suggestions from code review Co-authored-by: Matthew Silverman <matthews@xanadu.ai> * revert executionc hange, pylint: * pylint again --------- Co-authored-by: Matthew Silverman <matthews@xanadu.ai> Co-authored-by: Romain Moyard <rmoyard@gmail.com> * pre-release for v0.31.0 (#4265) * pre-release for v0.31.0 * Update doc/releases/changelog-0.31.0.md * Support `HardwareHamiltonian` pulses in `stoch_pulse_grad` (#4215) * single out gradient transform checks * rename stochastic pulse gradient file * unify gradient_analysis and grad_method_validation * continue restructure of analysis+validation * CV * black * modularize more * more modularizing * black * tiny [skip ci] * [skip ci] lint * remove dummy test * test fix * add test file to linting test file * test fixes, docstrings * code review * docstring gradient_analysis_and_grad_method_validation * move first fun * code review:move functions * test regex * regexs * move and promote reorder_grads * tmp * more tmp * test cases, contractions * lint * docstring * even more tmp * cleanup * black * tmp * lint * move stoch_pulse_gradient.. files back to pulse_gradient... * move stoch_pulse_gradient.. files back to pulse_gradient... * lint * rename * extend functions and tests * lint and black * changelog * improve * update example to include non-Pauli word generator * add jit test with pauli sentence * tmp * debugging, docstring, extend test * review * optimize for Pauli words * Apply suggestions from code review Co-authored-by: Romain Moyard <rmoyard@gmail.com> * test cases code review * fix parametrization * drafting * working prototype * finish merge; cleanup * changelog * comments * [skip ci] * raising an error; cleanup [skip ci] * Apply suggestions from code review Co-authored-by: Korbinian Kottmann <43949391+Qottmann@users.noreply.github.com> * change contraction idea * typo in docs * tests * remove prints * fix test * test descriptions * fix merge * format * code review; test coverage * coverage reordering * fix * trigger CI * trigger * clear caches * trigger * trigger --------- Co-authored-by: Romain Moyard <rmoyard@gmail.com> Co-authored-by: Korbinian Kottmann <43949391+Qottmann@users.noreply.github.com> Co-authored-by: Korbinian Kottmann <Korbinian.Kottmann@gmail.com> * Fix batching of derivative tapes in autograd (#4245) * Fix `expval` of `Sum` with broadcasting (#4275) * fix bug and add test * changelog addition * Various doc fixes (#4268) * Various things while validating changes for 0.31 (#4279) * change link in setup.py * fix qchem docs * fix qcut docs * rename string function (#4278) * Update docs (#4269) * Incrementing the version number to `v0.32.0-dev` (#4266) * pre-release for v0.31.0 * Update doc/releases/changelog-0.31.0.md * Incrementing the version number to v0.32.0-dev * Update installation.rst (#4247) Update Python version to 3.8 Co-authored-by: Romain Moyard <rmoyard@gmail.com> * docs typos * don't include updating versioning from master * don't include python requirements from master * update example output for shot_vector * Update pennylane/operation.py Co-authored-by: Matthew Silverman <matthews@xanadu.ai> * fix entirely unrelated rendering issue --------- Co-authored-by: Matthew Silverman <matthews@xanadu.ai> Co-authored-by: Catalina Albornoz <albornoz.catalina@hotmail.com> Co-authored-by: Romain Moyard <rmoyard@gmail.com> * Minor fixes for v0.31 (#4280) * Added fixes * Update pennylane/ops/qubit/matrix_ops.py Co-authored-by: Matthew Silverman <matthews@xanadu.ai> * Update pennylane/ops/qubit/matrix_ops.py --------- Co-authored-by: Matthew Silverman <matthews@xanadu.ai> * add graphviz to RTD apt packages (#4284) * Updated test --------- Co-authored-by: Edward Jiang <34989448+eddddddy@users.noreply.github.com> Co-authored-by: Christina Lee <christina@xanadu.ai> Co-authored-by: Frederik Wilde <42576579+frederikwilde@users.noreply.github.com> Co-authored-by: soranjh <40344468+soranjh@users.noreply.github.com> Co-authored-by: Matthew Silverman <matthews@xanadu.ai> Co-authored-by: Romain Moyard <rmoyard@gmail.com> Co-authored-by: David Wierichs <david.wierichs@xanadu.ai> Co-authored-by: Korbinian Kottmann <43949391+Qottmann@users.noreply.github.com> Co-authored-by: Korbinian Kottmann <Korbinian.Kottmann@gmail.com> Co-authored-by: lillian542 <38584660+lillian542@users.noreply.github.com> Co-authored-by: Catalina Albornoz <albornoz.catalina@hotmail.com> * Make links to qml.eigvals and the eigvals method appear distinctly. (#4292) * Make links to qml.eigvals and the eigvals method appear distinctly in the docstring of compute_method. * Make links more informative. --------- Co-authored-by: Matthew Silverman <matthews@xanadu.ai> * Device API review (#4283) * fix example * minor docstring change in `_zyz_decomposition` * update decomposition examples * update counts & samples docstrings * Shots class link * Fix code block * Change note Co-authored-by: Edward Jiang <34989448+eddddddy@users.noreply.github.com> --------- Co-authored-by: Edward Jiang <34989448+eddddddy@users.noreply.github.com> * remove duplicate controlled operation entries (#4298) * Refer to class QNode in ml layers (#4299) * Specs dict fix (#4286) * Add copy function to SpecsDict. * black * Adjust docs to not throw warnings from deprecated specs keys. * Formatting fix. * update doc string * update doc string --------- Co-authored-by: Jay Soni <jbsoni@uwaterloo.ca> Co-authored-by: Matthew Silverman <matthews@xanadu.ai> * Fermionic ops in changelog (#4302) * bump lightning to 0.31 in setup.py, pin scipy to [1.8,1.10] (#4304) * bump lightning to 0.31 in setup.py * trigger ci * pin scipy * Revert "pin scipy" This reverts commit 492ad40. * take Soran's forward fix for scipy fac2 * revert the scipy un-pinning and forward fix - just pin scipy * remove lower bound in files that didn't have them * remove autograd lower bound --------- Co-authored-by: David Wierichs <david.wierichs@xanadu.ai> Co-authored-by: Romain Moyard <rmoyard@gmail.com> Co-authored-by: Korbinian Kottmann <43949391+Qottmann@users.noreply.github.com> Co-authored-by: Korbinian Kottmann <Korbinian.Kottmann@gmail.com> Co-authored-by: Christina Lee <christina@xanadu.ai> Co-authored-by: Edward Jiang <34989448+eddddddy@users.noreply.github.com> Co-authored-by: soranjh <40344468+soranjh@users.noreply.github.com> Co-authored-by: lillian542 <38584660+lillian542@users.noreply.github.com> Co-authored-by: Catalina Albornoz <albornoz.catalina@hotmail.com> Co-authored-by: Mudit Pandey <mudit.pandey@xanadu.ai> Co-authored-by: Frederik Wilde <42576579+frederikwilde@users.noreply.github.com> Co-authored-by: Tom Bromley <49409390+trbromley@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> Co-authored-by: soranjh <soranjh@yahoo.com> Co-authored-by: BorjaRequena <59647767+BorjaRequena@users.noreply.github.com> Co-authored-by: Jay Soni <jbsoni@uwaterloo.ca>
Configuration menu - View commit details
-
Copy full SHA for 0783c64 - Browse repository at this point
Copy the full SHA 0783c64View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2343b82 - Browse repository at this point
Copy the full SHA 2343b82View commit details -
Lint test files: Directories A-N (skipping
legacy
,interfaces
) (#……4219) * lint a few * more * more * more * more * list * more * black * extra lint * fixes * monkeypatch * Apply suggestions from code review Co-authored-by: Matthew Silverman <matthews@xanadu.ai> * lint, black * conftest * some default qubit * devices * black * fourier partial * math * black * numpy * fix * rerun CI * Apply suggestions from code review * list * devices update * formatting lint * formatting lint --------- Co-authored-by: Matthew Silverman <matthews@xanadu.ai> Co-authored-by: Tom Bromley <49409390+trbromley@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 89f0ea5 - Browse repository at this point
Copy the full SHA 89f0ea5View commit details -
add warning about applying a queued operator (#4311)
* add warning about applying a queued operator * move warning into warning block
Configuration menu - View commit details
-
Copy full SHA for 3cb5b6f - Browse repository at this point
Copy the full SHA 3cb5b6fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 98fc97b - Browse repository at this point
Copy the full SHA 98fc97bView commit details -
Configuration menu - View commit details
-
Copy full SHA for ac947e7 - Browse repository at this point
Copy the full SHA ac947e7View commit details -
Configuration menu - View commit details
-
Copy full SHA for bde3e9a - Browse repository at this point
Copy the full SHA bde3e9aView commit details
Commits on Jul 7, 2023
-
Remove custom ndim and shape for ArrayBoxes since they have a shape a…
…nd ndim attribute.
Configuration menu - View commit details
-
Copy full SHA for e99ba1a - Browse repository at this point
Copy the full SHA e99ba1aView commit details -
Add custom ArrayBox handling for demonstration purposes in ndim and s…
…hape and for performance increase in multi_dispatch.unwrap
Configuration menu - View commit details
-
Copy full SHA for 42b5b90 - Browse repository at this point
Copy the full SHA 42b5b90View commit details
Commits on Jul 10, 2023
-
Configuration menu - View commit details
-
Copy full SHA for a90969c - Browse repository at this point
Copy the full SHA a90969cView commit details
Commits on Jul 13, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 10305ef - Browse repository at this point
Copy the full SHA 10305efView commit details -
Configuration menu - View commit details
-
Copy full SHA for b219291 - Browse repository at this point
Copy the full SHA b219291View commit details
Commits on Jul 14, 2023
-
Configuration menu - View commit details
-
Copy full SHA for c0cdb2b - Browse repository at this point
Copy the full SHA c0cdb2bView commit details -
Configuration menu - View commit details
-
Copy full SHA for ed6db02 - Browse repository at this point
Copy the full SHA ed6db02View commit details -
Configuration menu - View commit details
-
Copy full SHA for 94401f4 - Browse repository at this point
Copy the full SHA 94401f4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4050321 - Browse repository at this point
Copy the full SHA 4050321View commit details
Commits on Jul 17, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 3dab5d5 - Browse repository at this point
Copy the full SHA 3dab5d5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 558f3f1 - Browse repository at this point
Copy the full SHA 558f3f1View commit details -
Configuration menu - View commit details
-
Copy full SHA for cc5ca36 - Browse repository at this point
Copy the full SHA cc5ca36View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3a1fca2 - Browse repository at this point
Copy the full SHA 3a1fca2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4f04560 - Browse repository at this point
Copy the full SHA 4f04560View commit details -
Configuration menu - View commit details
-
Copy full SHA for 67fe086 - Browse repository at this point
Copy the full SHA 67fe086View commit details -
Configuration menu - View commit details
-
Copy full SHA for acc5c76 - Browse repository at this point
Copy the full SHA acc5c76View commit details
Commits on Jul 18, 2023
-
Configuration menu - View commit details
-
Copy full SHA for b8cea89 - Browse repository at this point
Copy the full SHA b8cea89View commit details
Commits on Jul 23, 2023
-
Configuration menu - View commit details
-
Copy full SHA for eeccf62 - Browse repository at this point
Copy the full SHA eeccf62View commit details