Closed EmilianoG-byte 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.66%. Comparing base (
96a3d56
) to head (7832a16
). Report is 1 commits behind head on master.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Context:
Currently the decomposition of a Pauli Rotation with an identity as Pauli word returns an empty list. I.e,
Description of the Change:
Implement the correct decomposition for this case using
qml.GlobalPhase
Benefits:
The
TrotterProduct
for Hamiltonians with an identity usingdefault.qubit
anddefault.lightning
now return the same correct result.Related GitHub Issues: [#5859]
[sc-66115]