catalyst icon indicating copy to clipboard operation
catalyst copied to clipboard

Guarding against non-differentiable code in transforms

Open dime10 opened this issue 3 months ago • 0 comments

One example is the merge rotation formula for Rot which involves a sqrt operation with an undefined derivative at 0.

See also: Originally posted by @rturrado in https://github.com/PennyLaneAI/catalyst/pull/1955#discussion_r2258260899

dime10 avatar Aug 07 '25 21:08 dime10