pasqal-io / qadence

Digital-analog quantum programming interface
https://pasqal-io.github.io/qadence/latest/
Apache License 2.0
72 stars 21 forks source link

[Bug] Fix GPSR differentiation mode #616

Closed vytautas-a closed 1 week ago

vytautas-a commented 1 week ago

Currently GPSR differentiation mode with pyqtorch backend is not used even when it is selected. Also h_norm factor is used when parsing analog gates that is not correct. This PR fixes these issues.