POPL 2027
Sun 10 - Sat 16 January 2027 Mexico City, Mexico

CUDA-Q Logical is an extensible compiler infrastructure for fault-tolerant quantum programs. A program is written once, independently of any error-correcting code or device, and lowered through four layers: logical program, logical virtual machine, QEC microcode, and physical events. Codes, gadgets, and devices are typed data supplied to the compiler, and each layer owns a distinct set of decisions. Every build records the choices that produced it, so a resource estimate can be traced to the code, gadgets, and device behind it, and comparing architectures amounts to recompiling the same program. Because gadgets are data, the compiler can also check that each gadget implements the operation it declares, for Clifford gadgets, and derive an extended detector error model for each gadget. Composing these models yields the detector error model that a decoder needs for the complete circuit, without analyzing that circuit as a whole.