Open wongey opened 2 months ago
First step is preprocessing the QIR using the LLVM IR functions:
br
and ret
br
is the output of the last __quantum__qis__read_result__body
callbr
br
begin_if
at the end of the conditional block, and end_if
instructions at the end of the "true" blockNext step:
xacc::ir::asComposite(provider->createInstruction("ifstmt" ...
to XaccQuantum
Performing LLVM transformation passes looks like a no-go without some serious digging or help from Anthony...
It should be noted that at this point,
qiree
runs teleport correctly with llvm-16 and eclipse-xacc using BOTH theaer
simulator andhoneywell:H1-1E
, which validates that XACC (via staq) can work with Honeywell on the teleport experiment.However, the current version of the
qiree
does NOT run teleport correctly, but the team plans to resolve this issue with some transpilation techniques.TODOs (transferred from private repo):