Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Adding tests for tensor observables * Added tests for tensor sample * Updated tests * Apply suggestions from code review * Partition device apply ops test case. * Run black * Fix pylint * Update pennylane/devices/default_qutrit.py * black and pylint * Update pennylane/devices/default_qutrit.py Co-authored-by: Olivia Di Matteo <2068515+glassnotes@users.noreply.github.com> * Update tests/ops/qutrit/test_qutrit_non_parametric_ops.py Co-authored-by: Olivia Di Matteo <2068515+glassnotes@users.noreply.github.com> * Updated test_default_qutrit.py * Updated _apply_tadd documentation * Added eigvals method for TSWAP * Reverted TSWAP eigval changes * Update tests/devices/test_default_qutrit.py Co-authored-by: Olivia Di Matteo <2068515+glassnotes@users.noreply.github.com> * Update pennylane/devices/default_qutrit.py Co-authored-by: Jay Soni <jbsoni@uwaterloo.ca> * Added TSWAP eigvals * Updated changelog-dev.md to include GellMannObs * Removed empty file * Added linting comments * Updated tests to use gate_data * Updated test parameter names to be more accurate * Remove unused file * Updated GellMannObs doc-string * Update changelog-dev.md * Update tests/devices/test_default_qutrit.py Co-authored-by: Olivia Di Matteo <2068515+glassnotes@users.noreply.github.com> * Update tests/devices/test_default_qutrit.py Co-authored-by: Olivia Di Matteo <2068515+glassnotes@users.noreply.github.com> * Update tests/devices/test_default_qutrit.py Co-authored-by: Olivia Di Matteo <2068515+glassnotes@users.noreply.github.com> * Update pennylane/ops/qutrit/observables.py Co-authored-by: Olivia Di Matteo <2068515+glassnotes@users.noreply.github.com> * Added changes to GellMann to address PR comments * Updated test * Reformatting * Trying out changes to Gell-Mann docstring * Updated Changelog * Update pennylane/ops/qutrit/observables.py Co-authored-by: Olivia Di Matteo <2068515+glassnotes@users.noreply.github.com> * Testing LaTeX align * Added non-diag tests * Added diag, complex case for tensor sample * Added example to doc string * Fixed label test * Update pennylane/ops/qutrit/observables.py Co-authored-by: Olivia Di Matteo <2068515+glassnotes@users.noreply.github.com> * Update pennylane/ops/qutrit/observables.py Co-authored-by: Olivia Di Matteo <2068515+glassnotes@users.noreply.github.com> * Update tests/devices/test_default_qutrit.py Co-authored-by: Olivia Di Matteo <2068515+glassnotes@users.noreply.github.com> * Update tests/devices/test_default_qutrit.py Co-authored-by: Olivia Di Matteo <2068515+glassnotes@users.noreply.github.com> * Added tests for controlled qutrit unitary * Fix broadcasting, finish tests for CQutritUnitary * Added TRX and created skeleton files * Adding tests for TRX * Fixed broadcasting issue in controlled qutrit unitary * Fixed broadcasting issue with ControlledQutritUnitary * Fixed broadcasting issue in TRX * Updated TRX documentation * Added tests * Added tests for TRX * Removed unused imports * Removed unused imports, linting changes * Added TRX parameter frequencies * Updated matrix dtype for TRX generator * Added test for param frequencies * Added param-shift capability for qutrit devices * Updated changelog * Update changelog * Added change for TRX generator * Updated utils.py to support higher dimensions * Added tests for updated utils.sparse_hamiltonian * Added Identity as supported obs * Updated TRX docstring * Update tests/ops/qutrit/test_qutrit_non_parametric_ops.py Co-authored-by: Jay Soni <jbsoni@uwaterloo.ca> * Update pennylane/ops/qutrit/observables.py Co-authored-by: Jay Soni <jbsoni@uwaterloo.ca> * Update pennylane/ops/qutrit/observables.py Co-authored-by: Jay Soni <jbsoni@uwaterloo.ca> * Added ControlledQutritUnitary * Update changelog-dev.md * Removed empty files * Update tests/ops/qutrit/test_qutrit_matrix_ops.py Co-authored-by: Olivia Di Matteo <2068515+glassnotes@users.noreply.github.com> * Update tests/ops/qutrit/test_qutrit_matrix_ops.py Co-authored-by: Olivia Di Matteo <2068515+glassnotes@users.noreply.github.com> * Update tests/ops/qutrit/test_qutrit_matrix_ops.py Co-authored-by: Olivia Di Matteo <2068515+glassnotes@users.noreply.github.com> * Update tests/ops/qutrit/test_qutrit_matrix_ops.py Co-authored-by: Olivia Di Matteo <2068515+glassnotes@users.noreply.github.com> * Updated to address PR * Fixed uncommented lines in test suite * Added complex values to state * Updated test_mixed_polarity_controls * Fixed QutritUnitary._controlled * Updated test_controlled for matrix ops * Updated ControlledQutritUnitary._controlled * Reformatting * Update pennylane/ops/qutrit/matrix_ops.py Co-authored-by: Olivia Di Matteo <2068515+glassnotes@users.noreply.github.com> * Updated ControlledQutritUnitary and tests * Addressing PR review * Updated sparse_hamiltonian, fixed TRX docstring * Addressing PR review * Refactoring * Fixed changelog * Update pennylane/devices/default_qutrit.py Co-authored-by: Olivia Di Matteo <2068515+glassnotes@users.noreply.github.com> * Update pennylane/ops/qutrit/parametric_ops.py Co-authored-by: Olivia Di Matteo <2068515+glassnotes@users.noreply.github.com> * Update pennylane/ops/qutrit/parametric_ops.py Co-authored-by: Olivia Di Matteo <2068515+glassnotes@users.noreply.github.com> * Update pennylane/ops/qutrit/parametric_ops.py Co-authored-by: Olivia Di Matteo <2068515+glassnotes@users.noreply.github.com> * Update pennylane/ops/qutrit/parametric_ops.py Co-authored-by: Olivia Di Matteo <2068515+glassnotes@users.noreply.github.com> * Update tests/ops/qutrit/test_qutrit_parametric_ops.py Co-authored-by: Olivia Di Matteo <2068515+glassnotes@users.noreply.github.com> * Update tests/ops/qutrit/test_qutrit_parametric_ops.py Co-authored-by: Olivia Di Matteo <2068515+glassnotes@users.noreply.github.com> * Update tests/ops/qutrit/test_qutrit_parametric_ops.py Co-authored-by: Olivia Di Matteo <2068515+glassnotes@users.noreply.github.com> * Update tests/ops/qutrit/test_qutrit_parametric_ops.py Co-authored-by: Olivia Di Matteo <2068515+glassnotes@users.noreply.github.com> * Update tests/test_qnode.py Co-authored-by: Olivia Di Matteo <2068515+glassnotes@users.noreply.github.com> * Reverted changes to sparse_hamiltonian * Fixed sparse_hamiltonian test * Updated changelog * Updated TRX documentation * Fixed generator * Adding levels to sparse_hamiltonian * Updated test sparse hamiltonian * Fixed sparse hamiltonian test * Fixed constant level kwarg * Updated changelog, added test coverage * Fixed coverage * Updated test suite * Updated files to address PR review * Updated tests to include subspace error tests * Added TRX tests for parameter shift * Update doc/releases/changelog-dev.md Co-authored-by: Olivia Di Matteo <2068515+glassnotes@users.noreply.github.com> * Update pennylane/utils.py Co-authored-by: Olivia Di Matteo <2068515+glassnotes@users.noreply.github.com> * Update utils.py to remove trailing whitespace * Updated to address PR review * Fixed class/object confusion bug * Testing changes to adjust lines changed in PR * Fixing changes * Fixing changes * Resetting problem files * Fixing changes * updated TRX docs * Fixed TRX docs * Updated TRX docs * Fixed PR too many lines changed issue * Updated subspace error tests * Tweaked THadamard docs to fix rendering * Test dos2unix * Fixed subspace testing * Merge changes * Started adding tests for grad * Updated tests to parametrize diff-method * Linted tests * Fiex tests using in-place inversion * Added diff tests * Update pennylane/ops/qutrit/parametric_ops.py Co-authored-by: Olivia Di Matteo <2068515+glassnotes@users.noreply.github.com> * Update tests/ops/qutrit/test_qutrit_parametric_ops.py Co-authored-by: Olivia Di Matteo <2068515+glassnotes@users.noreply.github.com> * Update tests/ops/qutrit/test_qutrit_parametric_ops.py Co-authored-by: Olivia Di Matteo <2068515+glassnotes@users.noreply.github.com> * Update tests/ops/qutrit/test_qutrit_parametric_ops.py Co-authored-by: Olivia Di Matteo <2068515+glassnotes@users.noreply.github.com> * Update tests/ops/qutrit/test_qutrit_parametric_ops.py Co-authored-by: Olivia Di Matteo <2068515+glassnotes@users.noreply.github.com> * Update tests/ops/qutrit/test_qutrit_parametric_ops.py Co-authored-by: Olivia Di Matteo <2068515+glassnotes@users.noreply.github.com> * Update tests/ops/qutrit/test_qutrit_parametric_ops.py Co-authored-by: Olivia Di Matteo <2068515+glassnotes@users.noreply.github.com> * Update tests/ops/qutrit/test_qutrit_parametric_ops.py Co-authored-by: Olivia Di Matteo <2068515+glassnotes@users.noreply.github.com> * Fixed formatting * Update pennylane/utils.py Co-authored-by: Olivia Di Matteo <2068515+glassnotes@users.noreply.github.com> * Updated TRY and tests * Updated utils.py * Fixed TRX generator * Updated generator TRY * Updated subspace validation for TRY * Updated subspace validation * Update pennylane/ops/qutrit/parametric_ops.py Co-authored-by: Christina Lee <chrissie.c.l@gmail.com> * Update pennylane/ops/qutrit/parametric_ops.py Co-authored-by: Matthew Silverman <ma.silv11@gmail.com> * Update pennylane/ops/qutrit/parametric_ops.py Co-authored-by: Matthew Silverman <ma.silv11@gmail.com> * Reverted `validate_subspace` changes * Updated test * Added parameter shift test * Fixed test * Update doc/releases/changelog-dev.md * Update changelog * Updated grad tests * Apply suggestions from code review Co-authored-by: Olivia Di Matteo <2068515+glassnotes@users.noreply.github.com> * Updated subspace docstring --------- Co-authored-by: Olivia Di Matteo <2068515+glassnotes@users.noreply.github.com> Co-authored-by: Olivia Di Matteo <dimatteo.olivia@protonmail.com> Co-authored-by: Jay Soni <jbsoni@uwaterloo.ca> Co-authored-by: Christina Lee <chrissie.c.l@gmail.com> Co-authored-by: Matthew Silverman <ma.silv11@gmail.com>
- Loading branch information