SDK reference¶
The euqalyptus SDK exposes a small set of constructs you can use inside a @QoalaProgram body. The pages in this section cover the surface piece by piece. Programs covers the QoalaProgram decorator, the QoalaProgramBase class, and the two ways to define a program. Compilation covers .compile(), its options, and the QoalaModule it returns. Classical types walks through Int, Int32, UInt32, Bit, Float, Double, IntArray, FloatArray, and Bool. Quantum types covers LocalQubit, EntangledQubit, ScopedQubit, and the Entangle() factory. Qubit operations lists every gate, rotation, and the measure method. Remotes covers Remote("Name"). Communication covers send_int, recv_int, and their variants. Control flow covers return_results and Branching covers if_cond, if_eq, if_neq, if_lt, if_le, if_ge and if_gt branching statements.