pymc-devs / pymc-devs/pytensor
ENH: Supporting complex numbers
Open
Nobody has claimed this yet.
feature request
- Dominant language
- Python
- Stars
- 644
- Forks
- 208
- Avg merge
- 2d 14h
- Merged PRs (30d)
- 16
Description
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:
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files, tests, or entry points are named. Start by reviewing the linked JAX, autograd, and Chain Rules discussions, then use the existing PyTensor design to frame how complex numbers and differentiation should work. Done requires an agreed implementation approach, not just a localized edit.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- machine-learning
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100