Open josh146 opened 2 years ago
Hello @josh146 , is this still open to work if yes kindly let me know!!
Hi @AnuravModak! This is still something that could be interesting, but I'd recommend taking on a different issue as there are quite a lot of open questions surrounding how we'd like to do this. Let me know if you'd like a recommendation for which issues might be good to take on!
Hi @AnuravModak! This is still something that could be interesting, but I'd recommend taking on a different issue as there are quite a lot of open questions surrounding how we'd like to do this. Let me know if you'd like a recommendation for which issues might be good to take on!
yeah please let me know about the issues i can work on.
Hi @AnuravModak. Issue https://github.com/PennyLaneAI/pennylane/issues/2962 suggested by @albi3ro might be a good place to get started. There are more advanced issues we can suggest if you'd like to learn more. Thanks!
sure and thanks!
Feature details
Currently,
qml.Tracker
works really well for tracking quantities that are already being recorded by the device.However, it is not currently possible to add custom quantities to track. For example, you might want to track intermediate executions, number of executions, or even internal transforms like Hamiltonian grouping/expansion or the parameter shift rule.
Implementation
Adding custom tracking quantities can be done on the device level currently in a bit of a 'hacky' way, by subclassing the device:
In terms of the actual implementation, it would require some thinking as to the best places to make custom tracking available (devices and transforms come to mind), while also thinking about the user interface.
How important would you say this feature is?
1: Not important. Would be nice to have.
Additional information
No response