Closed dime10 closed 4 days ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 81.39%. Comparing base (
e3266de
) to head (f442a71
). Report is 5 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
🚨 Try these New Features:
Currently, Catalyst is not capturing the following correctly:
although the following does work:
The conversion from PennyLane operators to JAX primitives was not build with nesting in mind for
Adjoint
/Controlled
, and instead relied on decomposingAdjoint(Adjoint(Gate))
. In version 0.9, the acceptance criteria for decomposition was changed without accounting for the above.The second example works because
HybridAdjoint
operators (used for generic callables that are not operators or operator constructors) are lowered as-is and can thus be arbitrarily nested.Fixes #1301 [sc-78276]