Loading
Adding a quantum dialect op to support If-Then-Else based on Result*
Frontend to try map to this Op if possible (detecting a simple measure - store - if pattern)
Lowering: llvm codegen to leverage __quantum__qis__applyifelseintrinsic__body API (this API allows the runtime to opportunistically generate NISQ IfStmt IR; decay to classical If/else in FTQC mode)
Signed-off-by:
Thien Nguyen <nguyentm@ornl.gov>