I was wondering if there is any way I can pipe LLI instructions from a QASM circuit into an instance of the compiler. For example, I tried a command like this:
/liblsqecc/build/lsqecc_slicer \ -q -i "${CIRCUIT_NAME}.qasm" \ -l "${ARCH_NAME}.txt" \ --printlli before \ | /liblsqecc/build/lsqecc_slicer \ -l "${ARCH_NAME}.txt" \ --disttime 1 \ --nostagger \ --local \ -P wave \ --noslices \ -o "${OUT_PATH}" \ -f stats
My hope was to convert QASM instructions to LLI instructions on the left side of the pipe, and then run the slicer on those directly. Trying this results in the following error message:
terminate called after throwing an instance of 'std::runtime_error' what(): First instruction must be qubit declaration Aborted (core dumped)
Any advice on how to do something like this?
I was wondering if there is any way I can pipe LLI instructions from a QASM circuit into an instance of the compiler. For example, I tried a command like this:
/liblsqecc/build/lsqecc_slicer \ -q -i "${CIRCUIT_NAME}.qasm" \ -l "${ARCH_NAME}.txt" \ --printlli before \ | /liblsqecc/build/lsqecc_slicer \ -l "${ARCH_NAME}.txt" \ --disttime 1 \ --nostagger \ --local \ -P wave \ --noslices \ -o "${OUT_PATH}" \ -f statsMy hope was to convert QASM instructions to LLI instructions on the left side of the pipe, and then run the slicer on those directly. Trying this results in the following error message:
terminate called after throwing an instance of 'std::runtime_error' what(): First instruction must be qubit declaration Aborted (core dumped)Any advice on how to do something like this?