pasqal-io / qadence

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

Mismatch in custom rotations key in AnsatzConfig class #513

Closed n-toscano closed 1 month ago

n-toscano commented 1 month ago

strategy_args.operations definition does not match _create_hea_digital request for "rotations" .

smitchaudhary commented 1 month ago

Thanks for pointing out. Will have a look at it and push the fix.

n-toscano commented 1 month ago

Since @giovanniminutoNL found this, I thought it would make a good (and quick) first contribution to the repo – unfortunately I cannot point out assignees. Would you make everything consistent with operations or rotations?

smitchaudhary commented 1 month ago

Indeed. I would let him do the needful in that case. It is operations everywhere, that was an oversight on my end. I would just do operations.

smitchaudhary commented 1 month ago

Fixed in #515