unitaryfund / qrack

Comprehensive, GPU accelerated framework for developing universal virtual quantum processors
https://qrack.readthedocs.io/en/latest/
GNU Lesser General Public License v3.0
164 stars 36 forks source link

Fix const keyword usage #978

Closed WrathfulSpatula closed 1 year ago

WrathfulSpatula commented 1 year ago

I think I had the right spirit but the wrong idea, using const pointer* as opposed to pointer const* in method declarations. This won't wait for Qrack v8 API.

See the disambiguation I should have read sooner: https://stackoverflow.com/questions/16449889/why-using-the-const-keyword-before-and-after-method-or-function-name