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

Rename test_simplify_with_adjoint_not_defined in test_pow_ops.py #6388

Merged
merged 3 commits into from
Oct 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion doc/releases/changelog-dev.md
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,9 @@
* Removed ambiguity in error raised by the `PauliRot` class.
[(#6298)](https://github.com/PennyLaneAI/pennylane/pull/6298)

* Renamed an incorrectly named test in `test_pow_ops.py`.
[(#6388)](https://github.com/PennyLaneAI/pennylane/pull/6388)

<h3>Bug fixes 🐛</h3>

* `default.qutrit` now returns integer samples.
Expand Down Expand Up @@ -345,4 +348,4 @@ Erick Ochoa Lopez,
Lee J. O'Riordan,
Mudit Pandey,
Andrija Paurevic,
David Wierichs,
David Wierichs,
2 changes: 1 addition & 1 deletion tests/ops/op_math/test_pow_op.py
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,7 @@ def test_simplify_method_with_controlled_operation(self):
assert final_op.wires == simplified_op.wires
assert final_op.arithmetic_depth == simplified_op.arithmetic_depth

def test_simplify_with_adjoint_not_defined(self):
def test_simplify_with_pow_not_defined(self):
"""Test the simplify method with an operator that has not defined the op.pow method."""
op = Pow(qml.U2(1, 1, 0), z=3)
simplified_op = op.simplify()
Expand Down
Loading