qiskit-community / qiskit-machine-learning

Quantum Machine Learning
https://qiskit-community.github.io/qiskit-machine-learning/
Apache License 2.0
677 stars 326 forks source link

Introduce a parameter `input_gradients` to NeuralNetwork #90

Closed adekusar-drl closed 3 years ago

adekusar-drl commented 3 years ago

What is the expected behavior?

As a feedback from #44, we should add a parameter input_gradients to NeuralNetwork to expose it explicitly to users. By default it should be turned off. Also, we should not turn on input gradients explicitly in TorchConnector every time, turning on/off gradients is up a user via this new parameter.

jonvet commented 3 years ago

mind if I take a look at this one?

to confirm:

adekusar-drl commented 3 years ago

I don't mind, any help is appreciated.

Things to do:

Also take a look at https://github.com/Qiskit/qiskit-machine-learning/blob/main/CONTRIBUTING.md Probably that's it. Let me know if you have questions.

jonvet commented 3 years ago

cool thanks, i also have permission from my employer now, so I'll get started