You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The unnecessary casting ops between integer and index types cause the Affine for validation failed. This only occurs when the constant values are created inside another affine scope.
Fixing the const index value builder to create the index const directly and the loop statement handler in the range-based case to create index type.
Added the test case (https://github.com/ORNL-QCI/qcor/issues/240)
Signed-off-by: Thien Nguyen <[email protected]>
A nested for-loop in OpenQASM 3 will cause compilation error of qcor.
Example:
Command:
Error:
The text was updated successfully, but these errors were encountered: