cuda-quantum icon indicating copy to clipboard operation
cuda-quantum copied to clipboard

[refactoring] Move constants into a common header file

Open khalatepradnya opened this issue 7 months ago • 4 comments

  • Hardcoded constants, including strings should be moved to a common header file.
  • See discussion here -

This is exactly the reason why these strings should be in a header file and not just hard coded in random files. The latter is bad coding practice.

I thought the runtime already included files from the compiler, but maybe I am wrong about that.

Open to any suggestions on where to put universal constants, including string data.

Originally posted by @schweitzpgi in https://github.com/NVIDIA/cuda-quantum/pull/1794#discussion_r1672470040

khalatepradnya avatar Jul 10 '24 17:07 khalatepradnya