cuda-quantum
cuda-quantum copied to clipboard
[refactoring] Move constants into a common header file
- 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