-
Notifications
You must be signed in to change notification settings - Fork 583
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add adjoint and inverse operator modifiers * updates * updates * imports * add testing and docs * adding tests * queuing fix * constructor func * more tests, differentiability * working on tests passing * stash * testing * tests * tests, move adjoint method to operator * create arithmetic module * fix import paths * move back to ops/arithmetic, fix more tests * tests * more tests and some documentation * tiny fixes * Update pattern matching * add lazy keyword * add some tests and revert some things [skip ci] * rename to op_math, dynamically add mixin * tidying * polishing * polishing * some minor fixes * trying to figure out in place inversion [skip ci] * trying to figure out in place inversion [skip ci] * fixing tests * fix tests, changelog * final tests, changelog * Apply suggestions from code review Co-authored-by: Maria Schuld <mariaschuld@gmail.com> * oops * trying to fix documentation * Update pennylane/templates/subroutines/hilbert_schmidt.py Co-authored-by: Maria Schuld <mariaschuld@gmail.com> * formatting, use safe_update_queue * Apply suggestions from code review Co-authored-by: Maria Schuld <mariaschuld@gmail.com> Co-authored-by: Josh Izaac <josh146@gmail.com> * _wires getter and setter, _single_op_eager keyword * oops * private _wires test * Update tests/ops/op_math/test_adjoint_transform.py Co-authored-by: Maria Schuld <mariaschuld@gmail.com> * Apply suggestions from code review Co-authored-by: Jay Soni <jbsoni@uwaterloo.ca> * respond to code review * oops * complete code coverage * black Co-authored-by: Romain Moyard <rmoyard@gmail.com> Co-authored-by: Maria Schuld <mariaschuld@gmail.com> Co-authored-by: Josh Izaac <josh146@gmail.com> Co-authored-by: Jay Soni <jbsoni@uwaterloo.ca>
- Loading branch information
1 parent
85cc93f
commit bbbe6ff
Showing
47 changed files
with
1,758 additions
and
1,190 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Copyright 2018-2022 Xanadu Quantum Technologies Inc. | ||
|
||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
|
||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
|
||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
""" | ||
This module contains classes and functions for Operator arithmetic. | ||
.. currentmodule:: pennylane.ops.op_math | ||
.. autosummary:: | ||
:toctree: api | ||
""" | ||
|
||
from .adjoint_class import Adjoint | ||
from .adjoint_constructor import adjoint |
Oops, something went wrong.