PennyLaneAI / catalyst

A JIT compiler for hybrid quantum programs in PennyLane
https://docs.pennylane.ai/projects/catalyst
Apache License 2.0
101 stars 26 forks source link

Rename inactive_callback to __catalyst_inactive_callback #899

Closed rmoyard closed 3 days ago

rmoyard commented 3 days ago

Context: Currently Catalyst does not pass frontend test with newest version of Enzyme. Description of the Change: Rename this function in order to add it to Enzyme list of no free.

rmoyard commented 3 days ago

[sc-67710]

dime10 commented 3 days ago

Oh nice, was there a name clash with a function in enzyme?

rmoyard commented 3 days ago

I need to add this function in enzyme but I can imagine that inactive_callback could exist in some other codebase, so to facilitate my Enzyme PR I have added __catalyst.