NVIDIA/cuda-quantum

Port the rest of the C++20 specific tests to valid C++17 syntax

schweitzpgi opened this issue · 1 comments

In #1468 all the tests that use C++20 syntax were marked as REQUIRES: c++20. A few of them were ported to supported forms in C++17 syntax (by creating new files named <test>-cpp17.cpp).

This issue is to port the remaining tests from C++20 to C++17 and create new test files for each of them. The primary changes require that syntax such as

   x<cudaq::ctrl>(c, q);

be translated to

  cx(c, q);

In some more involved cases, the cudaq::control or cudaq::adjoint functions may need to be used.