Closed astralcai closed 1 week ago
Hello. You may have forgotten to update the changelog!
Please edit doc/releases/changelog-dev.md
with:
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 99.67%. Comparing base (
518bcc3
) to head (23d8f3c
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Context: Latest failures with legacy opmath: https://github.com/PennyLaneAI/pennylane/actions/runs/9557831967/job/26346373805
Description of the Change:
qml.X(0) + qml.Y(1)
withqml.sum(qml.X(0), qml.Y(1))
because theSum
here does not havedata
butHamiltonian
does (it treats the two coefficients of1
and1
as data), which causedtest_int_specs_level
to fail at verifying the number of parameters.__len__
to the legacyHamiltonian
such thatassert len(specs_list) == len(H)
intest_splitting_transforms
passes correctly.[sc-66284]