Alice and Bob Felis - Examples in Lua#
Prerequisites#
Setup#
export LUA_CPATH="</path/to/qrmi.so-dir/>?.so;;"
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/path/to/libqrmi.so-dir
Example:
export LUA_CPATH="/shared/qrmi/lua/build/?.so;;"
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/shared/qrmi/target/release
Set environment variables#
See the corresponding section in the Felis Python example.
Generate QIR Input file#
See the corresponding section in the Felis Python example.
How to run this example#
Run example.lua:
lua example.lua <backend name> <qir input file>