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

Operator Arithmetic Prod wrapper class implementation #2625

Merged
merged 71 commits into from
Aug 3, 2022
Merged

Conversation

Jaybsoni
Copy link
Contributor

Context:
Adding the Prod wrapper class to represent tensor and matrix product of operators

albi3ro and others added 30 commits April 1, 2022 15:00
@Jaybsoni Jaybsoni changed the title [WIP] Operator Arithmetic Prod wrapper class implementation Operator Arithmetic Prod wrapper class implementation Aug 2, 2022
Copy link
Contributor

@AlbertMitjans AlbertMitjans left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All good! Just one comment: we may want to use deepcopy for copying data.

pennylane/measurements.py Show resolved Hide resolved
pennylane/operation.py Outdated Show resolved Hide resolved
pennylane/operation.py Outdated Show resolved Hide resolved
Co-authored-by: Christina Lee <christina@xanadu.ai>
Copy link
Contributor

@albi3ro albi3ro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent work! 🎉

Co-authored-by: Christina Lee <christina@xanadu.ai>
@Jaybsoni Jaybsoni merged commit 14eeb29 into master Aug 3, 2022
@Jaybsoni Jaybsoni deleted the prod_wrapper branch August 3, 2022 20:19
@Jaybsoni
Copy link
Contributor Author

Jaybsoni commented Aug 3, 2022

[sc-20180]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
op-arithmetic PR's involved in introducing operator arithmetic
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants