NVIDIA/cuda-quantum

[refactoring] Move constants into a common header file

Opened this issue · 0 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 #1794 (comment)