PROGRAM → REVERSIBLE IR → LOGICAL GATES

OracQ Compiler Studio

Loading compiler version…

Compile a pure function

The baseline retains intermediates. The selected variant uses your checkpoint size at the same numeric precision. Smaller workspaces can require more gates. This editor supports bounded, loop-free examples; the CLI handles larger programs.

Resource comparison

Compile to inspect the actual logical layout and gate ledger.

MetricBaselineSelected
Logical peak qubits——
Toffoli gates——

Peak qubits include backend scratch. Rotations still need synthesis; these are logical resources, before fault-tolerant scheduling. Compilation alone does not certify the function's numerical error.

The compressed RIR is the standard input for downstream resource estimators. Source code is compiled as a restricted AST, never executed as a Python script.

Compilation provenance
No compilation yet.