Quantinuum Guppy support¶
Guppy is quantum programming language from Qunatinuum embedded in Python (https://docs.quantinuum.com/guppy/)
We support compilation of Guppy functions to HUGR format (The Hierarchical Unified Graph Representation which is the common representation of quantum circuits and operations in the Quantinuum ecosystem https://github.com/CQCL/hugr) directly in VS Code editor.
Having .hugr file it can be then submitted to Quantinuum runtime simulator or hardware.
When you open guppy-python code with @guppy definition of function, extension detects it and “Compile <funcName>” appreas directly in editor
If you press Compile <fincName> this function will be compiled in .hugr, .json and .txt formats and stored in /out subfolder of workplace.
Here is result of compiled Guppy function in JSON representation:
Also it is possible to compile Guppy functions using web interface at https://quantum.quantag-it.com/labs/guppy-compiler