Required prerequisites
Describe the feature
Now we only supports acos and sqrt in C++.
|
double theta = 2. * std::acos(1. / std::sqrt(3)); |
This request would extend this to Python and also allow them to work (at least in our simulators).
Clarification for Unitary Hack:
A good list of functions to implement that we will accept as submission for Unitary Hack is sin, cos, tan, asin, acos, atan, sqrt, exp, log, along with tests for both C++ and Python. Since this issue was filed, we have updated to LLVM 22 and these functions should directly leverage the corresponding instructions.
Required prerequisites
Describe the feature
Now we only supports acos and sqrt in C++.
cuda-quantum/targettests/execution/test-3.cpp
Line 17 in df4609e
This request would extend this to Python and also allow them to work (at least in our simulators).
Clarification for Unitary Hack:
A good list of functions to implement that we will accept as submission for Unitary Hack is sin, cos, tan, asin, acos, atan, sqrt, exp, log, along with tests for both C++ and Python. Since this issue was filed, we have updated to LLVM 22 and these functions should directly leverage the corresponding instructions.