It would be really to support complex numbers in pytensor. The feature gets requested on and off. There likely needs to be some discussion over how it should be implemented.
Below are discussions of how other autodiff libraries choose to support this feature: