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 test to verify order must only match device #419

Merged
merged 1 commit into from
Feb 21, 2023

Conversation

timmysilv
Copy link
Contributor

No description provided.

@github-actions
Copy link
Contributor

Hello. You may have forgotten to update the changelog!
Please edit .github/CHANGELOG.md with:

  • A one-to-two sentence description of the change. You may include a small working example for new features.
  • A link back to this PR.
  • Your name (or GitHub username) in the contributors section.

@codecov
Copy link

codecov bot commented Feb 21, 2023

Codecov Report

Merging #419 (d7428fa) into fix_sparse_wire_order (a161513) will not change coverage.
The diff coverage is n/a.

@@                  Coverage Diff                   @@
##           fix_sparse_wire_order     #419   +/-   ##
======================================================
  Coverage                  99.82%   99.82%           
======================================================
  Files                         49       49           
  Lines                       4517     4517           
======================================================
  Hits                        4509     4509           
  Misses                         8        8           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@mlxd mlxd merged commit 675e35e into fix_sparse_wire_order Feb 21, 2023
@mlxd mlxd deleted the test-matching-device-order branch February 21, 2023 22:20
mlxd added a commit that referenced this pull request Feb 21, 2023
* Fix wire ordering for sparseH

* Auto update version

* Add offload support to C++ for variance Observables

* Ensure Hamiltonians in Tensor products are appropriately decomposed to C++ supported ops

* Avoid tensor-product observables falling-back to _qubit_device definitions due to differences in chosen basis

* Ensure TP of Hamiltonians are validated appropriately

* Fix vector caling convention

* Fix vector caling convention again

* Ensure out-of-order probs raise error currently

* Update changelog [skip_ci]

* Trigger CI

* Update pennylane_lightning/lightning_qubit.py

Co-authored-by: Amintor Dusko <[email protected]>

* Update pennylane_lightning/lightning_qubit.py

Co-authored-by: Amintor Dusko <[email protected]>

* Update tests/test_measures.py

Co-authored-by: Amintor Dusko <[email protected]>

* Move probs forbid statement check

* Remove redundant wire test

* Ensure np arrays used for wire validation

* add test to verify order must only match device (#419)

---------

Co-authored-by: Dev version update bot <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Amintor Dusko <[email protected]>
Co-authored-by: Matthew Silverman <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants