qtcodes icon indicating copy to clipboard operation
qtcodes copied to clipboard

[Misc] Centralize and remove redundant casts to validation code

Open amirebrahimi opened this issue 2 years ago • 1 comments

If you search for int( you'll find casts throughout a lot of the codebase. This might be left-over from before _params_validation() was added. The task is to remove these redundant casts and add a few assertions/additional tests as needed.

amirebrahimi avatar Nov 02 '21 23:11 amirebrahimi

Hi @amirebrahimi, I am Rishabh from India, recently contributed in Cirq and Pennylane and I want to make a PR for this issue, can you please elaborate little bit more?

anonymousr007 avatar Nov 04 '21 16:11 anonymousr007