In considering how PyQrack should handle C++ exceptions, it occurred to me that a C external interface probably should not raise C++11 exceptions at all, past the top level of the API. For PyQrack, likely, the QrackSimulator will poll the error code and re-throw a Python exception.
In considering how PyQrack should handle C++ exceptions, it occurred to me that a C external interface probably should not raise C++11 exceptions at all, past the top level of the API. For PyQrack, likely, the
QrackSimulator
will poll the error code and re-throw a Python exception.